/* ============================================================
   Siiri Geomancy — Office Feng Shui landing redesign
   ============================================================ */

:root {
  /* palette (overridable by Tweaks) */
  --green-deep: #0E1F1A;
  --green: #122620;
  --green-soft: #1C3A30;
  --gold: #D3B184;
  --gold-deep: #BE975F;
  --cream: #F6F4F1;
  --cream-2: #ECE5D9;

  /* derived tokens */
  --ink: #1A221E;
  --muted: color-mix(in oklab, var(--ink) 58%, transparent);
  --line: color-mix(in oklab, var(--ink) 14%, transparent);
  --on-dark: #ECE8E0;
  --on-dark-muted: color-mix(in oklab, var(--on-dark) 64%, transparent);
  --gold-line: color-mix(in oklab, var(--gold) 46%, transparent);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- shared primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}
.eyebrow .idx { color: var(--gold-deep); opacity: .55; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }

.display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

.section-title {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  margin: 18px 0 0;
  max-width: 16ch;
}
.section-lead {
  margin: 22px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 18px;
  line-height:2;
}

.btn {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 28px !important;
  border-radius: 2px !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease) !important;
}
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn-gold { background: var(--gold) !important; color: var(--green) !important; }
.btn-gold:hover { background: color-mix(in oklab, var(--gold) 88%, white); }

.btn-ghost-dark { border-color: var(--gold-line); color: var(--on-dark); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-light { border-color: var(--line); color: var(--ink); }
.btn-ghost-light:hover { border-color: var(--green); }

.section { padding-block: clamp(72px, 10vw, 140px); }

/* image placeholder */
.ph {
  position: relative;
  background-color: var(--green-soft);
  background-image:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--gold) 14%, transparent) 0 1px,
      transparent 1px 16px);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--on-dark) 72%, transparent);
  background: color-mix(in oklab, var(--green-deep) 62%, transparent);
  padding: 5px 9px;
  border-radius: 2px;
  backdrop-filter: blur(2px);
}

/* reveal — animations disabled for mockup */
.reveal { opacity: 1; transform: none; transition: none; }
.reveal[data-d] { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* sans display mode (Tweaks) — Montserrat runs larger, dial back */
body.display-sans h1,
body.display-sans h2,
body.display-sans h3,
body.display-sans .display,
body.display-sans .brand .name { letter-spacing: -0.02em; font-weight: 600; }
body.display-sans .hero h1 { font-size: clamp(46px, 7vw, 92px); line-height: .98; }
body.display-sans .section-title { font-size: clamp(28px, 3.6vw, 46px); }
body.display-sans .cta h2 { font-size: clamp(32px, 4.6vw, 58px); }
body.display-sans .faq-q { font-size: clamp(17px, 2vw, 22px); }
body.display-sans .intro .lede { font-size: clamp(22px, 2.6vw, 32px); }
body.display-sans em { font-style: normal; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--green) 94%, transparent);
  backdrop-filter: blur(14px);
  padding-block: 14px;
  border-bottom-color: var(--gold-line);
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--on-dark); }
.brand .seal {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  position: relative;
}
.brand .seal::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.brand .seal::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid var(--gold-line);
}
.brand .name { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; }
.brand .name small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--on-dark-muted); position: relative; padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav-links a:hover { color: var(--on-dark); }
.nav-links a:hover::after { width: 100%; }
.nav .btn { padding: 12px 22px; }
@media (max-width: 940px) { .nav-links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--green);
  color: var(--on-dark);
  padding-top: 168px;
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero .ring {
  position: absolute; pointer-events: none;
  width: 620px; height: 620px; border-radius: 50%;
  border: 1px solid var(--gold-line);
  top: -180px; right: -160px; opacity: .5;
}
.hero .ring.two { width: 420px; height: 420px; top: -80px; right: -60px; opacity: .3; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(54px, 8.4vw, 116px);
  line-height: .94;
  margin: 24px 0 0;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { margin: 28px 0 0; max-width: 48ch; color: var(--on-dark-muted); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-figure { position: relative; }
.hero-figure .ph { aspect-ratio: 4/5; border-radius: 3px; outline: 1px solid var(--gold-line); outline-offset: 10px; }
.hero-media { aspect-ratio: 4/5; border-radius: 3px; outline: 1px solid var(--gold-line); outline-offset: 10px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-chip {
  position: absolute; left: -26px; bottom: 34px;
  background: var(--green-deep);
  border: 1px solid var(--gold-line);
  padding: 16px 20px; border-radius: 3px; max-width: 220px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.6);
}
.hero-chip .k { font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.hero-chip .v { font-family: var(--serif); font-size: 21px; line-height: 1.15; margin-top: 6px; color: var(--on-dark); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
}

/* tiny element legend under hero */
.elements-bar {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 28px 40px;
  margin-top: clamp(48px, 7vw, 84px);
  padding-top: 30px;
  border-top: 1px solid var(--gold-line);
}
.elements-bar .el { display: flex; align-items: center; gap: 11px; }
.elements-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.elements-bar .label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.el-wood   .dot { background: #8FB48A; }
.el-fire   .dot { background: #C97A63; }
.el-earth  .dot { background: var(--gold); }
.el-metal  .dot { background: #DCD8CE; }
.el-water  .dot { background: #6E94A8; }

/* ============================================================
   INTRO STRIP (qi quote)
   ============================================================ */
.intro { background: var(--cream); }
.intro .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); }
.intro .lede {
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.intro .lede .q { color: var(--gold-deep); }
.intro .body p { margin: 0 0 18px; color: var(--muted); }
.intro .body p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .intro .wrap { grid-template-columns: 1fr; } }

/* ============================================================
   WHY IT MATTERS
   ============================================================ */
.why { background: var(--cream-2); }
.why-head { max-width: var(--maxw); }
.why-grid {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-item {
  padding: 30px 36px 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 54px 1fr; gap: 4px 20px;
}
.why-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 48px; }
.why-item:nth-child(even) { padding-left: 48px; }
.why-num { font-family: var(--serif); font-size: 22px; color: var(--gold-deep); grid-row: span 2; }
.why-item h3 { font-size: 23px; margin: 0; }
.why-item p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(odd) { border-right: none; padding: 26px 0; }
  .why-item:nth-child(even) { padding-left: 0; }
}

/* ============================================================
   KEY ELEMENTS
   ============================================================ */
.elements { background: var(--green); color: var(--on-dark); }
.elements .section-lead { color: var(--on-dark-muted); }
.el-grid {
  margin-top: clamp(40px, 6vw, 70px);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px;
}
.el-card {
  background: var(--green-soft);
  border: 1px solid color-mix(in oklab, var(--gold) 16%, transparent);
  border-radius: 4px;
  padding: 30px 28px 32px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.el-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.el-card .ix { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.el-card h3 { font-size: 27px; margin: 14px 0 0; line-height: 1.1; }
.el-card p { color: var(--on-dark-muted); font-size: 15.5px; margin: 12px 0 0; }
.el-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.el-card li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--on-dark-muted); }
.el-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
/* feature card spanning with diagram */
.el-card.feature { grid-column: span 3; flex-direction: row; gap: 30px; align-items: center; }
.el-card.feature .txt { flex: 1; }
.el-card.span3 { grid-column: span 3; }
.el-card.span2 { grid-column: span 2; }
@media (max-width: 1000px) {
  .el-grid { grid-template-columns: repeat(2, 1fr); }
  .el-card.feature, .el-card.span3, .el-card.span2 { grid-column: span 2; }
  .el-card.feature { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .el-grid { grid-template-columns: 1fr; }
  .el-card.feature, .el-card.span3, .el-card.span2 { grid-column: span 1; }
}

/* command position diagram */
.cmd {
  width: 150px; flex: none;
  aspect-ratio: 1; border: 1px solid var(--gold-line);
  border-radius: 3px; position: relative;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, color-mix(in oklab, var(--gold) 8%, transparent) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, color-mix(in oklab, var(--gold) 8%, transparent) 23px 24px);
}
.cmd .door { position: absolute; left: 8px; bottom: -1px; width: 34px; height: 4px; background: var(--gold); }
.cmd .door span { position: absolute; top: -16px; left: 0; font-family: var(--sans); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.cmd .desk { position: absolute; right: 22px; top: 26px; width: 46px; height: 24px; background: var(--gold); border-radius: 2px; }
.cmd .seat { position: absolute; right: 30px; top: 14px; width: 16px; height: 9px; border: 1px solid var(--gold); border-radius: 6px 6px 2px 2px; }
.cmd .sight { position: absolute; right: 40px; top: 36px; width: 78px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: right; transform: rotate(28deg); opacity: .8; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { background: var(--cream); }
.ind-list { margin-top: clamp(34px, 5vw, 60px); border-top: 1px solid var(--line); }
.ind-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 200px;
  grid-template-areas: "num title desc thumb";
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease);
}
.ind-row .num { grid-area: num; font-family: var(--serif); font-size: 17px; color: var(--gold-deep); }
.ind-row h3 { grid-area: title; font-size: 30px; margin: 0; }
.ind-row p { grid-area: desc; margin: 0; color: var(--muted); font-size: 16px; }
.ind-row .thumb { grid-area: thumb; width: 200px; aspect-ratio: 16/10; border-radius: 3px; justify-self: end; overflow: hidden; transition: transform .5s var(--ease); }
.ind-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ind-row:hover { padding-left: 14px; }
.ind-row:hover .thumb { transform: scale(1.03); }
@media (max-width: 900px) {
  .ind-row {
    grid-template-columns: 46px 1fr;
    grid-template-areas:
      "num title"
      "desc desc"
      "thumb thumb";
    gap: 14px;
    align-items: start;
  }
  .ind-row h3 { font-size: clamp(24px, 6vw, 30px); align-self: center; }
  .ind-row .num { align-self: center; }
  .ind-row .thumb { width: 100%; aspect-ratio: 16/9; justify-self: stretch; margin-top: 6px; }
  .ind-row:hover { padding-left: 0; }
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages { background: var(--green-deep); color: var(--on-dark); }
.packages .section-lead { color: var(--on-dark-muted); }
.pkg-grid { margin-top: clamp(40px, 6vw, 68px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pkg {
  border: 1px solid var(--gold-line);
  border-radius: 4px; padding: 36px 32px 38px;
  display: flex; flex-direction: column;
  background: color-mix(in oklab, var(--green) 60%, transparent);
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.pkg:hover { transform: translateY(-6px); }
.pkg.featured { background: var(--gold); color: var(--green); border-color: var(--gold); }
.pkg.featured .tag { background: var(--green); color: var(--gold); }
.pkg .tag {
  align-self: flex-start;
  white-space: nowrap;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  background: color-mix(in oklab, var(--gold) 18%, transparent); color: var(--gold);
  padding: 6px 11px; border-radius: 2px; margin-bottom: 22px;
}
.pkg h3 { font-size: 28px; margin: 0; line-height: 1.12; }
.pkg .desc { font-size: 15.5px; margin: 14px 0 22px; color: var(--on-dark-muted); }
.pkg.featured .desc { color: color-mix(in oklab, var(--green) 75%, transparent); }
.pkg ul { list-style: none; margin: 0 0 26px; padding: 22px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--gold-line); }
.pkg.featured ul { border-top-color: color-mix(in oklab, var(--green) 30%, transparent); }
.pkg li { position: relative; padding-left: 24px; font-size: 15px; }
.pkg li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 6px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.pkg.featured li::before { border-color: var(--green); }
.pkg .foot { margin-top: auto; }
.pkg .foot a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); display: inline-flex; gap: 10px; align-items: center; }
.pkg.featured .foot a { color: var(--green); }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--green); color: var(--on-dark); position: relative; overflow: hidden; }
.cta .ring { position: absolute; width: 540px; height: 540px; border-radius: 50%; border: 1px solid var(--gold-line); left: -160px; bottom: -260px; opacity: .4; pointer-events: none; }
.cta .wrap { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(36px, 5.4vw, 70px); line-height: 1.06; margin: 22px 0 0; max-width: 18ch; }
.cta p { margin: 34px 0 0; max-width: 60ch; color: var(--on-dark-muted); font-size: 18px; }
.cta .hero-cta { justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream-2); }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line) !important; margin-bottom:0 !important;}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--serif); font-size: clamp(20px, 2.3vw, 26px); color: var(--ink);
}
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold-deep); transition: transform .4s var(--ease), opacity .4s var(--ease); }
.faq-icon::before { left: 0; top: 12px; width: 26px; height: 1.5px; }
.faq-icon::after { left: 12px; top: 0; width: 1.5px; height: 26px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq-a .inner { padding: 0 0 28px; color: var(--muted); max-width: 60ch; line-height:2; font-size:18px;}
@media (max-width: 820px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-deep); color: var(--on-dark); padding-block: clamp(56px, 8vw, 96px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--gold-line); }
.footer .brand { color: var(--on-dark); }
.footer-blurb { margin: 22px 0 0; color: var(--on-dark-muted); max-width: 40ch; font-size: 15.5px; }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--on-dark-muted); font-size: 15px; transition: color .3s var(--ease); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 28px; color: var(--on-dark-muted); font-size: 13px; letter-spacing: .04em; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
