@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/raleway-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --band-alt: #e3e8ed;
  /* Brand colours, taken from the atom logo */
  --navy: #24425d;
  --ink: #0e2132;
  --coral: #f65946;
  --paper: #f2f2f2;

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--navy);
  --line: #d3d9df;
  --dark-bg: var(--navy);
  --dark-fg: var(--paper);
  --feature-bg: var(--ink);
  --accent: var(--coral);
  --accent-fg: var(--ink);
  --surface: #ffffff;
  --input-bg: #ffffff;
  --input-line: #a9b4bf;
  --radius: 6px;
  --max: 1400px;
  --pad: clamp(16px, 3vw, 48px);
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Raleway", system-ui, sans-serif;
}

/* Dark mode: automatic from the device setting, unless the visitor chose light; or chosen with the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #c9d3dd;
  --line: rgba(242, 242, 242, .14);
  --surface: #16304a;
  --dark-bg: var(--navy);
  --feature-bg: #081521;
  --input-bg: #16304a;
  --input-line: rgba(242, 242, 242, .3);
  }
  :root:not([data-theme="light"]) .logo img { filter: invert(1); }
}
:root[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #c9d3dd;
  --line: rgba(242, 242, 242, .14);
  --surface: #16304a;
  --dark-bg: var(--navy);
  --feature-bg: #081521;
  --input-bg: #16304a;
  --input-line: rgba(242, 242, 242, .3);
}
:root[data-theme="dark"] .logo img { filter: invert(1); }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2.subheading { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: .4em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.visually-hidden, .hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--coral); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 60; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.site-nav { order: 2; margin-left: auto; margin-right: 8px; }
.theme-toggle { order: 3; }
@media (max-width: 800px) { .theme-toggle { order: 1; margin-left: auto; } .menu-toggle { order: 2; } }
.logo { flex: 0 1 337px; min-width: 0; }
.logo img { width: 100%; max-width: 337px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.has-children { position: relative; }
.sub { display: none; position: absolute; right: 0; top: 100%; background: var(--surface); border: 1px solid var(--line); padding: 10px 0 !important; min-width: 200px; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.sub a { display: block; padding: 6px 18px; }
.has-children:hover .sub, .has-children:focus-within .sub { display: block; }
.theme-toggle { background: none; border: 0; color: var(--fg); border-radius: var(--radius); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; transition: color .15s, transform .15s; }
.theme-toggle:hover { color: var(--coral); transform: scale(1.12); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.menu-toggle { display: none; background: none; color: var(--fg); border: 1px solid var(--fg); border-radius: var(--radius); padding: 6px 12px; font: inherit; cursor: pointer; }

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .menu-toggle { margin-left: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 6px; }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px !important; }
  .sub a { padding: 4px 0; }
}

/* Sections */
.section { padding: clamp(48px, 8vw, 120px) 0; }
.section + .section { padding-top: 0; }
.theme-dark { background: var(--dark-bg); color: var(--dark-fg); }
.theme-feature { background-color: var(--feature-bg); color: var(--dark-fg); }
.section.theme-dark, .section.theme-feature, .banner + .section, .theme-light + .theme-dark, .theme-dark + .theme-light { padding-top: clamp(48px, 8vw, 120px); }
.has-bg { background-size: cover; background-position: center; color: var(--paper); text-align: center; padding: clamp(96px, 14vw, 200px) 0; }
.has-bg .buttons { justify-content: center; }
.banner { height: clamp(60px, 9vw, 120px); background-size: cover; background-position: center; }
.lead { font-size: 1.25rem; color: var(--muted); }
.prose p { margin: 0 0 1em; max-width: 70ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.split-media img { border-radius: var(--radius); width: 100%; height: auto; margin: 0 auto; }
.flip .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.flip .split-media { order: 2; }
@media (max-width: 800px) { .split, .flip .split { grid-template-columns: 1fr; } .flip .split-media { order: 0; } }
.split-media img[src*="/apps/"], .screen img { box-shadow: 0 20px 50px rgba(14, 33, 50, .25); border: 1px solid var(--line); border-radius: var(--radius); }
.screens { display: flex; gap: clamp(12px, 2vw, 24px); align-items: flex-start; margin: 2em 0 0; }
.screen { min-width: 0; }
.screen img { width: 100%; }
@media (max-width: 700px) { .screens { flex-wrap: wrap; } .screen.wide { flex-basis: 100% !important; } }
.section[id] { scroll-margin-top: 90px; }
.tags { list-style: none; padding: 0; margin: -.2em 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 700; letter-spacing: .02em; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--coral); color: var(--fg); }
.prose ul { padding-left: 1.2em; max-width: 70ch; }
.prose li { margin-bottom: .4em; }
.section-logo { max-width: 180px; margin: 0 auto 24px; }
.theme-dark:not(.has-image) { text-align: center; }
.theme-dark:not(.has-image) .buttons { justify-content: center; }

.ticks { list-style: none; padding: 0; margin: 1.5em 0; display: grid; gap: 14px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 700; border: 0; font-size: 1rem; cursor: pointer; font-family: var(--body); }
.btn:hover { background: var(--fg); color: var(--bg); }
.theme-dark .btn:hover, .theme-feature .btn:hover, .has-bg .btn:hover { background: var(--paper); color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.prices { list-style: none; padding: 0; margin: 1.5em 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.prices li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.price { font: 700 1.8rem var(--head); color: var(--fg); }
.theme-dark .price, .theme-feature .price { color: var(--coral); }
.theme-dark .prices li, .theme-feature .prices li { border-color: rgba(242,242,242,.25); }
.price-label { font-weight: 700; }
.price-note { color: var(--muted); font-size: .95rem; }

/* Grids */
.grid { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); margin: 1.5em 0; }
figure { margin: 0; }
figcaption { margin-top: 10px; color: var(--muted); font-size: .97rem; }
.theme-dark figcaption, .theme-feature figcaption { color: #c9d3dd; }
.theme-dark .lead, .theme-dark .price-note { color: #c9d3dd; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt:hover img { transform: scale(1.03); }
.yt .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 12px; background: rgba(14,33,50,.8); }
.yt .play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt:hover .play { background: var(--coral); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio iframe { width: 100%; border: 0; border-radius: var(--radius); }
.audio-file { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.audio-file audio { width: 100%; }

.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.card { text-decoration: none; display: block; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 16px; transition: opacity .2s; }
.card:hover img { opacity: .85; }
.card h2 { font-size: 1.6rem; margin-bottom: .4em; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 1.5em 0; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: var(--radius); }
.gallery.stack { grid-template-columns: 1fr; max-width: 1000px; }
.gallery.stack img { aspect-ratio: auto; }

/* Contact */
.contact-form { display: grid; gap: 18px; margin: 2em 0 3em; }
.contact-form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 6px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--input-line); border-radius: var(--radius); background: var(--input-bg); color: var(--fg); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--coral); border-color: var(--coral); }
.contact-form button { justify-self: start; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.error { color: #b3261e; font-weight: 700; }

/* Footer */
.socials { list-style: none; padding: 0; margin: 0 0 16px -10px; display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); transition: color .15s, transform .15s; }
.socials a:hover { color: var(--coral); transform: translateY(-2px) scale(1.12); }
.contact-form ~ .socials a, .section .socials a { color: var(--fg); }
.site-footer { background: var(--ink); color: #c9d3dd; padding: 56px 0 28px; font-size: .95rem; border-top: 1px solid rgba(242,242,242,.12); }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--coral); }
.site-footer .socials a { color: var(--paper); }

/* Animated section backgrounds */
.fx-group { position: relative; overflow: hidden; isolation: isolate; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.fx-group .section { background: transparent; color: inherit; position: relative; }
.fx-group .section:first-of-type { padding-top: clamp(48px, 8vw, 120px); }
.fx-coral, .band-coral { --fg: var(--ink); --muted: var(--ink); --line: rgba(14, 33, 50, .28); color: var(--ink); }
.fx-navy, .band-navy { --fg: var(--paper); --muted: #c9d3dd; --line: rgba(242, 242, 242, .28); color: var(--paper); }
.fx-coral .btn, .band-coral .btn { background: var(--ink); color: var(--paper); }
.fx-coral .btn:hover, .band-coral .btn:hover { background: var(--paper); color: var(--ink); }
.fx-coral .tags li, .band-coral .tags li { border-color: var(--ink); }
.fx-coral a:not(.btn), .band-coral a:not(.btn) { text-decoration-color: var(--ink); }
.fx-group + .section, .fx-group + .banner { padding-top: clamp(48px, 6vw, 96px); }
.fx-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--radius); cursor: pointer; background: rgba(14, 33, 50, .55); color: var(--paper); transition: background .15s; }
.fx-toggle:hover { background: rgba(14, 33, 50, .85); }
.fx-toggle .icon-play, .fx-toggle.is-paused .icon-pause { display: none; }
.fx-toggle.is-paused .icon-play { display: block; }

/* Motion: content fades up as it scrolls into view, and the header pops in on load */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(min(var(--i, 0), 6) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  @keyframes pop-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
  .logo, .site-nav > ul > li, .theme-toggle, .menu-toggle { animation: pop-in .6s ease both; }
  .site-nav > ul > li:nth-child(2) { animation-delay: .08s; }
  .site-nav > ul > li:nth-child(3) { animation-delay: .16s; }
  .site-nav > ul > li:nth-child(4) { animation-delay: .24s; }
  .theme-toggle { animation-delay: .32s; }
}

/* Header call to action */
.site-nav a.nav-cta { background: var(--coral); color: var(--ink); padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; display: inline-block; transition: background .15s, color .15s; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { background: var(--fg); color: var(--bg); text-decoration: none; }
@media (max-width: 800px) { .site-nav > ul > li.nav-cta-item { margin-top: 10px; } }

/* Availability, eyebrow and client strip */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2fd47a; margin-right: 10px; box-shadow: 0 0 0 0 rgba(47, 212, 122, .6); animation: pulse 2.4s infinite; vertical-align: baseline; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 212, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 212, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.eyebrow, .availability { display: inline-flex; align-items: center; font-weight: 700; font-size: .95rem; margin: 0 0 18px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 243, 240, .92); color: var(--ink); border: 1px solid rgba(14, 33, 50, .12); }
.prose.lead p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; }
.strip { margin: 2.2em 0 0; padding-top: 1.4em; border-top: 1px solid var(--line); }
.strip-label { margin: 0 0 .5em; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-family: var(--head); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }

/* Compact service cards and two-column video grids */
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.cards.compact .card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; transition: border-color .2s, transform .2s, background .2s; position: relative; }
.cards.compact .card:hover { border-color: var(--coral); transform: translateY(-3px); }
.cards.compact .card h2 { font-size: 1.35rem; }
.cards.compact .card .prose p { margin: 0; font-size: 1rem; }
.cards.compact .card::after { content: "\2192"; position: absolute; right: 22px; top: 24px; font-size: 1.3rem; color: var(--coral); transition: transform .2s; }
.cards.compact .card:hover::after { transform: translateX(4px); }
.grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }

/* In-page links on long pages */
.jump { position: sticky; top: 81px; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.jump .wrap { position: relative; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.6vw, 34px); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.jump ul::-webkit-scrollbar { display: none; }
.jump ul > li { flex: none; }
.jump ul > li:first-child { margin-left: auto; }
.jump ul > li:last-child { margin-right: auto; }
.jump.is-scrollable ul { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.jump a { display: block; white-space: nowrap; text-decoration: none; font-weight: 700; font-size: .95rem; padding: 13px 2px 11px; border-bottom: 3px solid transparent; transition: border-color .15s, opacity .15s; opacity: .8; }
.jump a:hover { opacity: 1; border-bottom-color: var(--line); }
.jump a.is-active { opacity: 1; border-bottom-color: var(--coral); }
.jump.tone-coral a.is-active { border-bottom-color: var(--ink); }
.section[id] { scroll-margin-top: 150px; }

/* Closing call to action */
.cta-band { background: var(--coral); color: var(--ink); text-align: center; padding: clamp(56px, 8vw, 110px) 0; border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; margin-top: clamp(32px, 5vw, 72px); }
.cta-band .availability { background: rgba(255, 243, 240, .92); color: var(--ink); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin-left: auto; margin-right: auto; max-width: 56ch; }
.cta-band .buttons { justify-content: center; }
.cta-band .btn { background: var(--ink); color: var(--paper); }
.cta-band .btn:hover { background: var(--paper); color: var(--ink); }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-name { font: 700 1.3rem var(--head); color: var(--paper); margin: 0 0 .3em; }
.footer-about p { margin: 0 0 .8em; max-width: 42ch; }
.footer-about .availability { background: rgba(242, 242, 242, .1); color: var(--paper); border-color: rgba(242, 242, 242, .2); }
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); margin: 0 0 .8em; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(242, 242, 242, .12); font-size: .88rem; }
.footer-base p { margin: 0; }

/* Hero: the promise, the proof and both buttons should fit on the first screen */
.hero h1 { font-size: clamp(2rem, 4.1vw, 3.3rem); margin-bottom: .45em; }
.hero .prose.lead p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.fx-group .section.hero:first-of-type { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero .buttons { margin-top: 1.4em; }
.hero .strip { margin-top: 1.6em; padding-top: 1.1em; }
.hero .strip ul { font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero .split { align-items: center; }

/* Dark sections without an image: keep the heading centred but read lists and paragraphs from the left */
.theme-dark:not(.has-image) .prose, .theme-dark:not(.has-image) .ticks { max-width: 70ch; margin-left: auto; margin-right: auto; text-align: left; }

.optional { font-weight: 400; opacity: .7; font-size: .9em; }
.form-aside { margin: 0 0 .6em; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); opacity: .6; }

/* Headline numbers */
.section.has-stats { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 3vw, 48px); }
.stats li { border-top: 3px solid var(--coral); padding-top: 14px; }
.stat-value { display: block; font: 700 clamp(2.4rem, 5vw, 3.8rem) var(--head); line-height: 1; }
.stat-label { display: block; margin-top: .5em; color: var(--muted); max-width: 34ch; }

/* Long-form text such as the CV */
.prose h3 { font-size: 1.5rem; margin: 1.6em 0 .1em; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-size: 1.1rem; margin: 1.5em 0 .3em; font-family: var(--head); }
.prose h3 + p em, .prose h3 + p { margin-top: 0; }
.prose em { color: var(--muted); }

/* Printing and saving as PDF: just the content, in black on white */
@media print {
  .site-footer, .cta-band, .fx-toggle, .jump, .skip, .theme-toggle, .menu-toggle, .site-nav, .buttons, .fx-canvas, #the-designed-version { display: none !important; }
  .site-header { position: static; border: 0; }
  .header-inner { padding: 0 0 6pt; }
  .logo img { height: 30pt; width: auto; filter: none !important; }
  html, body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 14pt 0 !important; }
  .wrap { max-width: none; padding: 0; }
  h1 { font-size: 26pt; } h2 { font-size: 17pt; margin-top: 10pt; } .prose h3 { font-size: 13pt; } .prose h4 { font-size: 11.5pt; }
  .prose p, .ticks li { max-width: none; orphans: 3; widows: 3; }
  h2, h3, h4 { break-after: avoid; }
  .gallery, .tags li { border-color: #999; }
  a { color: inherit; text-decoration: none; }
  * { animation: none !important; transition: none !important; }
  .lead, .prose em, .stat-label, .muted { color: #333 !important; }
  .ticks li::before { content: "\2022"; background: none; width: auto; height: auto; top: 0; color: #000; border-radius: 0; }
  .ticks li { padding-left: 16pt; }
}

.section:has(+ .jump) { padding-bottom: 20px; }
.section.has-stats + .section { padding-top: clamp(40px, 6vw, 80px); }

.cta-band.cta-navy { background: var(--dark-bg); color: var(--dark-fg); }
.cta-band.cta-navy .availability { background: rgba(242, 242, 242, .12); color: var(--paper); border-color: rgba(242, 242, 242, .2); }
.cta-band.cta-navy .btn { background: var(--coral); color: var(--ink); }
.cta-band.cta-navy .btn:hover { background: var(--paper); }

/* Comfortable tap targets for plain text links */
.site-nav > ul > li > a:not(.nav-cta) { display: inline-block; padding: 10px 4px; }
.footer-nav a { display: inline-block; padding: 4px 0; min-width: 24px; }

/* Panels: full-width coloured blocks with the pattern behind a white card (the Commissions page) */
.section.panel { background-size: cover; background-position: center; background-color: var(--navy); color: #fff; text-align: center; padding: clamp(56px, 8vw, 120px) 0; }
.section.panel.panel-coral { background-color: var(--coral); }
.panel-title { color: #fff; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1em; text-shadow: 0 2px 18px rgba(14, 33, 50, .25); }
.panel-intro { color: #fff; margin: -.4em auto 1.6em; max-width: 60ch; }
.panel-intro p { margin-left: auto; margin-right: auto; }
.panel-blocks { display: grid; gap: clamp(20px, 3vw, 36px); max-width: 1100px; margin: 0 auto; }
.panel-block.has-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.panel-block:nth-child(even).has-media .panel-media { order: 2; }
@media (max-width: 800px) { .panel-block.has-media { grid-template-columns: 1fr; } .panel-block:nth-child(even).has-media .panel-media { order: 0; } }
.panel-media { margin: 0; }
.panel-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); filter: drop-shadow(0 12px 28px rgba(14, 33, 50, .35)); }
.panel-media.video .yt { box-shadow: 0 12px 28px rgba(14, 33, 50, .35); }
.panel-card { background: var(--paper); color: var(--ink); --fg: var(--ink); --muted: #24425d; --line: #d3d9df; text-align: left; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(14, 33, 50, .28); }
.panel-card h3 { font-size: 1.5rem; margin: 0 0 .5em; }
.panel-card .prose p { margin: 0 0 1em; }
.panel-card .prose p:last-child { margin-bottom: 0; }
.panel-card .prices { margin: 1.2em 0 0; }
.panel-card .buttons { margin-top: 1.4em; }
.panel-blocks.row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; max-width: 1200px; }
.panel-blocks.row .panel-card { height: 100%; display: flex; flex-direction: column; }
.panel-blocks.row .panel-card .prices { margin-top: auto; padding-top: 1.2em; }
.panel .gallery { margin-top: clamp(24px, 3vw, 40px); }
.panel-buttons { justify-content: center; }
.panel .btn { background: var(--ink); color: var(--paper); }
.panel .btn:hover { background: var(--paper); color: var(--ink); }
.panel-card .btn { background: var(--coral); color: var(--ink); }
.panel-card .btn:hover { background: var(--ink); color: var(--paper); }
.section.panel + .section.panel { padding-top: clamp(56px, 8vw, 120px); }

/* Live view counts */
.live-badge { display: inline-flex; align-items: center; gap: 0; font-size: .82rem; font-weight: 700; margin-top: .7em; padding: 4px 12px 4px 10px; border-radius: 999px; background: rgba(14, 33, 50, .08); color: var(--fg); border: 1px solid var(--line); }
.live-badge[hidden] { display: none; }
.live-badge [data-live-views] { margin-right: .3em; }
.live-badge .dot { margin-right: 8px; width: 8px; height: 8px; }
.video-views { margin-top: 0; margin-left: .4em; font-variant-numeric: tabular-nums; }
.stat-value[data-live-views] { font-variant-numeric: tabular-nums; }
.stats li .live-badge { display: flex; width: fit-content; }
.fx-coral .live-badge, .band-coral .live-badge, .hero .live-badge { background: rgba(255, 243, 240, .92); color: var(--ink); border-color: rgba(14, 33, 50, .12); }

/* Client strip: names, links and logos. Logos are drawn in one ink colour so mixed brands read as a family. */
.strip ul { align-items: center; gap: 14px 34px; }
.strip li a { text-decoration: none; }
.strip li a:hover { text-decoration: underline; text-underline-offset: 5px; }
.strip li.has-logo { display: flex; align-items: center; }
.strip li.has-logo a { display: inline-flex; align-items: center; gap: 10px; }
.strip li.has-logo img { display: block; height: 28px; width: auto; max-width: 170px; transition: opacity .15s, transform .15s; }
.strip li.has-logo.tall img { height: 42px; }
.strip li.logo-silhouette img { filter: brightness(0); opacity: .85; }
.strip li.logo-original img { filter: none; opacity: 1; }
.strip li.has-logo:hover img { opacity: 1; transform: translateY(-1px); }
.strip li.logo-round img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; filter: none; opacity: 1; }
.strip li.logo-round span { font-family: var(--head); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.strip li.has-logo.wide img { height: 20px; }
.strip li.logo-round img { flex: none; }
@media (max-width: 600px) { .strip li.has-logo:not(.logo-round) img { height: 24px; } .strip li.has-logo.tall img { height: 36px; } .strip li.has-logo.wide img { height: 18px; } }

/* Panel video previews */
.panel-clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 1200px; margin: 0 auto clamp(20px, 3vw, 36px); align-items: stretch; }
@media (max-width: 1000px) { .panel-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .panel-clips { grid-template-columns: 1fr; } }
.panel-clip { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.panel-clip > .panel-card { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.panel-media.clip video, .panel-media.video .yt { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border-radius: var(--radius); box-shadow: 0 12px 28px rgba(14, 33, 50, .35); }
.panel-media.clip figcaption { color: #fff; margin-top: .6em; font-size: .92rem; }
.panel-blocks:not(.row) .panel-block:not(.has-media) { max-width: 680px; margin: 0 auto; width: 100%; }
.panel-blocks.row .panel-block { display: flex; flex-direction: column; gap: 18px; }
.panel-blocks.row .panel-block.has-media { display: flex; }
.panel-blocks.row .panel-block .panel-card { flex: 1; }
.panel-clips + .panel-blocks:not(:empty) { margin-top: 0; }
.panel-blocks.row .panel-block .panel-media { order: 0 !important; }

/* Fit-on-screen card grids (the Portfolio page): every card visible at once, on a desktop or a phone */
.section.has-fit { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); }
.has-fit h1 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: .4em; }
.cards.fit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin: .8em 0 0; }
.cards.fit .card.tile { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: var(--radius); color: #fff; height: clamp(150px, calc((100vh - 445px) / 2), 320px); }
.cards.fit .card.tile img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; border-radius: 0; opacity: 1; transition: transform .6s ease; }
.cards.fit .card.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--tint) 80%, transparent); transition: opacity .35s ease; }
.tile-text { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(14px, 1.8vw, 24px); }
.cards.fit .tile h2 { align-self: flex-start; margin: 0; padding: .1em .45em .1em 0; border-radius: 8px; color: #fff; font-size: clamp(1.3rem, 2.1vw, 1.8rem); transition: background .3s ease, padding .3s ease; }
.cards.fit .tile .prose { color: #fff; transition: opacity .3s ease; }
.cards.fit .tile .prose p { margin: 0; font-size: .95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cards.fit .tile .prose p + p { display: none; }
.cards.fit .card.tile:hover { transform: none; }
@media (hover: hover) {
  .cards.fit .tile:hover::before, .cards.fit .tile:focus-visible::before { opacity: 0; }
  .cards.fit .tile:hover img, .cards.fit .tile:focus-visible img { transform: scale(1.05); }
  .cards.fit .tile:hover h2, .cards.fit .tile:focus-visible h2 { background: var(--tint); padding-left: .45em; }
  .cards.fit .tile:hover .prose, .cards.fit .tile:focus-visible .prose { opacity: 0; }
}
.cards.fit.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.fit.cols-2 .card.tile { height: clamp(170px, 20vw, 300px); }
@media (max-width: 700px) { .cards.fit.cols-2 .tile .prose { display: block; } .cards.fit.cols-2 .tile .prose p { font-size: .85rem; } .cards.fit.cols-2 .card.tile { height: clamp(150px, 42vw, 220px); } }
.has-fit .buttons { margin-top: 1.2em; }
@media (max-width: 1100px) { .cards.fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .cards.fit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.fit .card.tile { height: clamp(110px, calc((100vh - 330px) / 3 - 12px), 200px); }
  .cards.fit .tile .prose { display: none; }
  .cards.fit .tile h2 { font-size: clamp(1.05rem, 4.6vw, 1.3rem); }
}
.panel-blocks.row .panel-block { align-items: stretch; }

/* The shared page header: one animated band with the title, a one-sentence summary and the next step. */
.page-hero, .fx-group .section.page-hero { padding: clamp(28px, 3.6vw, 48px) 0 clamp(24px, 3vw, 40px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(16px, 3vw, 40px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 .2em; }
.hero-sub { max-width: 58ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.45; margin: 0; }
.page-hero .buttons { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero .btn.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.page-hero .btn.btn-ghost:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--paper); }
.page-hero-media img { width: auto; max-width: min(200px, 20vw); max-height: 130px; }
.fx-group:has(.page-hero) .fx-toggle, .fx-group.round-b:has(.page-hero) .fx-toggle { top: 12px; bottom: auto; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .page-hero .buttons { justify-content: flex-start; }
  .page-hero-media { display: none; }
  .page-hero-text { padding-right: 40px; }
  .page-hero.compact .hero-sub { display: none; }
}

/* Coloured bands break long pages into parts */
:root[data-theme="dark"] { --band-alt: #12293c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --band-alt: #12293c; } }
.section.band { padding: clamp(48px, 7vw, 96px) 0; }
.band-coral { background: var(--coral); }
.band-navy { background: var(--navy); color: var(--paper); }
.band-light { background: var(--band-alt); }
.band-navy .section-logo, .band-coral .section-logo { filter: none; }

/* The closing band and footer carry on from the colour the page ends on */
.tone-coral { background: var(--coral); }
.tone-navy { background: var(--navy); }
.tone-ink { background: var(--ink); }
.tone-light { background: var(--bg); }
.tone-alt { background: var(--band-alt); }
.cta-wrap { margin: 0; }
.cta-band { margin-top: 0; }
.cta-band.cta-coral { background: var(--coral); color: var(--ink); }
/* Rounded bottom edge on every coloured section: the next section slides up underneath it, so the curve shows
   that section's own background rather than the page behind. */
.round-b { --curve: clamp(24px, 4vw, 56px); border-radius: 0 0 var(--curve) var(--curve); margin-bottom: calc(var(--curve) * -1); position: relative; }
.section.round-b { padding-bottom: calc(var(--curve) + clamp(48px, 7vw, 96px)); }
.section.panel.round-b { padding-bottom: calc(var(--curve) + clamp(56px, 8vw, 120px)); }
.section.has-bg.round-b { padding-bottom: calc(var(--curve) + clamp(96px, 14vw, 200px)); }
.section.theme-dark.round-b:not(.band), .section.theme-feature.round-b:not(.band) { padding-bottom: calc(var(--curve) + clamp(48px, 8vw, 120px)); }
.section.round-b.solid:not(.band) { padding-bottom: calc(var(--curve) + clamp(48px, 8vw, 120px)); background: var(--bg); }
.section.has-image.round-b.solid:not(.band) { padding-bottom: calc(var(--curve) + clamp(48px, 8vw, 120px)); }
.fx-group { --curve: clamp(24px, 4vw, 56px); }
.fx-group.round-b, .fx-group:has(+ .cta-wrap) { padding-bottom: var(--curve); }
.fx-group:has(+ .cta-wrap) .fx-toggle { bottom: calc(16px + var(--curve)); }
/* When the page ends on an animated background, the closing band's curve shows that animation, not a flat colour. */
.fx-group + .cta-wrap { margin-top: calc(clamp(24px, 4vw, 56px) * -1); position: relative; z-index: 1; background: transparent; }
.fx-group .section.panel { background: transparent; }
/* A plain section right after a curve starts below it, so the curve never covers its first line or picture. */
.round-b + .section.theme-light:not(.band) { padding-top: calc(clamp(24px, 4vw, 56px) + clamp(16px, 3vw, 40px)); }
/* The jump bar takes the colour of the section above it; when the next section differs it gets a small curve too. */
.jump.round-b { --curve: 18px; position: sticky; z-index: 50; margin-bottom: calc(var(--curve) * -1); }
.jump.tone-navy, .jump.tone-coral, .jump.tone-ink { border-bottom-color: transparent; }
.jump.tone-navy, .jump.tone-ink { color: var(--paper); --line: rgba(242, 242, 242, .28); }
.jump.tone-coral { color: var(--ink); --line: rgba(14, 33, 50, .28); }
.fx-group.round-b .fx-toggle { bottom: calc(16px + var(--curve)); }

.site-footer { padding: 0 0 28px; border-top: 0; font-size: .92rem; --f-strong: var(--paper); --f-line: rgba(242, 242, 242, .2); --f-pill: rgba(242, 242, 242, .12); --f-pill-fg: var(--paper); }
.site-footer.footer-coral { background: var(--coral); color: var(--ink); --f-strong: var(--ink); --f-line: rgba(14, 33, 50, .25); --f-pill: rgba(255, 243, 240, .92); --f-pill-fg: var(--ink); }
.site-footer.footer-navy { background: var(--navy); color: #d6dee6; }
.site-footer.footer-ink { background: var(--ink); color: #c9d3dd; }
.site-footer.footer-light, .site-footer.footer-alt { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); --f-strong: var(--fg); --f-line: var(--line); --f-pill: rgba(14, 33, 50, .07); --f-pill-fg: var(--fg); }
.site-footer.footer-alt { background: var(--band-alt); }
.site-footer.no-cta { padding-top: 48px; }
.site-footer a, .footer-name, .footer-heading, .site-footer .socials a { color: var(--f-strong); }
.site-footer a:hover { color: var(--f-strong); text-decoration-thickness: 2px; }
.footer-about .availability { background: var(--f-pill); color: var(--f-pill-fg); border-color: var(--f-line); }
.footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--f-line); }
.site-footer.no-cta .footer-grid { border-top: 0; padding-top: 0; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-nav a { padding: 5px 0; font-size: .92rem; }
.footer-base { margin-top: 24px; padding-top: 0; border-top: 0; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
  .footer-name { font-size: 1.15rem; margin-bottom: .2em; }
  .footer-about p { margin-bottom: .5em; font-size: .9rem; }
  .footer-about .availability { font-size: .82rem; margin-bottom: 10px; }
  .footer-heading { margin-bottom: .3em; }
  .footer-nav ul { gap: 0 16px; }
  .footer-nav a { font-size: .88rem; padding: 4px 0; }
  .socials { margin-bottom: 4px; }
  .footer-base { margin-top: 14px; }
}
@media print { .band { background: none !important; color: #000 !important; } }

/* Image pop-up */
html.lb-open { overflow: hidden; }
dialog.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #fff; overflow: hidden; }
dialog.lightbox[open] { display: grid; place-items: center; }
dialog.lightbox::backdrop { background: rgba(8, 20, 31, .94); }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 10px; max-width: min(94vw, 1700px); }
.lb-figure img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .2s; background: #0b1a27; min-width: 120px; min-height: 80px; }
.lb-figure img.loading { opacity: .35; }
.lb-figure figcaption { color: #d6dee6; font-size: .95rem; max-width: 70ch; text-align: center; min-height: 1.2em; }
.lb-btn { position: absolute; z-index: 2; border: 0; background: rgba(242, 242, 242, .12); color: #fff; width: 52px; height: 52px; border-radius: 999px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--coral); color: var(--ink); }
.lb-close { top: 18px; right: 18px; font-size: 2.2rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; color: #c9d3dd; font-size: .9rem; }
dialog.lightbox.single .lb-prev, dialog.lightbox.single .lb-next { display: none; }
@media (max-width: 700px) {
  .lb-btn { width: 44px; height: 44px; font-size: 1.7rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-figure img { max-height: 74vh; }
}
@media (prefers-reduced-motion: no-preference) { dialog.lightbox[open] .lb-figure { animation: pop-in .25s ease both; } }

/* Links to the other services inside the closing band */
.cta-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: clamp(22px, 3vw, 34px); font-size: .95rem; }
.cta-more span { font-weight: 700; opacity: .75; }
.cta-more a { color: inherit; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Service buttons take the colour of the matching Portfolio tile */
.cards.compact .card.tinted { background: var(--tint); border-color: transparent; color: #fff; }
.cards.compact .card.tinted h2, .cards.compact .card.tinted .prose, .cards.compact .card.tinted .prose p, .cards.compact .card.tinted::after { color: #fff; }
.cards.compact .card.tinted:hover { border-color: transparent; filter: brightness(1.12); }
/* The portrait stays modest on phones */
@media (max-width: 800px) { .hero.has-image .split-media img { max-width: min(200px, 52vw); margin-left: 0; } }

/* Client quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 1.6em; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: rgba(14, 33, 50, .55); border: 1px solid rgba(242, 242, 242, .16); color: var(--paper); }
.quote-who { display: flex; align-items: center; gap: 14px; }
.quote-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-who span { display: flex; flex-direction: column; }
.quote-who strong { font-family: var(--head); font-size: 1.1rem; }
.quote-who small { color: #c9d3dd; font-size: .85rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

.quote-initial { width: 52px; height: 52px; flex: none; display: grid !important; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); font: 700 1.4rem var(--head); }
/* Quotes on light and coral bands use a paper card */
.band:not(.band-navy) .quote, .section:not(.band):not(.theme-dark) .quote { background: var(--paper); color: var(--ink); border-color: var(--line); }
.band:not(.band-navy) .quote-who small, .section:not(.band):not(.theme-dark) .quote-who small { color: #4a5a68; }
.band:not(.band-navy) .quote-initial { background: var(--navy); color: var(--paper); }
.quote-who strong a { color: inherit; text-decoration: none; }
.quote-who strong a:hover { text-decoration: underline; text-underline-offset: 3px; }
.quote-context { margin: 0; font-size: .88rem; font-weight: 700; letter-spacing: .01em; opacity: .75; }
.quote { gap: 12px; }
@media (min-width: 1100px) { .quotes:has(.quote:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Quote carousel: three at a time on wide screens, rotating every few seconds */
.quote-carousel { position: relative; }
.quotes.carousel-track { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: clamp(16px, 2.4vw, 32px); }
.quotes.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .quote { flex: 0 0 calc((100% - 2 * clamp(16px, 2.4vw, 32px)) / 3); scroll-snap-align: start; min-width: 0; }
@media (max-width: 1100px) { .carousel-track .quote { flex-basis: calc((100% - clamp(16px, 2.4vw, 32px)) / 2); } }
@media (max-width: 700px) { .carousel-track .quote { flex-basis: 100%; } }
.carousel-ctl { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.carousel-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit; font-size: 1.2rem; cursor: pointer; transition: background .15s, color .15s; }
.carousel-ctl button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* Names stay readable on every card */
.quote-who strong, .quote-who strong a { font-weight: 800; color: var(--paper); }
.band:not(.band-navy) .quote-who strong, .band:not(.band-navy) .quote-who strong a, .section:not(.band):not(.theme-dark) .quote-who strong, .section:not(.band):not(.theme-dark) .quote-who strong a { color: var(--ink); }

/* Video grids: two across on wide screens, and a lone last video sits centred instead of off to the left */
.grid.videos { --vgap: clamp(20px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--vgap); }
.grid.videos > .video { flex: 0 0 100%; min-width: 0; margin: 0; }
@media (min-width: 600px) { .grid.videos > .video { flex-basis: calc((100% - var(--vgap)) / 2); } }
/* The two-by-two grids (Sound Design) stay two across until the window is quite narrow */
@media (min-width: 600px) { .grid.videos.cols-2 > .video { flex-basis: calc((100% - var(--vgap)) / 2); } }
.zoomable a { display: block; cursor: zoom-in; }
.zoomable a:hover img { filter: brightness(1.05); }
.panel-media.video .yt img { height: 100%; border-radius: 0; filter: none; object-fit: cover; }

/* Photo carousel in a section's picture slot */
.photo-carousel { min-width: 0; }
.photo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.photo-track::-webkit-scrollbar { display: none; }
.photo-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; min-width: 0; }
.photo-slide a { display: block; aspect-ratio: var(--photo-ratio, 4 / 3); background: var(--ink); cursor: zoom-in; }
.photo-slide img { width: 100% !important; height: 100%; aspect-ratio: auto !important; object-fit: contain; border-radius: 0; }
.photo-slide figcaption { padding: 10px 2px 0; font-size: .92rem; color: var(--muted); }
.photo-carousel .carousel-ctl { justify-content: center; margin-top: 12px; }
.photo-carousel .carousel-ctl button { width: 40px; height: 40px; }

/* Dark only */
.theme-toggle { display: none; }


/* Category bar: arrow buttons and drag-to-scroll make it obvious the row moves */
.jump .jump-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font: 700 18px/1 var(--head); cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.jump .jump-arrow.prev { left: 0; }
.jump .jump-arrow.next { right: 0; }
.jump.tone-coral .jump-arrow { background: var(--ink); color: var(--paper); }
.jump.tone-navy .jump-arrow, .jump.tone-ink .jump-arrow { background: var(--coral); color: var(--ink); }
.jump.is-scrollable .jump-arrow.show { display: flex; }
.jump.is-scrollable ul { cursor: grab; }
.jump.is-dragging ul { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.jump.is-dragging a { pointer-events: none; }

/* Creator site: same design, a violet accent in place of coral. */
:root[data-site="creator"] { --coral: #9b7bff; }
