/* Ardencrest Advisory Group: slate and brass, light and dark */

/* Self-hosted fonts (SIL Open Font License, see /fonts/*-OFL.txt). No third-party requests. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); }


:root {
  --bg: #F7F6F2;
  --bg-alt: #EFEDE7;
  --surface: #FFFFFF;
  --ink: #1B1D1F;
  --muted: #4A4D50;
  --brass: #8A6A32;
  --line: #E2DED3;
  --band: #2A2F33;
  --band-ink: #F1EFEA;
  --band-muted: #B9BCBE;
  --band-brass: #C9A86A;
  --band-line: #41484D;
  --btn: #1B1D1F;
  --btn-ink: #F7F6F2;
  --btn-hover: #34383C;
  --field: #FFFFFF;
  --danger: #A3352B;
  --success: #3B6A3F;
  --contour-opacity: .3;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #15181A;
  --bg-alt: #1A1E21;
  --surface: #1F2427;
  --ink: #ECEAE4;
  --muted: #A7ABAE;
  --brass: #C9A86A;
  --line: #2C3236;
  --band: #1F2427;
  --band-ink: #ECEAE4;
  --band-muted: #A2A7AA;
  --band-brass: #C9A86A;
  --band-line: #353C41;
  --btn: #C9A86A;
  --btn-ink: #15181A;
  --btn-hover: #D8BC85;
  --field: #1A1E21;
  --danger: #E59A8F;
  --success: #9CCB9F;
  --contour-opacity: .22;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15181A;
    --bg-alt: #1A1E21;
    --surface: #1F2427;
    --ink: #ECEAE4;
    --muted: #A7ABAE;
    --brass: #C9A86A;
    --line: #2C3236;
    --band: #1F2427;
    --band-ink: #ECEAE4;
    --band-muted: #A2A7AA;
    --band-brass: #C9A86A;
    --band-line: #353C41;
    --btn: #C9A86A;
    --btn-ink: #15181A;
    --btn-hover: #D8BC85;
    --field: #1A1E21;
    --danger: #E59A8F;
    --success: #9CCB9F;
    --contour-opacity: .22;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s, color .4s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; margin: 0; }
h1 em, h2 em { color: var(--brass); }
p { margin: 0 0 1em; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { scroll-margin-top: 72px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--btn); color: var(--btn-ink); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn); color: var(--btn-ink);
  font: 500 15px/1 var(--sans); text-decoration: none;
  padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; font-size: 15px; }
.link:hover { color: var(--brass); }

/* Monogram */
.mono text { font-family: var(--serif); font-size: 66px; }
.mono-a { fill: var(--ink); }
.mono-c { fill: var(--brass); font-style: italic; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.brand-rule { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--brass); opacity: .8; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.brand-sub { font-family: var(--sans); font-size: 8.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--brass); }
.menu-btn { display: none; }
.theme-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; color: var(--ink);
}
.theme-btn:hover { border-color: var(--brass); }
.theme-btn svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}

@media (max-width: 820px) {
  .nav { position: static; }
  .menu-btn {
    display: inline-flex; background: none; border: 1px solid var(--line); color: var(--ink);
    font: 500 14px var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav ul.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .nav li a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border: 0; }
  .nav .nav-cta { margin-top: 14px; text-align: center; background: var(--btn); color: var(--btn-ink); border: 0; padding: 14px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 100px); }
.contours {
  position: absolute; right: -4%; top: 0; width: 62%; height: 100%;
  fill: none; stroke: var(--brass); stroke-width: 1; opacity: var(--contour-opacity);
  vector-effect: non-scaling-stroke; pointer-events: none;
}
.contours path { vector-effect: non-scaling-stroke; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.headline { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.025em; }
.hero-side p { font-size: 17px; color: var(--muted); max-width: 36ch; margin-bottom: 28px; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid div { padding: 26px 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.facts-grid div + div { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 36px); }
.facts-grid strong { display: block; font: 400 26px/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.fact-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }

/* Section heads */
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; }
.lede { font-size: 17px; color: var(--muted); margin-top: 18px; }

/* About */
.about { padding: clamp(72px, 10vw, 130px) 0; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.photo-frame { position: relative; padding: 0 0 14px 14px; max-width: 460px; }
.photo-frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 6px; width: 100%; background: var(--bg-alt); }
.photo-frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 1px; height: 55%; background: var(--brass); }
.photo-frame::after { content: ""; position: absolute; left: 0; bottom: 0; width: 55%; height: 1px; background: var(--brass); }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--muted); font-size: 17px; max-width: 58ch; }
.signature { font: italic 400 22px var(--serif); color: var(--ink) !important; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.signature span { display: block; font: 400 13px var(--sans); color: var(--muted); margin-top: 4px; }

/* Services */
.services { background: var(--band); color: var(--band-ink); padding: clamp(72px, 10vw, 130px) 0; }
.services .eyebrow { color: var(--band-brass); }
.services .lede { color: var(--band-muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--band-line); border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.svc { background: var(--band); padding: 32px clamp(20px, 2.5vw, 32px) 32px; display: flex; flex-direction: column; }
.svc:first-child { padding-left: 0; }
.svc:last-child { padding-right: 0; }
.num { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--brass); }
.services .num { color: var(--band-brass); }
.svc h3 { font-size: 27px; line-height: 1.15; margin: 14px 0 10px; }
.price { font-size: 14px; color: var(--band-muted); margin-bottom: 18px; }
.price strong { font: 400 24px var(--serif); color: var(--band-ink); margin-left: 4px; }
.svc > p:not(.price):not(.timeline):not(.scope-note) { color: var(--band-muted); font-size: 15px; }
.svc ul { list-style: none; padding: 0; margin: 6px 0 24px; flex: 1; }
.svc li { position: relative; padding: 9px 0 9px 22px; font-size: 14.5px; line-height: 1.5; border-top: 1px solid var(--band-line); }
.svc li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 1px; background: var(--band-brass); }
.timeline { font-size: 15px; line-height: 1.45; color: var(--band-brass); margin: 0; }
.rate { display: block; font-size: 12px; letter-spacing: .04em; color: var(--band-brass); margin-top: 4px; }
.svc > p.scope-note { font-size: 13px; color: var(--band-muted); margin: 8px 0 0; line-height: 1.5; }

/* Process */
.process { padding: clamp(72px, 10vw, 130px) 0; background: var(--bg-alt); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps h3 { font-size: 22px; line-height: 1.2; margin: 12px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* Free tool teaser */
.tool { padding: clamp(56px, 8vw, 96px) 0 0; }
.tool-card {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
  background: var(--band); color: var(--band-ink); border-radius: 22px; padding: clamp(28px, 5vw, 56px);
}
.tool-copy { max-width: 620px; }
.tool .eyebrow { color: var(--band-brass); }
.tool h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; margin-bottom: 14px; }
.tool h2 em { color: var(--band-brass); }
.tool-copy p:last-child { color: var(--band-muted); margin: 0; }
.tool .btn { background: var(--band-brass); color: #15181A; flex: none; }
.tool .btn:hover { background: #D8BC85; }
.tool-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: none; }
.tool-link { color: var(--band-ink); text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--band-brass); padding-bottom: 2px; }
.tool-link:hover { color: var(--band-brass); }

/* FAQ */
.faq { padding: clamp(72px, 10vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 400 21px/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; margin: 0; }

/* Contact */
.contact { padding: clamp(72px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy p { color: var(--muted); font-size: 17px; max-width: 42ch; }
.contact-copy .small { font-size: 15px; }
.contact-copy a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; overflow-wrap: anywhere; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3.5vw, 40px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--field); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--brass) 45%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
#referred-wrap[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 6px; }
.form-status { font-size: 15px; margin: 14px 0 0; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--success); }
.form-status.bad { color: var(--danger); }
.form-status a { color: inherit; }
.privacy { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.privacy a { color: var(--muted); text-underline-offset: 2px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.footer-inner p { margin: 0; font-size: 14px; color: var(--muted); }
.footer-inner .brand { font-size: 18px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }

/* Motion: only when JS confirmed reduced motion is off */
.motion .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }
/* Headline: each word rises up from behind an invisible line, one after another */
.motion .headline .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.motion .headline .w { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.motion .headline.in .w { transform: none; }
/* Photo eases in from slightly zoomed */
.motion .photo-frame.reveal img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.motion .photo-frame.reveal.in img { transform: none; }
/* Service cards rise a little further */
.motion .svc.reveal { transform: translateY(64px); }
.motion .svc.reveal.in { transform: none; }
.motion .contours path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s var(--ease) forwards; }
.motion .contours path:nth-child(2) { animation-delay: .15s; }
.motion .contours path:nth-child(3) { animation-delay: .3s; }
.motion .contours path:nth-child(4) { animation-delay: .45s; }
.motion .contours path:nth-child(5) { animation-delay: .6s; }
.motion .contours path:nth-child(6) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .svc-grid { grid-template-columns: 1fr; background: none; border: 0; gap: 0; }
  .svc, .svc:first-child, .svc:last-child { padding: 32px 0; border-top: 1px solid var(--band-line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  .contours { width: 110%; right: -30%; opacity: calc(var(--contour-opacity) * .7); }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .facts-grid div { padding: 18px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 340px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-side p { font-size: 16px; }
}
.footer-inner .brand-name { font-size: 18px; }

/* ---------- 2026-11-09 design pass ---------- */
/* Opening section: who you'd be working with, and a quiet route to the free tool */
.hero-who { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-who img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; object-position: 50% 18%; border: 1px solid var(--line); }
.hero-who strong { display: block; font: 400 18px/1.2 var(--serif); }
.hero-who span { font-size: 13px; color: var(--muted); }
.hero-tool { display: inline-block; margin-top: 20px; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.hero-tool:hover { color: var(--brass); border-color: var(--brass); }

/* Services: one clear next step under the cards */
.svc-cta { margin-top: clamp(32px, 5vw, 48px); text-align: center; }
.svc-cta .btn { background: var(--band-brass); color: #15181A; }
.svc-cta .btn:hover { background: #D8BC85; }

/* Service lists: always open on larger screens, tap to open on phones (see main.js) */
.svc-more { flex: 1; }
.svc-more > summary { display: none; }
@media (max-width: 640px) {
  .svc-more > summary { display: inline-block; list-style: none; cursor: pointer; font-size: 14px; color: var(--band-ink); border-bottom: 1px solid var(--band-brass); padding-bottom: 2px; margin: 4px 0 14px; }
  .svc-more > summary::-webkit-details-marker { display: none; }
  .svc-more > summary::after { content: " +"; color: var(--band-brass); }
  .svc-more[open] > summary::after { content: " –"; }
}

/* Phones: a contact button that stays in reach while scrolling */
.float-cta { display: none; }
@media (max-width: 820px) {
  .float-cta:not([hidden]) { display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; align-items: center; background: var(--band-brass); color: #15181A; text-decoration: none; font-size: 15px; font-weight: 500; padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
}
