/* ==========================================================
   ATVIS MEDIA — shared styles for the multi page site
   Light and dark are both first class. Every colour is a token.
   ========================================================== */

:root {
    --ink:        #0b0b0b;
    --ink-soft:   #3a3a3c;
    --muted:      #63636a;
    --bg:         #f4f3f0;
    --surface:    #ffffff;
    --surface-2:  #ebe9e4;
    --line:       rgba(0, 0, 0, 0.10);
    --line-2:     rgba(0, 0, 0, 0.18);
    --invert-bg:  #0b0b0b;
    --invert-ink: #ffffff;
    --invert-mut: rgba(255, 255, 255, 0.62);
    --invert-line:rgba(255, 255, 255, 0.16);
    --shadow:     0 14px 40px rgba(0, 0, 0, 0.10);
    --shadow-sm:  0 6px 18px rgba(0, 0, 0, 0.07);

    --font-body:  'Inter', system-ui, -apple-system, sans-serif;
    --font-disp:  'Outfit', 'Inter', sans-serif;
    --font-mono:  ui-monospace, SFMono-Regular, Menlo, monospace;

    --r-sm: 8px;
    --r:    14px;
    --r-lg: 22px;
    --pill: 999px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pad:  clamp(20px, 5vw, 64px);
    --maxw: 1180px;
}

[data-theme="dark"] {
    --ink:        #f5f4f2;
    --ink-soft:   #d6d4d0;
    --muted:      #9a9aa0;
    --bg:         #0a0a0b;
    --surface:    #121214;
    --surface-2:  #1a1a1d;
    --line:       rgba(255, 255, 255, 0.12);
    --line-2:     rgba(255, 255, 255, 0.22);
    --invert-bg:  #f4f3f0;
    --invert-ink: #0b0b0b;
    --invert-mut: rgba(0, 0, 0, 0.62);
    --invert-line:rgba(0, 0, 0, 0.16);
    --shadow:     0 14px 40px rgba(0, 0, 0, 0.55);
    --shadow-sm:  0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Cross fade the whole page when the toggle flips, but never animate layout. */
html.theme-anim,
html.theme-anim body,
html.theme-anim .site-nav,
html.theme-anim .site-footer,
html.theme-anim .svc,
html.theme-anim .case,
html.theme-anim .person,
html.theme-anim .band,
html.theme-anim .book-card,
html.theme-anim .mail-card,
html.theme-anim .ch,
html.theme-anim .step {
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
                border-color 0.4s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--ink); color: var(--bg);
    padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, iframe:focus-visible, summary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── NAV ── */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; gap: 24px;
    padding: 14px var(--pad);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
[data-theme="dark"] .brand img { filter: invert(1); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); position: relative; padding: 4px 0; transition: color 0.25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-cta {
    padding: 10px 20px; border-radius: var(--pill);
    background: var(--ink); color: var(--bg);
    font-size: 0.85rem; font-weight: 600; white-space: nowrap;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); opacity: 0.9; }
.nav-burger { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; margin-left: auto; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px var(--pad) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-cta { color: var(--ink); }

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: block; }
}

/* ── SHARED BLOCKS ── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--pad); }
.kicker {
    display: inline-block; font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--muted);
    border: 1px solid var(--line-2); border-radius: var(--pill);
    padding: 6px 15px; margin-bottom: 22px;
}
.kicker.center { display: block; width: max-content; margin-left: auto; margin-right: auto; }
.kicker.light { color: var(--invert-mut); border-color: var(--invert-line); }
.sec-title { font-family: var(--font-disp); font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 18px; }
.sec-title.center { text-align: center; }

.page-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad) clamp(24px, 4vw, 46px); }
.page-hero h1 { font-family: var(--font-disp); font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 22px; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 720px; line-height: 1.72; }
.lede.light { color: var(--invert-mut); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 14px 26px; border-radius: var(--pill);
    font-weight: 600; font-size: 0.94rem; border: 1px solid transparent;
    cursor: pointer; transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-dark  { background: var(--ink); color: var(--bg); }
.btn-line  { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: var(--invert-ink); color: var(--invert-bg); }
.btn-ghost-light { border-color: var(--invert-line); color: var(--invert-ink); }
.btn-ghost-light:hover { border-color: var(--invert-bg); }

.rise { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rise.in { opacity: 1; transform: none; }

.prose { max-width: 820px; }
.prose p { color: var(--muted); font-size: 1.04rem; line-height: 1.8; margin-bottom: 20px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose h2 { font-family: var(--font-disp); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 14px; }
.legal p { font-size: 0.99rem; }

/* ── BAND (inverted call to action) ── */
.band {
    background: var(--invert-bg); color: var(--invert-ink);
    max-width: var(--maxw); margin: 0 auto clamp(56px, 8vw, 96px);
    padding: clamp(40px, 6vw, 72px) var(--pad);
    border-radius: var(--r-lg); text-align: center;
}
.band h2 { font-family: var(--font-disp); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; }
.band p { color: var(--invert-mut); max-width: 720px; margin: 0 auto 28px; line-height: 1.75; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── SERVICES ── */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.svc {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 30px;
    display: flex; flex-direction: column;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.6s var(--ease);
}
.svc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.svc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.svc-num { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; color: var(--muted); }
.svc-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line); font-size: 1.25rem; color: var(--ink); }
.svc h3 { font-family: var(--font-disp); font-size: 1.16rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; line-height: 1.3; }
.svc > p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; }
.svc-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.svc-list li { position: relative; padding-left: 20px; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.svc-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.svc-cta i { transition: transform 0.28s var(--ease); }
.svc:hover .svc-cta i { transform: translateX(4px); }

/* ── CASE STUDIES ── */
.cases { display: flex; flex-direction: column; gap: 20px; }
.case {
    display: grid; grid-template-columns: 260px 1fr; gap: 34px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 34px;
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.case:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.case-side { border-right: 1px solid var(--line); padding-right: 28px; }
.case-num { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; color: var(--muted); }
.case-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line); font-size: 1.3rem; margin: 14px 0 18px; }
.case-client { font-family: var(--font-disp); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.case-kind { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.case-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chip { font-size: 0.72rem; font-weight: 600; padding: 5px 11px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--muted); }
.case-title { font-family: var(--font-disp); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 900; letter-spacing: -0.025em; margin-bottom: 22px; line-height: 1.2; }
.case-block { margin-bottom: 20px; }
.case-block h3 { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.case-block p { color: var(--muted); font-size: 0.97rem; line-height: 1.75; }
.case-block ul { display: flex; flex-direction: column; gap: 7px; }
.case-block li { position: relative; padding-left: 20px; font-size: 0.95rem; color: var(--muted); line-height: 1.65; }
.case-block li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.case-quote { border-left: 3px solid var(--ink); padding: 4px 0 4px 20px; margin-top: 24px; }
.case-quote p { font-family: var(--font-disp); font-size: 1.06rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.case-quote p::before { content: '\201C'; }
.case-quote p::after  { content: '\201D'; }
.case-quote footer { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.case-quote strong { font-size: 0.92rem; }
.case-quote span { font-size: 0.84rem; color: var(--muted); }

@media (max-width: 820px) {
    .case { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
    .case-side { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 22px; }
}

/* ── PEOPLE ── */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; margin-top: 44px; }
.person {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: 34px;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.6s var(--ease);
}
.person:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.person-avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: center top; margin-bottom: 20px; border: 2px solid var(--line-2); }
.person-avatar.initials { display: grid; place-items: center; font-family: var(--font-disp); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.04em; background: var(--surface-2); color: var(--ink); }
.person h3 { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.person-role { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.person-role span { opacity: 0.45; margin: 0 4px; }
.person p { color: var(--muted); font-size: 0.96rem; line-height: 1.75; margin-bottom: 14px; }
.person-note { font-size: 0.92rem !important; }
.person-quote { font-family: var(--font-disp); font-size: 1.02rem; font-weight: 500; line-height: 1.55; color: var(--ink); border-left: 3px solid var(--ink); padding-left: 16px; margin: 0 0 18px; }
.person-quote::before { content: '\201C'; }
.person-quote::after  { content: '\201D'; }
.person-mail { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.person-mail:hover { opacity: 0.65; }
.person-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.person-links a { font-size: 0.86rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.person-links a:hover { color: var(--ink); }

/* ── CONTACT (dark split screen) ── */
.contact-hero {
    display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; align-items: stretch;
}
.ct-left {
    background: var(--invert-bg); color: var(--invert-ink);
    padding: clamp(40px, 6vw, 80px) var(--pad);
    display: flex; flex-direction: column; justify-content: center;
}
.ct-left h1 { font-family: var(--font-disp); font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 22px; }
.ct-left .lede { margin-bottom: 34px; }

.mail-card, .ch {
    display: flex; align-items: center; gap: 15px;
    padding: 15px 18px; border-radius: var(--r);
    border: 1px solid var(--invert-line);
    background: color-mix(in srgb, var(--invert-ink) 6%, transparent);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.mail-card:hover, .ch:hover { transform: translateY(-2px); border-color: var(--invert-ink); }
.mail-card { margin-bottom: 26px; }
.mail-ico { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: #ffffff; }
.mail-txt, .ch-txt { display: flex; flex-direction: column; min-width: 0; }
.mail-txt strong, .ch-txt strong { font-size: 0.95rem; font-weight: 700; color: var(--invert-ink); }
.mail-txt span, .ch-txt span { font-size: 0.84rem; color: var(--invert-mut); overflow-wrap: anywhere; }
.ch-arrow { margin-left: auto; color: var(--invert-mut); transition: transform 0.3s var(--ease); }
.mail-card:hover .ch-arrow, .ch:hover .ch-arrow { transform: translate(3px, -3px); color: var(--invert-ink); }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 34px; }
.ch-ico { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--invert-line); font-size: 1.05rem; color: var(--invert-ink); }
.ct-meta { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--invert-line); padding-top: 24px; }
.ct-meta div { display: flex; flex-direction: column; gap: 2px; }
.ct-meta span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--invert-mut); }
.ct-meta strong { font-size: 0.93rem; font-weight: 600; color: var(--invert-ink); }

.ct-right { background: var(--bg); padding: clamp(30px, 4vw, 56px) var(--pad); display: flex; align-items: center; }
.book-card { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.book-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.book-head h2 { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.book-head p { font-size: 0.9rem; color: var(--muted); margin-top: 3px; }
.book-badge { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 6px 12px; }
.book-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #ffffff; }
.book-embed iframe { display: block; width: 100%; border: 0; }
.book-fallback { font-size: 0.84rem; color: var(--muted); margin-top: 14px; text-align: center; }
.book-fallback a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-2); }

/* The contact hero is full bleed and its left column is the same ink as .band.
   .band carries no top margin because on every other page it inherits breathing
   room from the .section above it. The contact hero has no bottom padding, so
   the two blocks touched and the band's rounded corner cut a notch out of the
   dark column. Give this one transition the same field of background the band
   gets everywhere else, and let the hero terminate on a hairline. */
.contact-hero { border-bottom: 1px solid var(--line); }
.contact-hero + .band { margin-top: clamp(64px, 9vw, 112px); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; text-align: left; }
.step { border: 1px solid var(--invert-line); border-radius: var(--r); padding: 24px; }
.step span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--invert-mut); }
.step h3 { font-family: var(--font-disp); font-size: 1.08rem; font-weight: 800; margin: 10px 0 8px; color: var(--invert-ink); }
.step p { color: var(--invert-mut); font-size: 0.9rem; line-height: 1.65; margin: 0; }

@media (max-width: 940px) {
    .contact-hero { grid-template-columns: 1fr; min-height: 0; }
    .channels { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.site-footer { background: var(--invert-bg); color: var(--invert-ink); padding: clamp(48px, 7vw, 80px) var(--pad) 30px; }
.foot-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-disp); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.foot-logo img { width: 40px; height: 40px; object-fit: contain; filter: invert(1); }
[data-theme="dark"] .foot-logo img { filter: none; }
.foot-brand p { color: var(--invert-mut); font-size: 0.92rem; line-height: 1.7; max-width: 300px; margin-bottom: 22px; }
.foot-socials { display: flex; flex-wrap: wrap; gap: 10px; max-width: 214px; }
.foot-socials a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--invert-line); border-radius: var(--r-sm);
    color: var(--invert-ink); font-size: 1.05rem;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.foot-socials a:hover { border-color: var(--invert-ink); transform: translateY(-2px); }
.foot-col h3 { font-family: var(--font-disp); font-size: 0.98rem; font-weight: 700; margin-bottom: 16px; color: var(--invert-ink); }
.foot-col a, .foot-col span { display: block; font-size: 0.89rem; color: var(--invert-mut); margin-bottom: 10px; line-height: 1.5; }
.foot-col a:hover { color: var(--invert-ink); }
.foot-bottom {
    max-width: var(--maxw); margin: 46px auto 0; padding-top: 24px;
    border-top: 1px solid var(--invert-line);
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
    font-size: 0.85rem; color: var(--invert-mut);
}
.foot-legal { display: flex; gap: 22px; }
.foot-legal a:hover { color: var(--invert-ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── THEME TOGGLE ── */
.theme-toggle {
    position: fixed; right: 20px; bottom: 20px; z-index: 200;
    width: 62px; height: 34px; padding: 0;
    border: 1px solid var(--line-2); border-radius: var(--pill);
    background: var(--surface);
    cursor: pointer; box-shadow: var(--shadow-sm);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--ink); }
.tt-track { position: absolute; inset: 0; display: block; }
.tt-thumb {
    position: absolute; top: 3px; left: 3px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--ink);
    display: grid; place-items: center;
    transition: transform 0.42s var(--ease), background 0.3s var(--ease);
}
[data-theme="dark"] .tt-thumb { transform: translateX(28px); }
.tt-thumb i {
    position: absolute; font-size: 0.82rem; color: var(--bg);
    transition: opacity 0.3s var(--ease), transform 0.42s var(--ease);
}
.tt-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.tt-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme="dark"] .tt-sun  { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="dark"] .tt-moon { opacity: 1; transform: rotate(0deg) scale(1); }

@media (max-width: 560px) { .theme-toggle { right: 14px; bottom: 14px; } }

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

/* --- Discord receipts --- */
.proofs { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }
.proof { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: border-color 0.3s var(--ease), opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.proof:hover { border-color: var(--line-2); }
.proof img { width: 100%; height: auto; border-radius: var(--r-sm); }
.proof figcaption { font-size: 0.84rem; color: var(--muted); margin-top: 10px; text-align: center; }


/* ══════════════════════════════════════════════════════
   MOBILE PASS — real device widths, not just narrow desktop
   ══════════════════════════════════════════════════════ */

/* Burger must be a real 44px+ target */
.nav-burger {
    width: 46px; height: 46px;
    display: none; align-items: center; justify-content: center;
    line-height: 1;
}
@media (max-width: 900px) {
    .nav-burger { display: flex; }
}

/* Mobile menu rows big enough to hit confidently */
.mobile-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    font-size: 1.02rem;
}
.mobile-cta {
    justify-content: center;
    margin-top: 14px;
    background: var(--ink);
    color: var(--bg) !important;
    border-radius: var(--pill);
    border-bottom: 0 !important;
}

@media (max-width: 700px) {
    /* Type that stayed desktop sized */
    .kicker            { font-size: 0.74rem; padding: 7px 15px; }
    .page-hero h1      { font-size: clamp(2.1rem, 9vw, 2.9rem); line-height: 1.06; }
    .lede              { font-size: 1.02rem; line-height: 1.68; }
    .sec-title         { font-size: clamp(1.7rem, 7vw, 2.2rem); }
    .prose p           { font-size: 1rem; line-height: 1.78; }

    /* Buttons become full width and thumb friendly */
    .hero-actions      { flex-direction: column; align-items: stretch; gap: 10px; }
    .btn               { min-height: 52px; justify-content: center; padding: 15px 24px; }
    .band-actions      { flex-direction: column; align-items: stretch; }

    /* Cards get breathing room back */
    .section           { padding: clamp(44px, 11vw, 64px) var(--pad); }
    .svc               { padding: 24px; }
    .case              { padding: 22px; }
    .person            { padding: 26px; }
    .band              { padding: 40px 22px; border-radius: 18px; margin-bottom: 56px; }

    /* Role line was wrapping mid title */
    .person-role       { font-size: 0.7rem; letter-spacing: 0.08em; line-height: 1.5; }
    .person-avatar     { width: 84px; height: 84px; }

    /* Footer links were 20px tall */
    .foot-col a,
    .foot-col span     { min-height: 40px; display: flex; align-items: center; margin-bottom: 2px; font-size: 0.93rem; }
    .foot-col h3       { margin-bottom: 8px; }
    .foot-socials a    { width: 44px; height: 44px; }
    .foot-socials      { max-width: 100%; gap: 12px; }
    .foot-bottom       { flex-direction: column; align-items: flex-start; gap: 10px; }
    .foot-legal        { gap: 18px; }
    .foot-legal a      { min-height: 40px; display: flex; align-items: center; }

    /* Contact split becomes one honest column */
    .ct-left, .ct-right { padding: 44px var(--pad); }
    .ct-left h1        { font-size: clamp(2.2rem, 9vw, 3rem); }
    .mail-card, .ch    { padding: 14px 16px; min-height: 64px; }
    .book-card         { padding: 18px; border-radius: 18px; }
    .book-head         { flex-direction: column; gap: 10px; }
    .book-embed iframe { height: 560px; }

    /* Receipts read better edge to edge */
    .proof             { padding: 10px; }
    .proof figcaption  { font-size: 0.8rem; }
}

@media (max-width: 420px) {
    .book-embed iframe { height: 520px; }
    .chip              { font-size: 0.7rem; }
    .case-title        { font-size: 1.25rem; }
}

/* Minimum legible label size and real tap targets on phones */
@media (max-width: 700px) {
    .kicker,
    .svcx-eyebrow,
    .svcx-rn,
    .case-num,
    .case-block h3,
    .book-badge,
    .ct-meta span,
    .person-role      { font-size: 0.75rem !important; letter-spacing: 0.1em; }
    .svc-num          { font-size: 0.76rem; }
    .chip             { font-size: 0.79rem; min-height: 32px; display: inline-flex; align-items: center; }

    .brand            { min-height: 46px; }
    .svc-cta          { min-height: 44px; }
    .person-mail,
    .person-links a,
    .book-fallback a  { min-height: 44px; display: inline-flex; align-items: center; }
    .theme-toggle     { height: 40px; width: 70px; }
    .theme-toggle .tt-thumb { width: 32px; height: 32px; }
    [data-theme="dark"] .tt-thumb { transform: translateX(30px); }
    .proof figcaption { font-size: 0.82rem; }
}

@media (max-width: 700px) {
    .step span { font-size: 0.79rem; }
    .svcx-rn   { font-size: 0.78rem !important; }
}
