/* ==========================================
   01. BRAND / DESIGN TOKENS
   Thinkit: deep blue, warm gold and balanced editorial neutrals.
   All color literals live here. See BRAND_STYLE_GUIDE.md for usage.
========================================== */
:root {
    color-scheme: dark;
    /* Official identity and complementary neutrals: the only screen color literals. */
    --color-primary: #1B435C;
    --color-secondary: #D9953B;
    --color-primary-dark: #132F42;
    --color-primary-deep: #0D202D;
    --color-primary-light: #2D566F;
    --color-text-light: #F5F6F7;
    --color-text-dark: #14232D;
    --color-neutral: #F6F5F1;
    --color-neutral-surface: #ECEFEE;
    --color-muted-light: #B8C8D2;
    --color-muted-dark: #405562;
    --color-secondary-light: #F0BC76;
    --color-secondary-dark: #855417;
    --color-border-light: #ACB9C1;
    --color-control-light: #5B707D;

    /* Default cinematic context; light sections rebind these semantic tokens. */
    --color-bg: var(--color-primary-dark);
    --color-surface: var(--color-primary);
    --color-text: var(--color-text-light);
    --color-muted: var(--color-muted-light);
    --color-accent-text: var(--color-secondary);
    --color-rule: var(--color-primary-light);
    --color-control-border: var(--color-muted-light);
    --color-focus: var(--color-secondary-light);
    --color-on-secondary: var(--color-text-dark);
    --color-header: var(--color-primary);
    --color-nav-button: #235472;
    --color-nav-text: #FFFFFF;
    --color-nav-contact-hover: #C1842F;
    --color-accent-line: color-mix(in srgb, var(--color-secondary) 55%, var(--color-primary-dark));
    --color-accent-wash: color-mix(in srgb, var(--color-secondary) 7%, transparent);
    --color-highlight: color-mix(in srgb, var(--color-secondary-light) 22%, transparent);
    --color-shade: color-mix(in srgb, var(--color-primary-deep) 70%, transparent);
    --canvas-stroke: color-mix(in srgb, var(--color-secondary) 65%, transparent);

    /* Blue depth and warm light; gradients stay on artwork and controls. */
    --gradient-metal: linear-gradient(120deg, var(--color-secondary-light), var(--color-secondary) 44%, var(--color-secondary-dark));
    --gradient-metal-soft: linear-gradient(110deg, var(--color-secondary), var(--color-secondary-light) 52%, var(--color-secondary));
    --gradient-blue: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
    --gradient-light: radial-gradient(ellipse at 85% 15%, var(--color-accent-wash), transparent 65%);
    --gradient-orb: radial-gradient(circle at 32% 23%, var(--color-secondary-light), var(--color-secondary) 24%, var(--color-secondary-dark) 46%, var(--color-primary) 67%, var(--color-primary-deep) 80%);
    --gradient-art-scrim: linear-gradient(180deg, var(--color-shade), transparent 23%, var(--color-shade) 72%, var(--color-primary-deep));
    --gradient-copy-scrim: linear-gradient(90deg, var(--color-shade) 55%, transparent);
    --shadow-header: 0 12px 32px var(--color-shade);
    --shadow-metal: inset 2px 3px 14px var(--color-highlight), 12px 20px 40px var(--color-shade);
    --shadow-recess: inset -10px -15px 35px var(--color-shade), 20px 40px 70px var(--color-shade);
    --shadow-text: 0 2px 16px var(--color-primary-deep);

    --color-print-paper: var(--color-text-light);
    --color-print-ink: var(--color-text-dark);
    --font-sans: Arial, Helvetica, sans-serif;
    --font-editorial: Georgia, 'Times New Roman', serif;
    --font-mono: 'Courier New', monospace;
    /* Readable copy scale. Display headings and decorative type keep their own sizes. */
    --text-body: 1rem;
    --text-support: .875rem;
    --text-action: .9375rem;
    --text-meta: .8125rem;
    --leading-copy: 1.7;
    --leading-support: 1.6;
    --gutter: clamp(22px, 4.5vw, 88px);
    --space-xs: 12px;
    --space-sm: 24px;
    --space-md: clamp(30px, 3.5vw, 56px);
    --space-lg: clamp(56px, 7vw, 112px);
    --container: 1560px;
    --border: 1px solid var(--color-rule);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --duration: 700ms;
    --header-height: 96px;
    --logo-height: 75px;
    --logo-slot-height: 50px;
    --admin-offset: 0px;
    --z-header: 30;
    --z-skip: 100;
}
/* ==========================================
   02. GLOBAL / RESET
========================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--admin-offset) + 20px); }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body.admin-bar { --admin-offset: 32px; }
::selection { background: var(--color-secondary); color: var(--color-on-secondary); }
a { color: inherit; text-decoration: none; }
/* Short, color-only feedback is shared by mouse and keyboard interactions. */
a, summary { transition: color 250ms var(--ease); }
a:is(:hover, :focus-visible), summary:is(:hover, :focus-visible) { color: var(--color-accent-text); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
img, video { display: block; max-width: 100%; height: auto; }
/* Let grid and flex content wrap within its allocated column. */
.about > *, .about-bottom > *, .work-list > *, .services > *, .footer-directory > * { min-width: 0; }
/* Decorative type and ornaments do not participate in drag selection. */
.art-word, .field-word, .statement-strip,
.hero-secondary i, .circle, .section-label > [aria-hidden="true"],
.services-symbol, .service-plus,
.text-link > [aria-hidden="true"], .project-details summary > [aria-hidden="true"],
.menu-symbol {
    -webkit-user-select: none;
    user-select: none;
}
/* Card descriptions remain useful, selectable copy. */
.art-word > span { -webkit-user-select: text; user-select: text; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
.section-pad { padding: var(--space-lg) var(--gutter); }
main, .site-footer { max-width: var(--container); margin-inline: auto; }
.eyebrow, .edition { font-size: 11px; line-height: 1.6; }
.eyebrow { letter-spacing: .035em; color: var(--color-accent-text); }

.small-note { font-size: var(--text-support); line-height: var(--leading-support); color: var(--color-muted); }
.muted { color: var(--color-muted); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--color-secondary); border-radius: 50%; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--space-sm); margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(32px, 4.2vw, 66px); letter-spacing: -.045em; line-height: 1.12; }
.section-heading .eyebrow + h2 { margin-top: 20px; }
.text-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: var(--text-action); border-bottom: 1px solid currentColor; padding-bottom: 12px; width: min(100%, 300px); min-height: 44px; line-height: var(--leading-support); }
.text-link span { font-size: 21px; transition: transform 250ms var(--ease); }
.text-link { color: var(--color-accent-text); }
.text-link:hover span { transform: translate(3px, -3px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: var(--z-skip); padding: 15px; background: var(--color-secondary); color: var(--color-on-secondary); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.skip-link:is(:hover, :focus-visible) { color: var(--color-on-secondary); }
/* Neutral editorial sections balance the cinematic blue fields. */
.about, .services {
    color-scheme: light;
    --color-bg: var(--color-neutral);
    --color-surface: var(--color-neutral-surface);
    --color-text: var(--color-text-dark);
    --color-muted: var(--color-muted-dark);
    --color-accent-text: var(--color-secondary-dark);
    --color-rule: var(--color-border-light);
    --color-control-border: var(--color-control-light);
    --color-focus: var(--color-primary);
    --color-accent-line: var(--color-secondary-dark);
    --border: 1px solid var(--color-rule);
    background: var(--color-bg);
    color: var(--color-text);
}
/* A deeper gold keeps disclosure controls readable on pale surfaces. */
.services .service-plus { color: var(--color-secondary-dark); }
.services .service[open] .service-number { color: var(--color-primary); }

/* ==========================================
   03. HEADER / MOBILE NAVIGATION
   Sticky layout reserves space; the sentinel changes styling without scroll polling.
========================================== */
.site-header { position: sticky; top: var(--admin-offset); z-index: var(--z-header); min-height: var(--header-height); padding: 22px var(--gutter); display: flex; align-items: center; gap: 4vw; background: var(--color-header); color: var(--color-text-light); border-bottom: var(--border); transition: background 250ms, box-shadow 250ms; }
.site-header.is-scrolled { background: var(--color-header); box-shadow: var(--shadow-header); }
/* Keep the layout slot fixed so the larger, centered image cannot increase header height. */
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 1; height: var(--logo-slot-height); width: calc(var(--logo-height) * 1913 / 838); }
.site-logo { display: block; width: auto; height: var(--logo-height); max-width: 100%; }
.site-header { --color-accent-text: var(--color-secondary-light); --color-focus: var(--color-secondary-light); }
.header-note { font-size: 10px; line-height: 1.5; }
.primary-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: var(--text-action); line-height: var(--leading-support); }
.primary-nav a { position: relative; display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 6px; background-color: var(--color-nav-button); color: var(--color-nav-text); transition: background-color 225ms var(--ease); }
.primary-nav a:is(:hover, :focus-visible) { background-color: var(--color-primary-dark); color: var(--color-nav-text); }
.primary-nav a:focus-visible { outline-offset: 3px; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--color-nav-text); }
.primary-nav .nav-contact { --color-nav-text: var(--color-primary-deep); margin-left: 0; background-color: var(--color-secondary); color: var(--color-nav-text); }
.primary-nav .nav-contact:is(:hover, :focus-visible) { background-color: var(--color-nav-contact-hover); color: var(--color-nav-text); }
.nav-contact > span:last-child { margin-left: 12px; color: var(--color-nav-text); }
.nav-index, .mobile-menu-note, .menu-toggle { display: none; }
.nav-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
#header-sentinel { height: 1px; margin-bottom: -1px; }
body.menu-open { overflow: hidden; }
/* ==========================================
   04. HERO
   Fluid display type and a canvas with a fixed layout footprint.
========================================== */
.hero { padding: 34px var(--gutter) 0; }
.hero-top, .hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.hero h1 { font-size: clamp(56px, 7.4vw, 124px); line-height: 1.08; letter-spacing: -.03em; margin: 36px 0 26px; }
.title-line { display: block; }
.hero-secondary { font-size: .72em; margin-top: .1em; }
.hero-secondary i { display: inline-block; margin-left: .2em; font-size: .7em; color: var(--color-secondary); font-style: normal; }
.hero-bottom { margin-bottom: 35px; }
.hero-bottom p { max-width: 410px; font-size: var(--text-body); line-height: var(--leading-copy); color: var(--color-muted); }

.round-link { display: flex; align-items: center; gap: 22px; font-size: var(--text-action); line-height: var(--leading-support); }
.circle { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid currentColor; border-radius: 50%; font-size: 24px; color: var(--color-secondary); border-color: var(--color-accent-line); transition: transform 250ms var(--ease), background 250ms, color 250ms, border-color 250ms; }
.round-link:is(:hover, :focus-visible) .circle { background: var(--gradient-metal-soft); color: var(--color-on-secondary); border-color: var(--color-secondary); transform: rotate(45deg); }
/* Inset architectural field; no glow or extra animation layers. */
.hero-field { --color-accent-text: var(--color-secondary-light); position: relative; height: clamp(240px, 24vw, 390px); overflow: hidden; background: var(--gradient-light), var(--gradient-blue); color: var(--color-accent-text); }
#idea-canvas { position: absolute; width: 100%; height: 100%; inset: 0; }
.field-caption { position: absolute; inset: 20px 24px auto; display: flex; justify-content: space-between; gap: 20px; font: 15px var(--font-mono); letter-spacing: .04em; }
.field-word { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(36px, 7.4vw, 122px); font-weight: 700; line-height: 1; letter-spacing: -.065em; color: var(--color-text); pointer-events: none; }
.field-index { position: absolute; bottom: 20px; left: 24px; font: 20px var(--font-mono); }
/* ==========================================
   05. SHOWREEL / FEATURED MEDIA
   A native video can replace the CSS artwork without changing the layout.
========================================== */
.showreel { padding-top: 65px; padding-bottom: 40px; }
.showreel .section-heading { align-items: center; }
.showreel .section-heading h2 { font-size: clamp(26px, 2.7vw, 42px); }
.reel-frame { aspect-ratio: 16 / 8.3; overflow: hidden; background: transparent; container-type: size; }
.reel-frame video {
    --reel-radius: clamp(16px, 1.7vw, 24px);
    --reel-feather-x: 6%;
    --reel-feather-top: 6%;
    --reel-feather-bottom: 10%;
    --reel-mask: linear-gradient(to right, transparent, var(--color-text) var(--reel-feather-x), var(--color-text) calc(100% - var(--reel-feather-x)), transparent),
        linear-gradient(to bottom, transparent, var(--color-text) var(--reel-feather-top), var(--color-text) calc(100% - var(--reel-feather-bottom)), transparent);
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--reel-radius);
    -webkit-mask-image: var(--reel-mask);
    mask-image: var(--reel-mask);
    -webkit-mask-size: var(--reel-painted-width, 100%) var(--reel-painted-height, 100%);
    mask-size: var(--reel-painted-width, 100%) var(--reel-painted-height, 100%);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    mask-mode: alpha;
}
.reel-placeholder { height: 100%; position: relative; overflow: hidden; padding: 32px; color: var(--color-text); background: var(--gradient-light), var(--gradient-blue); }
/* The local 2560 x 1440 video fades at its painted edges, excluding contain letterboxing. */
.reel-placeholder:has(> video) { background: transparent; container-type: size; }
.reel-placeholder > video {
    --reel-painted-width: min(100cqw, calc(100cqh * 16 / 9));
    --reel-painted-height: min(100cqh, calc(100cqw * 9 / 16));
    clip-path: inset(calc((100% - var(--reel-painted-height)) / 2) calc((100% - var(--reel-painted-width)) / 2) round var(--reel-radius));
}
/* A scrim belongs only to procedural artwork, never to video footage. */
.reel-placeholder:has(.reel-orb)::after { content: ''; position: absolute; inset: 0; background: var(--gradient-copy-scrim), var(--gradient-art-scrim); pointer-events: none; }
.reel-orb { position: absolute; width: 42%; aspect-ratio: 1; top: 10%; right: 8%; border-radius: 50%; background: var(--gradient-orb); box-shadow: var(--shadow-recess); transform: rotate(-20deg); }
.reel-label, .reel-duration, .reel-foot { position: absolute; z-index: 1; font: 13px/1.6 var(--font-mono); }
.reel-label { top: 30px; left: 32px; }
.reel-title { text-shadow: var(--shadow-text); position: absolute; left: 5%; top: 27%; font-size: clamp(38px, 6.7vw, 110px); letter-spacing: -.06em; line-height: .97; z-index: 1; }
.reel-title > span { color: var(--color-secondary); }
.reel-foot { bottom: 28px; left: 32px; }
.reel-duration { bottom: 28px; right: 32px; }
/* ==========================================
   06. AGENCY STATEMENT
========================================== */
.about { display: grid; grid-template-columns: 1fr 2.8fr; gap: 50px; }
.section-label { display: flex; justify-content: space-between; align-items: start; }
.section-label > span:last-child { font-size: 32px; margin-right: 22px; }
.about h2 { font-size: clamp(36px, 4.45vw, 72px); line-height: 1.12; letter-spacing: -.045em; }
.about-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 30px; align-items: end; }
.about-bottom p { font-size: var(--text-body); line-height: var(--leading-copy); max-width: 440px; }
/* ==========================================
   07. SELECTED WORK
   Asymmetric editorial composition. Artwork types match inc/content.php.
========================================== */
.work { padding-top: 25px; }
.work-list { --studio-title-size: clamp(28px, 5.2vw, 80px); display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px 40px; }
.project-form { margin-top: 110px; }
.project-podcast { grid-column: 1 / -1; }
.project-training { grid-column: 1 / -1; width: 72%; margin-left: auto; }
.project-art { position: relative; aspect-ratio: 1 / .9; overflow: hidden; isolation: isolate; container-type: inline-size; --art-inset: clamp(18px, 3.5cqw, 30px); }
/* Only CSS concept artwork gets a scrim; client photography keeps its colors. */
.project-art:has(.art-sculpture)::after { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--gradient-art-scrim); pointer-events: none; }
.project-podcast .project-art { aspect-ratio: 2.3 / 1; }
.project-training .project-art { aspect-ratio: 1.65 / 1; }
/* This layer contains only the image, so masks and rounding never affect copy. */
.project-art > .project-visual {
    --image-radius: clamp(16px, 1.7vw, 24px);
    --image-feather: 3%;
    --image-mask: linear-gradient(to right, transparent, var(--color-text) var(--image-feather), var(--color-text) calc(100% - var(--image-feather)), transparent),
        linear-gradient(to bottom, transparent, var(--color-text) var(--image-feather), var(--color-text) calc(100% - var(--image-feather)), transparent);
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--image-radius);
    -webkit-mask-image: var(--image-mask);
    mask-image: var(--image-mask);
    -webkit-mask-size: var(--image-painted-width, 100%) var(--image-painted-height, 100%);
    mask-size: var(--image-painted-width, 100%) var(--image-painted-height, 100%);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    mask-mode: alpha;
}
.project-visual > img, .project-video-editing .project-visual > video { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration) var(--ease); }
/* Pending portfolio images keep the same visual layer, rounding and feathering. */
.project-visual-pending { background: var(--gradient-blue); }
.project:hover .project-visual > img, .project-video-editing:hover .project-visual > video { transform: scale(1.035); }
.art-tag, .art-foot { position: absolute; z-index: 2; left: var(--art-inset); right: var(--art-inset); font: clamp(10px, .9vw, 13px)/1.5 var(--font-mono); letter-spacing: .035em; }
.art-tag { top: var(--art-inset); }
.art-foot { bottom: var(--art-inset); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.art-word { position: absolute; bottom: calc(var(--art-inset) + 40px); left: var(--art-inset); right: var(--art-inset); font-size: clamp(28px, 12.5cqw, 110px); font-weight: 700; line-height: 1.05; letter-spacing: -.055em; z-index: 1; text-shadow: var(--shadow-text); overflow-wrap: break-word; }
.art-word > span { display: block; font-size: clamp(12px, .95vw, 14px); font-weight: 400; line-height: 1.5; letter-spacing: 0; margin-top: 14px; }
.art-acoustic-wave .art-word, .art-voice-over .art-word,
.art-design .art-word, .art-video-editing .art-word { font-size: var(--studio-title-size); }

.art-sculpture { position: absolute; transition: transform 900ms var(--ease); }
.project:hover .art-sculpture, .project:focus-within .art-sculpture { transform: rotate(-9deg) scale(1.035); }
.art-orbit { background: var(--gradient-blue); color: var(--color-text); }
.art-orbit .art-sculpture { width: 88%; aspect-ratio: 1; top: 5%; left: 26%; transform: rotate(-25deg); }
.art-orbit i { position: absolute; inset: 0; border: clamp(20px, 3vw, 45px) solid var(--color-secondary-dark); border-radius: 50%; box-shadow: var(--shadow-metal); }
.art-orbit i:nth-child(2) { inset: 15%; border-width: 27px; border-color: var(--color-secondary); }

.art-orbit i:nth-child(3) { inset: 30%; border-width: 18px; }
.art-form { background: var(--color-surface); color: var(--color-text); }
.art-form .art-sculpture { inset: 15% 13% 26%; transform: rotate(-16deg); }
.art-form i { position: absolute; left: 0; width: 100%; height: 34%; border-radius: 90px; background: var(--gradient-metal); box-shadow: var(--shadow-metal); }
.art-form i:nth-child(2) { top: 28%; left: 9%; }
.art-form i:nth-child(3) { top: 56%; left: -3%; }
.art-form .art-word { font-weight: 500; }
.art-podcast { position: relative; container-type: size; background: var(--color-bg); color: var(--color-text); }
.art-podcast > .project-visual {
    --image-painted-width: min(100cqw, calc(100cqh * 1832 / 859));
    --image-painted-height: min(100cqh, calc(100cqw * 859 / 1832));
    clip-path: inset(calc((100% - var(--image-painted-height)) / 2) calc((100% - var(--image-painted-width)) / 2) round var(--image-radius));
}
.art-podcast .project-visual > img { object-fit: contain; object-position: center; }
/* Match the contained photo's painted bounds (1832 x 859), excluding letterboxing. */
.art-podcast .podcast-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(100%, calc(100cqh * 1832 / 859));
    aspect-ratio: 1832 / 859;
    transform: translate(-50%, -50%);
}
/* Both photo cards keep their copy inside their own image overlay bounds. */
.podcast-overlay, .training-overlay {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1cqh, 12px);
    padding: clamp(10px, 2cqw, 24px);
}
.podcast-overlay > :is(.art-tag, .art-word, .art-foot), .training-overlay > :is(.art-tag, .art-word, .art-foot) { position: static; flex-shrink: 0; }
.podcast-overlay > .art-word, .training-overlay > .art-word { margin-top: auto; }
.podcast-overlay > .art-word > span, .training-overlay > .art-word > span { margin-top: clamp(4px, 1cqh, 14px); }
.art-podcast .art-word, .art-training .art-word { font-size: clamp(28px, 13cqw, 100px); font-weight: 400; letter-spacing: -.045em; }
.art-training { container-type: size; background: var(--color-bg); color: var(--color-text); }
.art-training .project-visual > img { object-fit: cover; object-position: 35% center; }
.art-training .training-overlay { position: absolute; inset: 0; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 15px; margin: 17px 0 12px; font-size: var(--text-meta); color: var(--color-muted); line-height: var(--leading-support); }
.project h3 { font-size: clamp(22px, 2.1vw, 34px); line-height: 1.2; letter-spacing: -.03em; max-width: 560px; }
.project-details, .project > .text-link { margin-top: 22px; max-width: 440px; }
.project-details summary { display: flex; justify-content: space-between; gap: 20px; font-size: var(--text-action); border-bottom: var(--border); padding-bottom: 10px; min-height: 44px; line-height: var(--leading-support); }
.project-details summary { color: var(--color-accent-text); transition: color 250ms, border-color 250ms; }
.project-details summary:is(:hover, :focus-visible) { color: var(--color-text); border-color: var(--color-secondary); }
.project-details summary > span { transition: transform 200ms; }
.project-details[open] summary > span { transform: rotate(45deg); }
.project-details p { margin-top: 14px; font-size: var(--text-body); line-height: var(--leading-copy); }
.statement-strip { --color-accent-text: var(--color-secondary-light); overflow: hidden; background: var(--color-surface); color: var(--color-accent-text); border-block: 1px solid var(--color-accent-line); padding: 24px 0; }
.statement-strip > div { width: max-content; white-space: nowrap; font-size: clamp(34px, 4.65vw, 74px); letter-spacing: -.055em; animation: ticker 45s linear infinite; }
.statement-strip em { font-family: var(--font-editorial); font-weight: 400; color: var(--color-secondary); }

/* ==========================================
   08. SERVICES
========================================== */
.services { display: grid; grid-template-columns: 1fr 1.2fr; gap: 7vw; }
.services-intro h2 { font-size: clamp(30px, 3.25vw, 53px); line-height: 1.14; letter-spacing: -.04em; margin: 22px 0; }
.services-intro p { font-size: var(--text-body); line-height: var(--leading-copy); max-width: 330px; }
.services-symbol { display: block; color: var(--color-secondary); font-size: 104px; line-height: 1; margin-top: 38px; }
.service { border-top: var(--border); transition: border-color 250ms, background 250ms; }

.service:is([open], :focus-within) { border-top-color: var(--color-secondary); background: var(--color-accent-wash); }
.service:last-child { border-bottom: var(--border); }
.service summary { display: flex; align-items: center; gap: 18px; padding: 22px 0; min-height: 48px; }
.service-number { font: 10px var(--font-mono); color: var(--color-muted); }
.service h3 { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; letter-spacing: -.035em; }
.service-plus { margin-left: auto; font-size: 27px; transition: transform 250ms; color: var(--color-secondary); }

.service[open] .service-number { color: var(--color-accent-text); }
.service[open] .service-plus { transform: rotate(45deg); }
.service-body { padding: 0 35px 28px; }
.service-body p { max-width: 410px; font-size: var(--text-body); line-height: var(--leading-copy); }
.service-body > span { display: block; color: var(--color-muted); font-size: var(--text-support); margin-top: 20px; line-height: var(--leading-support); }
/* ==========================================
   09. METRICS
   Tabular figures reserve width while counters run.
========================================== */
.metrics { padding-top: 25px; }
.metrics .section-heading h2 { font-size: clamp(26px, 2.8vw, 44px); }
.metrics-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 38px 0 0; border-top: var(--border); }
.metrics-list > div { display: flex; flex-direction: column-reverse; gap: 14px; padding: 30px 0; border-bottom: var(--border); }
.metrics-list dt { font-size: var(--text-support); color: var(--color-muted); line-height: var(--leading-support); }
.metrics-list dd { margin: 0; font-size: clamp(48px, 6.6vw, 105px); line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-accent-text); }

.metrics-list [data-count] { display: inline-block; min-width: calc(var(--counter-digits, 1) * 1ch); }
.metrics-note { font-size: var(--text-meta); color: var(--color-muted); margin-top: 18px; line-height: var(--leading-support); }
/* ==========================================
   12. FINAL CTA / FOOTER
========================================== */
.site-footer { direction: ltr; text-align: left; background: var(--gradient-light), var(--color-bg); border-top: 1px solid var(--color-accent-line); padding-bottom: 25px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 36.4vw, 468px); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: 45px; }
.footer-primary { display: flow-root; min-width: 0; }
.contact-title { font-size: clamp(48px, 7.7vw, 124px); letter-spacing: -.05em; line-height: 1.06; margin: 40px 0; }
.contact-title a { display: inline-block; }
/* Solid accent copy stays readable over the deep-blue contact surface. */
.contact-title a, .email-link, .phone-link { color: var(--color-accent-text); }
.contact-title a:is(:hover, :focus-visible) { color: var(--color-text); }
.contact-title a > span { color: var(--color-secondary); display: inline-block; margin-left: .1em; transition: transform 300ms var(--ease); }

.contact-title a:hover > span { transform: translate(8px, -8px); }
.footer-contact-links { display: grid; justify-items: start; gap: 10px; min-width: 0; }
.email-link, .phone-link { font-size: clamp(17px, 2vw, 29px); border-bottom: 1px solid currentColor; padding-bottom: 8px; overflow-wrap: anywhere; max-width: 100%; }
.phone-link[href]:is(:hover, :focus-visible) { color: var(--color-secondary-light); }
.footer-location > p, .footer-info, .footer-bottom { color: var(--color-muted); }
.footer-directory { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; border-top: 1px solid var(--color-rule); padding-top: 30px; }
.footer-directory nav { display: flex; flex-wrap: wrap; align-content: start; gap: 15px 22px; font-size: var(--text-action); max-width: 350px; line-height: var(--leading-support); }
.footer-social { display: grid; align-content: start; gap: 10px; font-size: var(--text-support); line-height: var(--leading-support); }
.footer-social .eyebrow { margin-bottom: 5px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; direction: ltr; color: var(--color-text); }
.footer-social-link[aria-disabled="true"] { cursor: not-allowed; }
.footer-social-icon { display: block; flex: 0 0 18px; }
.footer-location { display: grid; align-content: start; gap: 12px; min-width: 0; margin-top: 40px; }
.footer-location > p, .footer-info { font-size: var(--text-support); line-height: var(--leading-support); }
.footer-map { height: 320px;width:500px; overflow: hidden; border-radius: 14px; background: var(--color-accent-wash); box-shadow: inset 0 0 0 1px var(--color-rule); }
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-map-placeholder { display: grid; place-items: center; height: 100%; font-size: var(--text-support); line-height: var(--leading-support); color: var(--color-accent-text); }
.footer-directory a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid var(--color-rule); padding-top: 24px; margin-top: 45px; font-size: var(--text-meta); line-height: var(--leading-support); }
.footer-bottom > a { font-size: var(--text-action); }
.footer-bottom > a:last-child { margin-left: auto; }
/* ==========================================
   13. WORDPRESS CONTENT / COMMENTS
========================================== */
.content-main { min-height: 60vh; }
.content-main h1 { font-size: clamp(38px, 6.1vw, 88px); letter-spacing: -.055em; line-height: 1.05; margin-bottom: 40px; overflow-wrap: anywhere; }
.editorial-entry { max-width: 1000px; padding-bottom: 50px; }
.editorial-entry > h2 { font-size: clamp(28px, 3vw, 34px); margin-bottom: 24px; }
.entry-content { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.entry-content p { margin-block: 20px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:not(.wp-element-button):not(.wp-block-button__link):not(.has-text-color) { color: var(--color-accent-text); }
.entry-content a:not(.wp-element-button):not(.wp-block-button__link):not(.has-text-color):is(:hover, :focus-visible) { color: var(--color-text); }
.entry-content h2, .entry-content h3 { margin-top: 32px; line-height: 1.2; }
.entry-content iframe { max-width: 100%; }
.entry-content figure { max-width: 100%; }
.comment-list { padding-left: 24px; }
.comment-body { padding: 22px 0; border-bottom: var(--border); font-size: var(--text-body); line-height: var(--leading-copy); }
.comment-form textarea, .comment-form input:not([type=checkbox]):not([type=submit]) { max-width: 100%; padding: 12px; background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-control-border); }
.comment-form textarea { width: 100%; }
.comment-form label { display: block; font-size: var(--text-support); line-height: var(--leading-support); }
.comment-form-cookies-consent label { display: inline; }
.comment-form p { margin: 18px 0; }
.comment-form .submit { padding: 12px 20px; background: var(--gradient-metal-soft); color: var(--color-on-secondary); border: 1px solid var(--color-secondary); cursor: pointer; transition: border-color 250ms, box-shadow 250ms; }
.pagination .nav-links { display: flex; gap: 18px; }
/* Native WordPress blocks and forms follow the brand; explicit editor colors win. */
.content-main :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select) { color: var(--color-text); background-color: var(--color-surface); border: 1px solid var(--color-control-border); padding: 12px; max-width: 100%; }
.content-main :is(input, textarea)::placeholder { color: var(--color-muted); opacity: 1; }
.content-main :is(input[type=checkbox], input[type=radio]) { accent-color: var(--color-secondary); }
.content-main :is(button, input[type=submit]), .entry-content .wp-block-button__link:not(.has-background) { background: var(--gradient-metal-soft); color: var(--color-on-secondary); border: 1px solid var(--color-secondary); padding: 12px 20px; cursor: pointer; transition: box-shadow 250ms, border-color 250ms; }
.comment-form .submit:is(:hover, :focus-visible), .content-main :is(button, input[type=submit]):is(:hover, :focus-visible), .entry-content .wp-block-button__link:not(.has-background):is(:hover, :focus-visible) { color: var(--color-on-secondary); border-color: var(--color-accent-text); box-shadow: inset 0 0 0 1px var(--color-accent-text); }
.entry-content :is(pre, code):not(.has-background) { background: var(--color-surface); color: var(--color-text); }
.entry-content pre { padding: 20px; overflow-x: auto; }
.entry-content :is(blockquote, .wp-block-pullquote) { border-inline-start: 2px solid var(--color-secondary); padding-inline-start: 24px; }
.entry-content :is(table, th, td), .entry-content .wp-block-separator { border-color: var(--color-control-border); }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: var(--color-surface); }
.pagination :is(a:hover, a:focus-visible, .current) { color: var(--color-accent-text); }
/* ==========================================
   14. MOTION SYSTEM
   Only JS-prepared reveals hide. Content remains visible without JS.
========================================== */
[data-reveal].reveal-ready { opacity: 0; transform: translateY(26px); transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.motion-ready .title-line { animation: title-enter 900ms var(--ease) both; }
.motion-ready .hero-secondary { animation-delay: 120ms; }
.motion-ready .hero-bottom { animation: title-enter 900ms var(--ease) 220ms both; }
@keyframes title-enter { from { opacity: 0; transform: translateY(20px); clip-path: inset(0 0 100%); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
/* ==========================================
   RESPONSIVE - TABLET
========================================== */
/* The fixed desktop map outgrows its column on narrow landscape viewports. */
@media (max-width: 1240px) {
    .footer-location { grid-template-columns: minmax(0, 1fr); }
    .footer-map { width: 100%; height: clamp(208px, 30vw, 320px); }
}
@media (max-width: 1100px) {
    .header-note { display: none; }
    .primary-nav, .nav-list { gap: 8px; }
    .about { grid-template-columns: 1fr 3fr; gap: 30px; }
    .about-bottom { grid-template-columns: 1fr; gap: 25px; }
    .work-list { gap: 52px 30px; }
    .services { gap: 5vw; }
    .service h3 { flex: 1; min-width: 0; }
    .service-number, .service-plus { flex-shrink: 0; }
    .round-link, .email-link, .phone-link,
    .footer-directory nav a, .footer-social-link, .footer-bottom a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .footer-directory nav { row-gap: 0; }
    .footer-directory nav a { min-width: 44px; }
    .contact-title a { min-height: 44px; }
    .entry-content figure { margin-inline: 0; }
    .entry-content .wp-block-table { overflow-x: auto; }
    .pagination .nav-links { flex-wrap: wrap; }
    .content-main :is(input, textarea, select) { font-size: var(--text-body); }
    .content-main :is(input:not([type=checkbox]):not([type=radio]), select, button) { min-height: 44px; }
}
@media (max-width: 900px) {
    :root { --header-height: 82px; --logo-height: 60px; --logo-slot-height: 40px; }
    .site-header { padding-block: 20px; flex-wrap: wrap; gap: 0; }
    .menu-toggle { display: flex; align-items: center; gap: 20px; margin-left: auto; color: var(--color-text); background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; font-size: var(--text-action); line-height: var(--leading-support); }
    .menu-symbol { font-size: 30px; transition: transform 300ms var(--ease); }
    .wordmark { min-height: 44px; }
    .menu-toggle[aria-expanded=true] .menu-symbol { transform: rotate(45deg); }
    /* Without JS the menu is an ordinary visible list. JS upgrades it to a panel. */
    .primary-nav { width: 100%; padding-top: 25px; flex-wrap: wrap; margin-left: 0; }
    /* Subtract the actual header box so the panel fits short landscape screens. */
    .js .primary-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 30px var(--gutter) 45px; background: var(--color-primary); color: var(--color-text-light); display: flex; flex-direction: column; align-items: stretch; gap: 8px; height: calc(100dvh - 100% - var(--admin-offset)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity 250ms, transform 350ms var(--ease); }
    .js .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
    .js .primary-nav > a, .js .nav-list a { display: flex; gap: 22px; align-items: center; font-size: clamp(26px, 5.3vw, 42px); letter-spacing: -.045em; padding: 17px 12px; margin: 0; }
    .js .nav-list { display: flex; flex-direction: column; gap: 8px; }
    .js .nav-index { display: inline; color: var(--color-nav-text); font: 10px var(--font-mono); letter-spacing: 0; }
    .js .nav-contact > span:last-child { margin-left: auto; color: var(--color-nav-text); }
    .js .mobile-menu-note { display: block; margin-top: 35px; font-size: 12px; line-height: 1.7; color: var(--color-muted); }
    .edition { display: none; }
    .showreel .section-heading .small-note { display: none; }
    .services { grid-template-columns: 1fr 1.3fr; }
    .services-symbol { font-size: 85px; }
    .metrics-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .about { grid-template-columns: 1fr; gap: 30px; }
    .work-list { --studio-title-size: clamp(28px, 12.5cqw, 64px); grid-template-columns: 1fr; gap: 40px; }
    .project-form { margin-top: 0; }
    .project-podcast, .project-training { grid-column: auto; width: 100%; margin: 0; }
    .project-podcast .project-art { aspect-ratio: 1832 / 859; }
    .project-training .project-art { aspect-ratio: 1.65 / 1; }
    .services { grid-template-columns: 1fr; gap: 35px; }
    .services-symbol { display: none; }
    .footer-main { grid-template-columns: 1fr; row-gap: 24px; }
    .footer-location { width: 100%; max-width: 520px; margin-top: 0; }
    .footer-directory { grid-template-columns: 1.2fr 1fr; }
    .footer-info { grid-column: 1 / -1; }
}
/* ==========================================
   RESPONSIVE - MOBILE (600px)
========================================== */
@media (max-width: 782px) { body.admin-bar { --admin-offset: 46px; } }
@media (max-width: 600px) {
    .reel-frame video { --reel-feather-x: 4%; --reel-feather-top: 4%; --reel-feather-bottom: 7%; }
    .project-art > .project-visual { --image-feather: 2%; }
    body.admin-bar .site-header { top: 0; }
    body.admin-bar.menu-open .site-header { top: var(--admin-offset); }
    .hero { padding-top: 25px; }
    .hero h1 { font-size: clamp(42px, 11.4vw, 68px); margin: 28px 0 24px; line-height: 1.08; }
    .hero-secondary { font-size: .7em; max-width: 360px; margin-top: 12px; }
    .hero-secondary i { margin-left: .1em; }
    .hero-bottom { flex-direction: column; align-items: start; gap: 25px; margin-bottom: 28px; }
    .hero-bottom p { max-width: 350px; }
    .round-link { align-self: end; }
    .circle { width: 42px; height: 42px; }
    /* Inset architectural field; no glow or extra animation layers. */
    .hero-field { height: 240px; }
    .field-caption { inset: 18px 18px auto; font-size: 8px; }
    .field-coordinate { display: none; }
    .field-word { font-size: 10vw; }
    .field-index { font-size: 8px; left: 18px; }
    .section-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
    .section-heading h2 { font-size: clamp(28px, 8.8vw, 48px); }
    .showreel { padding-top: 45px; padding-bottom: 0; }
    .showreel .section-heading { align-items: start; gap: 12px; }
    .showreel .section-heading h2 { font-size: 28px; }
    .reel-frame { aspect-ratio: 16 / 9; }
    .reel-placeholder:has(> video) { padding: 0; }
    .reel-title { font-size: 12vw; top: 32%; }
    .reel-orb { width: 70%; right: -10%; top: 13%; }
    .reel-label { top: 22px; left: 22px; font-size: 8px; }
    .reel-foot { bottom: 22px; left: 22px; font-size: 9px; }
    .reel-duration { display: none; }
    .section-label > span:last-child { margin-right: 0; font-size: 25px; }
    .about h2 { font-size: clamp(28px, 9.1vw, 50px); }
    .about-bottom { margin-top: 25px; }
    .work { padding-top: 0; }
    .project-meta > span:last-child { white-space: nowrap; }
    .project h3 { font-size: clamp(22px, 6vw, 25px); }
    .statement-strip { padding-block: 18px; }
    .services-intro h2 { font-size: clamp(28px, 8.8vw, 48px); }
    .service h3 { font-size: 21px; }
    .service summary { gap: 14px; padding: 22px 0; }
    .service-body { padding-left: 28px; padding-right: 0; }
    .metrics { padding-top: 0; }
    .metrics .section-heading h2 { font-size: 28px; }
    .metrics-list dd { font-size: clamp(44px, 15vw, 80px); }
    .metrics-note { line-height: 1.6; }
    .footer-top .small-note { display: none; }
    .contact-title { font-size: clamp(36px, 9.45vw, 62px); margin: 30px 0; }
    .footer-main { padding-bottom: 30px; }
    .footer-directory { grid-template-columns: 1.2fr 1fr; gap: 20px; }
    .footer-directory nav { flex-direction: column; gap: 12px; }
    .footer-bottom { flex-wrap: wrap; gap: 18px; margin-top: 30px; }
    .footer-bottom > span { width: 100%; }
    .content-main h1 { font-size: clamp(32px, 10.5vw, 58px); }
    .entry-content { font-size: 16px; }
}
/* ==========================================
   REDUCED MOTION / PRINT
========================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal].reveal-ready { opacity: 1; transform: none; }
}
@media print {
    .site-header, .hero-field, .statement-strip, .menu-toggle { display: none !important; }
    [data-reveal].reveal-ready { opacity: 1; transform: none; }
    :root { color-scheme: light; }
    body, .site-footer { background: var(--color-print-paper); color: var(--color-print-ink); }
    .contact-title a, .email-link, .eyebrow, .small-note, .muted, .service-number, .service-plus, .metrics-list dd, .footer-location > p, .footer-directory, .footer-bottom { color: var(--color-print-ink); }
    .project-art, .reel-frame { print-color-adjust: exact; }
    .section-pad { border-color: var(--color-print-ink); }
    .section-pad { padding: 30px 0; }
}
