/* =====================================================================
   Ivythorn — Private Holdings & Advisory
   A hand-written design system. One cohesive stylesheet for every page.
   Palette: botanical heritage (ivy + brass + bark). Type: Fraunces / Libre
   Franklin / IBM Plex Mono. Concept: patient growth × protective rigour.
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root {
  /* Colour */
  --ivy-deep:   #10231B;   /* near-black forest — dominant dark ground  */
  --ivy:        #18322A;   /* primary panel green                       */
  --ivy-2:      #1E3A2C;   /* mid green                                 */
  --moss:       #3D6050;   /* support green / hover                     */
  --parchment:  #F5F1E8;   /* warm off-white section ground             */
  --ivory:      #FBF9F3;   /* lightest surface                          */
  --paper:      #FFFFFF;   /* cards                                     */
  --brass:      #B89160;   /* antique brass accent                      */
  --brass-hi:   #D6B27C;   /* brass on hover / bright                   */
  --brass-soft: rgba(184, 145, 96, 0.22);
  --bark:       #8A3B2A;   /* thorn — used sparingly                    */
  --ink:        #16201A;   /* body text on light                       */
  --ink-soft:   #3A463E;   /* secondary text on light                  */
  --stone:      #5F6760;   /* muted text                                */
  --hair:       rgba(22, 32, 26, 0.12);   /* hairline rule on light     */
  --hair-dark:  rgba(245, 241, 232, 0.16);/* hairline rule on dark      */

  /* Type */
  --ff-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-body: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Scale (fluid) */
  --step-display-xl: clamp(2.9rem, 1.6rem + 5.4vw, 5.4rem);
  --step-display:    clamp(2.3rem, 1.4rem + 3.4vw, 3.6rem);
  --step-h2:         clamp(1.85rem, 1.2rem + 2.4vw, 2.85rem);
  --step-h3:         clamp(1.3rem, 1.05rem + 0.9vw, 1.6rem);
  --step-lead:       clamp(1.18rem, 1rem + 0.7vw, 1.45rem);
  --step-body:       clamp(1.02rem, 0.96rem + 0.22vw, 1.16rem);
  --step-small:      0.9rem;
  --step-eyebrow:    0.74rem;

  /* Spacing & shape */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 7vw, 8rem);
  --section-y-sm: clamp(3rem, 5vw, 5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 0 rgba(22,32,26,0.04), 0 18px 40px -28px rgba(16,35,27,0.45);
  --shadow-hover: 0 1px 0 rgba(22,32,26,0.04), 0 30px 60px -30px rgba(16,35,27,0.55);
}

/* ----------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: var(--step-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:target { scroll-margin-top: 96px; }

/* Selection */
::selection { background: var(--brass); color: var(--ivy-deep); }

/* ----------------------------- Type -------------------------------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-display-xl); }
h2 { font-size: var(--step-display); }
.h2 { font-size: var(--step-display); }
h3 { font-size: var(--step-h3); line-height: 1.2; }
p { text-wrap: pretty; }
p + p { margin-top: 1.1em; }

.lead { font-size: var(--step-lead); line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
.mono { font-family: var(--ff-mono); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--step-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.on-dark { color: var(--parchment); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--parchment); }
.on-dark .lead { color: rgba(245, 241, 232, 0.78); }
.on-dark p { color: rgba(245, 241, 232, 0.82); }
.on-dark .ink-soft, .on-dark .muted { color: rgba(245, 241, 232, 0.66); }
.muted { color: var(--stone); }
.text-brass { color: var(--brass); }

/* ----------------------------- Layout ------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section-sm { padding-block: var(--section-y-sm); }
.bg-ivory { background: var(--ivory); }
.bg-parchment { background: var(--parchment); }
.bg-ivy { background: var(--ivy-deep); color: var(--parchment); }
.bg-ivy-mid { background: var(--ivy-2); color: var(--parchment); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); font-size: var(--step-lead); }

/* Hairline divider with centered brass tick */
.rule {
  border: 0;
  height: 1px;
  background: var(--hair);
  margin-block: var(--section-y);
}
.on-dark .rule, .rule.dark { background: var(--hair-dark); }

/* ----------------------------- Header ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 35, 27, 0.0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Home/hero header starts transparent over dark hero, other pages get a solid bar */
.site-header.is-transparent { color: var(--parchment); }
.site-header.is-solid,
.site-header.is-transparent.scrolled {
  background: rgba(16, 35, 27, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--hair-dark);
  color: var(--parchment);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

/* Brand / wordmark */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--brass); }
.brand-text {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: 0.005em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand-text small {
  font-family: var(--ff-mono);
  font-weight: 400;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.32em;
  opacity: 0.92;
}

/* Nav */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 0.35rem; }
.nav-list a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  color: rgba(245, 241, 232, 0.82);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-list a:hover { color: var(--parchment); }
.nav-list a[aria-current="page"] { color: var(--brass-hi); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.25rem;
  height: 1px; background: var(--brass);
}

.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(245, 241, 232, 0.85);
  transition: color 0.25s var(--ease);
}
.call-link:hover { color: var(--brass-hi); }
.call-link .mono { font-size: 0.84rem; letter-spacing: 0.02em; }
.call-link svg { width: 16px; height: 16px; color: var(--brass); }
.nav-cta-mobile { display: none; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  color: var(--parchment);
}
.nav-toggle span {
  position: relative;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  --btn-bg: var(--brass);
  --btn-fg: var(--ivy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(16,35,27,0.6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }

.btn-brass { --btn-bg: var(--brass); --btn-fg: var(--ivy-deep); }
.btn-brass:hover { background: var(--brass-hi); border-color: var(--brass-hi); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--parchment);
  border-color: rgba(245,241,232,0.4);
}
.btn-ghost:hover { background: rgba(245,241,232,0.08); border-color: var(--brass); color: var(--brass-hi); transform: translateY(-2px); }

.btn-ghost-dark {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--hair);
}
.btn-ghost-dark:hover { border-color: var(--brass); color: var(--brass); background: transparent; }

.btn-whatsapp {
  --btn-bg: #25D366;
  --btn-fg: #06380B;
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #20bd5a; border-color: #20bd5a; }

.btn-bark { --btn-bg: var(--bark); --btn-fg: #FBF1EA; border-color: var(--bark); }
.btn-bark:hover { background: #6f2f21; border-color: #6f2f21; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem; color: var(--brass);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { gap: 0.8rem; color: var(--brass-hi); }
.on-dark .text-link { color: var(--brass-hi); }

/* ----------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  background: var(--ivy-deep);
  color: var(--parchment);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(184,145,96,0.16), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, rgba(61,96,80,0.30), transparent 60%);
  z-index: -1;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.13 0 0 0 0 0.1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(5rem, 11vw, 9.5rem) clamp(4rem, 8vw, 7rem);
}
.hero h1 { color: var(--parchment); max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--brass-hi); font-weight: 500; }
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero-lead { margin-top: 1.6rem; max-width: 46ch; color: rgba(245,241,232,0.8); font-size: var(--step-lead); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }
.hero-meta {
  margin-top: 2.6rem;
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hair-dark);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-meta .k { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,241,232,0.55); }
.hero-meta .v { font-family: var(--ff-display); font-size: 1.25rem; color: var(--parchment); }

/* Hero engraving plate */
.hero-plate {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.engraving {
  width: 100%; max-width: 360px;
  color: var(--brass);
}
.engraving path, .engraving circle, .engraving line {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
  animation: draw 2.4s var(--ease-out) forwards;
}
.engraving path.delay { animation-delay: 0.25s; }
.engraving circle.dot { stroke-dasharray: 6; stroke-dashoffset: 6; animation: draw-dot 0.6s var(--ease) 2.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-dot { to { stroke-dashoffset: 0; } }

/* ----------------------------- Cards / grids ----------------------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brass-soft); }
.card .ico { width: 40px; height: 40px; color: var(--brass); margin-bottom: 1.2rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-num {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--ff-mono); font-size: 0.72rem;
  letter-spacing: 0.12em; color: var(--brass); opacity: 0.8;
}
.card .card-link { margin-top: 1.3rem; display: inline-flex; }

/* Section sign list — capabilities on dark */
.signet-list { display: grid; gap: 0; border-top: 1px solid var(--hair-dark); }
.signet {
  display: grid;
  grid-template-columns: auto 1.4fr 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--hair-dark);
  transition: background 0.3s var(--ease);
}
.signet:hover { background: rgba(184,145,96,0.05); }
.signet .sig {
  font-family: var(--ff-display); font-style: italic;
  font-size: 1.5rem; color: var(--brass); line-height: 1;
}
.signet h3 { color: var(--parchment); font-size: var(--step-h3); }
.signet .blurb { color: rgba(245,241,232,0.7); font-size: 0.98rem; }
.signet .text-link { white-space: nowrap; }

/* Why / values with brass numerals */
.value-row {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 1.5rem;
  padding: 1.8rem 0; border-bottom: 1px solid var(--hair);
}
.value-row:last-child { border-bottom: 0; }
.value-row .num { font-family: var(--ff-display); font-size: 1.7rem; color: var(--brass); line-height: 1; padding-top: 0.1rem; }
.value-row h3 { margin-bottom: 0.4rem; }
.value-row p { color: var(--ink-soft); }

/* Process steps (real sequence — numbered) */
.steps { counter-reset: step; display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 1.6rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--ff-mono); font-size: 0.8rem; letter-spacing: 0.14em;
  color: var(--brass);
}
.step::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--hair);
}
.bg-ivy .step::after, .bg-ivy-mid .step::after { background: var(--hair-dark); }
.step h3 { margin: 1rem 0 0.5rem; font-size: 1.18rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
.bg-ivy .step p, .bg-ivy-mid .step p { color: rgba(245,241,232,0.72); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,3vw,2rem); }
.stat { padding: 0.5rem 0; }
.stat .v { font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--brass); line-height: 1; }
.stat .l { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,241,232,0.6); margin-top: 0.7rem; }
.bg-parchment .stat .l, .bg-ivory .stat .l { color: var(--stone); }

/* Split feature (text + framed panel) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-text { order: 2; }
.panel {
  background: var(--ivy-deep);
  color: var(--parchment);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hair-dark);
  position: relative; overflow: hidden;
}
.panel .eyebrow { color: var(--brass-hi); margin-bottom: 1rem; }
.panel h3 { color: var(--parchment); margin-bottom: 0.8rem; }
.panel-frame {
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.checklist { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; font-size: 0.98rem; color: var(--ink-soft); }
.checklist .tick { color: var(--brass); margin-top: 0.2rem; flex: none; }
.checklist .tick svg { width: 18px; height: 18px; }
.on-dark .checklist li { color: rgba(245,241,232,0.82); }

/* Sector chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem; border: 1px solid var(--hair); border-radius: 999px;
  color: var(--ink-soft); background: var(--paper);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--brass); }

/* CTA band */
.cta-band {
  background: var(--ivy-deep); color: var(--parchment);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--hair-dark);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 120% at 50% -20%, rgba(184,145,96,0.18), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--parchment); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(245,241,232,0.78); max-width: 52ch; margin: 1rem auto 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ----------------------------- FAQ accordion ----------------------- */
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item.open { border-color: var(--brass-soft); box-shadow: var(--shadow-card); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 1.5rem;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.12rem; color: var(--ink);
  line-height: 1.3;
}
.faq-q .pm { flex: none; width: 26px; height: 26px; position: relative; color: var(--brass); }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: currentColor; border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-q .pm::before { width: 14px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 14px; }
.faq-item.open .faq-q .pm::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a .faq-a-inner { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); }
.faq-a .faq-a-inner p + p { margin-top: 0.8rem; }

/* ----------------------------- Forms ------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.field label .req { color: var(--bark); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-soft);
}
.form-note { font-size: 0.85rem; color: var(--stone); margin-top: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-details { display: grid; gap: 1.4rem; }
.detail { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--hair); }
.detail:last-child { border-bottom: 0; }
.detail .ico { width: 22px; height: 22px; color: var(--brass); margin-top: 0.2rem; }
.detail .k { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.25rem; }
.detail .v { font-size: 1.05rem; color: var(--ink); }
.detail a.v:hover { color: var(--brass); }
.detail .sub { font-size: 0.88rem; color: var(--stone); margin-top: 0.2rem; }

/* ----------------------------- Footer ------------------------------ */
.site-footer { background: var(--ivy-deep); color: rgba(245,241,232,0.7); padding-top: clamp(3.5rem, 6vw, 5.5rem); border-top: 1px solid var(--hair-dark); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid var(--hair-dark); }
.footer-brand .brand-text { color: var(--parchment); }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; font-size: 0.95rem; color: rgba(245,241,232,0.65); }
.footer-col h4 { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.1rem; font-weight: 500; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.95rem; color: rgba(245,241,232,0.72); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--brass-hi); }
.footer-affil { font-size: 0.92rem; color: rgba(245,241,232,0.6); line-height: 1.6; }
.footer-affil a { color: var(--brass-hi); border-bottom: 1px solid rgba(214,178,124,0.4); }
.footer-affil a:hover { color: var(--parchment); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.8rem; font-size: 0.85rem; color: rgba(245,241,232,0.5); }
.footer-bottom a { color: rgba(245,241,232,0.6); }
.footer-bottom a:hover { color: var(--brass-hi); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ----------------------------- Reveal animation -------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ----------------------------- Page header (inner pages) ----------- */
.page-hero {
  background: var(--ivy-deep); color: var(--parchment);
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(100% 120% at 85% -20%, rgba(184,145,96,0.16), transparent 55%),
              radial-gradient(70% 90% at 0% 120%, rgba(61,96,80,0.28), transparent 60%);
}
.breadcrumbs { font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(245,241,232,0.55); margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumbs a { color: rgba(245,241,232,0.7); }
.breadcrumbs a:hover { color: var(--brass-hi); }
.breadcrumbs span.sep { opacity: 0.5; }
.breadcrumbs span[aria-current] { color: var(--brass); }
.page-hero h1 { color: var(--parchment); max-width: 20ch; }
.page-hero .lead { color: rgba(245,241,232,0.78); max-width: 58ch; margin-top: 1.2rem; }

/* Inline pull quote */
.pullquote {
  font-family: var(--ff-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.3;
  color: var(--ivy-2); border-left: 2px solid var(--brass);
  padding-left: 1.5rem; max-width: 30ch;
}
.on-dark .pullquote { color: var(--parchment); }

/* Prose block */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-h2); margin-top: 2.4rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul.bullets { display: grid; gap: 0.7rem; margin: 1rem 0; }
.prose ul.bullets li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.prose ul.bullets li::before { content: "§"; color: var(--brass); font-family: var(--ff-display); font-style: italic; }

/* Utility */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.4rem; } .mt-3 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.cluster { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.between { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.stack > * + * { margin-top: 1rem; }
.nowrap { white-space: nowrap; }
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--brass); color: var(--ivy-deep);
  padding: 0.6rem 1rem; border-radius: var(--radius); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ----------------------------- Responsive -------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .call-link { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0;
    background: var(--ivy-deep);
    flex-direction: column; align-items: stretch;
    padding: 2rem var(--gutter) 3rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    border-top: 1px solid var(--hair-dark);
  }
  body.nav-open .main-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-list a { font-size: 1.05rem; padding: 0.9rem 0; border-bottom: 1px solid var(--hair-dark); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .main-nav .nav-cta-mobile { display: flex; }
  .main-nav .nav-cta-mobile .btn { width: 100%; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 4.5rem; }
  .hero-plate { order: -1; max-width: 220px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .signet { grid-template-columns: auto 1fr; }
  .signet .blurb { grid-column: 2; }
  .signet .text-link { grid-column: 2; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.4rem; }
  .brand-text small { display: none; }
  .header-cta .btn-sm { display: none; }
}

/* ----------------------------- Reduced motion ---------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .engraving path, .engraving circle, .engraving line { stroke-dashoffset: 0; }
}
