/* Gems Lumière — Eternal Light web system v1.0
   Palette, type and logo rules per Brand Book v1.1 + Design Guidelines v1.1 */

/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(../fonts/playfair-display-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-wght-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #0A1128;
  --navy-2: #1A2A47;
  --navy-line: rgba(255, 255, 255, 0.12);
  --cream: #F9F7F0;
  --cream-2: #FDF6E3;
  --white: #FFFFFF;
  --coral: #E57D71;
  --coral-2: #E9967A;
  --glow: #F7E0A1;
  --ink: #0A1128;
  --ink-soft: #454F66;
  --ink-mute: #6B7385;
  --line: rgba(10, 17, 40, 0.12);

  --f-display: "Playfair Display", "Bodoni 72", Didot, Georgia, serif;
  --f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-sans: "Montserrat", "Lato", "Helvetica Neue", Arial, sans-serif;
  --f-cjk: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", serif;

  --wrap: 1200px;
  --narrow: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;          /* 18px — body ≥ 16px per guidelines */
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.25; }
h1 em, h2 em { font-style: italic; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 16px; z-index: 100; font-family: var(--f-sans); font-size: .85rem; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }

.ground-cream { background: var(--cream); }
.ground-cream-2 { background: var(--cream-2); }
.ground-white { background: var(--white); }
.ground-navy { background: var(--navy); color: var(--white); }
.ground-navy-2 { background: var(--navy-2); color: var(--white); }
.ground-navy .lede, .ground-navy-2 .lede { color: rgba(255,255,255,.78); }
.ground-navy p, .ground-navy-2 p { color: rgba(255,255,255,.82); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--f-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--coral); flex: none; }
.ground-navy .eyebrow, .ground-navy-2 .eyebrow { color: var(--coral-2); }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.center > .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--coral); flex: none; }

.accent-line {
  font-family: var(--f-sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--coral);
}
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); }
.small { font-size: .95rem; }
.muted { color: var(--ink-mute); }
.label {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
}
.hairline { width: 48px; height: 1px; background: var(--coral); border: 0; margin: 28px 0; }
.center .hairline, .hairline.center { margin-left: auto; margin-right: auto; }
.serif-num { font-family: var(--f-display); font-style: italic; color: var(--coral); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 17px 30px; border-radius: var(--radius);
  background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
/* On navy grounds: cream fill, navy type (navy-on-navy is forbidden) */
.ground-navy .btn, .ground-navy-2 .btn, .btn--light { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.ground-navy .btn:hover, .ground-navy-2 .btn:hover, .btn--light:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--navy); }
.ground-navy .btn--ghost, .ground-navy-2 .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.ground-navy .btn--ghost:hover, .ground-navy-2 .btn--ghost:hover { background: transparent; border-color: var(--white); }

.link {
  font-family: var(--f-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--navy); padding-bottom: 4px;
  background: linear-gradient(var(--coral), var(--coral)) left bottom / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link:hover { background-size: 40% 1px; }
.ground-navy .link, .ground-navy-2 .link { color: var(--coral-2); }
.prose a { color: var(--navy); text-decoration-color: var(--coral); text-underline-offset: 3px; }
.ground-navy .prose a { color: var(--coral-2); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; }
.center .actions, .actions.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px; }
.brand { display: block; flex: none; }
.brand img { width: 160px; height: auto; }   /* digital minimum lockup width = 160px */
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.82); padding: 6px 0; position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--coral); }
.site-header .btn { background: var(--cream); border-color: var(--cream); }
.site-header .btn:hover { background: var(--white); border-color: var(--white); }
.nav .btn { color: var(--navy); padding: 13px 20px; font-size: .7rem; }
.nav .btn:hover { color: var(--navy); }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--white);
  width: 48px; height: 48px; border-radius: var(--radius); cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .site-header .wrap { height: 96px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 96px 0 0 0; background: var(--navy);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0; padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-family: var(--f-display); font-size: 1.7rem; letter-spacing: 0; text-transform: none; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--navy-line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--coral-2); }
  .nav .btn { margin-top: 32px; width: 100%; font-family: var(--f-sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: 18px; border-bottom: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Light / orb system (glow metaphor — no drawn diamonds) ---------- */
.orb {
  position: relative; width: min(420px, 78vw); aspect-ratio: 1; margin: 0 auto; pointer-events: none;
}
.orb::before {           /* the halo */
  content: ""; position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(247,224,161,.30) 0%, rgba(247,224,161,.10) 32%, rgba(247,224,161,0) 62%);
  animation: breathe 7s var(--ease) infinite alternate;
}
.orb::after {            /* the core */
  content: ""; position: absolute; inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, #FFFFFF 0%, #FFFBEF 18%, rgba(247,224,161,.85) 38%, rgba(247,224,161,.25) 62%, rgba(247,224,161,0) 72%);
  filter: blur(2px);
}
.orb .ring {
  position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid rgba(229,125,113,.35);
}
.orb .ring + .ring { inset: 4%; border-color: rgba(255,255,255,.08); }
.orb--small { width: min(260px, 60vw); }
.ground-cream .orb::before, .ground-cream-2 .orb::before, .orb--oncream::before {
  background: radial-gradient(circle, rgba(247,224,161,.55) 0%, rgba(247,224,161,.18) 34%, rgba(247,224,161,0) 64%);
}
.ground-cream .orb::after, .ground-cream-2 .orb::after, .orb--oncream::after {
  background: radial-gradient(circle at 50% 46%, #FFFFFF 0%, #FFF8E4 22%, rgba(247,224,161,.9) 42%, rgba(247,224,161,.3) 64%, rgba(247,224,161,0) 74%);
}
@keyframes breathe { from { transform: scale(.94); opacity: .85; } to { transform: scale(1.06); opacity: 1; } }

.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,125,113,.5), transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-home { min-height: calc(100svh - 104px); display: flex; align-items: center; padding: clamp(60px, 9vw, 120px) 0; }
.hero-home .grid-2 { grid-template-columns: 1.1fr .9fr; }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,.8); max-width: 34em; }
.hero .accent-line { display: block; margin-top: 56px; }
@media (max-width: 900px) {
  .hero-home { min-height: 0; }
  .hero-home .grid-2 { grid-template-columns: 1fr; }
  .hero-home .orb { order: -1; width: min(300px, 70vw); margin-bottom: -20px; }
  .hero .accent-line { margin-top: 40px; }
}

.page-hero { padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); text-align: center; }
.page-hero .lede { margin: 0 auto; }
.page-hero .orb { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 720px; opacity: .55; z-index: 0; }

/* ---------- Cards & lists ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius); height: 100%;
}
.ground-white .card { background: var(--cream); }
.ground-navy .card, .ground-navy-2 .card { background: rgba(255,255,255,.03); border-color: var(--navy-line); }
.card h3 { margin-bottom: .6em; }
.card .module {
  font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--navy);
  display: block; margin-bottom: 20px;
}
.ground-navy .card .module { color: var(--white); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; }
.facts > div { padding: 28px 24px 28px 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts .label { color: var(--ink-mute); display: block; margin-bottom: 6px; }
.facts .v { font-family: var(--f-display); font-size: 1.3rem; }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step-num { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--coral); display: block; margin-bottom: 14px; }
.ground-navy .step-num { color: var(--coral-2); }
.step { padding-top: 26px; border-top: 1px solid var(--line); }
.ground-navy .step, .ground-navy-2 .step { border-top-color: var(--navy-line); }

/* moments */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 56px; }
.moments > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 26px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.moments .serif-num { font-size: 1rem; }
.moments h3 { font-size: 1.3rem; margin: 0; }
@media (max-width: 900px) { .moments { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .moments > * { padding: 24px 18px; min-height: 120px; } .moments h3 { font-size: 1.12rem; } }

.moment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 96px); }
.moment-item { padding: 44px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.moment-item h3 { margin-bottom: .35em; }
.moment-item p { color: var(--ink-soft); }
@media (max-width: 800px) { .moment-list { grid-template-columns: 1fr; } }

/* timeline */
.timeline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.ground-navy .timeline::before { background: var(--navy-line); }
.timeline li { position: relative; padding: 40px 22px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--cream); border: 1px solid var(--coral); }
.ground-navy .timeline li::before { background: var(--navy); }
.timeline li::after { content: ""; position: absolute; top: 5px; left: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.timeline .when { color: var(--coral); display: block; margin-bottom: 10px; }
.ground-navy .timeline .when { color: var(--coral-2); }
.timeline h3 { font-size: 1.3rem; }
.timeline p { font-size: 1rem; color: var(--ink-soft); }
.ground-navy .timeline p { color: rgba(255,255,255,.75); }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 40px 48px; }
}

/* payment bar */
.payment { display: grid; grid-template-columns: 30fr 50fr 20fr; margin-top: 36px; }
.payment > div { padding: 22px 18px 0 0; border-top: 3px solid var(--navy); }
.payment > div:nth-child(2) { border-top-color: var(--navy-2); padding-left: 18px; }
.payment > div:nth-child(3) { border-top-color: var(--coral); padding-left: 18px; }
.payment .pct { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); display: block; line-height: 1.1; }
.payment .small { color: var(--ink-soft); }
@media (max-width: 600px) {
  .payment { grid-template-columns: 1fr; gap: 20px; }
  .payment > div, .payment > div:nth-child(n) { padding-left: 0; }
}

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); margin-top: 64px; }
.tier { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tier--feature { border-color: var(--navy); }
.tier-visual { background: var(--navy); height: 230px; position: relative; overflow: hidden; display: grid; place-items: center; }
.tier-visual .orb { width: 150px; }
.tier-visual .sat { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(247,224,161,.9) 40%, rgba(247,224,161,0) 75%); }
.tier-body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.tier-body .label { color: var(--ink-mute); }
.tier h3 { font-size: 2.2rem; margin: 10px 0 8px; }
.tier .price { font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 18px; }
.tier .price small { font-family: var(--f-sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-top: 4px; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 28px; font-size: 1rem; }
.tier li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--coral); }
.tier .example { margin-top: auto; background: var(--cream); padding: 18px 20px; font-size: .95rem; }
.tier .example .label { display: block; margin-bottom: 8px; }
.tier .example dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0; }
.tier .example dt { color: var(--ink-soft); }
.tier .example dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.tier .example .total { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* rate tables */
.rate { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.rate caption { text-align: left; padding-bottom: 14px; }
.rate th, .rate td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.rate td:last-child, .rate th:last-child { text-align: right; }
.rate thead th { font-family: var(--f-sans); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.module-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.module-head .module { font-family: var(--f-display); font-size: 3rem; line-height: 1; }
.shapes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.shapes span { font-family: var(--f-sans); font-size: .75rem; letter-spacing: .08em; border: 1px solid var(--line); padding: 8px 12px; background: var(--white); }
.shapes b { font-weight: 600; color: var(--navy); }

/* estimator */
.estimator { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--white); border: 1px solid var(--line); margin-top: 56px; }
.est-form { padding: clamp(28px, 4vw, 52px); display: grid; gap: 26px; }
.est-out { background: var(--navy); color: var(--white); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.est-out dl { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; margin: 26px 0 0; font-variant-numeric: tabular-nums; }
.est-out dt { color: rgba(255,255,255,.72); font-size: 1rem; }
.est-out dt b { font-family: var(--f-display); font-weight: 400; color: var(--coral-2); margin-right: 10px; font-size: 1.1rem; }
.est-out dd { margin: 0; text-align: right; }
.est-total { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--navy-line); }
.est-total .num { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; display: block; margin-top: 6px; }
.est-out .note { font-size: .9rem; color: rgba(255,255,255,.62); margin-top: auto; padding-top: 28px; }
@media (max-width: 900px) { .estimator { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > legend, .field-label {
  font-family: var(--f-sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
}
.field .hint { font-size: .9rem; color: var(--ink-mute); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, background .2s;
}
.ground-cream input, .ground-cream select, .ground-cream textarea { background-color: var(--white); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
textarea { min-height: 150px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label {
  position: relative; cursor: pointer;
  font-family: var(--f-sans); font-size: .82rem; letter-spacing: .04em;
}
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: 12px 18px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); transition: all .2s; min-height: 44px; }
.ground-white .choices span, .est-form .choices span { background: var(--cream); }
.choices input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.choices input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .95rem; color: var(--ink-soft); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 18px 20px; border-left: 2px solid var(--coral); background: var(--cream-2); display: none; }
.form-status.show { display: block; }
.form-status.ok { border-left-color: var(--navy); }

.contact-card { background: var(--navy); color: var(--white); padding: clamp(32px, 4vw, 52px); }
.contact-card dl { margin: 28px 0 0; display: grid; gap: 22px; }
.contact-card dt { font-family: var(--f-sans); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-2); margin-bottom: 4px; }
.contact-card dd { margin: 0; font-family: var(--f-display); font-size: 1.3rem; }
.contact-card a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(229,125,113,.5); }
.contact-card a:hover { border-bottom-color: var(--coral); }

.grid-form { grid-template-columns: 1.25fr .75fr; align-items: start; }
@media (max-width: 900px) { .grid-form { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1px; background: var(--navy); transition: transform .3s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq .answer { padding: 0 0 28px; color: var(--ink-soft); max-width: 44em; }

/* ethics */
.ethics { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--navy-line); }
.ethics li { padding: 30px 24px 0 0; }
.ethics li + li { padding-left: 24px; border-left: 1px solid var(--navy-line); }
.ethics h3 { font-size: 1.15rem; color: var(--white); margin-bottom: .5em; }
.ethics p { font-size: .98rem; }
.ground-cream .ethics, .ground-cream-2 .ethics { border-top-color: var(--line); }
.ground-cream .ethics li + li, .ground-cream-2 .ethics li + li { border-left-color: var(--line); }
.ground-cream .ethics h3, .ground-cream-2 .ethics h3 { color: var(--ink); }
.ground-cream .ethics p, .ground-cream-2 .ethics p { color: var(--ink-soft); }
@media (max-width: 1000px) {
  .ethics { grid-template-columns: 1fr 1fr; }
  .ethics li, .ethics li + li { padding: 26px 20px 26px 0; border-left: 0; border-bottom: 1px solid var(--navy-line); }
  .ground-cream .ethics li, .ground-cream-2 .ethics li { border-bottom-color: var(--line); }
}
@media (max-width: 600px) { .ethics { grid-template-columns: 1fr; } }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 48px; }
.compare > div { padding: 30px 30px 0 0; }
.compare > div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.compare ul { list-style: none; padding: 0; margin: 16px 0 0; }
.compare li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.compare .not li { color: var(--ink-mute); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } .compare > div + div { padding-left: 0; border-left: 0; } }

/* quote / statement */
.statement { font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.3; font-style: italic; text-wrap: balance; }

/* invitation band */
.invite { text-align: center; overflow: hidden; }
.invite .orb { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 760px; opacity: .6; }
.invite .wrap { position: relative; z-index: 1; }

/* notice */
.notice { border: 1px solid var(--line); background: var(--white); padding: 22px 26px; font-size: 1rem; color: var(--ink-soft); }
.ground-navy .notice { background: transparent; border-color: var(--navy-line); color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: clamp(64px, 8vw, 100px) 0 36px; border-top: 1px solid var(--navy-line); font-size: 1rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-top img { width: 180px; margin-bottom: 26px; }
.site-footer h2 { font-family: var(--f-sans); font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-2); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-family: var(--f-sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white); text-decoration: none;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 12px 18px 12px 14px;
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(10,17,40,.25);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .orb::before { animation: none; }
}

/* utilities */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 80px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

main { overflow-x: clip; }

.invite .orb::after, .page-hero .orb::after { opacity: .28; }
/* navy panels that aren't full sections */
.est-out .eyebrow, .contact-card .eyebrow { color: var(--coral-2); }
.est-out .btn, .contact-card .btn { background: var(--cream); color: var(--navy); border-color: var(--cream); align-self: flex-start; }
.est-out .btn:hover, .contact-card .btn:hover { background: var(--white); border-color: var(--white); }
.nav .btn[aria-current="page"] { color: var(--navy); }
.cjk { font-family: var(--f-cjk); font-weight: 400; }

/* ---------- Photography (v1.1 — interim stills from process video) ---------- */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--frame { padding: 14px; border: 1px solid rgba(229,125,113,.45); }
.ground-cream .photo--frame, .ground-white .photo--frame { border-color: rgba(229,125,113,.55); }
.photo figcaption { font-family: var(--f-sans); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-top: 14px; color: var(--ink-mute); }
.ground-navy .photo figcaption, .ground-navy-2 .photo figcaption { color: rgba(255,255,255,.6); }
.hero-photo { position: relative; max-width: 420px; margin-left: auto; }
.hero-photo::before { content: ""; position: absolute; inset: -18%; z-index: -1; background: radial-gradient(circle, rgba(247,224,161,.22) 0%, rgba(247,224,161,.06) 40%, rgba(247,224,161,0) 65%); }
.hero-photo img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .hero-home .hero-photo { order: -1; max-width: 280px; margin: 0 auto 8px; } }
.tier-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: 56px; }
.stills img { aspect-ratio: 1; }
@media (max-width: 800px) { .stills { grid-template-columns: 1fr 1fr; } }
.video-wrap { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.video-frame { padding: 12px; border: 1px solid rgba(229,125,113,.45); }
.video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; object-fit: cover; }
@media (max-width: 900px) { .video-wrap { grid-template-columns: 1fr; } .video-frame { max-width: 360px; margin: 0 auto; } }
[id] { scroll-margin-top: 112px; }
.portrait { max-width: 460px; }
.portrait img { aspect-ratio: 779 / 1024; object-position: 50% 20%; }
@media (max-width: 900px) { .portrait { max-width: 360px; margin: 0 auto; } }
.compare--single { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
.compare--single > div { padding-right: 0; }

/* Photo page-heroes (v1.3): real diamond banner, copy left */
.page-hero--photo {
  text-align: left; min-height: min(78vh, 720px); display: flex; align-items: center;
  background-color: var(--navy); background-repeat: no-repeat; background-position: right center; background-size: cover;
}
.page-hero--photo .hero-copy { max-width: 620px; position: relative; z-index: 1; }
.page-hero--photo .lede { margin: 0; }
.page-hero--photo .starfield { opacity: .6; }
@media (min-width: 1600px) { .page-hero--photo { background-size: auto 100%; } }
@media (max-width: 900px) {
  .page-hero--photo { min-height: 0; padding-top: 72px; padding-bottom: 72px; background-position: 78% center; }
  .page-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,40,.92) 0%, rgba(10,17,40,.7) 55%, rgba(10,17,40,.35) 100%); }
}
.cjk { white-space: nowrap; }

/* ---------- "Discuss this piece" dialog (price builder) ---------- */
.piece-dialog {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: var(--radius); background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 80px rgba(10, 17, 40, .35); overflow: auto;
}
.piece-dialog::backdrop { background: rgba(10, 17, 40, .72); backdrop-filter: blur(3px); }
.piece-dialog[open] { animation: pd-in .35s var(--ease); }
@keyframes pd-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .piece-dialog[open] { animation: none; } }
body.pd-open { overflow: hidden; }

.pd-head { position: relative; background: var(--navy); color: var(--white); padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 44px) clamp(22px, 3vw, 30px); }
.pd-head .eyebrow { color: var(--coral-2); margin: 0 0 8px; }
.pd-head h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.pd-close {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); color: var(--white);
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: border-color .2s;
}
.pd-close:hover { border-color: var(--white); }
.pd-close:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.pd-summary { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--navy-line); font-variant-numeric: tabular-nums; font-size: .98rem; }
.pd-summary dt { color: rgba(255,255,255,.72); }
.pd-summary dt b { font-family: var(--f-display); font-weight: 400; color: var(--coral-2); margin-right: 10px; }
.pd-summary dt .small { display: block; color: rgba(255,255,255,.55); font-size: .88rem; }
.pd-summary dd { margin: 0; text-align: right; }
.pd-summary .pd-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--navy-line); }
.pd-summary .pd-total span { font-family: var(--f-sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.pd-summary .pd-total strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.3rem); line-height: 1.1; }

.pd-body { padding: clamp(24px, 4vw, 40px) clamp(22px, 4vw, 44px) clamp(28px, 4vw, 44px); display: grid; gap: 22px; }
.pd-body .muted { margin: 0; }
.pd-body input[type="text"], .pd-body input[type="email"], .pd-body input[type="tel"], .pd-body textarea { background: var(--white); }
.pd-body textarea { min-height: 110px; }
.pd-body .choices span { background: var(--white); }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.pd-actions .btn[disabled] { opacity: .6; cursor: progress; }
.pd-cancel { background: none; border: 0; padding: 8px 0; font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); cursor: pointer; }
.pd-cancel:hover { color: var(--navy); }

.pd-done { padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 44px); text-align: center; }
.pd-done h3 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 12px; }
.pd-done .hairline { margin: 22px auto; }

@media (max-width: 640px) {
  .piece-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .pd-head h2 { padding-right: 48px; }
}
.piece-dialog [hidden] { display: none !important; }

/* ---------- Partner calculator (estimate.html) ---------- */
.est-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.est-header-link { font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); text-decoration: none; }
.est-header-link:hover { color: var(--white); }

.est-intro { padding: clamp(36px, 4.5vw, 56px) 0 clamp(96px, 10vw, 128px); overflow: hidden; }
.est-intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.est-intro h1 { color: var(--white); font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin: 0 0 14px; }
.est-intro .lede { max-width: 600px; color: rgba(255,255,255,.78); font-size: 1.1rem; margin: 0; }
.est-photo { margin: 0; position: relative; aspect-ratio: 3 / 2; }
.est-photo img { width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(ellipse 58% 66% at 52% 48%, #000 38%, transparent 100%);
          mask-image: radial-gradient(ellipse 58% 66% at 52% 48%, #000 38%, transparent 100%); }

/* Co-brand signature: one balanced line, both names equal */
.cobrand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 26px; padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18);
  font-family: var(--f-sans); font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--white); }
.cobrand[hidden] { display: none; }
.cobrand .cb-x { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0; color: var(--coral-2); line-height: 1; }
.has-partner .est-eyebrow { display: none; }   /* the signature replaces the eyebrow */

/* Calculator rises into the navy band */
.est-section { padding-top: 0; padding-bottom: clamp(48px, 6vw, 72px); display: flow-root; }
.est-section .estimator { margin-top: calc(-1 * clamp(64px, 7vw, 88px)); position: relative; box-shadow: 0 24px 60px rgba(10,17,40,.12); }
.estimate-page .est-form fieldset:last-of-type .choices { display: grid; grid-template-columns: repeat(3, 1fr); }
.estimate-page .est-form fieldset:last-of-type .choices span { display: grid; gap: 2px; text-align: center; height: 100%; padding: 12px 10px; }
.estimate-page .est-form fieldset:last-of-type .choices span b { font-weight: 600; }
.estimate-page .est-form fieldset:last-of-type .choices span small { font-size: .74rem; letter-spacing: .02em; opacity: .75; }
@media (max-width: 640px) { .estimate-page .est-form fieldset:last-of-type .choices { grid-template-columns: 1fr; } }

.est-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-family: var(--f-sans); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.est-trust li { display: inline-flex; align-items: center; gap: 10px; }
.est-trust li::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--navy); opacity: .5; }

.est-footer { padding: 28px 0; }
.est-footer .footer-bottom { border-top: 0; margin: 0 auto; padding-top: 0; }
.pd-via { display: block; margin-top: 10px; font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .est-intro-grid { grid-template-columns: 1fr; }
  .est-photo { display: none; }
}
@media (max-width: 640px) {
  .est-header-link { display: none; }
  .cobrand { font-size: .66rem; letter-spacing: .2em; gap: 4px 12px; }
}
/* Embedded in a partner's site: calculator only */
.is-embed .est-header, .is-embed .est-footer, .is-embed .wa-float { display: none; }
.is-embed .est-intro { padding-top: 32px; }
