/* ============================================================
   THE FRONTIER COMMUNICATIONS — v2 upgrade layer
   Loaded after styles.css + experience.css on every public page.
   1. Day / night theme      5. Logo wall
   2. Brand lockup           6. Services v2
   3. Theme toggle           7. Chat assistant
   4. Stat cards             8. Smoothness + performance
   ============================================================ */

:root {
  --bg: var(--ivory);
  --surface: #FFFFFF;
  --surface-2: #FBF8F4;
  --metal: linear-gradient(120deg, #E9C3A8 0%, #C9897A 42%, #E4B89D 68%, #A8665E 100%);
  --glow: rgba(183,110,121,0.18);
  --ease-out: cubic-bezier(.16,.84,.44,1);
  color-scheme: light;
}

/* ============================================================
   1. THEMES
   ============================================================ */
/* Day: deeper rose for small text so labels pass contrast on every block */
:root { --rose-text: #9A5763; --ink-faint: #6E6158; }
.eyebrow, .tlink, .svc-n, .p3-k, .svc-get h4, .hp .go, .sb-kicker, .pathway .p-go, .i-cat, .work-points .k, .quote-cite, .qcard .qc, .sc-count { color: var(--rose-text); }
.eyebrow::before { background: var(--rose-text); }
.bg-espresso .eyebrow, .bg-espresso .tlink, .bg-espresso .sb-kicker { color: var(--gold); }
html:not([data-theme="dark"]) .bg-lilac .accent, html:not([data-theme="dark"]) .bg-sage .accent,
html:not([data-theme="dark"]) .bg-lilac .num, html:not([data-theme="dark"]) .bg-sage .num { color: #87485A; }
/* Outline buttons on dark or rose blocks were invisible (ink on espresso) */
.bg-espresso .btn-ghost, .bg-rose .btn-ghost, .section-dark .btn-ghost { color: var(--ivory); border-color: rgba(247,243,238,0.45); }
.bg-espresso .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* Night: midnight espresso, champagne type, rose-gold light */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #110D0C;
  --surface: #1C1614;
  --surface-2: #221B18;
  --ink: #F4EBE1;
  --ink-soft: #D2C3B5;
  --ink-faint: #A99888;
  --line: rgba(229,207,166,0.12);
  --rose: #E3A7AF;
  --rose-text: #E8B4B1;
  --rose-soft: #EDBFC4;
  --gold: #E2C595;
  --glow: rgba(227,167,175,0.14);
  --hair: rgba(229,207,166,0.14);
}
html[data-theme="dark"] body,
html[data-theme="dark"] body.flagship { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] ::selection { background: var(--rose); color: #110D0C; }

/* headline accents become metallic rose gold */
html[data-theme="dark"] em.accent, html[data-theme="dark"] .accent,
html[data-theme="dark"] .subhero h1 em, html[data-theme="dark"] .hero h1 em {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}
html[data-theme="dark"] .eyebrow::before { background: linear-gradient(90deg, transparent, var(--rose-text)); }

/* page hero */
html[data-theme="dark"] .hero { background: radial-gradient(90% 70% at 70% 30%, #2A1F1C, #110D0C 70%); }
html[data-theme="dark"] .subhero { background: var(--bg); }
html[data-theme="dark"] .mesh-soft { opacity: 1; }
html[data-theme="dark"] .mesh-soft .s1 { background: radial-gradient(circle, rgba(183,110,121,0.22), transparent 66%); }
html[data-theme="dark"] .mesh-soft .s2 { background: radial-gradient(circle, rgba(212,180,131,0.16), transparent 66%); }
html[data-theme="dark"] .mesh-soft .s3 { background: radial-gradient(circle, rgba(140,110,170,0.14), transparent 66%); }
html[data-theme="dark"] .mesh-soft .s4 { background: radial-gradient(circle, rgba(201,137,122,0.16), transparent 66%); }
html[data-theme="dark"] .subhero::after { opacity: .25; }

/* blocks: tonal, warm, lit from a corner, with a champagne hairline */
html[data-theme="dark"] .block { box-shadow: inset 0 0 0 1px var(--hair); }
html[data-theme="dark"] .bg-champ  { background: linear-gradient(180deg, #1B1513, #151110); }
html[data-theme="dark"] .bg-lilac  { background: radial-gradient(70% 90% at 0% 0%, rgba(183,110,121,0.16), transparent 60%), #171211; }
html[data-theme="dark"] .bg-sage   { background: radial-gradient(70% 90% at 100% 0%, rgba(212,180,131,0.12), transparent 60%), #161210; }
html[data-theme="dark"] .bg-glassmesh {
  background:
    radial-gradient(55% 70% at 8% 10%, rgba(183,110,121,0.18), transparent 60%),
    radial-gradient(55% 70% at 95% 20%, rgba(212,180,131,0.12), transparent 60%),
    #161110;
}
html[data-theme="dark"] .bg-espresso { background: radial-gradient(80% 80% at 100% 0%, rgba(212,180,131,0.08), transparent 55%), #0B0807; }
html[data-theme="dark"] .bg-rose { background: linear-gradient(150deg, #7C4450, #4E2A32); }

/* nav */
html[data-theme="dark"] .nav.scrolled,
html[data-theme="dark"] .flagship .nav.scrolled,
html[data-theme="dark"] .flagship.subpage .nav:not(.scrolled) { background: rgba(17,13,12,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--hair); }
html[data-theme="dark"] .flagship.subpage .nav .nav-links a,
html[data-theme="dark"] .flagship .nav.scrolled .nav-links a { color: var(--ink-soft); }
html[data-theme="dark"] .flagship.subpage .nav .nav-links a:hover,
html[data-theme="dark"] .flagship.subpage .nav .nav-links a.active,
html[data-theme="dark"] .flagship .nav.scrolled .nav-links a.active { color: var(--rose); }
html[data-theme="dark"] .flagship.subpage .nav .nav-toggle span,
html[data-theme="dark"] .flagship .nav.scrolled .nav-toggle span { background: var(--ink); }
html[data-theme="dark"] .theme-toggle { color: var(--gold) !important; border-color: var(--hair) !important; }

/* buttons: rose-gold metal with dark type (the old white-on-pink failed contrast) */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .flagship.subpage .nav .btn-nav,
html[data-theme="dark"] .flagship .nav.scrolled .btn-nav,
html[data-theme="dark"] .sticky-cta { background: var(--metal); color: #1A1210; border-color: transparent; }
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .flagship .nav .btn-nav:hover,
html[data-theme="dark"] .sticky-cta:hover { background: var(--ink); color: #110D0C; }
html[data-theme="dark"] .btn-ghost { color: var(--ink); border-color: rgba(244,235,225,0.32); }
html[data-theme="dark"] .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
html[data-theme="dark"] .btn-dark { background: var(--ink); color: #110D0C; border-color: var(--ink); }
html[data-theme="dark"] .tlink:hover { border-bottom-color: var(--rose-text); }

/* cards */
html[data-theme="dark"] .glass, html[data-theme="dark"] .qcard, html[data-theme="dark"] .pathway, html[data-theme="dark"] .offer .o-form,
html[data-theme="dark"] .pillar, html[data-theme="dark"] .insight-card, html[data-theme="dark"] .finding, html[data-theme="dark"] .sc-opt,
html[data-theme="dark"] .svc, html[data-theme="dark"] .hp, html[data-theme="dark"] .p3, html[data-theme="dark"] .pw, html[data-theme="dark"] .tm,
html[data-theme="dark"] .finder button, html[data-theme="dark"] .logo-wall span {
  background: linear-gradient(180deg, rgba(255,240,225,0.045), rgba(255,240,225,0.02)); border-color: var(--hair); box-shadow: none;
}
html[data-theme="dark"] .svc:hover, html[data-theme="dark"] .hp:hover, html[data-theme="dark"] .p3:hover, html[data-theme="dark"] .pw:hover, html[data-theme="dark"] .tm:hover { border-color: rgba(227,167,175,0.45); }
html[data-theme="dark"] .tm:hover { box-shadow: 0 0 0 3px var(--glow); }
html[data-theme="dark"] .pw.spot { background: linear-gradient(180deg, rgba(255,240,225,0.07), rgba(255,240,225,0.03)); }
html[data-theme="dark"] .svc-out { background: rgba(255,240,225,0.03); }
html[data-theme="dark"] .finder button[aria-pressed="true"], html[data-theme="dark"] .press-tab[aria-selected="true"] { background: var(--metal); color: #1A1210; border-color: transparent; }
html[data-theme="dark"] .glass::before { background: linear-gradient(transparent, rgba(255,255,255,0.07), transparent); }
html[data-theme="dark"] .pill { border-color: var(--hair); color: var(--ink-soft); }
html[data-theme="dark"] .ind-grid .ind { border-bottom-color: var(--hair); }
html[data-theme="dark"] .model { background: rgba(255,240,225,0.03); border-color: var(--hair); }

/* forms */
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .sc-url-form input, html[data-theme="dark"] .sc-gate input, html[data-theme="dark"] .offer .o-form input {
  background: rgba(255,240,225,0.04); color: var(--ink); border-color: var(--hair);
}
html[data-theme="dark"] .field input:focus, html[data-theme="dark"] .field select:focus, html[data-theme="dark"] .field textarea:focus { border-color: var(--rose); }
html[data-theme="dark"] .field select option { background: #1C1614; }
html[data-theme="dark"] .field input::placeholder, html[data-theme="dark"] .field textarea::placeholder { color: var(--ink-faint); }

/* text helpers */
html[data-theme="dark"] .manifesto .w { color: rgba(244,235,225,0.2); }
html[data-theme="dark"] .manifesto .w.lit { color: var(--ink); }
html[data-theme="dark"] .svc-mini .svc-item { border-top-color: var(--hair); }
html[data-theme="dark"] .footer { background: #0B0807; border-top: 1px solid var(--hair); }

/* chat: keep the launcher visible against the night background */
html[data-theme="dark"] .tfc-launch { background: #241B18; box-shadow: 0 18px 40px -12px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(226,197,149,0.55); }
html[data-theme="dark"] .tfc-head { background: #1E1714; border-bottom: 1px solid var(--hair); }
html[data-theme="dark"] .tfc-user { background: var(--metal); color: #1A1210; }
html[data-theme="dark"] .tfc-form button { background: var(--metal); color: #1A1210; }

/* Smooth theme cross-fade (only while switching, so it never slows scrolling) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease !important;
}

/* ============================================================
   2. BRAND LOCKUP (TF monogram + wordmark, theme-aware text)
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; line-height: 1; }
.brand-mark { height: 40px; width: auto; display: block; flex-shrink: 0; transition: height .4s var(--ease-out); }
.brand-word { height: 25px; width: auto; display: block; transition: height .4s var(--ease-out), filter .4s; }
.nav.scrolled .brand-mark { height: 34px; }
.nav.scrolled .brand-word { height: 22px; }
/* wordmark artwork is deep brown: lift it to cream wherever the nav sits on dark */
.flagship:not(.subpage) .nav:not(.scrolled) .brand-word,
html[data-theme="dark"] .brand-word { filter: brightness(0) invert(.93) sepia(.15); }
@media (max-width: 420px) { .brand-word { height: 20px; } .brand-mark { height: 34px; } }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand .brand-mark { height: 72px; }
.footer-brand .rule { width: 40px; height: 1px; background: var(--gold); opacity: .6; }
.footer-brand .brand-word { height: 30px; filter: brightness(0) invert(.93) sepia(.15); }

/* ============================================================
   3. THEME TOGGLE
   ============================================================ */
.theme-toggle {
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: transparent; border: 1px solid currentColor; color: inherit; opacity: .8;
  transition: opacity .25s, transform .4s var(--ease-out), background .25s;
}
.theme-toggle:hover { opacity: 1; transform: rotate(-12deg); }
.theme-toggle:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.theme-toggle svg { width: 18px; height: 18px; position: absolute; transition: transform .5s var(--ease-out), opacity .3s; }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-theme="dark"] .theme-toggle .i-sun { opacity: 1; transform: none; }
html[data-theme="dark"] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.nav-tools { display: flex; align-items: center; gap: 14px; }
.flagship .nav:not(.scrolled) .theme-toggle { color: var(--ivory); border-color: rgba(247,243,238,0.4); }
.flagship.subpage .nav:not(.scrolled) .theme-toggle { color: var(--ink); border-color: var(--line); }
.nav.scrolled .theme-toggle { color: var(--ink); border-color: var(--line); }
@media (max-width: 900px) { .nav-tools { margin-left: auto; margin-right: 10px; } }

/* ============================================================
   4. STAT CARDS — bento, metallic numerals, animated meters
   ============================================================ */
.stat-bento {
  display: grid; gap: 14px;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-areas: "f a b" "f c c";
}
.sb {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 26px; padding: clamp(24px, 2.6vw, 36px);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(247,243,238,0.1);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px;
  transition: transform .5s var(--ease-out), border-color .4s;
}
.sb:hover { transform: translateY(-4px); border-color: rgba(212,180,131,0.35); }
.sb:nth-child(1) { grid-area: f; min-height: 400px; }
.sb:nth-child(2) { grid-area: a; }
.sb:nth-child(3) { grid-area: b; }
.sb:nth-child(4) { grid-area: c; }
.sb::before { /* soft spotlight that follows the cursor (set by JS) */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(212,180,131,0.16), transparent 60%);
}
.sb:hover::before { opacity: 1; }
.sb-kicker {
  position: absolute; top: clamp(22px,2.4vw,32px); left: clamp(24px,2.6vw,36px);
  font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.sb-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,180,131,0.18); }
.sb-num {
  font-family: var(--serif); font-weight: 500; line-height: .86; letter-spacing: -2px;
  font-size: clamp(64px, 7vw, 108px);
  font-variant-numeric: lining-nums tabular-nums;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-flex; align-items: flex-start;
}
.sb:nth-child(1) .sb-num { font-size: clamp(110px, 14vw, 210px); letter-spacing: -6px; }
.sb-num sup {
  font-family: var(--sans); font-weight: 600; font-size: .3em; letter-spacing: 0;
  margin: .18em 0 0 .08em; line-height: 1;
}
.sb-label { margin-top: 14px; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); color: #F7F3EE; line-height: 1.15; }
.sb p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: rgba(247,243,238,0.62); max-width: 320px; }
.sb-meter { margin-top: 20px; height: 2px; border-radius: 2px; background: rgba(247,243,238,0.1); overflow: hidden; }
.sb-meter i { display: block; height: 100%; width: var(--fill, 100%); background: var(--metal); transform-origin: left; transform: scaleX(1); transition: transform 1.6s var(--ease-out); }
.js .sb:not(.in) .sb-meter i { transform: scaleX(0); }
.sb:nth-child(1) { background: radial-gradient(120% 90% at 0% 100%, rgba(183,110,121,0.28), transparent 60%), rgba(255,255,255,0.045); }

/* Light-surface variant (stats placed on a light block) */
.stat-bento.on-light .sb { background: var(--surface); border-color: var(--line); }
.stat-bento.on-light .sb-label { color: var(--ink); }
.stat-bento.on-light .sb p { color: var(--ink-soft); }
.stat-bento.on-light .sb-kicker { color: var(--rose); }
.stat-bento.on-light .sb-kicker::before { background: var(--rose); box-shadow: 0 0 0 4px var(--glow); }

@media (max-width: 900px) {
  .stat-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "f f" "a b" "c c"; }
  .sb:nth-child(1) { min-height: 300px; }
}
@media (max-width: 520px) {
  .stat-bento { grid-template-columns: 1fr; grid-template-areas: "f" "a" "b" "c"; }
  .sb { min-height: 160px; }
}

/* ============================================================
   5. LOGO WALL — filterable, curated, bento spotlight
   ============================================================ */
.block-stack > .block { min-width: 0; width: 100%; }
.press-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.press-count { display: flex; gap: 26px; flex-wrap: wrap; }
.press-count div { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.press-count b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: 0; line-height: 1; margin-bottom: 4px;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.press-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.press-tab {
  font-family: var(--sans); font-size: 12px; letter-spacing: 1px; font-weight: 600; text-transform: uppercase;
  padding: 10px 16px; border-radius: 40px; cursor: pointer;
  background: transparent; color: var(--ink-soft); border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.press-tab:hover { border-color: var(--rose); color: var(--rose); }
.press-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.press-tab span { opacity: .55; margin-left: 4px; font-weight: 500; }

.press-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pw {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; padding: 18px 20px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s, opacity .35s;
}
.pw img {
  max-height: 34px; max-width: 82%; width: auto; height: auto; object-fit: contain;
  filter: brightness(0); opacity: .72; transition: opacity .3s, transform .45s var(--ease-out);
}
html[data-theme="dark"] .pw img { filter: brightness(0) invert(1); opacity: .86; }
.pw figcaption {
  position: absolute; left: 0; right: 0; bottom: 9px; text-align: center;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: var(--rose);
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;
}
.pw:hover { transform: translateY(-3px); border-color: rgba(183,110,121,0.45); box-shadow: 0 22px 40px -28px rgba(47,39,37,0.45); }
.pw:hover img { opacity: 1; transform: translateY(-6px); }
.pw:hover figcaption { opacity: 1; transform: none; }
.pw.spot { grid-column: span 2; aspect-ratio: auto; min-height: 120px; background: var(--surface-2); }
.pw.spot img { max-height: 46px; }
.pw.is-hidden { display: none; }
.press-count b, .hp-n, .pillar-head .big { font-variant-numeric: lining-nums; }
.pw.pop { animation: pw-in .5s var(--ease-out) both; }
@keyframes pw-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.press-note { margin-top: 18px; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 1000px) { .press-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .press-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pw.spot { grid-column: span 1; aspect-ratio: 16 / 9; min-height: 0; }
  .pw.spot img { max-height: 34px; }
  .press-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -4px; padding: 0 4px 4px; }
  .press-tabs::-webkit-scrollbar { display: none; }
  .press-tab { white-space: nowrap; }
}

/* ============================================================
   6. SERVICES v2
   ============================================================ */
/* goal finder */
.finder { display: flex; flex-wrap: wrap; gap: 10px; }
.finder button {
  font-family: var(--sans); font-size: 15px; color: var(--ink); cursor: pointer; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 40px; padding: 13px 20px;
  transition: border-color .3s, background .3s, color .3s, transform .3s var(--ease-out);
}
.finder button:hover { border-color: var(--rose); transform: translateY(-2px); }
.finder button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.finder-hint { margin-top: 16px; font-size: 14px; color: var(--ink-faint); min-height: 22px; }

/* pillar overview */
.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p3 { border-radius: 24px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; display: block; transition: transform .45s var(--ease-out), border-color .3s; }
.p3:hover { transform: translateY(-4px); border-color: var(--rose); }
.p3 .p3-k { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: var(--rose); }
.p3 h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); margin: 10px 0 8px; color: var(--ink); line-height: 1.05; }
.p3 p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.p3 ul { list-style: none; margin-top: 18px; display: grid; gap: 7px; }
.p3 li { font-size: 14px; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.p3 li::before { content: '→'; color: var(--rose); font-size: 12px; }
@media (max-width: 860px) { .pillars3 { grid-template-columns: 1fr; } }

/* pillar section header */
.pillar-head { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; align-items: end; margin-bottom: 30px; }
.pillar-head .big { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(64px, 8vw, 120px); line-height: .8;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; grid-row: span 2; }
.pillar-head .h-title { margin: 0; }
.pillar-head p { color: var(--ink-soft); max-width: 560px; font-size: 16.5px; }

/* service card */
.svc-list { display: grid; gap: 14px; }
.svc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(22px, 4vw, 56px);
  border-radius: 26px; padding: clamp(26px, 3.4vw, 46px);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .5s, transform .5s var(--ease-out);
  scroll-margin-top: 110px;
}
.svc.is-match { border-color: var(--rose); box-shadow: 0 0 0 4px var(--glow), 0 30px 60px -40px rgba(47,39,37,0.45); }
.svc.is-dim { opacity: .45; }
.svc { transition: opacity .4s, border-color .4s, box-shadow .5s; }
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.svc-n { font-family: var(--serif); font-style: italic; color: var(--rose); font-size: 17px; }
.svc-ic { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--glow); color: var(--rose); }
.svc-ic svg { width: 22px; height: 22px; }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; color: var(--ink); }
.svc .what { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.svc-meta { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc-meta > div { border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 520px) { .svc-meta { grid-template-columns: 1fr; } }
.svc-meta dt, .svc-meta .k { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ink-faint); }
.svc-meta .v { font-size: 14.5px; color: var(--ink); margin-top: 4px; line-height: 1.45; }
.svc-get h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: var(--rose); margin-bottom: 14px; }
.svc-get ul { list-style: none; display: grid; gap: 12px; }
.svc-get li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.svc-get li::before {
  content: ''; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B76E79' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.svc-out { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line); font-size: 15px; color: var(--ink); line-height: 1.55; }
.svc-out b { color: var(--rose); font-weight: 600; }
.svc details { margin-top: 18px; }
.svc summary { cursor: pointer; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: '+'; font-size: 16px; color: var(--rose); transition: transform .3s; }
.svc details[open] summary::after { transform: rotate(45deg); }
.svc details .pill-row { margin-top: 14px; }
.svc details .pill { border-radius: 30px; font-size: 12.5px; padding: 7px 14px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* engagement models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.model { border-radius: 24px; padding: 32px 28px; background: rgba(255,255,255,0.05); border: 1px solid rgba(247,243,238,0.12); display: flex; flex-direction: column; }
.model.featured { background: linear-gradient(160deg, rgba(212,180,131,0.16), rgba(183,110,121,0.12)); border-color: rgba(212,180,131,0.4); }
.model .tag { align-self: flex-start; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--gold); border: 1px solid rgba(212,180,131,0.4); border-radius: 30px; padding: 5px 11px; margin-bottom: 18px; }
.model h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: #F7F3EE; line-height: 1.1; }
.model .dur { margin-top: 6px; font-size: 13px; letter-spacing: 1px; color: var(--gold); }
.model p { margin-top: 14px; font-size: 14.5px; color: rgba(247,243,238,0.72); line-height: 1.6; }
.model ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 9px; flex: 1; }
.model li { font-size: 14px; color: rgba(247,243,238,0.88); display: flex; gap: 10px; }
.model li::before { content: '✓'; color: var(--gold); font-weight: 700; }
.model .tlink { color: var(--gold); align-self: flex-start; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr; } }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.process > div { border-top: 2px solid var(--line); padding-top: 18px; position: relative; }
.process > div::before { counter-increment: step; content: '0' counter(step); font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--rose); }
.process > div::after { content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--metal); transition: width 1.2s var(--ease-out); }
.process.in > div::after { width: 100%; }
.process > div:nth-child(2)::after { transition-delay: .2s; }
.process > div:nth-child(3)::after { transition-delay: .4s; }
.process > div:nth-child(4)::after { transition-delay: .6s; }
.process h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); margin: 6px 0 6px; }
.process p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; gap: 28px 14px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* home "what we do" — three pillars */
.home-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hp { position: relative; border-radius: 24px; padding: 30px 28px 26px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; overflow: hidden; transition: transform .5s var(--ease-out), border-color .3s; }
.hp:hover { transform: translateY(-5px); border-color: var(--rose); }
.hp .hp-n { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: .8; font-weight: 300; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--ink); margin: 18px 0 8px; }
.hp p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.hp ul { list-style: none; margin: 18px 0 20px; display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
.hp li { font-size: 12.5px; color: var(--ink); border: 1px solid var(--line); border-radius: 30px; padding: 6px 12px; }
.hp .go { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--rose); }
@media (max-width: 860px) { .home-pillars { grid-template-columns: 1fr; } }

/* ============================================================
   7. CHAT ASSISTANT
   ============================================================ */
.tfc-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: #2F2725; color: #F7F3EE;
  box-shadow: 0 18px 40px -12px rgba(47,39,37,0.55), inset 0 0 0 1px rgba(212,180,131,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s var(--ease-out), background .3s;
}
.tfc-launch:hover { transform: scale(1.06); }
.tfc-launch img { width: 26px; height: auto; transition: opacity .3s, transform .4s var(--ease-out); }
.tfc-launch .x { position: absolute; width: 20px; height: 20px; opacity: 0; transform: rotate(-90deg); transition: opacity .3s, transform .4s var(--ease-out); }
.tfc-open .tfc-launch img { opacity: 0; transform: rotate(90deg) scale(.6); }
.tfc-open .tfc-launch .x { opacity: 1; transform: none; }
.tfc-launch .dot { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--rose); border: 2px solid #2F2725; }
.tfc-open .tfc-launch .dot, .tfc-seen .tfc-launch .dot { display: none; }
.tfc-teaser {
  position: fixed; right: 92px; bottom: 34px; z-index: 849; max-width: 230px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45;
  box-shadow: 0 20px 40px -24px rgba(47,39,37,0.45);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out);
}
.tfc-teaser.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.tfc-open .tfc-teaser { display: none; }

.tfc-panel {
  padding: 0; margin: 0;
  position: fixed; right: 22px; bottom: 96px; z-index: 860;
  width: min(390px, calc(100vw - 28px)); height: min(600px, calc(100vh - 130px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(20,14,12,0.55);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right;
  pointer-events: none; visibility: hidden;
  transition: opacity .35s, transform .45s var(--ease-out), visibility 0s .45s;
}
.tfc-open .tfc-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .35s, transform .45s var(--ease-out), visibility 0s; }
.tfc-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #2F2725; color: #F7F3EE; }
.tfc-head img { width: 26px; }
.tfc-head b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .3px; }
.tfc-head small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(247,243,238,0.65); }
.tfc-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8FBF8A; }
.tfc-head .tfc-reset { margin-left: auto; background: none; border: 1px solid rgba(247,243,238,0.25); color: rgba(247,243,238,0.8); border-radius: 30px; font-size: 11px; padding: 6px 10px; cursor: pointer; font-family: var(--sans); }
.tfc-head .tfc-reset:hover { border-color: var(--gold); color: var(--gold); }
.tfc-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.tfc-msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.55; animation: tfc-in .35s var(--ease-out) both; }
.tfc-msg p + p { margin-top: 8px; }
.tfc-msg ul { margin: 6px 0 0 18px; }
.tfc-msg li { margin: 2px 0; }
.tfc-msg a { color: var(--rose); font-weight: 600; }
.tfc-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.tfc-user { align-self: flex-end; background: var(--rose); color: #fff; border-bottom-right-radius: 6px; }
.tfc-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.tfc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: tfc-dot 1s infinite; }
.tfc-typing i:nth-child(2) { animation-delay: .15s; } .tfc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tfc-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes tfc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tfc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.tfc-chips button {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink); cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 30px; padding: 7px 12px;
  transition: border-color .25s, color .25s, background .25s;
}
.tfc-chips button:hover { border-color: var(--rose); color: var(--rose); }
.tfc-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.tfc-form input { flex: 1; min-width: 0; font-family: var(--sans); font-size: 14.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 30px; padding: 11px 16px; }
.tfc-form input:focus { outline: none; border-color: var(--rose); }
.tfc-form button { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; cursor: pointer; background: var(--rose); color: #fff; display: flex; align-items: center; justify-content: center; }
.tfc-form button svg { width: 18px; height: 18px; }
.tfc-foot { font-size: 10.5px; color: var(--ink-faint); text-align: center; padding: 0 12px 10px; background: var(--surface); }
@media (max-width: 560px) {
  .tfc-launch { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .tfc-panel { right: 8px; left: 8px; width: auto; bottom: 78px; height: calc(100svh - 96px); }
  .tfc-teaser { right: 78px; bottom: 22px; }
}
/* Sticky "Book a Call" sits beside the chat launcher, and steps aside while chatting */
body.tfc-active .sticky-cta { opacity: 0; pointer-events: none; }
.sticky-cta { right: 94px; bottom: 28px; }
@media (max-width: 560px) { .sticky-cta { right: 78px; bottom: 18px; } }

/* ============================================================
   8. SMOOTHNESS + PERFORMANCE
   ============================================================ */
/* Native cross-page fade (Chrome, Edge, Safari 18.2+). No JS, no delay. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.4,0,.2,1); }

/* Custom cursor removed: native cursor is instant and never lags. */
body.flagship { cursor: auto; }
.cursor-dot, .cursor-ring { display: none !important; }

/* Ambient gradients: drop the per-frame blur + blend recompositing (the main scroll-jank source).
   Radial gradients already fade to transparent, so the look stays soft. */
.hero-mesh, .mesh-soft, .aurora { filter: none; }
.hero-mesh span, .aurora i { mix-blend-mode: normal; }
.hero-mesh span, .mesh-soft span, .aurora i { transform: translate3d(0,0,0); }
.hero-mesh .m1 { background: radial-gradient(circle, rgba(216,201,232,0.38), transparent 68%); }
.hero-mesh .m2 { background: radial-gradient(circle, rgba(183,110,121,0.36), transparent 68%); }
.hero-mesh .m3 { background: radial-gradient(circle, rgba(184,196,176,0.3), transparent 68%); }
.hero-mesh .m4 { background: radial-gradient(circle, rgba(212,180,131,0.32), transparent 68%); }
.aurora { opacity: .45; }
.glass, .qcard, .pathway, .offer .o-form { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Reveal motion: shorter travel reads as smoother */
.js .anim-up { transform: translateY(24px); }

/* Skip link + focus visibility */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: 14px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .sb, .pw, .hp, .svc, .p3 { transition: none !important; }
  .js .sb:not(.in) .sb-meter i { transform: none; }
  .tfc-msg { animation: none; }
}


/* ============================================================
   9. FOOTER — one centred axis: tagline, links, social, signature, legal
   ============================================================ */
.footer .footer-top.footer-center {
  display: flex !important; flex-direction: column; align-items: center; text-align: center;
  gap: 26px; padding-bottom: 0 !important; border-bottom: 0 !important;
}
.footer .footer-center p.tag {
  margin: 0 auto !important; max-width: 640px;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(21px, 2.2vw, 27px); line-height: 1.42; letter-spacing: .1px;
  color: rgba(247,243,238,0.88);
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.footer-links a { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; color: rgba(247,243,238,0.8); text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.footer-center .social { justify-content: center; margin-top: 0; }
.footer-sig {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  margin-top: 48px; padding: 52px 0 34px;
  border-top: 1px solid rgba(212,180,131,0.16);
}
.footer-sig .brand-mark { height: 76px; width: auto; }
.footer-sig .rule { width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-sig .brand-word { height: 30px; width: auto; filter: brightness(0) invert(.93) sepia(.15); }
.footer .footer-bottom {
  display: flex; flex-direction: row !important; justify-content: center !important; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  text-align: center; padding-top: 0; border-top: 0; font-size: 12.5px; color: rgba(247,243,238,0.55);
}
.footer-bottom a { color: rgba(247,243,238,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .dot { opacity: .5; }
@media (max-width: 560px) {
  .footer-bottom > span:first-child { flex-basis: 100%; }
  .footer-bottom > span:nth-child(2) { display: none; }
  .footer-links { gap: 12px 20px; }
  .footer-sig .brand-word { height: 24px; } .footer-sig .brand-mark { height: 64px; }
}

/* ============================================================
   10. LOGO WALL (curated, no categories)
   ============================================================ */
.pw { overflow: hidden; }
.press-wall { grid-auto-flow: dense; }
.pw.wide { grid-column: span 2; aspect-ratio: auto; }
.pw img { transition: opacity .3s, transform .45s var(--ease-out); }
.pw:hover img { transform: scale(1.04); }

/* ============================================================
   11. TESTIMONIALS + POP-UP
   ============================================================ */
.tm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.tm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1000px) { .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tm-grid { grid-template-columns: 1fr; } }
.tm-grid.tm-3 { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
@media (max-width: 900px) { .tm-grid.tm-3 { grid-template-columns: 1fr; } }
.tm {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 18px;
  padding: 28px 26px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .4s, background-color .3s; cursor: pointer;
}
.tm-grid.tm-3 .tm { margin: 0; }
/* hover lights the card instead of moving it, so it never jitters under the cursor */
.tm:hover { border-color: rgba(183,110,121,0.5); box-shadow: 0 0 0 3px var(--glow), 0 30px 60px -44px rgba(47,39,37,0.45); }
.tm::before { transition: opacity .3s; }
.tm:hover::before { opacity: .28; }
.tm-more { margin-top: auto; }
.tm::before { content: '\201C'; position: absolute; top: 6px; right: 22px; font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--rose); opacity: .14; pointer-events: none; }
.tm blockquote { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 23px); line-height: 1.38; color: var(--ink); font-weight: 400; }
.tm-feature blockquote { font-size: clamp(24px, 2.4vw, 30px); }
.tm-who { display: flex; align-items: center; gap: 13px; }
.tm-who b { display: block; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.tm-who small { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.tm-av {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: .5px; color: #4A2E2A;
  background: linear-gradient(140deg, #F3DCCB, #E2B9A6); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6), 0 0 0 1px rgba(183,110,121,0.35);
}
.tm-av[data-h="1"] { background: linear-gradient(140deg, #EADFF1, #CDB9DE); }
.tm-av[data-h="2"] { background: linear-gradient(140deg, #E6EBDF, #C3CDB6); }
.tm-av[data-h="3"] { background: linear-gradient(140deg, #F4E7D1, #DFC59A); }
.tm-av[data-h="4"] { background: linear-gradient(140deg, #F1DADC, #D9A9B0); }
.tm-av[data-h="5"] { background: linear-gradient(140deg, #E4DED8, #C2B5A8); }
.tm-svc { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--rose-text); }
.tm-more { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); display: inline-flex; gap: 8px; }
.tm:hover .tm-more { color: var(--rose-text); }
.tm-more .arr { transition: transform .3s; }
.tm:hover .tm-more .arr { transform: translateX(4px); }
.tm-draft { position: absolute; top: 14px; left: 26px; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: #8A5A1E; background: #F6E3C1; border-radius: 20px; padding: 3px 8px; }
.tm-tag { position: absolute; top: 16px; left: 26px; display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; color: var(--rose-text); }
.tm-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--metal); }
.tm:has(.tm-tag) { padding-top: 46px; }
.tm-privacy { margin-top: 18px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* modal */
.tm-modal { position: fixed; inset: 0; z-index: 950; display: flex; align-items: center; justify-content: center; padding: 18px; visibility: hidden; pointer-events: none; }
.tm-modal.open { visibility: visible; pointer-events: auto; }
.tm-backdrop { position: absolute; inset: 0; background: rgba(17,13,12,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.tm-modal.open .tm-backdrop { opacity: 1; }
.tm-dialog {
  position: relative; width: min(640px, 100%); max-height: calc(100svh - 36px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .35s, transform .5s var(--ease-out);
}
.tm-modal.open .tm-dialog { opacity: 1; transform: none; }
.tm-dialog .tm-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }
.tm-dialog .tm-x:hover { border-color: var(--rose); color: var(--rose); }
.tm-dialog .tm-who { margin-bottom: 22px; }
.tm-dialog .tm-av { width: 60px; height: 60px; font-size: 23px; }
.tm-dialog .tm-q { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.38; color: var(--ink); }
.tm-dialog dl { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tm-dialog dl div { border-top: 1px solid var(--line); padding-top: 12px; }
.tm-dialog dt { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--rose-text); }
.tm-dialog dd { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.tm-dialog .tm-svc { margin-top: 22px; }
.tm-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.tm-nav button { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 30px; padding: 10px 16px; cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.tm-nav button:hover { border-color: var(--rose); color: var(--rose-text); }
.tm-nav span { font-size: 12px; color: var(--ink-faint); letter-spacing: 1px; }
@media (max-width: 560px) { .tm-dialog dl { grid-template-columns: 1fr; } }
html[data-theme="dark"] .tm-draft { background: #4A3720; color: #F1D9AE; }
html[data-theme="dark"] .tm-dialog { background: #171211; border-color: var(--hair); }
@media (prefers-reduced-motion: reduce) { .tm, .tm-dialog, .tm-backdrop { transition: none !important; } }


/* Home hero line: brand serif, larger, champagne */
.hero p.hero-lede {
  font-family: var(--serif); font-weight: 400; font-style: normal;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.32; letter-spacing: .1px;
  color: rgba(247,243,238,0.9); max-width: 520px; margin-top: 28px;
}
.hero p.hero-lede em { font-style: italic; color: var(--gold-lt, #E5CFA6); }

/* Buttons animated by GSAP (entrance + magnetic) must not also run a CSS `transition: all`,
   or the two fight: entrances stall and the magnetic pull lags. Colours still ease. */
.btn, .btn-nav, .magnetic { transition-property: background-color, color, border-color, box-shadow !important; transition-duration: .3s !important; }
@media (max-width: 760px), (max-height: 700px) { .scroll-cue { display: none; } }
@media (max-width: 620px) { .pillar-head { grid-template-columns: 1fr; gap: 8px; } .pillar-head .big { grid-row: auto; font-size: 64px; } }

/* Reserve the scrollbar's space so locking scroll (pop-ups, menu) never shifts the page sideways */
html { scrollbar-gutter: stable; }

/* Home banner is dark in both themes: its outline button must stay light */
.hero .btn-ghost { color: #F7F3EE; border-color: rgba(247,243,238,0.5); }
.hero .btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
html:not([data-theme="dark"]) .btn-primary, html:not([data-theme="dark"]) .sticky-cta { background: #A35C68; border-color: #A35C68; color: #fff; }
html:not([data-theme="dark"]) .btn-primary:hover, html:not([data-theme="dark"]) .sticky-cta:hover { background: var(--espresso); border-color: var(--espresso); }

/* two-line wordmarks need more height to match the visual weight of one-line logos */
.pw img[alt="Interior Design"], .pw img[alt="Building Design + Construction"], .pw img[alt="The Architect\27s Newspaper"] { max-height: 46px; }

/* 10 reviews: two wide cards keep every row full (3-col: 4 rows, 2-col: 6 rows) */
.tm-grid { grid-auto-flow: dense; }
@media (min-width: 641px) { .tm-grid .tm-wide { grid-column: span 2; } }
.tm-tag-draft { color: #8A5A1E; }
.tm-tag-draft::before { background: #D9A441; }
html[data-theme="dark"] .tm-tag-draft { color: #F1D9AE; }

/* ============================================================
   12. FREE 1:1 SESSION + QUOTE FORM
   ============================================================ */
.free-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 700;
  color: #1A1210; background: var(--metal); border-radius: 30px; padding: 6px 12px;
}
.free-badge::before { content: '★'; font-size: 10px; }
.pathway .free-badge { margin-bottom: 14px; }
.pathway:first-child { border-color: rgba(183,110,121,0.45); box-shadow: 0 0 0 3px var(--glow), 0 30px 60px -45px rgba(47,39,37,0.5); }
.consult-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: 28px; }
.consult-perks { list-style: none; display: grid; gap: 12px; margin: 0; }
.consult-perks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.consult-perks li::before {
  content: ''; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B76E79' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
@media (max-width: 820px) { .consult-head { grid-template-columns: 1fr; align-items: start; } }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.field-help { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink-faint); }
.field.has-error input, .field.has-error textarea { border-color: #B4413C !important; box-shadow: 0 0 0 3px rgba(180,65,60,0.12); }
.field.has-error .field-help { color: #B4413C; font-weight: 500; }
html[data-theme="dark"] .field.has-error .field-help { color: #F09A94; }
.form-note a { color: inherit; font-weight: 600; text-decoration: underline; }
button[type="submit"]:disabled { opacity: .7; cursor: progress; }

/* Scorecard: patience note + friendly failure (no questionnaire) */
.sc-patience { margin-top: 10px; font-size: 13.5px; color: var(--ink-faint); max-width: 420px; margin-left: auto; margin-right: auto; }
.sc-fail { margin: 22px auto 0; max-width: 560px; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(180,65,60,0.3); background: rgba(180,65,60,0.06); }
.sc-fail-title { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.sc-fail-msg { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.sc-fail-actions { margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; }
.sc-fail .sc-retry { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); }

/* ============================================================
   13. ARTICLES (Insights long-reads)
   ============================================================ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 600; background: transparent; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--metal); }
.art-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; letter-spacing: .4px; color: var(--ink-faint); }
.art-meta span + span::before { content: '·'; margin-right: 18px; opacity: .6; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.art-toc { position: sticky; top: 100px; border-left: 1px solid var(--line); padding-left: 20px; }
.art-toc b { display: block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: var(--rose-text); margin-bottom: 14px; }
.art-toc ol { list-style: none; display: grid; gap: 10px; counter-reset: toc; }
.art-toc a { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-soft); text-decoration: none; transition: color .25s, transform .25s; }
.art-toc a:hover, .art-toc a.on { color: var(--ink); transform: translateX(3px); }
.art-toc a.on { color: var(--rose-text); }
@media (max-width: 960px) { .art-layout { grid-template-columns: 1fr; } .art-toc { display: none; } }

.prose { max-width: 720px; font-size: 18px; line-height: 1.8; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: var(--ink); margin-top: 1.9em; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 25px); line-height: 1.25; color: var(--ink); margin-top: 1.5em; scroll-margin-top: 100px; }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose p:first-of-type { font-size: 1.12em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--rose-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .45em 0; padding-left: .2em; }
.prose li::marker { color: var(--rose); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--rose); font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1.45; color: var(--ink); }
.prose .takeaways { padding: 24px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.prose .takeaways h2 { margin-top: 0; font-size: 26px; }

.art-faq { max-width: 720px; }
.art-faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.art-faq details:last-child { border-bottom: 1px solid var(--line); }
.art-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink); }
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after { content: '+'; color: var(--rose); font-size: 24px; line-height: 1; transition: transform .3s; flex-shrink: 0; }
.art-faq details[open] summary::after { transform: rotate(45deg); }
.art-faq details p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }

.art-related { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.art-related a { display: block; padding: 26px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .3s, box-shadow .3s; }
.art-related a:hover { border-color: rgba(183,110,121,0.5); box-shadow: 0 0 0 3px var(--glow); }
.art-related .i-cat { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--rose-text); }
.art-related h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ink); margin: 10px 0 8px; }
.art-related p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 720px) { .art-related { grid-template-columns: 1fr; } .prose { font-size: 17px; } }
html[data-theme="dark"] .art-related a, html[data-theme="dark"] .prose .takeaways { background: linear-gradient(180deg, rgba(255,240,225,0.045), rgba(255,240,225,0.02)); border-color: var(--hair); }
.crumbs { font-size: 12.5px; letter-spacing: .5px; color: var(--ink-faint); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--rose-text); }
.crumbs span { margin: 0 6px; opacity: .5; }

/* ============================================================
   14. TABLET + MOBILE SIZING
   ============================================================ */
/* Touch-friendly targets */
.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-links a { padding: 10px 0; }
.footer-links a { padding: 8px 2px; }
.tm-tag, .tm-draft, .free-badge, .tm-svc { font-size: 11px; }

/* Small laptops: tighten the menu so it never crowds the logo or buttons */
@media (min-width: 1181px) and (max-width: 1440px) {
  .nav-links { gap: 24px; }
  .nav-links a { letter-spacing: 1.4px; font-size: 11.5px; }
  .nav-tools { gap: 10px; }
  .btn-nav { padding-left: 18px; padding-right: 18px; }
}
/* iPad landscape and below: switch to the menu button, keep the main CTA visible */
@media (max-width: 1180px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
  .nav-tools { margin-left: auto; margin-right: 8px; }
}
@media (min-width: 600px) and (max-width: 1180px) {
  .btn-nav.desktop { display: inline-flex !important; }
}
@media (max-width: 599px) {
  .btn-nav.desktop { display: none !important; }
}
/* iPad portrait / landscape layout comfort */
@media (min-width: 700px) and (max-width: 1180px) {
  :root { --pad: 5vw; }
  .block .pad { padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px); }
  .hero-inner { gap: 32px; }
  .subhero { min-height: clamp(460px, 60vh, 640px); }
  .stat-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "f f" "a b" "c c"; }
  .home-pillars, .pillars3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hp, .p3 { padding: 24px 20px; }
  .hp h3, .p3 h3 { font-size: 26px; }
  .press-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .consult-head { grid-template-columns: 1fr; }
}
@media (min-width: 700px) and (max-width: 860px) {
  .home-pillars, .pillars3 { grid-template-columns: 1fr; }
}
/* Phones */
@media (max-width: 560px) {
  .block-stack { gap: 12px; padding: 0 10px; }
  .block { border-radius: 24px; }
  .block .pad { padding: 36px 22px; }
  .h-title { font-size: clamp(32px, 9vw, 44px); }
  .btn { padding: 15px 26px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .finder button { width: 100%; }
  .mobile-menu a { font-size: 30px; padding: 6px 0; }
}

/* Insights: featured article card (one clickable area, no nested links) */
.feature-card { position: relative; transition: box-shadow .4s, transform .5s var(--ease-out); }
.feature-card:hover { box-shadow: 0 0 0 1px rgba(212,180,131,0.45), 0 40px 80px -50px rgba(0,0,0,0.6); }
.feature-pad { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 72px) clamp(26px, 5vw, 72px) !important; }
.feature-kicker { display: inline-block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.feature-copy .h-title { margin: 18px 0 16px; color: #F7F3EE; font-size: clamp(32px, 4.2vw, 56px); }
.feature-link { color: inherit; text-decoration: none; }
.feature-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.feature-link:focus-visible { outline: none; }
.feature-card:has(.feature-link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
.feature-copy .lede { color: rgba(247,243,238,0.76); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; }
.feature-cta { margin-top: 24px; color: var(--gold) !important; }
.feature-card:hover .feature-cta .arr { transform: translateX(4px); }
.feature-aside { border-left: 1px solid rgba(212,180,131,0.25); padding-left: clamp(20px, 3vw, 36px); }
.feature-aside b { display: block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 16px; }
.feature-aside ol { list-style: none; counter-reset: fa; display: grid; gap: 14px; }
.feature-aside li { counter-increment: fa; display: grid; grid-template-columns: 30px 1fr; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; color: rgba(247,243,238,0.9); }
.feature-aside li::before { content: '0' counter(fa); font-style: italic; color: var(--gold); font-size: 15px; padding-top: 3px; }
@media (max-width: 860px) {
  .feature-pad { grid-template-columns: 1fr; }
  .feature-aside { border-left: 0; border-top: 1px solid rgba(212,180,131,0.25); padding: 22px 0 0; }
}

/* Article header photo + Insights thumbnails */
.art-hero { margin: 0 0 clamp(28px, 4vw, 48px); }
.art-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; display: block; background: var(--surface-2); }
.art-hero figcaption { margin-top: 8px; font-size: 11.5px; color: var(--ink-faint); text-align: right; }
.insight { display: grid !important; grid-template-columns: 240px minmax(0, 1fr); column-gap: clamp(20px, 3vw, 36px); align-items: start; }
.insight > :not(.i-thumb) { grid-column: 2; }
.insight .i-thumb { grid-column: 1; grid-row: 1 / span 4; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--surface-2); transition: transform .5s var(--ease-out), filter .4s; }
.insight:hover .i-thumb { transform: scale(1.02); }
.insight:hover { padding-left: 0 !important; }
@media (max-width: 700px) {
  .insight { grid-template-columns: 1fr; }
  .insight > :not(.i-thumb), .insight .i-thumb { grid-column: 1; grid-row: auto; }
  .insight .i-thumb { margin-bottom: 16px; }
}

.feature-photo { margin: 0; align-self: stretch; }
.feature-photo img { width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
@media (max-width: 860px) { .feature-photo img { min-height: 0; aspect-ratio: 16 / 10; height: auto; } }

/* ============================================================
   15. COOKIE CONSENT — slim premium card, bottom-left
   ============================================================ */
.cookie-consent {
  left: 22px !important; right: auto !important; bottom: 22px !important; margin: 0 !important;
  width: min(340px, calc(100vw - 32px)); max-width: none !important;
  padding: 20px 22px 18px !important; border-radius: 18px !important;
  background: rgba(24, 18, 16, 0.86) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(226, 197, 149, 0.28) !important;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.04) !important;
  color: rgba(247,243,238,0.78) !important;
  transform: translateY(24px) !important; opacity: 0;
  transition: transform .6s var(--ease-out), opacity .45s ease !important;
}
.cookie-consent.show { transform: none !important; opacity: 1; }
.cookie-consent .cc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 600; color: #E2C595;
}
.cookie-consent .cc-eyebrow::before { content: ''; width: 18px; height: 1px; background: linear-gradient(90deg, transparent, #E2C595); }
.cookie-consent .cc-text { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: #F4EBE1; margin: 0; }
.cookie-consent .cc-text a { color: #E2C595; text-decoration: none; border-bottom: 1px solid rgba(226,197,149,0.4); font-family: var(--sans); font-size: 12.5px; letter-spacing: .3px; white-space: nowrap; }
.cookie-consent .cc-text a:hover { border-bottom-color: #E2C595; }
.cookie-consent .cc-row { display: flex; align-items: center; gap: 18px; margin-top: 16px !important; }
.cookie-consent button { font-family: var(--sans); font-size: 11px !important; letter-spacing: 1.8px !important; text-transform: uppercase; font-weight: 600 !important; cursor: pointer; border-radius: 30px !important; transition: background .3s, color .3s, border-color .3s !important; }
.cookie-consent .cc-accept { background: var(--metal) !important; color: #1A1210 !important; border: 0 !important; padding: 10px 20px !important; }
.cookie-consent .cc-accept:hover { background: #F4EBE1 !important; }
.cookie-consent .cc-reject { background: transparent !important; color: rgba(247,243,238,0.62) !important; border: 0 !important; padding: 10px 2px !important; }
.cookie-consent .cc-reject:hover { color: #F4EBE1 !important; }
@media (max-width: 560px) {
  .cookie-consent { left: 12px !important; right: 12px !important; width: auto; bottom: 84px !important; }
  .cookie-consent .cc-text { font-size: 16px; }
}
