/*
 * Rose Garden Studios: shared styles for every page.
 *
 * Colors and fonts live in the :root block right below, so changing the
 * accent (or adding a rose accent later) is a one-line edit.
 */

/* ---------- Design tokens ---------- */

:root {
    --bg: #07080a;            /* near-black page background */
    --bg-raised: #0c0e12;     /* alternate section background */
    --surface: #111419;       /* cards */
    --surface-2: #171b22;     /* inputs, hover states */
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);

    --text: #f3f5f8;
    --muted: #9aa2b1;
    --dim: #6b7383;

    --accent: #2f8cff;        /* electric blue, sampled from the cloud ceiling LEDs */
    --accent-hover: #5aa5ff;
    --accent-ink: #03070f;    /* text on accent buttons */
    --accent-soft: rgba(47, 140, 255, 0.12);

    --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --container: 1240px;
    --gutter: 20px;
    --section-y: clamp(64px, 8vw, 104px);
    --header-h: 64px;
    --radius: 4px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 200;
    background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius);
    transform: translateY(-200%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line); }
.section--raised { background: var(--bg-raised); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

/* ---------- Type helpers ---------- */

/* Small monospace label above each heading: "S.01 ——— THE ORIGIN" */
.label {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 24px;
}
.label .num { color: var(--dim); }
.label .rule { width: 40px; height: 1px; background: var(--accent); flex: none; }

.eyebrow {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.h-display { font-size: clamp(2.5rem, 7vw, 5.25rem); }
.h-section { font-size: clamp(2.1rem, 5.2vw, 3.75rem); }
.h-card { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.15; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.65; max-width: 58ch; }
.accent { color: var(--accent); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) {
    .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 14px 26px;
    font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 10px 40px -10px rgba(47, 140, 255, 0.6); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(7, 8, 10, 0.35); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 10px 18px; font-size: 12px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.text-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
}
.text-link .arrow { transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid {
    background: rgba(7, 8, 10, 0.86);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
}
.site-header .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; }

.nav { display: none; align-items: center; gap: 32px; }
.nav a:not(.btn) {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
    transition: color 0.2s ease;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
@media (min-width: 960px) { .nav { display: flex; } }

.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before {
    display: block; width: 22px; height: 1.5px; background: var(--text); position: relative;
}
.menu-toggle span::before { content: ''; position: absolute; top: 7px; }
.menu-toggle span { transform: translateY(-3.5px); }
@media (min-width: 960px) { .menu-toggle { display: none; } }

/* Mobile menu: solid full-screen overlay. Page scroll is locked while it's open (see site.js). */
.mobile-menu {
    position: fixed; inset: 0; z-index: 100;
    background: var(--bg);
    display: flex; flex-direction: column;
    padding: 0 var(--gutter) max(32px, env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease); }
.mobile-menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu-close {
    width: 44px; height: 44px; margin-right: -10px; display: inline-flex; align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.mobile-menu nav a {
    font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.2;
    padding: 8px 0; border-bottom: 1px solid var(--line);
    transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.2s ease;
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 20px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }

html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
    position: relative; isolation: isolate;
    min-height: 100svh;
    display: flex; align-items: flex-end;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: clamp(56px, 9vh, 96px);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
@media (min-width: 768px) { .hero-media img, .hero-media video { object-position: 50% 40%; } }
.hero::after {
    /* Darkens the photo so the headline stays readable */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(to top, var(--bg) 0%, rgba(7, 8, 10, 0.72) 32%, rgba(7, 8, 10, 0.25) 65%, rgba(7, 8, 10, 0.45) 100%),
        linear-gradient(to right, rgba(7, 8, 10, 0.7), transparent 60%);
}
.hero h1 { font-size: clamp(3.4rem, 12.5vw, 9.5rem); letter-spacing: -0.05em; line-height: 0.9; margin: 20px 0 28px; }
.hero h1 .accent { display: block; }
.hero .lede { color: #c3cad6; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .hero-actions .btn { flex: 0 0 auto; } }

.scroll-cue {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    width: 22px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 12px; display: none;
}
.scroll-cue::after {
    content: ''; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px;
    background: var(--accent); border-radius: 2px; animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 768px) and (min-height: 700px) { .scroll-cue { display: block; } }

/* ---------- About ---------- */

.about-grid { display: grid; gap: 40px; align-items: center; }
.about-grid .h-display { margin-bottom: 24px; }
.about-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-points { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.about-points li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.about-points li span:first-child { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; letter-spacing: 0.1em; }
@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
    .about-photo { aspect-ratio: 4 / 5; max-height: 640px; }
}

/* ---------- Services (expandable rows) ---------- */

.services-cols { display: grid; gap: 48px; }
@media (min-width: 900px) { .services-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.col-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); position: relative; }
.row-head {
    width: 100%; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px;
    padding: 20px 0; background: none; border: 0; text-align: left; cursor: pointer;
}
.row-plus { color: var(--accent); font-size: 22px; font-weight: 300; line-height: 1; transition: transform 0.35s var(--ease); }
.row.is-open .row-plus { transform: rotate(45deg); }
.row-name { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em; transition: color 0.2s ease, transform 0.4s var(--ease); }
.row-head:hover .row-name { color: var(--accent-hover); }
@media (pointer: fine) { .row-head:hover .row-name { transform: translateX(4px); } }
.row-price { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; text-align: right; }
.row-price small { color: var(--dim); font-size: 12px; }

.row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.row.is-open .row-body { grid-template-rows: 1fr; }
.row-body > div { overflow: hidden; }
.row-body-inner { padding: 0 0 24px 36px; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.row-body-inner ul { display: grid; gap: 6px; }
.row-body-inner li { position: relative; padding-left: 16px; }
.row-body-inner li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: var(--accent); }
.row-body-inner .btn { justify-self: start; margin-top: 4px; }

/* Hover image for a service row (only shows when the item has an image in data/menu.js) */
.hover-img {
    position: fixed; z-index: 40; width: 240px; aspect-ratio: 4 / 3; pointer-events: none;
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
    opacity: 0; transform: translate(-50%, -50%) scale(0.92); transition: opacity 0.25s ease, transform 0.35s var(--ease);
}
.hover-img.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Package cards ---------- */

.pkg-group + .pkg-group { margin-top: 48px; }
.pkg-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pkg-grid--3 { grid-template-columns: repeat(3, 1fr); } }
/* A group with a single package (Artist Branding) spans the full width */
.pkg-grid--wide { grid-template-columns: 1fr !important; }
@media (min-width: 900px) {
    .pkg-grid--wide .pkg-highlights, .pkg-grid--wide .pkg-more ul { grid-template-columns: repeat(3, 1fr); gap: 8px 32px; }
    .pkg-grid--wide .pkg-more ul { padding-top: 8px; }
}

.card {
    position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.card:hover { border-color: var(--line-strong); }

.pkg { display: flex; flex-direction: column; padding: 28px 24px 24px; }
.pkg.is-featured { border-color: rgba(47, 140, 255, 0.45); }
.badge {
    position: absolute; top: -10px; left: 20px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: 2px;
}
.pkg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.pkg-price { font-family: var(--mono); font-size: 20px; color: var(--text); white-space: nowrap; }
.pkg-sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 18px; }
.pkg-highlights { display: grid; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.pkg-highlights li, .pkg-more li { position: relative; padding-left: 18px; }
.pkg-highlights li::before, .pkg-more li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 1px; background: var(--accent); }
.pkg-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.pkg.is-open .pkg-more { grid-template-rows: 1fr; }
.pkg-more > div { overflow: hidden; }
.pkg-more ul { display: grid; gap: 8px; color: var(--muted); font-size: 15px; padding-top: 0; }
.pkg-more p { color: var(--dim); font-size: 14px; margin-top: 12px; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.pkg-toggle {
    background: none; border: 0; padding: 8px 0; cursor: pointer;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
    display: inline-flex; align-items: center; gap: 8px;
}
.pkg-toggle:hover { color: var(--text); }
.pkg-toggle .row-plus { font-size: 18px; }
.pkg.is-open .pkg-toggle .row-plus { transform: rotate(45deg); }

/* ---------- Announcements ---------- */

.notices { display: grid; gap: 16px; }
.notice {
    display: grid; gap: 18px; padding: 28px 24px; border-left: 2px solid var(--accent);
    background: linear-gradient(100deg, var(--accent-soft), transparent 60%), var(--surface);
}
.notice h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.notice p { color: var(--muted); max-width: 60ch; }
.notice-ends { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--dim); }
@media (min-width: 800px) { .notice { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; } }

/* ---------- Remote visuals ---------- */

.remote-grid { display: grid; gap: 40px; align-items: center; }
.remote-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.remote-photo img { width: 100%; height: 100%; object-fit: cover; }
.price-list { border-top: 1px solid var(--line); margin: 28px 0 32px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list strong { font-weight: 600; }
.price-list .p { font-family: var(--mono); color: var(--accent); }
.price-list small { grid-column: 1 / -1; color: var(--dim); font-size: 14px; }
@media (min-width: 900px) { .remote-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .remote-photo { aspect-ratio: 4 / 5; } }

/* ---------- Featured work ---------- */

.work-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { overflow: hidden; }
.work-card .cover { aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .cover img { transform: scale(1.04); }
.work-card .meta { padding: 18px 20px 22px; display: grid; gap: 4px; }
.work-card .type { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.player { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.player iframe { display: block; width: 100%; height: 352px; border: 0; }
.work-foot { margin-top: 32px; }

/* ---------- Policy summary ---------- */

.policy-grid { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.policy-grid > div { padding: 28px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
.policy-grid > div:last-child { border-bottom: 0; }
.policy-grid h3 { font-size: 1.15rem; letter-spacing: -0.015em; color: var(--accent); margin-bottom: 10px; }
.policy-grid p { color: var(--muted); font-size: 15px; }
@media (min-width: 700px) {
    .policy-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
    .policy-grid > div { border: 0; }
}
@media (min-width: 1000px) { .policy-grid { grid-template-columns: repeat(3, 1fr); } }
.policy-foot { margin-top: 32px; }

/* ---------- Booking form ---------- */

.book-grid { display: grid; gap: 40px; }
.book-aside .lede { margin-top: 20px; }
.book-steps { margin-top: 28px; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.book-steps li { display: flex; gap: 14px; }
.book-steps li span { font-family: var(--mono); color: var(--accent); font-size: 12px; padding-top: 3px; }
@media (min-width: 960px) {
    .book-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
    .book-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

.form-card { padding: 24px 20px; }
@media (min-width: 700px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .form-grid .half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.form-grid .half { display: grid; gap: 20px; }
.field label, .field .field-label {
    display: block; margin-bottom: 8px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.field .opt { color: var(--dim); text-transform: none; letter-spacing: 0.04em; }
.input {
    width: 100%; min-height: 50px; padding: 13px 16px;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    font-family: var(--sans); font-size: 16px; /* 16px stops iPhones zooming in on focus */
    color-scheme: dark;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--dim); }
.input:hover { border-color: rgba(255, 255, 255, 0.28); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { min-height: 120px; resize: vertical; }
.field.is-invalid .input, .field.is-invalid .select-btn { border-color: #ff6b6b; }
.hint { margin-top: 8px; font-size: 13px; color: var(--dim); }
.form-error {
    padding: 14px 16px; border: 1px solid rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.06);
    border-radius: var(--radius); color: #ffb3b3; font-size: 14px;
}
.form-note { font-size: 13px; color: var(--dim); }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 56px 24px; }
.form-success .check {
    width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(47, 140, 255, 0.4);
}
.form-success h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 8px 0 14px; }
.form-success p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

/* ---------- Custom select (replaces the browser's dropdown; see site.js) ---------- */

.select { position: relative; }
.select select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.select-btn {
    width: 100%; min-height: 50px; padding: 13px 44px 13px 16px; text-align: left; cursor: pointer;
    background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
    font-size: 16px; position: relative; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.select-btn:hover { border-color: rgba(255, 255, 255, 0.28); }
.select-btn:focus-visible, .select.is-open .select-btn { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.select-btn.is-placeholder { color: var(--dim); }
.select-btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.select-btn::after {
    content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg);
    transition: transform 0.25s var(--ease);
}
.select.is-open .select-btn::after { transform: translateY(4px) rotate(-135deg); }
.select-list {
    position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
    max-height: 300px; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    opacity: 0; transform: translateY(-4px); visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.select.is-open .select-list { opacity: 1; transform: none; visibility: visible; transition: opacity 0.18s ease, transform 0.18s var(--ease); }
.select.drop-up .select-list { top: auto; bottom: calc(100% + 6px); }
.select-group { padding: 12px 10px 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.select-option { padding: 10px 12px; border-radius: 3px; cursor: pointer; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.select-option.is-active { background: rgba(255, 255, 255, 0.06); }
.select-option[aria-selected="true"] { color: var(--accent); }
.select-option[aria-disabled="true"] { display: none; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg); }
.footer-grid { display: grid; gap: 40px; }
.footer-grid p { color: var(--muted); font-size: 15px; max-width: 40ch; margin-top: 16px; }
.footer-grid .small { color: var(--dim); font-size: 14px; }
.footer-col h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
    font-size: 13px; color: var(--dim);
}
.footer-bottom .mono { font-family: var(--mono); letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Scroll-in animation ---------- */

/* Only hides things when JavaScript is running, so the page still works without it */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: 1.1s; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .scroll-cue::after { animation: none; }
}

/* ---------- Inner pages (Services, Policies, Terms, About) ---------- */

.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.8rem, 9vw, 6rem); letter-spacing: -0.05em; line-height: 0.95; margin-bottom: 24px; }
.page-hero .hero-actions, .page-hero .toc { margin-top: 28px; }

.subhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.subhead h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }

/* Long-form text (Policies, Terms) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--accent); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { display: grid; gap: 10px; margin-bottom: 16px; }
.prose li { position: relative; padding-left: 20px; color: var(--muted); }
.prose li::before { content: ''; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip, .toc a {
    display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; background: none; cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.chip:hover, .toc a:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.draft-banner { padding: 16px 20px; border: 1px dashed rgba(230, 190, 122, 0.5); border-radius: var(--radius); color: #e6be7a; font-size: 15px; margin-bottom: 40px; }

/* Team */
.team-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
.team-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 24px; }
.team-photo {
    width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 22px; color: var(--accent);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.team-bio { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .team-card { grid-template-columns: 120px 1fr; padding: 32px; } .team-photo { width: 120px; height: 120px; } }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.work-card .embed { aspect-ratio: 16 / 9; background: #000; }
.work-card .embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.work-card audio { width: 100%; margin-top: 10px; color-scheme: dark; }
.work-card .tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--accent-soft); color: var(--accent); }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty strong { display: block; color: var(--text); font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 8px; }

/* 404 */
.not-found { min-height: 100svh; display: flex; align-items: center; }
