:root {
  --night: #0b1612;
  --pine: #12241c;
  --forest: #1e3a2e;
  --moss: #4d6f5c;
  --sage: #8fa894;
  --mist: #d7e0d8;
  --snow: #f3f0ea;
  --ivory: #faf7f2;
  --paper: #f7f3ec;
  --brass: #c9a66b;
  --brass-2: #e0c48a;
  --copper: #9a7348;
  --ink: #17201b;
  --muted: #5a6a60;
  --line: rgba(18, 36, 28, 0.12);
  --line-light: rgba(243, 240, 234, 0.16);
  --ok: #1f6b4a;
  --bad: #8a2e2e;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1160px;
  --wide: 1340px;
  --shadow: 0 30px 80px rgba(11, 22, 18, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(201, 166, 107, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.7;
  font-size: 1.04rem;
  font-weight: 400;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--night); }
h1, h2, h3, h4, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--night);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin: 0 0 1.1rem; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.42rem; margin: 0 0 0.45rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
ul, ol { margin: 0 0 1rem; padding: 0 0 0 1.15rem; }
li { margin: 0 0 0.42rem; }

.container { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.container-wide { width: min(var(--wide), calc(100% - 2.4rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #000; color: #fff; padding: .7rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.muted { color: var(--muted); }
.kicker {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 .8rem;
}
.lede, .intro {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 44rem;
  line-height: 1.78;
}
.hairline {
  width: 3.4rem; height: 1px;
  background: linear-gradient(90deg, var(--brass), transparent);
  margin: 0 0 1.2rem;
}

.btn, .btn-ghost, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn {
  background: var(--brass);
  color: var(--night);
}
.btn:hover { background: var(--brass-2); color: var(--night); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.4rem; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--snow);
  min-width: 12rem;
}
.logo img { width: 38px; height: 38px; }
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-weight: 500; letter-spacing: 0.22em; font-size: .78rem;
}
.logo-text span {
  letter-spacing: 0.16em; font-size: .62rem; color: var(--sage); margin-top: .18rem; font-weight: 400;
}
.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--snow); margin: 6px 0; border-radius: 2px;
}
.main-nav {
  display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; justify-content: flex-end;
}
.nav-item { position: relative; }
.main-nav a, .nav-item > button {
  color: var(--mist);
  background: none; border: 0;
  font-family: var(--sans); font-size: .86rem; font-weight: 400;
  padding: .55rem .8rem; cursor: pointer;
  text-decoration: none; letter-spacing: 0.02em;
}
.main-nav a:hover, .nav-item > button:hover,
.main-nav a[aria-current="page"] { color: var(--brass-2); }
.nav-drop {
  display: none; position: absolute; top: calc(100% + .35rem); left: 0;
  min-width: 16rem; padding: .55rem;
  background: var(--pine);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.nav-item.is-open .nav-drop, .nav-item:hover .nav-drop { display: grid; }
.nav-drop a { padding: .55rem .7rem; border-radius: 8px; color: var(--snow); }
.nav-drop a:hover { background: rgba(255,255,255,.06); }
.nav-cta {
  margin-left: .6rem;
  background: var(--brass); color: var(--night) !important;
  padding: .62rem 1.05rem !important; font-size: .8rem !important;
}
.nav-cta:hover { background: var(--brass-2); color: var(--night) !important; }

.hero {
  position: relative; overflow: hidden;
  background: var(--night);
  color: var(--snow);
  min-height: 88vh;
  display: grid; align-items: end;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,22,18,.88) 0%, rgba(11,22,18,.55) 42%, rgba(11,22,18,.22) 100%),
    url("/assets/img/hero.jpg") center/cover no-repeat;
}
.hero-inner { position: relative; z-index: 1; padding: 6.5rem 0 4.2rem; }
.hero h1 { color: var(--ivory); max-width: 16ch; }
.hero .lede { color: rgba(243, 240, 234, 0.78); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .7rem 1.4rem;
  margin-top: 2.2rem; color: var(--sage); font-size: .86rem;
}
.hero-meta strong { color: var(--brass-2); font-weight: 500; }

.page-hero {
  background: var(--pine);
  color: var(--snow);
  padding: 4.6rem 0 3.4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,18,.35) 0%, rgba(11,22,18,.82) 100%),
    var(--hero, url("/assets/img/valley.jpg")) center/cover no-repeat;
  pointer-events: none;
}
.page-hero::after { display: none; }
.page-hero h1, .page-hero .lede, .page-hero .btn-row, .page-hero .kicker { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); max-width: 18ch; }
.page-hero .lede { color: rgba(243,240,234,.78); }
.page-hero.photo { min-height: 56vh; display: grid; align-items: end; padding: 0; }
.page-hero.photo .container { padding: 7.5rem 0 3.2rem; }

.section { padding: 4.6rem 0; }
.section.alt { background: var(--ivory); }
.section.dark {
  background: var(--pine);
  color: var(--mist);
}
.section.dark h2, .section.dark h3 { color: var(--ivory); }
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; align-items: start;
}
.grid-2, .grid-3, .grid-4 {
  display: grid; gap: 1.2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.dossier, .card, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.45rem 1.5rem 1.35rem;
  box-shadow: 0 10px 30px rgba(11, 22, 18, 0.04);
}
.dossier {
  position: relative;
  padding-top: 1.7rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dossier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dossier .nr {
  font-family: var(--serif);
  color: var(--brass);
  font-size: 1.35rem;
  margin-bottom: .35rem;
}
.dossier a.stretched {
  position: absolute; inset: 0;
  text-indent: -9999px; overflow: hidden;
}
.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--night);
  max-width: 38rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.1rem 0 0; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .8rem;
  color: var(--muted);
  background: rgba(255,255,255,.5);
}
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust article {
  border-top: 1px solid var(--brass);
  padding-top: 1rem;
}
.trust h3 { font-size: 1.2rem; }

.widget, .assess, .diary, .portal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.steps {
  display: flex; gap: .45rem; margin: 0 0 1.3rem;
}
.steps span {
  flex: 1; height: 3px; border-radius: 99px; background: var(--mist);
}
.steps span.is-on { background: var(--brass); }
.choice {
  display: grid; gap: .55rem; margin: 1rem 0 1.2rem;
}
.choice button {
  text-align: left;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  font-family: var(--sans); font-size: .95rem;
  cursor: pointer; color: var(--ink);
}
.choice button.is-on, .choice button:hover {
  border-color: var(--brass);
  background: #fff8ec;
}
.assess-result { display: none; }
.assess-result.is-on { display: block; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; margin: .8rem 0 1rem;
}
.cal-grid button, .slot-row button {
  font-family: var(--sans); font-size: .8rem;
  border: 1px solid var(--line); background: #fff;
  border-radius: 10px; padding: .55rem .2rem; cursor: pointer;
}
.cal-grid button.is-on, .slot-row button.is-on {
  background: var(--pine); color: var(--snow); border-color: var(--pine);
}
.cal-grid button:disabled { opacity: .35; cursor: not-allowed; }
.slot-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }

form { display: grid; gap: .85rem; }
label { display: grid; gap: .32rem; font-size: .86rem; color: var(--muted); }
input, select, textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem .9rem; background: #fff;
}
textarea { min-height: 8.5rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: .25rem; }
.form-msg { display: none; padding: .85rem 1rem; border-radius: 12px; }
.form-msg.ok { display: block; background: #e7f4ee; color: var(--ok); }
.form-msg.err { display: block; background: #f8ecec; color: var(--bad); }

.legal {
  font-size: .92rem; color: var(--muted);
}
.legal h2, .legal h3 { color: var(--night); }
.ids {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0;
}
.ids div {
  background: var(--ivory); border-radius: 16px; padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}
.ids strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: .25rem; }

.site-footer {
  background: var(--night);
  color: var(--mist);
  padding: 3.4rem 0 1.6rem;
}
.site-footer a { color: var(--brass-2); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2.4rem;
}
.site-footer h2 {
  color: var(--ivory); font-size: 1.15rem; margin-bottom: .7rem;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer small, .fine {
  display: block; color: #8a9a90; font-size: .78rem; line-height: 1.55;
}
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  background: var(--pine); color: var(--snow);
  border-radius: 18px; padding: 1rem 1.1rem;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow);
}
.cookie[hidden] { display: none !important; }
.range { width: 100%; accent-color: var(--brass); }
.meter {
  display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--mist); margin: .6rem 0 1rem;
}
.meter i { display: block; height: 100%; }
.meter .a { background: var(--forest); }
.meter .b { background: var(--brass); }
.meter .c { background: var(--sage); }
.insight {
  display: grid; gap: .4rem;
}
.insight time { color: var(--copper); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.article-body p:last-child { margin-bottom: 0; }

.bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: minmax(220px, 26vh) minmax(220px, 26vh);
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 220px;
  color: var(--snow);
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(11, 22, 18, 0.12);
}
.shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
  transform: scale(1.03);
  transition: transform .7s ease;
}
.shot:hover img { transform: scale(1.1); }
.shot::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,22,18,.08) 10%, rgba(11,22,18,.78) 100%);
}
.shot-body {
  position: relative; z-index: 2;
  height: 100%; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem 1.3rem 1.15rem;
}
.shot .nr { color: var(--brass-2); font-family: var(--serif); font-size: 1.2rem; margin-bottom: .2rem; }
.shot h3 { color: var(--ivory); font-size: 1.35rem; }
.shot p { color: rgba(243,240,234,.86); margin: 0; font-size: .92rem; }
.shot-lg { grid-row: span 2; }
.shot-wide { grid-column: 2 / span 2; }
.shot-lg .shot-body { min-height: 100%; }
.shot-lg p { max-width: 38ch; margin-top: .35rem; }
.shot a.stretched {
  position: absolute; inset: 0; z-index: 3;
  text-indent: -9999px; overflow: hidden;
}

.pic-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  box-shadow: 0 10px 30px rgba(11, 22, 18, 0.04);
  display: flex; flex-direction: column;
}
.pic-card img {
  width: 100%; height: 190px; object-fit: cover;
}
.pic-card .body { padding: 1.15rem 1.2rem 1.25rem; }
.pic-card h3 { margin-top: 0; }

.frame {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow);
}
.frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.frame .on-photo {
  position: relative; z-index: 2;
  height: 100%; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent 28%, rgba(11,22,18,.78) 100%);
  color: var(--snow);
}
.frame .on-photo .quote { color: var(--ivory); }
.frame .on-photo h3 { color: var(--ivory); }
.frame .on-photo .muted { color: rgba(243,240,234,.72); }
.frame .on-photo .chip {
  border-color: rgba(243,240,234,.28);
  color: var(--snow);
  background: rgba(11,22,18,.28);
}

.photo-band {
  position: relative;
  overflow: hidden;
  background: var(--night);
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,18,.72) 0%, rgba(11,22,18,.88) 100%),
    var(--band, url("/assets/img/stars.jpg")) center/cover no-repeat;
  pointer-events: none;
}
.photo-band .container { position: relative; z-index: 1; }

.people {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
}
.person {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.person img { width: 100%; height: 220px; object-fit: cover; }
.person .body { padding: 1.15rem 1.2rem 1.3rem; }

@media (max-width: 980px) {
  .split, .grid-2, .grid-3, .grid-4, .trust, .foot-grid, .ids, .bento, .people { grid-template-columns: 1fr; }
  .bento { grid-template-rows: none; }
  .shot-lg { grid-row: auto; min-height: 320px; }
  .shot-wide { grid-column: auto; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; inset: 4.4rem 0 0 0;
    background: var(--night); padding: 1.2rem 1.2rem 3rem;
    flex-direction: column; align-items: stretch; gap: .2rem;
    min-height: calc(100vh - 4.4rem); overflow: auto;
  }
  .main-nav.open { display: flex; }
  .nav-drop { position: static; display: none; min-width: 0; box-shadow: none; background: transparent; }
  .nav-item.is-open .nav-drop { display: grid; }
  .nav-cta { margin: 1rem 0 0; }
  .hero { min-height: auto; }
  .hero-inner { padding: 4.2rem 0 3rem; }
  .cal-grid { grid-template-columns: repeat(4, 1fr); }
  .cookie { flex-direction: column; align-items: stretch; }
}
