/* AtEase — site.css
   Brand system carried over from the original atease.studio build. */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-latin-v9.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dmsans-latin-v17.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic-latin-v38.woff2') format('woff2');
  font-weight: 400 500; font-style: italic; font-display: swap;
}
/* Metric-adjusted fallbacks so the swap doesn't shift the layout */
@font-face { font-family: 'DM Sans Fallback'; src: local('Arial'); size-adjust: 99%; ascent-override: 98%; descent-override: 31%; line-gap-override: 0%; }
@font-face { font-family: 'Bricolage Fallback'; src: local('Arial'); size-adjust: 98%; ascent-override: 94%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --cream: #f6f4f0;
  --bone: #ebe6dc;
  --ink: #1a1f2e;
  --ink-soft: #2d3445;
  --ink-muted: #5f6474;
  --rule: #d9d2c4;
  --gold: #b8854a;
  --gold-deep: #8f6532;
  --gold-soft: #c4965a;
  --sage: #6e8369;

  --display: 'Bricolage Grotesque', 'Bricolage Fallback', sans-serif;
  --body: 'DM Sans', 'DM Sans Fallback', -apple-system, sans-serif;
  --serif: 'Fraunces', Georgia, serif;

  --max: 1200px;
  --narrow: 760px;
  --gutter: clamp(20px, 5vw, 60px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ============ NAV ============ */
.site-nav { padding: 24px 0; position: relative; z-index: 20; }
.site-nav .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.025em;
  color: var(--ink); display: inline-flex; align-items: baseline; gap: 2px;
}
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; transform: translateY(-1px); margin-left: 1px; }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links > li > a, .nav-links summary {
  font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; cursor: pointer;
}
.nav-links > li > a:hover, .nav-links summary:hover, .nav-links a[aria-current="page"] { color: var(--gold-deep); }
.nav-links summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-links summary::-webkit-details-marker { display: none; }
.nav-links summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); left: -24px; width: 560px;
  background: var(--cream); border: 1px solid var(--rule); border-radius: 18px; padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
  box-shadow: 0 24px 48px -24px rgba(26,31,46,0.25);
}
.dropdown-panel a { display: block; padding: 10px 12px; border-radius: 10px; transition: background 0.15s; }
.dropdown-panel a:hover { background: var(--bone); }
.dropdown-panel strong { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); }
.dropdown-panel span { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.4; margin-top: 2px; }

.nav-cta {
  background: var(--ink); color: var(--cream) !important; padding: 10px 20px; border-radius: 999px;
  font-size: 13px !important; font-weight: 500; transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--ink) !important; }

.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; position: static; }
  .mobile-menu summary {
    list-style: none; cursor: pointer; font-size: 14px; font-weight: 500;
    border: 1px solid var(--rule); border-radius: 999px; padding: 9px 18px;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] summary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .mobile-panel {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 76px;
    background: var(--cream); border: 1px solid var(--rule); border-radius: 18px; padding: 16px;
    box-shadow: 0 24px 48px -24px rgba(26,31,46,0.3);
  }
  .mobile-panel a { display: block; padding: 11px 12px; border-radius: 10px; font-size: 16px; }
  .mobile-panel a:hover { background: var(--bone); }
  .mobile-panel .group { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); padding: 14px 12px 4px; }
  .mobile-panel .nav-cta { display: block; text-align: center; margin-top: 10px; padding: 14px; font-size: 15px !important; }
}

/* ============ TYPE ============ */
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 24px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } }

h1 {
  font-family: var(--display); font-weight: 600; font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98; letter-spacing: -0.035em; color: var(--ink); max-width: 15ch;
}
h1 em, h2 em, .serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -0.02em; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); max-width: 17ch; }

h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06; letter-spacing: -0.025em; color: var(--ink);
}
h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.012em; line-height: 1.25; }

.lede { margin-top: 28px; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }

/* ============ BUTTONS ============ */
.ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; font-family: var(--body); transition: all 0.2s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-secondary:hover { border-color: var(--ink); background: var(--bone); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ============ HERO ============ */
.hero { padding: 72px 0 96px; }
.page-hero { padding: 40px 0 72px; }
.hero-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--ink-muted); }
.hero-meta strong { color: var(--ink); font-weight: 600; }

.breadcrumbs { font-size: 13px; color: var(--ink-muted); margin-bottom: 36px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--rule); }
.breadcrumbs a:hover { color: var(--gold-deep); }

/* MARQUEE */
.marquee { margin-top: 96px; padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; }
.marquee-inner { display: flex; gap: 60px; animation: marquee 40s linear infinite; width: max-content; }
.marquee-item { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 60px; }
.marquee-item::after { content: '·'; color: var(--gold); font-size: 28px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 112px 0; }
.section.tight { padding: 72px 0; }
.section.bone { background: var(--bone); }
.section.dark { background: var(--ink); color: var(--cream); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark h2 em { color: var(--gold-soft); }
.section.dark .eyebrow { color: var(--gold-soft); }
.section.dark p { color: rgba(246,244,240,0.72); }

.section-head { display: grid; grid-template-columns: 180px 1fr; gap: 56px; margin-bottom: 64px; align-items: end; }
.section-num { font-family: var(--serif); font-style: italic; font-size: 88px; color: var(--gold); line-height: 1; }
.section-head h2 { max-width: 20ch; }
.section-head p { margin-top: 18px; color: var(--ink-soft); max-width: 60ch; }
.section-intro { max-width: 760px; margin-bottom: 56px; }
.section-intro p { margin-top: 18px; color: var(--ink-soft); font-size: 18px; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; gap: 12px; } .section-num { font-size: 60px; } .section { padding: 80px 0; } }

/* ANSWER BOX — answer-first summary, written to be quoted */
.answer {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin-top: 36px; max-width: 70ch;
  font-size: 18px; line-height: 1.6; color: var(--ink-soft);
}
.answer strong { color: var(--ink); }

/* ============ GRIDS / CARDS ============ */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cell { background: var(--cream); padding: 40px 34px; display: flex; flex-direction: column; gap: 14px; transition: background 0.3s; }
.section.bone .cell { background: var(--bone); }
a.cell:hover { background: var(--bone); }
.section.bone a.cell:hover { background: var(--cream); }
.cell .num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-deep); letter-spacing: 0.05em; }
.cell h3 { font-size: 24px; }
.cell p { font-size: 15.5px; color: var(--ink-soft); }
.cell .more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 500; color: var(--gold-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; font-weight: 500; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-muted); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .cell { padding: 32px 24px; } }

/* Feature list (what's included) */
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.checks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.checks li strong { color: var(--ink); }
@media (max-width: 720px) { .checks { grid-template-columns: 1fr; } }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px; }
.step { border-top: 1px solid var(--rule); padding-top: 26px; }
.section.dark .step { border-color: rgba(255,255,255,0.15); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-deep); margin-bottom: 12px; }
.section.dark .step .num { color: var(--gold-soft); }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* ============ PRICING ============ */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price-card { border: 1px solid var(--rule); border-radius: 22px; padding: 34px 30px; background: var(--cream); display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.price-card.featured p, .price-card.featured li { color: rgba(246,244,240,0.75); }
.price-card .tier { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.price-card.featured .tier { color: var(--gold-soft); }
.price-card .amount { font-family: var(--display); font-weight: 600; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.price-card .amount small { font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--ink-muted); margin-left: 4px; }
.price-card.featured .amount small { color: rgba(246,244,240,0.6); }
.price-card p { font-size: 15px; color: var(--ink-soft); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-soft); }
.price-card ul li { padding-left: 20px; position: relative; }
.price-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-card.featured .btn-primary { background: var(--gold); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: var(--cream); }
.price-note { margin-top: 22px; font-size: 14px; color: var(--ink-muted); max-width: 70ch; }

/* ============ TABLES ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 16px; margin: 28px 0; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-family: var(--display); font-weight: 600; font-size: 14px; background: var(--bone); color: var(--ink); }
table.data tr:last-child td { border-bottom: none; }
table.data td { color: var(--ink-soft); }
table.data td:first-child { color: var(--ink); font-weight: 500; }
table.data caption { caption-side: bottom; text-align: left; padding: 12px 18px; font-size: 13px; color: var(--ink-muted); }

/* ============ FAQ ============ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-family: var(--body); font-weight: 300; font-size: 28px; color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; max-width: 72ch; color: var(--ink-soft); }
.faq .a p + p { margin-top: 12px; }

/* ============ SPLIT / FACTS ============ */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: start; }
.split .body p { font-size: 18px; color: var(--ink-soft); margin-bottom: 22px; max-width: 58ch; }
.facts { border-top: 2px solid var(--ink); padding-top: 26px; }
.fact { margin-bottom: 26px; }
.fact .label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.fact .value { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); }
.facts-bold .fact .value { font-size: 32px; color: var(--gold-deep); }
@media (max-width: 640px) { .facts-bold .fact .value { font-size: 26px; } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* ============ CASE STUDY CARDS ============ */
.work-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--rule); align-items: start; }
.work-card:last-child { border-bottom: 1px solid var(--rule); }
.work-card .kicker { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.work-card h3 { font-size: 32px; letter-spacing: -0.02em; }
.work-card p { color: var(--ink-soft); margin-bottom: 16px; }
@media (max-width: 860px) { .work-card { grid-template-columns: 1fr; gap: 16px; } }

/* ============ CTA BAND ============ */
.cta-wrap { padding: 96px 0 40px; }
.contact-card {
  background: var(--ink); color: var(--cream); border-radius: 24px; padding: clamp(48px, 7vw, 96px);
  text-align: center; position: relative; overflow: hidden;
}
.contact-card::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(184,133,74,0.2), transparent 70%); pointer-events: none; }
.contact-card .eyebrow { color: var(--gold-soft); justify-content: center; }
.contact-card h2 { color: var(--cream); font-size: clamp(36px, 5.5vw, 64px); line-height: 1.04; margin: 0 auto 26px; max-width: 18ch; }
.contact-card h2 em { color: var(--gold-soft); }
.contact-card p { font-size: 18px; color: rgba(246,244,240,0.72); max-width: 50ch; margin: 0 auto 40px; }
.contact-card .ctas { justify-content: center; margin-top: 0; }
.contact-card .btn-primary { background: var(--gold); color: var(--ink); }
.contact-card .btn-primary:hover { background: var(--cream); }
.contact-card .btn-secondary { color: var(--cream); border-color: rgba(246,244,240,0.25); }
.contact-card .btn-secondary:hover { border-color: var(--cream); background: rgba(246,244,240,0.05); }

/* ============ ARTICLE (guides) ============ */
.article-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-muted); }
.article-meta a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 64px; color: var(--ink); line-height: 1.12; }
.prose h3 { font-size: 22px; margin-top: 40px; color: var(--ink); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--gold); transition: color 0.2s; }
.prose a:hover { color: var(--gold-deep); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 22px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink); }
.prose .table-wrap { margin: 32px 0; }
.callout { background: var(--bone); border-radius: 18px; padding: 26px 28px; font-size: 16.5px; }
.offer { background: var(--cream); border: 1px solid var(--gold); border-radius: 18px; padding: 28px 30px; margin: 40px 0; }
.offer h3 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; }
.offer ul { margin: 12px 0 0; }
.offer .ctas { margin-top: 20px; }
.prose .btn { border-bottom: none; }
.prose .btn-primary { color: var(--cream); }
.prose .btn-primary:hover { color: var(--ink); }
.callout strong:first-child { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 6px; }
.toc { border: 1px solid var(--rule); border-radius: 18px; padding: 24px 28px; font-size: 15.5px; }
.toc p { font-family: var(--display); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.toc ol { padding-left: 20px; }
.toc a { border: none; color: var(--ink-soft); }
.sources { font-size: 14px; color: var(--ink-muted); border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 56px; }
.sources ol { padding-left: 20px; }
.sources a { border-bottom: none; text-decoration: underline; text-decoration-color: var(--rule); }
.author-box { display: flex; gap: 18px; align-items: center; border: 1px solid var(--rule); border-radius: 18px; padding: 22px 24px; margin-top: 56px; }
.author-box .avatar { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; }
.author-box p { font-size: 15px; color: var(--ink-soft); }
.author-box strong { color: var(--ink); }

/* ============ FOOTER ============ */
.site-footer { padding: 64px 0 44px; border-top: 1px solid var(--rule); margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { font-size: 24px; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--ink-muted); max-width: 36ch; }
.footer-col h2 { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 16px; color: var(--ink); }
.footer-col a { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }


/* ============ REVEAL ============ */
/* Only hides content when JS is running, so crawlers and no-JS readers always get the text. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-inner, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ INTAKE FORM ============ */
.js-only { display: none; }
.js .js-only { display: revert; }
.intake { margin: 8px auto 0; max-width: var(--narrow); }
.intake .hp { position: absolute; left: -9999px; }
.intake-progress { height: 4px; background: var(--rule); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.intake-progress .bar { display: block; height: 100%; width: 20%; background: var(--gold); transition: width 0.35s ease; }
.intake-stepcount { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; }
.intake fieldset { border: none; padding: 0; margin: 0 0 48px; min-width: 0; }
.js .intake fieldset.step:not(.active) { display: none; }
.intake legend { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-bottom: 10px; padding: 0; }
.intake .hint, .intake .sub { color: var(--ink-muted); font-size: 15px; margin-bottom: 18px; }
.intake .sub { margin: 18px 0 10px; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.intake h3 { font-size: 18px; margin-bottom: 14px; color: var(--gold-deep); font-family: var(--serif); font-style: italic; font-weight: 400; }
.branch { border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin: 26px 0 34px; }
.js .branch:not(.on) { display: none; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 18px 20px 18px 52px; border: 1px solid var(--rule); border-radius: 16px; background: var(--cream); transition: border-color 0.15s, background 0.15s; position: relative; }
.choice span::before { content: ''; position: absolute; left: 20px; top: 21px; width: 18px; height: 18px; border: 1.5px solid var(--rule); border-radius: 6px; background: #fff; transition: all 0.15s; }
.choice strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.choice em { font-style: normal; font-size: 14px; color: var(--ink-muted); }
.choice:hover span { border-color: var(--ink-muted); }
.choice input:checked + span { border-color: var(--ink); background: var(--bone); }
.choice input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--bone); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }

.intake .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .intake .row { grid-template-columns: 1fr; } }
.intake .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.intake .field > span:first-child { font-weight: 500; }
.intake .req { margin-left: 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.intake input:not([type=checkbox]):not([type=radio]), .intake select, .intake textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--rule); border-radius: 12px; padding: 13px 15px; width: 100%; transition: border-color 0.15s;
}
.intake textarea { resize: vertical; min-height: 96px; }
.intake select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.intake input:focus, .intake select:focus, .intake textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,133,74,0.18); }
.intake .invalid { border-color: #b4483a !important; }
.field-error, .form-status { color: #a23f33; font-size: 14px; margin-top: 10px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills label { padding: 10px 16px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); background: #fff; transition: all 0.15s; }
.pills label:hover { border-color: var(--ink-muted); }
.pills label:has(input:checked) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pills label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.pills.tight label { padding: 9px 14px; }
.intake .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); margin: 4px 0 16px; cursor: pointer; }
.intake .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: 0 0 auto; }
.js .sms-consent:not(.on) { display: none; }

.estimate { margin-top: 32px; background: var(--ink); color: var(--cream); border-radius: 20px; padding: 26px 28px; }
.estimate-title { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.estimate-lines { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(246,244,240,0.12); padding-bottom: 10px; font-size: 15.5px; }
.estimate-lines li b { font-family: var(--display); font-weight: 600; white-space: nowrap; }
.estimate-note { margin-top: 14px; font-size: 14px; color: rgba(246,244,240,0.72); }
.estimate-note a { color: var(--gold-soft); border-bottom: 1px solid currentColor; }

.intake-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--rule); padding-top: 24px; }
.intake-nav [data-next], .intake-nav [data-submit] { margin-left: auto; }
.js .intake-nav [data-submit]:not(.on), .js .intake-nav [data-next]:not(.on), .js .intake-nav [data-back]:not(.on) { display: none; }
.intake-nav .btn[disabled] { opacity: 0.6; cursor: wait; }
.privacy-note { font-size: 13px; color: var(--ink-muted); margin-top: 18px; }

/* ============ VIDEO SAMPLE (vertical reel) ============ */
.reel { margin: 0 auto; max-width: 320px; width: 100%; }
.reel video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(26,31,46,0.45); display: block; }
.reel figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-muted); text-align: center; }

/* ============ BOOKING (Calendly inline) ============ */
.booking { max-width: 1000px; margin: 0 auto 24px; }
.booking iframe { width: 100%; height: 760px; border: 1px solid var(--rule); border-radius: 18px; background: #fff; display: block; }
.booking-fallback { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.booking-fallback a { color: var(--ink); border-bottom: 1px solid var(--gold); }
@media (max-width: 700px) { .booking iframe { height: 1060px; border-radius: 12px; } }

/* Header phone link */
.nav-links .nav-phone, .header-phone { font-weight: 600; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ph-ico { color: var(--gold-deep); flex: none; }
.nav-links .nav-phone:hover { color: var(--gold-deep); }
@media (max-width: 1100px) { .nav-links { gap: 20px; } }
.site-nav nav { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; font-size: 14px; }
.header-phone:hover { color: var(--gold-deep); }
@media (max-width: 960px) { .header-phone { display: inline-flex; } }
@media (max-width: 360px) { .header-phone { font-size: 13px; } }

/* Sitemap page */
.sitemap-group { margin-bottom: 44px; }
.sitemap-group h2 { font-size: 26px; margin-bottom: 14px; }
.sitemap-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.sitemap-group li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.sitemap-group li a { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.sitemap-group li a:hover { color: var(--gold-deep); }
.sitemap-group li span { font-size: 14.5px; color: var(--ink-muted); line-height: 1.5; }
.footer-bottom a { color: inherit; border-bottom: 1px solid currentColor; }

/* Sales AtEase wordmark (option B, Evan 2026-10-16): heavy SALES + AtEase in the gold serif italic */
.wordmark { display: inline-flex; align-items: baseline; gap: .22em; line-height: 1; font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; color: var(--ink); }
.wordmark .wm-sales { font-family: var(--display); font-weight: 800; letter-spacing: .04em; }
.wordmark .wm-atease { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.06em; color: var(--gold); }
.wordmark sup { font-family: var(--body); font-size: 12px; color: var(--ink-muted); align-self: flex-start; }
.dark .wordmark { color: var(--cream); }
.dark .wordmark .wm-atease { color: var(--gold-soft); }
