/* Artzee Animation - site styles.
   Default look is dark and vivid. Set 'theme' => 'light' in app/config.php for the light version. */

/* Typeface: Nunito Sans, a free font (SIL Open Font License, see assets/fonts/NunitoSans-OFL.txt) close in shape
   to the Avenir used in the logo. One file holds every weight from 200 to 1000. */
@font-face { font-family: "Nunito Sans"; src: url("../fonts/NunitoSans-latin.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  --ink: #f5f7ff;            /* headings */
  --ink-2: #c5cde2;          /* body text */
  --muted: #8f9bb8;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .28);
  --bg: #070b17;
  --bg-alt: #0b1122;
  --surface: #111930;
  --surface-2: #18223f;
  --field: #0c1326;
  --header-bg: rgba(7, 11, 23, .82);
  --brand: #27b8ff;
  --link: #6ccbff;
  --link-hover: #b4e5ff;
  --brand-ink: #0b2a4a;
  --brand-tint: rgba(39, 184, 255, .14);
  --sun: #ffd23f;
  --coral: #ff5a45;
  --violet: #8f6bff;
  --mint: #2fe0a8;
  --btn-bg: var(--sun);
  --btn-ink: #10131f;
  --btn-hover: #ffffff;
  --btn-glow: rgba(255, 210, 63, .28);
  --grad: linear-gradient(100deg, #27c4ff 0%, #8f8bff 38%, #ff5a8a 70%, #ffd23f 100%);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  --wrap: 1240px;
  --font: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --ink: #0b1b2b;
  --ink-2: #33475b;
  --muted: #5d7186;
  --line: #e2e8f0;
  --line-strong: #0b1b2b;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f4f7fc;
  --field: #ffffff;
  --header-bg: rgba(255, 255, 255, .92);
  --brand: #0e7cc0;
  --link: #0a5f95;
  --link-hover: #0e7cc0;
  --brand-tint: #e6f3fb;
  --sun: #f5b700;
  --coral: #e8452c;
  --violet: #6d4be0;
  --mint: #0f9f73;
  --btn-bg: #0e7cc0;
  --btn-ink: #ffffff;
  --btn-hover: #0a5f95;
  --btn-glow: rgba(14, 124, 192, .28);
  --grad: linear-gradient(100deg, #0e7cc0 0%, #6d4be0 45%, #e8452c 100%);
  --shadow: 0 1px 2px rgba(11, 27, 43, .05), 0 8px 24px rgba(11, 27, 43, .07);
  --shadow-lg: 0 2px 4px rgba(11, 27, 43, .06), 0 18px 44px rgba(11, 27, 43, .13);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.75rem); letter-spacing: -.035em; }
h3, .h3 { font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }
strong { color: var(--ink); }
::selection { background: var(--sun); color: #10131f; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: #10131f; padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.grad-text, .hero h1 em, .center-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow, .narrow-block { max-width: 820px; }
.narrow-block { margin: 2.5rem auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.4em; border-radius: 999px; font-weight: 700; font-size: .975rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; font-family: inherit; line-height: 1.2; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 8px 26px var(--btn-glow); }
.btn-primary::after { content: "\2192"; transition: transform .18s; }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-ink); transform: translateY(-2px); }
[data-theme="light"] .btn-primary:hover { color: #fff; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--brand-tint); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.logo img { height: 42px; width: auto; }
.nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a:not(.btn) { display: block; padding: .6em .85em; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 999px; transition: background .15s, color .15s; }
.nav > ul > li > a:not(.btn):hover, .nav a[aria-current] { color: var(--link-hover); background: var(--brand-tint); }
.nav-cta { margin-left: .6rem; }
.nav-cta .btn { padding: .65em 1.2em; }
.has-mega { position: static; }
.sub-toggle { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-alt); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; padding: 1.75rem 0 2rem; }
.mega-title a { color: inherit; text-decoration: none; }
.mega-title a:hover { text-decoration: underline; }
.mega-grid > div:nth-child(5) .mega-title { color: var(--mint); }
.mega-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin: 0 0 .6rem; color: var(--brand); }
.mega-grid > div:nth-child(2) .mega-title { color: var(--sun); }
.mega-grid > div:nth-child(3) .mega-title { color: var(--coral); }
.mega-grid > div:nth-child(4) .mega-title { color: var(--violet); }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li a { display: block; padding: .32em 0; color: var(--ink-2); text-decoration: none; font-size: .97rem; transition: color .15s, transform .15s; }
.mega li a:hover { color: var(--ink); transform: translateX(4px); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: .62em; height: .62em; background: var(--sun); transform: rotate(45deg); flex: none; }
.eyebrow.center { display: flex; justify-content: center; }
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 14% 22%, rgba(39, 184, 255, .30), transparent 70%),
    radial-gradient(34% 42% at 86% 12%, rgba(143, 107, 255, .30), transparent 70%),
    radial-gradient(30% 38% at 70% 78%, rgba(255, 90, 69, .20), transparent 70%),
    radial-gradient(26% 30% at 30% 92%, rgba(255, 210, 63, .12), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; }
[data-theme="light"] .hero-glow { opacity: .45; }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 6.2rem); line-height: .98; letter-spacing: -.045em; margin-bottom: .35em; max-width: 62rem; }
/* under the headline: pitch on the left, showreel on the right */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(1.75rem, 4vw, 4rem); align-items: end; }
.showreel { margin: 0 14px 14px 0; }
.showreel .yt { box-shadow: 14px 14px 0 var(--sun), var(--shadow-lg); transition: transform .25s, box-shadow .25s; }
.showreel .yt:hover { transform: translate(-3px, -3px); box-shadow: 18px 18px 0 var(--coral), var(--shadow-lg); }
.showreel figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.showreel figcaption a { color: var(--link); text-decoration: none; }
.showreel figcaption a:hover { color: var(--sun); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--ink-2); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 0; }
.hero-actions.center { justify-content: center; }
.hero-facts { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; font-size: .93rem; color: var(--muted); }
.hero-facts li { padding-left: 1rem; border-left: 2px solid var(--brand); }
.hero-facts li:nth-child(2) { border-color: var(--sun); }
.hero-facts li:nth-child(3) { border-color: var(--coral); }
.hero-facts strong { color: var(--ink); display: block; font-size: 1.05rem; }

.page-hero { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4.5vw, 3.5rem); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: radial-gradient(50% 90% at 92% 0%, rgba(143, 107, 255, .20), transparent 70%), radial-gradient(45% 80% at 4% 10%, rgba(39, 184, 255, .16), transparent 70%), var(--bg); }
[data-theme="light"] .page-hero { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 18em; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero-grid > :only-child { grid-column: 1 / -1; max-width: 52rem; }
.page-hero-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); transition: transform .35s; outline: 1px solid var(--line); }
.page-hero-media:hover { transform: rotate(0) scale(1.015); }
.page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-hero-media .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .75rem; color: #fff; font-size: .85rem; font-weight: 700; background: linear-gradient(transparent, rgba(4, 7, 16, .85)); }
.center-hero { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); border: 0; }
.center-hero h1, .center-hero .answer { margin-inline: auto; }
.answer { font-size: 1.16rem; color: var(--ink-2); max-width: 46em; }
.page-hero .answer { margin-bottom: 0; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1.4rem; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--link-hover); text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding: clamp(3.25rem, 7vw, 6.5rem) 0; position: relative; }
.section.tight { padding: clamp(2.25rem, 4.5vw, 3.75rem) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 48em; margin-bottom: clamp(1.75rem, 3.4vw, 3rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; flex-wrap: wrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.more { color: var(--link); font-weight: 700; font-size: .93rem; }
.note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }

/* ---------- stats ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats li { padding: clamp(1.25rem, 2.6vw, 2rem); border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; color: var(--brand); margin-bottom: .2em; }
.stats li:nth-child(2) strong { color: var(--sun); }
.stats li:nth-child(3) strong { color: var(--coral); }
.stats li:nth-child(4) strong { color: var(--violet); }
.stats span { font-size: .95rem; color: var(--ink-2); }

/* ---------- cards ---------- */
.need-grid, .ask-grid, .svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.need-grid { counter-reset: need; grid-template-columns: repeat(3, 1fr); }
.need-card, .ask-card, .svc-card, .ind-card, .group-card { --accent: var(--brand); position: relative; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; overflow: hidden; }
.need-card:nth-child(4n+2), .ask-card:nth-child(4n+2), .svc-card:nth-child(4n+2), .ind-card:nth-child(4n+2), .group-card:nth-child(4n+2) { --accent: var(--sun); }
.need-card:nth-child(4n+3), .ask-card:nth-child(4n+3), .svc-card:nth-child(4n+3), .ind-card:nth-child(4n+3), .group-card:nth-child(4n+3) { --accent: var(--coral); }
.need-card:nth-child(4n+4), .ask-card:nth-child(4n+4), .svc-card:nth-child(4n+4), .ind-card:nth-child(4n+4), .group-card:nth-child(4n+4) { --accent: var(--violet); }
.need-card::before, .svc-card::before, .ind-card::before, .group-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(.16); transform-origin: left; transition: transform .35s; }
a.need-card:hover::before, a.svc-card:hover::before, a.ind-card:hover::before, .group-card:hover::before { transform: scaleX(1); }
a.need-card:hover, a.ask-card:hover, a.svc-card:hover, a.ind-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; background: var(--surface-2); }
.need-card h3, .ask-card h3, .svc-card h3, .ind-card h3 { margin-bottom: .35em; }
.need-card p, .ask-card p, .svc-card p, .ind-card p { font-size: .95rem; margin-bottom: .8em; color: var(--muted); }
.need-card { counter-increment: need; padding-top: 3.1rem; }
.need-card::after { content: counter(need, decimal-leading-zero); position: absolute; right: 1.3rem; top: 1.1rem; font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .04em; color: var(--accent); }
.need-card .more, .ind-card .more, .svc-card .more { color: var(--accent); }
.ask-card p:last-child { margin-bottom: 0; }
.ask-card { border-left: 3px solid var(--accent); }
.ask-card h3 a { color: inherit; }
.svc-price { font-weight: 700; color: var(--ink) !important; font-size: .9rem !important; margin: 0 !important; }
.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.group-card:nth-child(5) { --accent: var(--mint); }
.group-card h3 { color: var(--accent); font-size: 1.35rem; }
.group-card h3 a { color: inherit; text-decoration: none; }
.group-card h3 a:hover { text-decoration: underline; }
.svc-grid.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.svc-grid.compact .svc-card { padding: 1.1rem 1.2rem 1rem; }
.svc-grid.compact .svc-card h3 { font-size: 1.08rem; }
/* events overview: before / on the day / after */
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.phase { --accent: var(--brand); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 1.4rem 1rem; }
.phase:nth-child(2) { --accent: var(--sun); }
.phase:nth-child(3) { --accent: var(--coral); }
.phase-n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent); margin: 0 0 .35rem; }
.phase h3 { margin-bottom: .2em; }
.phase-desc { color: var(--muted); font-size: .95rem; }
.phase ul { list-style: none; padding: 0; margin: 0; }
.phase li a { display: block; padding: .75em 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .15s; }
.phase li a:hover { padding-left: .35em; }
.phase li strong { display: block; font-weight: 700; }
.phase li a:hover strong { color: var(--accent); }
.phase li span { display: block; font-size: .9rem; color: var(--muted); margin-top: .15em; }
.section-head .group-link { display: inline-block; margin-top: .4rem; font-weight: 700; }
.group-card ul { list-style: none; padding: 0; margin: 0; }
.group-card li a { display: block; padding: .42em 0; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); transition: color .15s, padding .15s; }
.group-card li:last-child a { border-bottom: 0; }
.group-card li a:hover { color: var(--accent); padding-left: .35em; }
.group-card p { font-size: .93rem; color: var(--muted); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-grid.two { grid-template-columns: repeat(2, 1fr); }
.point-list { display: grid; gap: 1.1rem; }
.point-list div { padding-left: 1.1rem; border-left: 3px solid var(--sun); }
.point-list div:nth-child(3n+2) { border-color: var(--brand); }
.point-list div:nth-child(3n+3) { border-color: var(--coral); }
.point-list h3 { margin-bottom: .2em; font-size: 1.08rem; }
.point-list p { margin: 0; font-size: .95rem; }

/* ---------- clients ---------- */
.clients { padding: 2.2rem 0 2.4rem; border-block: 1px solid var(--line); background: var(--bg-alt); }
.client-logos { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem; padding: 0; margin: 1rem 0 0; }
/* same-size tiles; each logo file is trimmed to its edges, so max sizes keep wide and square marks balanced */
.client-logos li { background: #fff; border-radius: 14px; width: 184px; height: 100px; padding: 0 1.2rem; display: grid; place-items: center; transition: transform .2s; }
.client-logos li:hover { transform: translateY(-3px) rotate(-1.5deg); }
.client-logos img { width: auto; height: auto; max-width: 100%; max-height: 58px; object-fit: contain; }
[data-theme="light"] .client-logos li { background: transparent; padding: 0 .8rem; }
[data-theme="light"] .client-logos img { filter: grayscale(1); opacity: .72; }

/* ---------- portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.work-card a { display: block; text-decoration: none; color: inherit; }
.work-card .thumb { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 10; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.work-card .thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-card a:hover .thumb { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 22px 50px rgba(39, 184, 255, .22); }
.work-card:nth-child(3n+2) a:hover .thumb { transform: translateY(-5px) rotate(.6deg); box-shadow: 0 22px 50px rgba(255, 210, 63, .2); }
.work-card:nth-child(3n+3) a:hover .thumb { box-shadow: 0 22px 50px rgba(255, 90, 69, .22); }
.work-card a:hover img { transform: scale(1.07); }
.play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: var(--sun); box-shadow: 0 8px 26px rgba(0, 0, 0, .4); opacity: 0; transform: scale(.7); transition: opacity .2s, transform .25s; }
.play::after { content: ""; position: absolute; left: 25px; top: 20px; border-left: 17px solid #10131f; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
a:hover .play, .page-hero-media .play { opacity: 1; transform: none; }
.work-meta { padding: .95rem .2rem 0; }
.work-meta h3 { font-size: 1.1rem; margin-bottom: .2em; transition: color .15s; }
.work-card a:hover h3 { color: var(--link-hover); }
.work-meta p { font-size: .82rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.work-card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip { font: inherit; font-size: .92rem; font-weight: 700; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: all .15s; }
.chip span { color: var(--muted); font-weight: 500; margin-left: .25em; }
.chip:hover { border-color: var(--ink); background: var(--brand-tint); }
.chip.is-active { background: var(--sun); border-color: var(--sun); color: #10131f; }
.chip.is-active span { color: rgba(16, 19, 31, .65); }
.work-hero-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.work-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; align-items: start; }
.work-facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.work-facts dl { margin: 0 0 1.2rem; }
.work-facts dt, .contact-side dt, .fact-list dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 800; margin-top: .95rem; }
.work-facts dt:first-child, .contact-side dt:first-child { margin-top: 0; }
.work-facts dd, .contact-side dd, .fact-list dd { margin: .1rem 0 0; color: var(--ink); }
/* "How we made it" steps on a work page */
.workflow { margin: clamp(3rem, 6vw, 5rem) 0 1rem; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.workflow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 5vw, 4rem); counter-reset: none; }
.workflow-step { --accent: var(--brand); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.25rem, 3.5vw, 3rem); align-items: start; }
.workflow-step:nth-child(4n+2) { --accent: var(--sun); }
.workflow-step:nth-child(4n+3) { --accent: var(--coral); }
.workflow-step:nth-child(4n+4) { --accent: var(--violet); }
.workflow-text { position: sticky; top: 96px; padding-left: 1.1rem; border-left: 3px solid var(--accent); }
.workflow-text h3 { margin: 0 0 .5rem; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.workflow-text p { margin: 0; color: var(--muted); }
.workflow-media { display: grid; gap: 14px; align-items: start; }
.workflow-media.count-2 { grid-template-columns: 1fr 1fr; }
.workflow-media.count-3 { grid-template-columns: repeat(3, 1fr); }
.workflow-media figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.workflow-media img, .workflow-media video { display: block; width: 100%; height: auto; }
.workflow-media.count-1 figure.tall { max-width: 420px; }
.workflow-media.count-1 figure.square { max-width: 620px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 2.5rem 0; }
.gallery img { width: 100%; border-radius: var(--radius-sm); background: var(--surface); }
.prev-next { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.prev-next a { text-decoration: none; }

/* ---------- video embed ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; background: #05080f center / cover no-repeat; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); cursor: pointer; outline: 1px solid var(--line); }
.yt + .yt { margin-top: 1.25rem; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt button { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; border: 0; background: var(--sun); cursor: pointer; box-shadow: 0 0 0 0 rgba(255, 210, 63, .55), 0 10px 30px rgba(0, 0, 0, .45); transition: transform .15s; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(255, 210, 63, 0), 0 10px 30px rgba(0, 0, 0, .45); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0), 0 10px 30px rgba(0, 0, 0, .45); } }
.yt button::after { content: ""; position: absolute; left: 36px; top: 29px; border-left: 24px solid #10131f; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.yt:hover button { transform: scale(1.08); }
.yt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.yt-row .yt + .yt { margin-top: 0; }
.prose .yt { margin: 1.5rem 0; }

/* ---------- tables and pricing ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--surface-2); color: var(--brand); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.price-table tbody tr { transition: background .15s; }
.price-table tbody tr:hover { background: var(--brand-tint); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
/* pricing guide: one tbody per service; only the last option row of each service gets a divider */
.price-table tbody.svc-rows th, .price-table tbody.svc-rows td { border-bottom: 0; padding-block: .55rem; }
.price-table tbody.svc-rows tr:first-child > * { padding-top: 1rem; }
.price-table tbody.svc-rows tr:last-child > * { padding-bottom: 1rem; }
.price-table tbody.svc-rows + tbody.svc-rows { border-top: 1px solid var(--line); }
.price-table tbody.svc-rows th { white-space: normal; min-width: 11rem; }
.price-table td.opt { color: var(--ink-2); font-weight: 600; }
.price-table tbody.svc-rows tr:hover { background: none; }
.price-table tbody.svc-rows:hover { background: var(--brand-tint); }
.price-table .price, .price-table td:last-child { font-weight: 700; color: var(--sun); white-space: nowrap; }
[data-theme="light"] .price-table .price, [data-theme="light"] .price-table td:last-child { color: var(--ink); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.7rem; }
.pkg.is-popular { border-color: var(--sun); box-shadow: 0 20px 60px rgba(255, 210, 63, .14); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--sun); color: #10131f; font-size: .74rem; font-weight: 800; padding: .3em .85em; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.pkg h2 { font-size: 1.4rem; margin-bottom: .1em; }
.pkg-tag { color: var(--muted); font-size: .93rem; }
.pkg-price strong { font-size: 2.5rem; color: var(--ink); font-family: var(--font-head); letter-spacing: -.04em; }
.pkg-price span { color: var(--muted); font-size: .92rem; }
.pkg-price .pkg-unit { display: block; margin-top: .1rem; }
@media (min-width: 641px) { .pkg-tag { min-height: 3.4em; } } /* keeps prices level when one tagline wraps */
.pkg-best { font-size: .92rem; color: var(--muted); flex: 1; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.300 6.800 11 12 5.500' fill='none' stroke='%2310131f' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 78% no-repeat; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { --accent: var(--brand); position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .2s, border-color .2s; }
.steps li:nth-child(4n+2) { --accent: var(--sun); }
.steps li:nth-child(4n+3) { --accent: var(--coral); }
.steps li:nth-child(4n+4) { --accent: var(--violet); }
.steps li:hover { transform: translateY(-3px); border-color: var(--accent); }
.steps.compact { grid-template-columns: repeat(6, 1fr); }
.steps.compact li { padding: 1.1rem; }
.steps.compact p { display: none; }
.steps.compact h3 { font-size: 1rem; margin: 0; }
.step-n { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; color: var(--accent); margin-bottom: .7rem; }
.step-n::before { content: "0"; opacity: .45; }
.steps.compact .step-n { font-size: 1.7rem; margin-bottom: .45rem; }
.steps p { font-size: .95rem; margin: 0; color: var(--muted); }
.steps.vertical { grid-template-columns: 1fr; }
.steps.vertical li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1.1rem; }
.steps.vertical p { font-size: 1.02rem; color: var(--ink-2); }

/* ---------- quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { --accent: var(--sun); margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; }
.quote:nth-child(3n+2) { --accent: var(--brand); }
.quote:nth-child(3n+3) { --accent: var(--coral); }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.03rem; color: var(--ink); flex: 1; }
.quote blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 4rem; line-height: .55; color: var(--accent); margin-bottom: .55rem; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote .src { display: inline-block; margin-top: .5rem; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
[data-theme="light"] .quote .src { color: var(--ink); }
/* Google rating strip above the quotes */
.g-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin: 0 0 1.75rem; padding: 1.1rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.g-rating .score { font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.g-rating .stars { color: var(--sun); font-size: 1.35rem; letter-spacing: .12em; line-height: 1; }
[data-theme="light"] .g-rating .stars { color: #e0a100; }
.g-rating p { margin: 0; color: var(--ink-2); }
.g-rating small { display: block; color: var(--muted); font-size: .8rem; }
.g-rating .btn { margin-left: auto; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-bottom: 2rem; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; transition: border-color .2s, background .2s; }
.faq-list details[open] { border-color: var(--brand); background: var(--surface-2); }
.faq-list summary { cursor: pointer; padding: 1.15rem 2.4rem 1.15rem 0; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { display: inline; font-size: 1.07rem; margin: 0; font-family: var(--font); letter-spacing: 0; font-weight: 700; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: .82rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 1.25rem; line-height: 1; transition: transform .25s, background .2s, color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--sun); color: #10131f; }
.faq-list details p { margin: 0 0 1.2rem; }

/* ---------- prose / blog ---------- */
.prose { max-width: 46em; overflow-wrap: break-word; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose figure { margin: 1.5rem 0; max-width: 100%; }
.prose iframe { max-width: 100%; }
.prose h2 { margin-top: 1.6em; font-size: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose img { border-radius: var(--radius-sm); margin: 1.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--surface-2); color: var(--ink); }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 1.2rem; border-left: 4px solid var(--sun); color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.post-card a:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.post-card-body { padding: 1.15rem 1.3rem 1.35rem; }
.post-card time, .post-meta { font-size: .8rem; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.post-meta { color: var(--muted); }
.post-card h2, .post-card h3 { font-size: 1.14rem; margin: .35em 0 .4em; line-height: 1.28; letter-spacing: -.015em; font-weight: 700; }
.post-card p { font-size: .93rem; color: var(--muted); margin: 0; }
.post-hero { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); }
.post-cta { margin-top: 3rem; padding: 1.7rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: var(--radius); }
.post-cta h2 { font-size: 1.35rem; }
.post-cta p { margin: 0; }

/* ---------- about ---------- */
.fact-list { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact-list div { padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { margin-top: 0; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .75rem 0 0; }
.pill-list a { display: block; padding: .55em 1.1em; border: 1.5px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .93rem; color: var(--ink); transition: all .15s; }
.pill-list a:hover { border-color: var(--sun); background: var(--sun); color: #10131f; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field label span { color: var(--coral); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .8em .95em; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field); transition: border-color .15s, box-shadow .15s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field select option { background: var(--field); color: var(--ink); }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 1rem 0 0; }
.form-alert { background: rgba(255, 90, 69, .12); border: 1px solid rgba(255, 90, 69, .5); color: #ffb9ae; border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-size: .95rem; }
[data-theme="light"] .form-alert { background: #fdf0ed; border-color: #f3c2b8; color: #8a2412; }
.form-alert ul { margin: .3rem 0 0; }
.contact-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact-side dl { margin: 0 0 1.5rem; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding: 0; margin: 0; }

/* ---------- CTA band and footer ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #e6ebfa; padding: clamp(3.5rem, 8vw, 7rem) 0; background: #0d1330; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10%; z-index: -1; background: radial-gradient(40% 50% at 15% 30%, rgba(39, 184, 255, .55), transparent 70%), radial-gradient(40% 55% at 85% 20%, rgba(143, 107, 255, .6), transparent 70%), radial-gradient(45% 55% at 60% 95%, rgba(255, 90, 69, .5), transparent 70%); animation: drift 16s ease-in-out infinite alternate; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; font-size: clamp(2.1rem, 5.4vw, 4.2rem); letter-spacing: -.045em; line-height: 1; }
.cta-band p { margin: 0; max-width: 34em; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-primary { background: #ffd23f; color: #10131f; }
.cta-band .btn-primary:hover { background: #fff; color: #10131f; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.site-footer { background: #05080f; color: #9aa7c4; font-size: .93rem; padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(1.6rem, 5vw, 4.5rem); }
.footer-about p { max-width: 34rem; margin: 0; }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-title a { color: inherit; text-decoration: none; }
.footer-about img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-rating { display: inline-block; margin-top: .8rem; color: #fff !important; text-decoration: none; font-weight: 700; }
.footer-rating span { color: #ffd23f; letter-spacing: .08em; margin-right: .35em; }
.footer-title { color: #fff; font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .7rem; }
.site-footer ul + .footer-title { margin-top: 1.4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a, .site-footer address a { color: #9aa7c4; text-decoration: none; display: inline-block; padding: .17em 0; transition: color .15s; }
.site-footer a:hover { color: #ffd23f; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding: 1.25rem 0 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-base p { margin: 0; }
.footer-base a { color: #9aa7c4; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); color: #fff; }

/* ---------- light version: coloured labels fall back to dark text so they stay readable on white ---------- */
[data-theme="light"] .stats li strong, [data-theme="light"] .group-card h3, [data-theme="light"] .steps li .step-n,
[data-theme="light"] .need-card .more, [data-theme="light"] .ind-card .more, [data-theme="light"] .svc-card .more,
[data-theme="light"] .need-card::after, [data-theme="light"] .mega-grid > div .mega-title { color: var(--ink); }
[data-theme="light"] .site-header .logo img { filter: none; }

/* ---------- rise into view while scrolling ----------
   Pure CSS and only in browsers that support scroll-driven animation; everywhere else the content simply shows. */
@keyframes rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .need-card, .ask-card, .svc-card, .ind-card, .group-card, .work-card, .post-card, .steps li, .quote, .pkg, .stats, .faq-list details, .table-wrap {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%;
    }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .group-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .steps.compact { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  /* The menu drops down from the sticky header. It is hidden with display:none so it can never widen the page. */
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 72px); height: calc(100dvh - 72px); background: var(--bg); padding: 1rem 1.25rem 6rem; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); position: relative; }
  .nav > ul > li > a:not(.btn) { padding: 1em .2em; font-size: 1.15rem; border-radius: 0; font-family: var(--font-head); font-weight: 700; }
  .nav > ul > li > a:not(.btn):hover, .nav a[aria-current] { background: none; }
  .nav-cta { border: 0 !important; margin: 1.2rem 0 0; }
  .nav-cta .btn { width: 100%; padding: 1em; }
  .sub-toggle { display: block; position: absolute; right: 0; top: .55rem; width: 48px; height: 44px; background: none; border: 0; cursor: pointer; }
  .sub-toggle::after { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
  .mega { position: static; box-shadow: none; border: 0; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: .25rem 0 1.25rem; width: 100%; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .page-hero-grid, .two-col, .work-body, .contact-grid, .hero-split { grid-template-columns: 1fr; }
  .showreel { max-width: 640px; }
  .g-rating .btn { margin-left: 0; }
  .work-grid, .post-grid, .quote-grid, .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .need-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-media { transform: none; }
  .workflow-step { grid-template-columns: 1fr; }
  .workflow-text { position: static; }
  .phase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .work-grid, .post-grid, .quote-grid, .pkg-grid, .group-grid, .ind-grid, .ind-grid.two, .steps, .need-grid, .yt-row, .field-row, .field-row.three { grid-template-columns: 1fr; }
  .steps.compact { grid-template-columns: repeat(2, 1fr); }
  .steps.vertical li { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .client-logos { gap: .45rem; }
  .client-logos li { width: calc((100% - .9rem) / 3); height: 64px; padding: 0 .55rem; border-radius: 10px; }
  .client-logos img { max-height: 34px; }
  .stats strong { font-size: 2.1rem; }
  .workflow-media.count-3 { grid-template-columns: 1fr 1fr; }
  .workflow-media.count-3 figure.wide:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { --ink: #000; --ink-2: #222; --muted: #444; --bg: #fff; --bg-alt: #fff; --surface: #fff; --surface-2: #fff; --line: #ccc; }
  .site-header, .site-footer, .cta-band, .wa-float, .filters, .hero-glow { display: none; }
}
