/* IN GEMS · client site. Palette and type follow the brochure and share sheet. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-Variable.woff2") format("woff2"),
       url("assets/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2"),
       url("assets/fonts/CormorantGaramond-Italic-Variable.ttf") format("truetype");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Variable.woff2") format("woff2"),
       url("assets/fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --cream: #f7f3ec;
  --ivory: #fbf8f2;
  --sand: #f1ebe2;
  --card: #fffcf7;
  --charcoal: #2a2826;
  --soft: #5a5550;
  --muted: #6f685f;          /* AA on ivory */
  --gold: #a88e62;           /* lines and ornament */
  --gold-soft: #c6b088;
  --gold-text: #7d6439;      /* AA gold for small text */
  --gold-line: rgba(168, 142, 98, 0.38);
  --rule: rgba(42, 40, 38, 0.10);
  --shadow: rgba(42, 40, 38, 0.07);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --pad: 24px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--ivory); padding: 10px 16px; text-decoration: none;
  font-size: 13px; letter-spacing: .08em;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.container.narrow { max-width: 720px; }
.center { text-align: center; }

/* ——— Type ——— */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }
p, li, summary { text-wrap: pretty; }
h1 { font-size: clamp(42px, 11vw, 78px); line-height: 1.04; }
h2 { font-size: clamp(32px, 7.4vw, 48px); }
h3 { font-size: 26px; }
.lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 4.8vw, 24px); line-height: 1.4; color: var(--soft);
}
.section-sub { color: var(--soft); font-size: 16px; max-width: 520px; margin-top: 14px; }
.center .section-sub, .section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 16px 30px;
  background: var(--charcoal); color: var(--ivory);
  font-family: var(--sans); font-size: 11.5px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn:hover { background: #3a3734; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(42,40,38,.14); }
.btn-small { min-height: 40px; padding: 10px 14px; font-size: 9.5px; letter-spacing: .2em; }
.btn-block { width: 100%; }
.text-link {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal);
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--gold);
  transition: color .2s ease, border-color .2s ease;
}
.text-link:hover { color: var(--gold-text); border-color: var(--gold-text); }
.center-block { display: block; margin: 18px auto 0; }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgba(251, 248, 242, 0.94); }
.header-inner {
  max-width: 1200px; margin: 0 auto; height: var(--header-h);
  padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-size: 11px; letter-spacing: .42em; font-weight: 400; color: var(--gold-text); text-transform: uppercase; }
.site-nav { display: none; }

/* ——— Hero ——— */
.hero { background: linear-gradient(180deg, var(--ivory) 0%, var(--sand) 100%); overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 44px var(--pad) 0; display: grid; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 30ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-media { margin: 28px calc(var(--pad) * -1) 0; position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 92% 45%;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side at 50% 50%, #000 55%, transparent 100%);
}

/* ——— Sections ——— */
.section { padding: 88px 0; }
.section-head { margin-bottom: 44px; }
.section-head h2 { max-width: 18ch; }

/* Note */
.note { background: var(--ivory); text-align: center; }
.note .eyebrow { margin-bottom: 26px; }
.note-quote p {
  font-family: var(--serif); font-size: clamp(23px, 5.6vw, 31px); line-height: 1.38; color: var(--charcoal);
}
.note-quote p + p { margin-top: 18px; color: var(--soft); font-style: italic; }
.signature {
  margin-top: 30px; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 40px; color: var(--gold-text); line-height: 1;
}
.signature::before {
  content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 0 auto 22px;
}

/* Pillars */
.pillars-section { padding: 0 0 88px; }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pillars li { padding: 26px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; }
.pillar-name { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--gold-text); }
.pillars p { color: var(--soft); font-size: 15.5px; }

/* How */
.how { background: var(--cream); }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step {
  background: var(--card); border: 1px solid var(--gold-line); border-radius: 3px;
  padding: 26px 24px 26px; position: relative;
}
.step::before { content: ""; position: absolute; left: 24px; right: 24px; top: 14px; height: 1px; background: var(--gold); opacity: .8; }
.step-num { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; margin: 10px 0 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--soft); font-size: 15.5px; }

/* Offers */
.offers { display: grid; gap: 18px; }
.offer {
  background: var(--card); border: 1px solid var(--gold-line); padding: 34px 26px 30px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
}
.offer-kicker { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); font-weight: 400; }
.offer h3 { font-size: 34px; }
.offer-tagline { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--soft); line-height: 1.35; }
.offer p:not(.offer-kicker):not(.offer-tagline) { color: var(--soft); font-size: 15.5px; }
.offer .text-link { align-self: flex-start; margin-top: auto; padding-top: 14px; }

/* Levels */
.levels { background: var(--cream); }
.level-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.level {
  background: var(--card); border: 1px solid var(--gold-line); padding: 24px 16px 22px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.monogram {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 5px rgba(168,142,98,.22);
  font-family: var(--serif); font-size: 21px; color: var(--gold-text); margin-bottom: 14px;
}
.level h3 { font-size: 24px; margin-bottom: 8px; }
.level-for { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--charcoal); margin-bottom: 8px; }
.level-detail { font-size: 13.5px; color: var(--soft); line-height: 1.5; margin-bottom: 16px; }
.level-from {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); width: 100%;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* Stamp */
.stamp { background: var(--ivory); }
.stamp-grid { display: grid; gap: 52px; align-items: center; }
.stamp-copy h2 { margin-bottom: 22px; max-width: 20ch; }
.stamp-copy > p:not(.eyebrow) { color: var(--soft); margin-bottom: 14px; max-width: 54ch; }
.craft { margin-top: 26px; border-top: 1px solid var(--rule); }
.craft li {
  padding: 13px 0 13px 26px; border-bottom: 1px solid var(--rule); position: relative;
  font-size: 15px; color: var(--charcoal);
}
.craft li::before {
  content: ""; position: absolute; left: 3px; top: 50%; width: 7px; height: 7px;
  border: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg);
}
.stamp-card { margin: 0 auto; width: 100%; max-width: 360px; }
.card-face {
  background: var(--card); border: 1px solid var(--gold-line); padding: 40px 30px 32px; text-align: center;
  box-shadow: 0 24px 60px rgba(42,40,38,.10), 0 2px 6px rgba(42,40,38,.04);
  position: relative; transform: rotate(-1.2deg);
}
.card-face::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(168,142,98,.25); pointer-events: none; }
.card-face img { margin: 0 auto 10px; }
.card-brand { font-size: 10px; letter-spacing: .42em; color: var(--gold-text); text-transform: uppercase; }
.card-title { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 10px 0 14px; line-height: 1.1; }
.card-rule { display: block; width: 36px; height: 1px; background: var(--gold); margin: 0 auto 16px; }
.card-line { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--soft); line-height: 1.4; }
.card-sign {
  font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--charcoal);
  margin: 22px auto 6px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); max-width: 180px; line-height: 1.1;
}
.card-foot { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.stamp-card figcaption { text-align: center; margin-top: 22px; font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { background: var(--cream); }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1px solid var(--gold-text); border-bottom: 1px solid var(--gold-text);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--soft); padding: 0 0 24px; max-width: 58ch; }
.faq details[open] p { animation: fadeUp .3s ease; }

/* Closing */
.closing { background: var(--ivory); }
.closing-mark { margin: 0 auto 22px; }
.closing h2 { margin: 0 auto; max-width: 16ch; }
.closing .section-sub { margin-bottom: 32px; }
.closing-note { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--sand); padding: 64px 0 40px; border-top: 1px solid var(--rule); text-align: center; }
.footer-brand img { margin: 0 auto 10px; }
.footer-brand .brand-name { margin-bottom: 4px; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--soft); font-size: 17px; margin-bottom: 28px; }
.footer-terms, .footer-privacy { font-size: 12.5px; line-height: 1.7; color: var(--muted); max-width: 640px; margin: 0 auto 14px; }
.footer-privacy strong { font-weight: 500; color: var(--soft); }
.footer-copy { margin-top: 24px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ——— Dialog ——— */
.request-dialog {
  border: 0; padding: 0; margin: auto; background: transparent; color: var(--charcoal);
  width: 100%; max-width: 560px; max-height: 100dvh;
}
.request-dialog::backdrop { background: rgba(42, 40, 38, 0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.request-dialog[open] { animation: dlgIn .35s ease; }
.dlg {
  position: relative; background: var(--ivory); padding: 40px 22px 30px;
  max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--gold-line);
}
.dlg-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--soft); border-radius: 50%;
}
.dlg-close:hover { color: var(--charcoal); background: var(--sand); }
.dlg-head { text-align: center; margin-bottom: 26px; }
.dlg-head img { margin: 0 auto 6px; }
.dlg-head h2 { font-size: 32px; margin-bottom: 10px; }
.dlg-intro { font-size: 14px; color: var(--soft); max-width: 40ch; margin: 0 auto; }
.field { margin-bottom: 18px; border: 0; min-width: 0; }
.field label, .field legend {
  display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--soft); font-weight: 400; margin-bottom: 8px;
}
.field input, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; font-weight: 300;
  color: var(--charcoal); background: var(--card); border: 1px solid rgba(42,40,38,.18); border-radius: 2px;
  appearance: none; -webkit-appearance: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: #8f887e; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,142,98,.18); }
.field input[aria-invalid="true"] { border-color: #9b4a3c; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; pointer-events: none;
  border-right: 1px solid var(--soft); border-bottom: 1px solid var(--soft); transform: translateY(-70%) rotate(45deg);
}
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-error { font-size: 12.5px; color: #9b4a3c; margin-top: 6px; }
.field-error:empty { display: none; }
.field-row { display: grid; gap: 0 14px; }
.choice-group { display: grid; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; cursor: pointer;
  padding: 13px 14px; background: var(--card); border: 1px solid rgba(42,40,38,.18); border-radius: 2px;
  text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--charcoal);
  transition: border-color .2s ease, background .2s ease;
}
.choice label small { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); }
.choice input:checked + label { border-color: var(--gold); background: #faf4e9; box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + label { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }

.message-preview {
  white-space: pre-wrap; background: var(--card); border: 1px solid var(--gold-line);
  padding: 20px 20px; font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--charcoal);
  margin-bottom: 20px;
}
.send-actions { display: grid; gap: 10px; }
.btn-ghost { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); }
.copy-status { text-align: center; font-size: 13px; color: var(--gold-text); min-height: 20px; margin-top: 10px; }

html.modal-open { overflow: hidden; }

/* ——— Reveal (JS only, respects reduced motion) ——— */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes dlgIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ——— ≥ 600px ——— */
@media (min-width: 600px) {
  :root { --pad: 40px; }
  .btn-small { padding: 10px 18px; font-size: 10px; }
  .header-inner { padding: 0 24px; }
  .dlg { padding: 48px 40px 36px; }
  .request-dialog { max-height: calc(100dvh - 48px); }
  .dlg { max-height: calc(100dvh - 48px); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .level-grid { gap: 16px; }
  .level { padding: 30px 22px 24px; }
}

/* ——— ≥ 900px ——— */
@media (min-width: 900px) {
  :root { --pad: 56px; --header-h: 76px; }
  .header-inner { padding: 0 40px; }
  .brand-name { font-size: 12px; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 34px; }
  .site-nav a {
    text-decoration: none; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--soft); font-weight: 400; padding: 6px 0; border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
  }
  .site-nav a:hover { color: var(--charcoal); border-color: var(--gold); }
  .btn-small { min-height: 42px; padding: 11px 20px; font-size: 10.5px; letter-spacing: .24em; }

  .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center;
    min-height: min(calc(100vh - var(--header-h)), 720px); padding: 40px 56px 56px;
  }
  .hero h1 { font-size: clamp(56px, 5.6vw, 76px); }
  .hero-media { margin: 0 -40px 0 -120px; z-index: 1; }
  .hero-media img {
    aspect-ratio: 1 / 1; object-position: 61% 42%;
    -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 58%, transparent 100%);
            mask-image: radial-gradient(closest-side at 50% 50%, #000 58%, transparent 100%);
  }
  .hero .lede { margin-bottom: 40px; }

  .section { padding: 128px 0; }
  .pillars-section { padding: 0 0 128px; }
  .section-head { margin-bottom: 60px; }
  .section-head { text-align: center; }
  .section-head h2 { margin-left: auto; margin-right: auto; max-width: 22ch; }
  .section-head .section-sub { margin-left: auto; margin-right: auto; }

  .pillars { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 48px; }
  .pillars li { display: block; border-bottom: 0; border-top: 1px solid var(--gold-line); padding: 26px 0 0; }
  .pillar-name { display: block; font-size: 30px; margin-bottom: 8px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step { padding: 30px 30px 36px; }
  .step::before { left: 30px; right: 30px; }

  .offers { grid-template-columns: 1fr 1fr; gap: 24px; }
  .offer { padding: 48px 44px 42px; }
  .offer h3 { font-size: 40px; }

  .level-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .level { padding: 36px 24px 26px; }

  .stamp-grid { grid-template-columns: 1.1fr 0.9fr; gap: 88px; }
  .stamp-card { max-width: 380px; }

  .faq summary { font-size: 24px; }
  .dlg-head h2 { font-size: 36px; }
}

@media (min-width: 1200px) {
  .hero-inner { padding-left: 64px; padding-right: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
