/* ==========================================================================
   Aaronson Motion — site styles
   One stylesheet for every page. Mobile-first: base rules target phones,
   min-width media queries layer on tablet / desktop.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --ink: #1e1e1e;            /* header / footer background */
  --ink-2: #2b2b2b;
  --text: #333;
  --muted: #6b6b6b;
  --line: #ddd;
  --paper: #fff;
  --paper-2: #f4f4f4;
  --band: #d4d4d4;           /* UX intro / Navient band grey */

  --blue: #3a64a0;           /* filled buttons and "you are here" (white text sits on it) */
  --blue-light: #4f8fd8;     /* motion trail, links, the bright accent on light backgrounds */
  --blue-logo: #4f7fc0;      /* the logo's mid stroke: "AARONSON" and the tagline on the dark header */
  --blue-pale: #8db8f5;      /* UX feature cards */
  --teal: #84b6c6;
  --rule: #c9d6ea;           /* quiet blue-grey hairline (the old Wix red is retired) */
  --dots: #6aa6f0;           /* dotted dividers between works */
  --mint: #60d7a2;           /* green bar in the AM logo */

  --font-brand: "Questrial", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;             /* page content width */
  --narrow: 760px;           /* reading / video column width */
  --gutter: 16px;
  --radius: 6px;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---- Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-brand);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
/* Reserve each image's space before it loads (from its --ar) so the page doesn't jump;
   once loaded, the image's real proportions take over. */
img[style*="--ar"] { aspect-ratio: auto var(--ar); }
a { color: var(--blue-light); }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.col { max-width: var(--narrow); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

/* ---- Header ------------------------------------------------------------ */
.site-header { background: var(--ink); color: #fff; position: relative; z-index: 50; }
.site-header__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand {
  font-family: var(--font-brand); font-size: 22px; letter-spacing: .02em;
  text-decoration: none; color: #bdbdbd; white-space: nowrap;
}
/* Header logo: hovering anywhere on it brightens both words together:
   AARONSON to the logo's light-stroke blue, MOTION to white, and the MOTION
   letters ripple. Reduced-motion users get the colour change only. */
.brand__a { color: var(--blue-logo); transition: color .25s; }
.brand:hover .brand__a { color: #68aaf4; }
.brand__m { display: inline-block; }
.brand__m span { display: inline-block; transition: color .25s; }
.brand:hover .brand__m span { color: #fff; animation: brand-wave .55s cubic-bezier(.3, .7, .4, 1) both; }
.brand:hover .brand__m span:nth-child(2) { animation-delay: .05s; }
.brand:hover .brand__m span:nth-child(3) { animation-delay: .10s; }
.brand:hover .brand__m span:nth-child(4) { animation-delay: .15s; }
.brand:hover .brand__m span:nth-child(5) { animation-delay: .20s; }
.brand:hover .brand__m span:nth-child(6) { animation-delay: .25s; }
@keyframes brand-wave {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-.28em); }
  65%  { transform: translateY(.05em); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .brand:hover .brand__m span { animation: none; } }
.tagline { display: none; margin: 0; font-size: 14px; letter-spacing: .04em; color: #fff; }
.tagline span { color: var(--blue-logo); border-left: 1px solid #666; padding-left: 6px; margin-left: 4px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid #555; color: #fff; border-radius: 4px;
  padding: 8px 12px; font: 500 13px var(--font-ui); letter-spacing: .08em; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Mobile nav: collapsed panel below the top bar */
.site-nav { display: none; border-top: 1px solid #3a3a3a; padding-bottom: 12px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 4px; color: #fff; text-decoration: none;
  font: 400 15px var(--font-ui); text-transform: uppercase; letter-spacing: .03em;
}
.site-nav a[aria-current="page"], .site-nav .is-active > a { color: var(--blue-light); }
.site-nav .submenu a { text-transform: none; padding: 8px 4px 8px 20px; color: #ccc; font-size: 15px; }
/* Phone menu: Design / About sub-pages fold away behind a chevron (see site.js) */
@media (max-width: 767px) {
  .site-nav .has-submenu { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .site-nav .has-submenu > .submenu { grid-column: 1 / -1; }
  .site-nav.nav-js .has-submenu:not(.is-expanded) > .submenu { display: none; }
  .sub-toggle {
    width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px;
    background: none; border: 0; border-radius: 6px; color: #ccc; cursor: pointer;
  }
  .sub-toggle:hover, .sub-toggle:focus-visible { color: #fff; background: #333; }
  .sub-toggle svg { transition: transform .2s; }
  .is-expanded > .sub-toggle svg { transform: rotate(180deg); }
  .site-nav > ul > li > a { padding-block: 10px; }
}
@media (min-width: 768px) { .sub-toggle { display: none; } }

@media (min-width: 768px) {
  /* Logo and tagline share a baseline (as on Wix); padding keeps the 96px bar height */
  .site-header__top { min-height: 96px; align-items: baseline; padding: 31px 0 17px; border-bottom: 1px solid #3a3a3a; }
  .brand { font-size: 30px; }
  .tagline { display: block; }
  .nav-toggle { display: none; }
  .site-nav { display: block; border-top: 0; padding: 0; }
  /* Menu spread evenly across the bar; the current page is white with a thin blue line under it */
  .site-nav > ul { display: flex; justify-content: space-between; margin-inline: -12px; }
  .site-nav > ul > li { position: relative; }
  .site-nav > ul > li > a { position: relative; padding: 12px; font-size: 14px; line-height: 1.2; color: #bbb; transition: color .2s; }
  .site-nav > ul > li > a[aria-current="page"], .site-nav > ul > .is-active > a { color: #fff; }
  .site-nav > ul > li > a[aria-current="page"]::before, .site-nav > ul > .is-active > a::before {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 1px; background: var(--blue-light);
  }
  /* Design and About show a small arrow that flips while their menu is open */
  .site-nav > ul > li.has-submenu > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 8px; opacity: .7;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s;
  }
  .site-nav > ul > li.has-submenu:focus-within > a::after, .site-nav > ul > li.has-submenu.is-open > a::after { transform: rotate(-135deg) translate(-2px, -2px); }
  /* Dropdowns: hover (mouse), keyboard focus, or .is-open (tap on iPad — see site.js) */
  .submenu {
    position: absolute; top: 100%; left: 0; min-width: max(100%, 220px); padding: 6px 0;
    background: var(--ink); border-top: 3px solid var(--blue); border-radius: 0 0 10px 10px;
    display: none; z-index: 60; box-shadow: 0 14px 30px rgba(0,0,0,.35);
  }
  .site-nav > ul > li:last-child > .submenu { left: auto; right: 0; } /* About opens leftward, staying on screen */
  .has-submenu:focus-within .submenu, .has-submenu.is-open .submenu { display: block; }
  .site-nav .submenu a { color: #ddd; padding: 10px 18px; font: 400 14px var(--font-ui); letter-spacing: .01em; transition: color .15s, background .15s, box-shadow .15s; }
  .site-nav .submenu a[aria-current="page"] { color: #68aaf4; }
}
@media (min-width: 768px) and (hover: hover) {
  .site-nav > ul > li > a:hover { color: #fff; }
  .has-submenu:hover .submenu { display: block; }
  .site-nav > ul > li.has-submenu:hover > a::after { transform: rotate(-135deg) translate(-2px, -2px); }
  .site-nav .submenu a:hover { background: #262626; color: #fff; box-shadow: inset 3px 0 0 var(--blue-light); }
}
@media (min-width: 768px) and (max-width: 899px) {
  .brand { font-size: 24px; }
  .tagline { font-size: 12px; }
  .site-nav > ul > li > a { padding: 12px 8px; font-size: 13px; }
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #bbb; padding-block: 28px 32px; font-size: 12px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
/* keep the sign-off clear of the fixed back-to-top button at the bottom of the page */
.site-footer .footer-brand { margin-right: 60px; }
@media (max-width: 599px) { .site-footer .footer-brand { margin-right: 0; } }
/* The motion trail opens the footer, like the page titles (pale tip on black) */
.site-footer__inner::before {
  content: ""; flex: 0 0 100%; height: 5px; border-radius: 3px; margin-bottom: 4px;
  background:
    linear-gradient(var(--blue-light), var(--blue-light)) 0 0 / 64px 5px no-repeat,
    linear-gradient(var(--mint), var(--mint)) 72px 0 / 28px 5px no-repeat,
    linear-gradient(var(--blue-pale), var(--blue-pale)) 108px 0 / 16px 5px no-repeat;
}
.social { display: flex; gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; }
.social a {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px;
  background: var(--blue); color: #fff; font: 700 11px var(--font-ui); text-decoration: none;
  transition: background .25s, transform .25s cubic-bezier(.3, .7, .4, 1);
}
/* Hover brightens to the logo's light-stroke blue, like the logo hovers */
.social a:hover { background: #68aaf4; transform: translateY(-2px); }
.social a:focus-visible { background: #68aaf4; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social .ico-in { width: 15px; height: 15px; }
.social a[href*="imdb.com"] { font-size: 9px; letter-spacing: -.01em; } /* wordmark, kept clear of the box edges */ /* the LinkedIn glyph runs edge to edge, so a touch smaller to match */
/* Pages that end flush on their content (galleries, About, Resume) get the
   same breathing room before the footer as the others (~64px) */
main:not(.motion-grid) > .wrap:last-child > :is(.rows, .col):last-child { margin-bottom: 64px; }

/* Footer sign-off: the AM mark with the wordmark, linking home */
.footer-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 400 16px var(--font-brand); letter-spacing: .02em; color: #bdbdbd; }
.footer-brand img { height: 18px; width: auto; }
.footer-brand b { font-weight: 400; color: var(--blue-logo); transition: color .25s; }
.footer-brand i { font-style: normal; }
.footer-brand i span { display: inline-block; transition: color .25s; }
/* Hover matches the header logo: both words brighten and MOTION ripples */
.footer-brand:hover b { color: #68aaf4; }
.footer-brand:hover i span { color: #fff; animation: brand-wave .55s cubic-bezier(.3, .7, .4, 1) both; }
.footer-brand:hover i span:nth-child(2) { animation-delay: .05s; }
.footer-brand:hover i span:nth-child(3) { animation-delay: .10s; }
.footer-brand:hover i span:nth-child(4) { animation-delay: .15s; }
.footer-brand:hover i span:nth-child(5) { animation-delay: .20s; }
.footer-brand:hover i span:nth-child(6) { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) { .footer-brand:hover i span { animation: none; } }


/* ---- Page headers and section labels --------------------------------- */
/* Brand accents: blues for text, mint (from the logo) as the one accent colour.
   <header class="page-head"><h1 class="page-title">Motion Design</h1></header>
   = a pale blue band across the window, big left-aligned title, and a
   "motion trail" underline: brand blue, then mint, then a dark-blue tip
   (blues lead and close it out, mint is the accent in between). */
main { overflow-x: clip; } /* lets bands run edge to edge without a sideways scroll */
.page-head { position: relative; isolation: isolate; margin: 0 auto 30px; padding: 40px 0 38px; max-width: var(--head-w, none); }
/* Pages with a narrower centred column set --head-w on the header so the title
   lines up with the content below it (the band still runs edge to edge). */
.motion-grid .page-head { --head-w: 940px; }
@media (min-width: 1200px) { .motion-grid .page-head { --head-w: min(940px, calc(100vw - 400px)); } }
.page-head::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: #e4ecf7; border-bottom: 1px solid #d2deef;
}
/* Phones/iPad: section buttons sit right under the band */
@media (max-width: 1199px) { .page-head:has(+ .jump-nav) { margin-bottom: 10px; } }
.page-title { margin: 0; font: 400 clamp(30px, 4.6vw, 44px)/1.1 var(--font-brand); color: #2c4f80; letter-spacing: .01em; }
.page-title::after {
  content: ""; display: block; width: 124px; height: 5px; margin-top: 14px; border-radius: 3px;
  background:
    linear-gradient(var(--blue-light), var(--blue-light)) 0 0 / 64px 5px no-repeat,
    linear-gradient(var(--mint), var(--mint)) 72px 0 / 28px 5px no-repeat,
    linear-gradient(#2c4f80, #2c4f80) 108px 0 / 16px 5px no-repeat;
}
/* On load the trail draws in, blue then mint then the dark tip; the title
   slides in from the left on the same timing and settles as the trail lands */
@media (prefers-reduced-motion: no-preference) {
  .page-title { animation: title-in .95s cubic-bezier(.22, 1, .36, 1) .1s both; }
  /* the trail sits inside the title, so it cancels the title's slide and only draws on */
  .page-title::after { animation: trail-draw .95s cubic-bezier(.22, 1, .36, 1) .1s both; }
}
@keyframes trail-draw { from { clip-path: inset(0 100% 0 0); transform: translateX(28px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes title-in { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

/* Section label: centred caps with the motion trail either side, mirrored
   (blue next to the word, then mint, then dark blue) */
.rule-label {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 32px 0;
  color: var(--blue); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-align: center;
}
.rule-label::before, .rule-label::after { content: ""; flex: none; width: 57px; height: 4px; }
.rule-label::after {
  background: linear-gradient(var(--blue-light), var(--blue-light)) 0 0 / 26px 4px no-repeat,
              linear-gradient(var(--mint), var(--mint)) 31px 0 / 13px 4px no-repeat,
              linear-gradient(#2c4f80, #2c4f80) 49px 0 / 8px 4px no-repeat;
}
.rule-label::before {
  background: linear-gradient(#2c4f80, #2c4f80) 0 0 / 8px 4px no-repeat,
              linear-gradient(var(--mint), var(--mint)) 13px 0 / 13px 4px no-repeat,
              linear-gradient(var(--blue-light), var(--blue-light)) 31px 0 / 26px 4px no-repeat;
}
/* Scroll-scrubbed reveal (site.js adds .reveal-labels to <html> and sets --trail
   from 0 to 1 on each label): the whole trail draws outward from the word. */
.reveal-labels .rule-label { --trail: 0; }
.reveal-labels .rule-label::after { clip-path: inset(0 calc(57px * (1 - var(--trail))) 0 0); }
.reveal-labels .rule-label::before { clip-path: inset(0 0 0 calc(57px * (1 - var(--trail)))); }
/* ---- Buttons ----------------------------------------------------------- */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border: 2px solid #b9c9e4; border-radius: 10px;
  color: #6a8fc8; text-decoration: none; font: 400 15px var(--font-ui); letter-spacing: .04em;
  text-transform: uppercase; background: #fff; transition: background .2s, color .2s, border-color .2s;
}
@media (hover: hover) { .btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; } }
.btn-outline:active { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-connect { border-radius: 16px; min-width: 140px; }
.btn-solid {
  display: inline-block; background: #1f3554; color: #fff; text-decoration: none; border-radius: 999px;
  padding: 10px 18px; font: 600 14px var(--font-ui); letter-spacing: .02em; transition: background .2s;
}
.btn-solid:hover { background: var(--blue); color: #fff; }

/* ==========================================================================
   Media slots
   Every image/video spot is a "slot". Until the real file or ID is added,
   site.js swaps in a labelled grey placeholder so the layout holds.
   ========================================================================== */
.embed {
  position: relative; width: 100%; aspect-ratio: var(--ratio, 16 / 9);
  background: #000; border: 2px solid #111; overflow: hidden;
}
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--bare { border: 0; }
/* Thumbnail-first embeds: still image + play button until pressed */
.embed__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; margin: 0;
  background: #000; cursor: pointer; display: grid; place-items: center;
}
.embed__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s, transform .4s; }
.embed__poster img.is-loaded { opacity: 1; }
/* Trim a dark edge baked into a provider's thumbnail: style="--trim: 1.05" (zooms from the centre) */
.embed[style*="--trim"] .embed__poster img { scale: var(--trim); }
.embed__play {
  position: relative; width: clamp(44px, 12%, 68px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(20, 20, 20, .72); box-shadow: 0 0 0 2px rgba(255,255,255,.85); transition: background .2s, transform .2s;
}
.embed__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: .5em 0 .5em .85em; border-color: transparent transparent transparent #fff;
  font-size: clamp(12px, 1.6vw, 18px);
}
.embed__poster:hover .embed__play, .embed__poster:focus-visible .embed__play { background: var(--blue); transform: scale(1.08); }
.embed__poster:hover img { transform: scale(1.03); }
.embed__poster:focus-visible { outline: 3px solid var(--blue-light); outline-offset: -3px; }

/* Player that opens under a grid row (data-lite-embeds="stage") */
.stage {
  grid-column: 1 / -1; position: relative; margin: 6px 0 22px; padding: clamp(14px, 2.4vw, 24px);
  background: #1e1e1e; border-radius: 10px; color: #ddd;
}
.stage::before {
  content: ""; position: absolute; top: -11px; left: var(--notch-x, 50%); transform: translateX(-50%);
  border: 12px solid transparent; border-top: 0; border-bottom-color: #1e1e1e; transition: left .3s;
}
.stage--above { margin: 24px 0 18px; } /* room for the notch above the card */
.stage--above::before { top: auto; bottom: -11px; border-bottom: 0; border-top: 12px solid #1e1e1e; }
.stage .embed { margin: 0 auto; border-color: #000; }
.stage__text { max-width: 760px; margin: 14px auto 0; text-align: center; font-family: var(--font-body); }
.stage__text h3 { margin: 0 0 6px; font: 400 18px var(--font-body); color: #fff; }
.stage__text p { margin: 0 0 4px; font-size: 14.5px; font-weight: 300; color: #c8c8c8; }
.stage__close {
  position: absolute; top: 8px; right: 8px; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.stage__close:hover { background: var(--blue); }
/* The card whose video is in the player: its still dims under a navy veil
   with "Now playing" in place of the play button (no outline to crowd the
   player), and its title turns blue. */
.is-staged h3 { color: var(--blue); }
/* The playing card's whole cell gets a soft panel that runs to the player, so
   any space between a short description and the notch reads as part of it */
.stage ~ .is-staged, .is-staged:has(~ .stage) { background: rgba(31, 53, 84, .07); border-radius: 12px; box-shadow: 0 0 0 14px rgba(31, 53, 84, .07); }
.is-staged .embed__poster::after, .is-staged.embed .embed__poster::after {
  content: "Now playing"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(15, 28, 48, .58); color: #fff; font: 500 12px var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
}
.is-staged .embed__play, .is-staged.embed .embed__play { visibility: hidden; }

.slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 100%; min-height: 80px; padding: 12px; text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,.035) 10px 20px),
    #e6e9ee;
  color: #4a5361; font: 12px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-word;
}
.embed .slot { position: absolute; inset: 0; }
img + .slot, .slot--img { aspect-ratio: var(--ar, 4 / 3); height: auto; }
.slot__tag {
  font: 700 10px var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  background: #4a5361; color: #fff; padding: 3px 7px; border-radius: 3px;
}
.slot__tag--vimeo { background: #1a7fb5; }
.slot__tag--youtube { background: #c4302b; }
.slot__tag--figma { background: #7a4fd8; }
.slot__name { font-weight: 700; }
.slot__hint { color: #7a8494; font-size: 11px; }

/* ---- Lightbox (gallery images) ----------------------------------------- */
/* Lightbox: full-window viewer with prev/next, caption and "3 / 17" */
.lightbox {
  border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none;
  display: none; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; color: #ddd;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(10, 16, 26, .92); }
.lightbox__fig { margin: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 0 16px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.lightbox__fig figcaption { display: flex; gap: 16px; align-items: baseline; justify-content: center; flex-wrap: wrap; margin-top: 12px; padding: 0 12px; text-align: center; font: 14px/1.5 var(--font-body); }
.lightbox__note { flex-basis: 100%; max-width: 820px; margin: 2px auto 0; color: #e6eef8; font: italic 300 15px/1.55 var(--font-body); }
.lightbox__note[hidden] { display: none; }
.lightbox__count { color: #8ea3bf; font: 13px var(--font-ui); letter-spacing: .04em; }
.lightbox__close {
  position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: #222; font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox__nav {
  width: 48px; height: 48px; margin: 0 8px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; transition: background .2s;
}
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: var(--blue); }
.lightbox.is-single .lightbox__nav { visibility: hidden; }
/* Storyboards: two full frames side by side */
.lightbox.is-frames .lightbox__fig img { width: min(100%, 1500px); max-height: calc(100vh - 140px); object-fit: contain; }
@media (max-width: 599px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: fixed; bottom: 14px; z-index: 1; margin: 0; }
  .lightbox__nav--prev { left: 14px; }
  .lightbox__nav--next { right: 14px; }
  .lightbox__fig { padding-bottom: 72px; }
}
.gallery img[data-zoomable] { cursor: zoom-in; }

/* ---- Wave dividers (Motion Design section breaks) ---------------------- */
.wave { display: block; width: 100%; height: clamp(30px, 6vw, 70px); margin: 40px 0 24px; }

/* ==========================================================================
   Page: Home
   ========================================================================== */
.home-logo { padding-top: 22px; text-align: center; }
.home-logo .lottie { width: min(220px, 50vw); aspect-ratio: 1; margin: -18px auto -22px; } /* logo renders ~178×150 on desktop (Wix was 258×218) */
.home-logo .slot { width: 100%; height: 100%; }

/* Home intro: main stays hidden until site.js has zoomed it in on the logo.
   If the script never runs, the page appears anyway after 3s. */
html.intro { overflow: hidden; }
html:has(.home-logo) { scrollbar-gutter: stable; } /* no sideways jump when the scrollbar returns */
html.intro #main { opacity: 0; animation: intro-failsafe .01s 3s forwards; }
@keyframes intro-failsafe { to { opacity: 1; } }
/* While zoomed in, only the logo shows (on phones the reel would otherwise peek in below) */
#main .wrap > :not(.home-logo) { transition: opacity .7s ease .2s; }
#main.intro-hold .wrap > :not(.home-logo) { opacity: 0; transition: none; }

/* Services: one row of 4 clickable cards (icon, name, "View work") */
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 20px); max-width: 820px; margin: 0 auto; }
.svc-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(10px, 2vw, 18px) 6px clamp(10px, 2vw, 16px);
  border: 1px solid #e3e7ee; border-radius: 12px; background: #fff; text-decoration: none; color: var(--text); text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc-card img, .svc-card .slot { width: min(110px, 100%); border-radius: 50%; }
.svc-card__name { font: 400 clamp(11px, 2.8vw, 15px)/1.25 var(--font-brand); min-height: 2.5em; display: flex; align-items: center; }
@media (hover: hover) {
  .svc-card:hover { border-color: var(--blue-light); box-shadow: 0 6px 18px rgba(58, 100, 160, .15); transform: translateY(-2px); }
  .svc-card:hover .svc-card__name { color: var(--blue); }
}
.svc-card:active { border-color: var(--blue-light); }

.home-reel { max-width: 1000px; margin: 0 auto; }
/* Services on a light band across the window, like the Motion Design sections */
.home-band { position: relative; isolation: isolate; margin-top: 48px; padding: 36px 0 48px; }
.home-band::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: #f2f5fa; border-top: 1px solid #e3e9f2; border-bottom: 1px solid #e3e9f2;
}
.home-band > .rule-label { margin-top: 0; }
.home-band + .rule-label { margin-top: 44px; }
/* Demo reel on a deep navy stage across the window. Spacing keeps the logo
   artwork centred between the menu bar and the stage (the logo box has a
   negative bottom margin and empty space around the drawing). */
.home-stage { position: relative; isolation: isolate; margin-top: 26px; padding: 34px 0 44px; }
.home-stage::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: #1f3554;
}
.home-stage > .rule-label { margin-top: 0; color: #fff; }
/* On navy the dark-blue tip would vanish, so it turns pale blue here */
.home-stage > .rule-label::after, .sb-stage .rule-label::after {
  background: linear-gradient(var(--blue-light), var(--blue-light)) 0 0 / 26px 4px no-repeat,
              linear-gradient(var(--mint), var(--mint)) 31px 0 / 13px 4px no-repeat,
              linear-gradient(var(--blue-pale), var(--blue-pale)) 49px 0 / 8px 4px no-repeat;
}
.home-stage > .rule-label::before, .sb-stage .rule-label::before {
  background: linear-gradient(var(--blue-pale), var(--blue-pale)) 0 0 / 8px 4px no-repeat,
              linear-gradient(var(--mint), var(--mint)) 13px 0 / 13px 4px no-repeat,
              linear-gradient(var(--blue-light), var(--blue-light)) 31px 0 / 26px 4px no-repeat;
}
.home-stage .home-reel .embed { border-color: rgba(0, 0, 0, .5); }
.home-stage + .home-band { margin-top: 0; }
.home-stage + .home-band::before { border-top: 0; }
.home-reel .embed { border-color: #2c4f80; }

.clients {
  list-style: none; margin: 0 auto; padding: 0; max-width: 880px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 6px; align-items: center;
}
.clients a { display: block; }
/* Every logo file is the same 8:3 canvas, pre-balanced for equal visual weight
   (see README: Client logos), so they all display at the same size. */
.clients img { width: 100%; aspect-ratio: 8 / 3; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
@media (hover: hover) { .clients a:hover img { filter: none; opacity: 1; } }
.clients .slot { min-height: 46px; aspect-ratio: 5 / 2; font-size: 10px; padding: 4px; }
.clients .slot__tag, .clients .slot__hint, .svc-cards .slot__hint { display: none; }
.slot { overflow: hidden; }
@media (min-width: 520px) { .clients { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 3vw, 34px) clamp(6px, 1.6vw, 22px); } }

.connect { display: flex; justify-content: center; padding: 40px 0 56px; border-top: 1px solid #eee; max-width: 420px; margin: 40px auto 0; }

/* ==========================================================================
   Page: Motion Design / VFX — video lists
   ========================================================================== */
.with-jumpnav { position: relative; }
.jump-nav {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96);
  border-bottom: 1px solid #eee; margin: 0 calc(-1 * var(--gutter)) 16px;
  overflow-x: auto; scrollbar-width: none;
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px var(--gutter); white-space: nowrap; }
.jump-nav a {
  display: block; padding: 6px 12px; border: 1px solid #c9d9f1; border-radius: 999px;
  font-size: 13px; color: var(--blue-light); text-decoration: none;
}
.jump-nav a.is-current { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (min-width: 1200px) {
  /* Desktop: dotted list pinned to the right edge, like the old site */
  .jump-nav {
    position: fixed; top: 160px; right: 16px; margin: 0; border: 0; background: none; overflow: visible;
  }
  .jump-nav ul { flex-direction: column; align-items: flex-end; gap: 4px; padding: 0; }
  .jump-nav a { border: 0; padding: 2px 0; font-size: 12px; display: flex; align-items: center; gap: 8px; }
  .jump-nav a::after { content: ""; width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50%; }
  .jump-nav a.is-current { background: none; color: var(--blue); }
  .jump-nav a.is-current::after { background: currentColor; }
}

.work-section { scroll-margin-top: 64px; }
.work {
  padding: 28px 0; border-bottom: 2px dotted var(--dots);
  font-family: var(--font-body);
}
.work:last-child { border-bottom: 0; }
.work h3 { font: 400 17px var(--font-body); color: #111; margin: 18px 0 8px; }
.work p { color: var(--muted); font-weight: 300; font-size: 15.5px; }
.work-stack { display: grid; gap: 20px; }

/* Lee Company: tall video left, everything else to its right (like the Wix layout).
   Phones: title/text across the top, tall video beside the two wide videos. */
.work--split {
  display: grid; gap: 14px 16px; align-items: start;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  grid-template-areas: "text text" "tall wide" "tall main";
  grid-template-rows: auto auto 1fr;
}
.split__tall { grid-area: tall; }
.split__text { grid-area: text; }
.split__wide { grid-area: wide; }
.split__main { grid-area: main; }
.work--split h3 { margin-top: 0; }
.work--split p { margin-bottom: 0; }
@media (min-width: 560px) {
  .work--split {
    column-gap: 24px;
    grid-template-columns: minmax(150px, 30%) minmax(0, 1fr);
    grid-template-areas: "tall text" "tall wide" "tall main";
  }
}

/* Motion Design grid (<main class="motion-grid">): two columns on iPad and up.
   Promos opens with the full-width Lee Company block; everything else sits in
   pairs. Videos show a still until played (data-lite-embeds="stage" in site.js). */
.motion-grid .col { max-width: 940px; }
@media (min-width: 1200px) { .motion-grid .col { max-width: min(940px, calc(100vw - 400px)); } } /* clear the section list on the right */
/* Pairs from 600px: every iPad and sideways phone gets two columns; phones
   held upright (under ~430px) stay one column. */
@media (min-width: 600px) {
  .motion-grid #promos, .motion-grid #logos-titles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .motion-grid .work-section > h2, .motion-grid .work--split { grid-column: 1 / -1; }
  .motion-grid .work-section > .work:not(.work--split) h3 { font-size: 16px; margin-top: 14px; }
  .motion-grid .work-section > .work:not(.work--split) p { font-size: 14.5px; }
  /* last pair: no divider, no extra gap before the wave */
  .motion-grid .work-section > .work:nth-last-child(-n+2 of .work):not(.work--split) { border-bottom: 0; padding-bottom: 0; }
  .motion-grid .work-section > .work:nth-last-child(-n+2 of .work):not(.work--split) > p:last-child { margin-bottom: 0; }
  .motion-grid .work-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
}
@media (min-width: 600px) { .motion-grid .gif-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* 3 x 2 */
/* Sections: space + label, every other one on a light band across the window */
.motion-grid .work-section { padding: 38px 0 56px; }
.motion-grid .work-section:first-of-type { padding-top: 0; }
.motion-grid .work-section > .rule-label { grid-column: 1 / -1; margin: 0 0 32px; }
.motion-grid .work-section:nth-of-type(even) { position: relative; isolation: isolate; }
.motion-grid .work-section:nth-of-type(even)::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: #f2f5fa; border-top: 1px solid #e3e9f2; border-bottom: 1px solid #e3e9f2;
}
.motion-grid .work-section > .work:last-child { padding-bottom: 0; border-bottom: 0; }
.motion-grid .work-section > .work:last-child > p:last-child { margin-bottom: 0; }
@media (min-width: 600px) {
  .motion-grid .work-section > .work { border-bottom: 0; padding: 0 0 40px; }
  .motion-grid .work-section > .work:nth-last-child(-n+2 of .work):not(.work--split) { padding-bottom: 0; }
  .motion-grid .work-section > .work--split { padding-bottom: 48px; }
}
::view-transition-group(*) { animation-duration: .4s; animation-timing-function: cubic-bezier(.3, .7, .3, 1); }
/* Keep the pinned section bar and back-to-top button above cards while they glide */
.motion-grid .jump-nav { view-transition-name: am-jumpnav; }
.to-top { view-transition-name: am-totop; }
::view-transition-group(am-jumpnav), ::view-transition-group(am-totop) { z-index: 100; }

/* GIF grid */
.gif-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 8px 0; }
.gif-grid img, .gif-grid .slot { border: 1px solid #555; border-radius: 3px; width: 100%; }
@media (min-width: 560px) { .gif-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Take-turns GIFs: the still underneath, the playing animation fades in on top */
.gif-turn {
  position: relative; display: block; cursor: pointer; border-radius: 4px;
  outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .35s, transform .35s, box-shadow .35s;
}
.gif-turn.is-turn { outline-color: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(58, 100, 160, .18); }
@media (prefers-reduced-motion: reduce) { .gif-turn.is-turn { transform: none; } }
.gif-turn > img { display: block; }
.gif-turn__anim {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 1px solid #555; border-radius: 3px;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.gif-turn__anim.is-on { opacity: 1; }

/* VFX rows: video and notes side by side from 900px, the video switching
   sides each row; stacked below that. Roles and tools are chips. */
.vfx-rows .vfx { display: grid; gap: 18px 40px; align-items: center; padding: 44px 0; border-bottom: 1px solid #e3e9f2; }
.vfx-rows .vfx:first-child { padding-top: 0; }
.vfx-rows .vfx:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .vfx-rows .vfx { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .vfx-rows .vfx:nth-child(even) .embed { order: 2; }
}
.vfx h3 { font: 400 20px/1.3 var(--font-body); color: #111; margin: 0 0 10px; }
.vfx p { color: var(--muted); font-weight: 300; font-size: 15.5px; margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.chips li { font: 12.5px/1 var(--font-ui); padding: 6px 10px; border-radius: 99px; background: #e9f0f9; color: #2c4f80; }
.chips li.is-tool { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: #555; }

/* ==========================================================================
   Page: Design galleries (2D, 3D, Line Drawings, Fine Art)
   ========================================================================== */
/* Even rows: every image in a row comes out the same height and the row fills
   the width, with nothing cropped. Each item carries its shape as --r
   (width ÷ height, written into the HTML) so rows lay out before images load.
   <div class="rows gallery"> <figure class="card" style="--r: 1.5"> … */
.rows { display: flex; flex-wrap: wrap; gap: 20px; }
.rows > * { flex: var(--r, 1) 1 calc(var(--r, 1) * 150px); min-width: 0; margin: 0; }
@media (min-width: 900px) { .rows > * { flex-basis: calc(var(--r, 1) * 250px); } }
.rows::after { content: ""; flex: 999 1 0; } /* keeps a short last row from stretching */
.rows img {
  display: block; width: 100%; height: auto; border-radius: 6px; background: #fff;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
/* Hover (mouse): the image zooms slightly inside its frame, the card lifts with a
   soft shadow, and a small "expand" icon appears — no outline. */
.rows .card { position: relative; border-radius: 6px; }
.rows .card > img { box-shadow: 0 0 0 1px #e3e7ee; }
@media (hover: hover) and (pointer: fine) {
  .rows .card { overflow: hidden; transition: transform .3s, box-shadow .3s; box-shadow: 0 0 0 1px #e3e7ee; }
  .rows .card > img { box-shadow: none; }
  .rows .card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(31, 53, 84, .2); }
  .rows .card:hover > img { transform: scale(1.045); }
  .rows .card::after {
    content: ""; position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(12, 22, 38, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h5v5M9 20H4v-5M20 4l-6 6M4 20l6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
    opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; pointer-events: none;
  }
  .rows .card:hover::after { opacity: 1; transform: none; }
}
.rows figcaption { padding: 10px 2px 0; font: 400 14px/1.45 var(--font-body); color: #222; }
.rows figcaption small {
  display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: #eef2f8; color: #4a6283;
  font: 500 10.5px var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
}
/* With a mouse: captions sit over the bottom of the image and appear on hover,
   so every gap in the grid is the same 20px. (Touch screens keep them below.) */
@media (hover: hover) and (pointer: fine) {
  .rows figcaption {
    position: absolute; left: 1px; right: 1px; bottom: 1px; padding: 28px 14px 12px; border-radius: 0 0 6px 6px;
    background: linear-gradient(transparent, rgba(12, 22, 38, .82)); color: #fff;
    opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none;
  }
  .rows figcaption small { background: rgba(255, 255, 255, .18); color: #e6eef8; }
  .rows .card:hover figcaption { opacity: 1; transform: none; }
}
figure { margin: 0; }

/* ==========================================================================
   Page: Storyboards
   ========================================================================== */
/* Storyboards: the main storyboard on a deep navy stage (as on Home) */
.sb-stage { position: relative; isolation: isolate; padding: 36px 0 40px; margin-bottom: 8px; }
.sb-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); background: #1f3554;
}
.sb-stage > .wrap > .rule-label { margin-top: 0; color: #fff; }
.sb-intro { max-width: 760px; margin: -14px auto 22px; text-align: center; color: #cfd9e8; font: 300 15px/1.6 var(--font-body); }
/* Storyboard / Finished video switch: segmented control with a sliding pill */
.sb-switch {
  position: relative; display: flex; width: max-content; margin: 0 auto 24px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.sb-switch::before { /* the pill; site.js sets --x and --w to the selected tab */
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0));
  border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .35s cubic-bezier(.3, .7, .2, 1), width .35s cubic-bezier(.3, .7, .2, 1);
}
.sb-switch button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px;
  border: 0; border-radius: 999px; background: none; color: #cfd9e8; cursor: pointer;
  font: 600 13px var(--font-ui); letter-spacing: .03em; transition: color .25s;
}
.sb-switch button:hover { color: #fff; }
.sb-switch button[aria-selected="true"] { color: #1f3554; }
.sb-switch button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.sb-switch svg { width: 15px; height: 15px; fill: currentColor; }
.sb-switch button[aria-selected="true"] svg { fill: var(--blue-light); }
.sb-panel:not([hidden]) { animation: sb-in .35s ease both; }
@keyframes sb-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .sb-switch::before { transition: none; } .sb-panel:not([hidden]) { animation: none; } }
#sb-video { max-width: 1000px; margin: 0 auto; padding-inline: 60px; }
#sb-video .embed { border-radius: 8px; border: 0; }
@media (max-width: 599px) { #sb-video { padding-inline: 0; } }
/* Carousel: one page at a time, round arrows, "3 / 10" and dots underneath */
.carousel { position: relative; max-width: 1000px; margin: 0 auto; padding-inline: 60px; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0;
  scrollbar-width: none; background: #fff; border-radius: 8px; outline-offset: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 100%; scroll-snap-align: start; padding: 16px; }
.carousel__btn {
  position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; transition: background .2s, opacity .2s;
}
.carousel__btn:hover, .carousel__btn:focus-visible { background: var(--blue); }
.carousel__btn:disabled { opacity: .3; cursor: default; background: rgba(255, 255, 255, .14); }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
.carousel__bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.carousel__count { color: #cfd9e8; font: 13px var(--font-ui); letter-spacing: .06em; min-width: 52px; text-align: right; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .3); cursor: pointer; transition: background .2s, transform .2s; }
.carousel__dots button[aria-current="true"] { background: var(--mint); transform: scale(1.25); }
/* "More storyboards": one board per row, large, with its title, frame count and a
   "Step through the board" button beside it (sides alternate on wide screens) */
.sb-list { display: grid; gap: 56px; margin: 4px 0 64px; }
.sb-item { display: grid; gap: 18px 44px; align-items: center; }
@media (min-width: 860px) {
  .sb-item { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .sb-item:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .sb-item:nth-child(even) .sb-item__board { order: 2; }
}
.sb-item__board { margin: 0; }
.sb-item__board img {
  display: block; width: 100%; height: auto; border-radius: 8px; cursor: zoom-in;
  box-shadow: 0 0 0 1px #e3e7ee, 0 8px 22px rgba(31, 53, 84, .12); transition: transform .3s, box-shadow .3s;
}
@media (hover: hover) { .sb-item__board img:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #e3e7ee, 0 16px 32px rgba(31, 53, 84, .2); } }
.sb-item h3 { margin: 0 0 6px; font: 400 clamp(20px, 2.4vw, 26px)/1.25 var(--font-brand); color: #2c4f80; }
.sb-item__meta { margin: 0 0 16px; color: var(--muted); font: 14px var(--font-ui); letter-spacing: .02em; }
.sb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font: 600 14px var(--font-ui); letter-spacing: .02em; transition: background .2s, color .2s, box-shadow .2s;
}
.sb-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sb-cta--full, .sb-cta--step, .sb-cta--video { border: 0; background: #1f3554; color: #fff; }
.sb-cta--full svg, .sb-cta--step svg { stroke: var(--mint); }
.sb-cta--video svg { stroke: none; fill: var(--mint); }
.sb-cta--full:hover, .sb-cta--full:focus-visible, .sb-cta--step:hover, .sb-cta--step:focus-visible,
.sb-cta--video:hover, .sb-cta--video:focus-visible { background: var(--blue); }
.sb-cta--full:hover svg, .sb-cta--step:hover svg { stroke: #fff; }
.sb-cta--video:hover svg { fill: #fff; }
.sb-cta--video[aria-pressed="true"] { background: var(--blue); }
.sb-cta--video .i-stop, .sb-cta--video[aria-pressed="true"] .i-play { display: none; }
.sb-cta--video[aria-pressed="true"] .i-stop { display: block; fill: #fff; }
.sb-item__video .embed { border-radius: 8px; border: 0; }

/* Full-board view with a magnifier lens */
.boardview {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #ddd;
}
.boardview[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.boardview::backdrop { background: rgba(10, 16, 26, .94); }
.boardview__stage { position: relative; max-width: 96vw; max-height: calc(100vh - 90px); }
.boardview__stage img { display: block; max-width: 96vw; max-height: calc(100vh - 90px); width: auto; height: auto; border-radius: 6px; cursor: zoom-in; }
.boardview__lens {
  position: absolute; border-radius: 10px; pointer-events: none; opacity: 0; transform: scale(.96);
  background-repeat: no-repeat; box-shadow: 0 0 0 3px #fff, 0 18px 40px rgba(0, 0, 0, .55);
  transition: opacity .18s, transform .18s, left .18s cubic-bezier(.3, .7, .3, 1), top .18s cubic-bezier(.3, .7, .3, 1),
    background-position .18s cubic-bezier(.3, .7, .3, 1);
}
.boardview__lens.is-on { transform: none; }
.boardview__lens.is-on { opacity: 1; }
.boardview__cap { margin: 12px 0 0; font: 14px var(--font-body); color: #cfd9e8; }
/* touch: the board at full size, drag to pan */
.boardview.is-pan .boardview__stage { overflow: auto; width: 100vw; max-width: 100vw; -webkit-overflow-scrolling: touch; }
.boardview.is-pan .boardview__stage img { max-width: none; max-height: none; width: auto; height: calc(100vh - 110px); cursor: grab; }
.sb-projects { display: grid; gap: 44px; margin: 8px 0 56px; }
.sb-project h3 { margin: 0 0 12px; font: 400 18px var(--font-body); color: #222; text-align: center; }
.sb-project .carousel { max-width: none; padding-inline: 56px; }
.carousel--light .carousel__track > * { padding: 8px; }
.carousel--light .carousel__track { background: #3a3a3a; align-items: center; }
.carousel--light .carousel__track img { width: 100%; height: auto; border-radius: 4px; }
.carousel--light .carousel__btn { background: #e9eef6; color: #1f3554; }
.carousel--light .carousel__btn:hover, .carousel--light .carousel__btn:focus-visible { background: var(--blue); color: #fff; }
.carousel--light .carousel__btn:disabled { background: #e9eef6; }
.carousel--light .carousel__count { color: #6b7a90; }
.carousel--light .carousel__dots button { background: #cfd9e8; }
.carousel--light .carousel__dots button[aria-current="true"] { background: var(--blue); }
@media (max-width: 599px) {
  .carousel { padding-inline: 0; }
  .carousel__btn { top: auto; bottom: -2px; }
  .carousel__bar { min-height: 44px; }
}

/* ==========================================================================
   Page: UX Design (case studies)
   ========================================================================== */
.ux-intro { padding-bottom: 8px; font-family: var(--font-body); }
.ux-intro p { font-size: clamp(16px, 1.8vw, 19px); color: #444; max-width: 72ch; }
.ux-lead { margin: 32px 0 0; font: 400 17px var(--font-brand); color: #2c4f80; }

/* Overview: one card per project, with the kind of work above its name */
.ux-overview { display: grid; gap: 20px; margin: 16px 0 8px; }
@media (min-width: 700px) { .ux-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ux-overview a {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; text-decoration: none; color: #222;
  background: #fff; border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1px #dfe7f2; transition: box-shadow .2s, transform .2s;
}
.ux-overview a:hover { box-shadow: inset 0 0 0 1px var(--blue-light), 0 8px 18px rgba(31, 53, 84, .12); transform: translateY(-2px); }
.ux-overview img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.ux-overview em { display: block; font: 600 11px var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-style: normal; margin-bottom: 4px; }
.ux-overview b { display: block; font: 400 19px var(--font-brand); color: #2c4f80; margin-bottom: 4px; }
.ux-overview span { font: 14px/1.4 var(--font-body); color: var(--muted); }

/* Case studies alternate white and the light band, straight edges */
.case { padding: 48px 0; font-family: var(--font-body); scroll-margin-top: 64px; }
#autoexpreso, #opentoon { background: #f2f5fa; }
/* Case titles: brand font with the motion trail under them, like the page titles */
.case h2 { font: 400 clamp(30px, 4vw, 38px)/1.15 var(--font-brand); color: #2c4f80; margin: 0 0 18px; }
.case h2::after {
  content: ""; display: block; width: 124px; height: 5px; margin-top: 12px; border-radius: 3px;
  background:
    linear-gradient(var(--blue-light), var(--blue-light)) 0 0 / 64px 5px no-repeat,
    linear-gradient(var(--mint), var(--mint)) 72px 0 / 28px 5px no-repeat,
    linear-gradient(#2c4f80, #2c4f80) 108px 0 / 16px 5px no-repeat;
}
.case p { font-size: clamp(16px, 1.7vw, 18px); color: #444; }
.case-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .case-grid { grid-template-columns: 1.6fr 1fr; } }
.phone-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 4vw, 60px); margin-top: 32px; }

/* Sub-headings in the brand font and title blue */
.try h3, .ux-block > h3 { font: 400 clamp(22px, 2.6vw, 26px) var(--font-brand); color: #2c4f80; letter-spacing: .01em; margin: 0 0 18px; }
.try h3 { margin-top: 48px; }
.try-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .try-grid { grid-template-columns: 1fr 1.6fr; align-items: start; } }
/* "Try out the app": white cards, each icon in a brand-blue circle */
.feature-list { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: flex; gap: clamp(14px, 3vw, 22px); align-items: center; background: #fff; color: #444; border-radius: 10px;
  box-shadow: inset 0 0 0 1px #dfe7f2; padding: clamp(14px, 2.2vw, 18px) clamp(16px, 2.6vw, 22px); font-size: 16px; line-height: 1.4;
}
.feature-list svg, .feature-list .feature-icon {
  flex: 0 0 auto; width: 30px; height: 30px; padding: 9px; box-sizing: content-box; border-radius: 50%; background: #68aaf4;
}
.feature-list svg { stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-list svg[viewBox="0 0 24 24"] { stroke-width: 1.5; } /* gear is drawn on a smaller grid */
.feature-list .feature-icon { object-fit: contain; } /* gondola: the Wix drawing, white on transparent */

.ux-block { border-top: 1px solid #e3e9f2; padding-top: 36px; margin-top: 48px; }

/* UX slides and diagrams shown as images */
.ux-slide { margin: 24px 0 0; }
.ux-slide img { width: 100%; border: 1px solid #e3e3e3; }
.ux-carousel figure { margin: 0; }
.ux-carousel img { width: 100%; border: 1px solid #e3e9f2; }
/* Design process diagram (image) */
.process-diagram { max-width: 900px; margin: 24px auto 0; }
.process-diagram img { width: 100%; }

/* ==========================================================================
   Page: About / Now / Resume
   ========================================================================== */
.about { display: grid; gap: 20px; font-family: var(--font-brand); }
.about__photo { position: relative; width: 140px; }
.about__photo .badge {
  position: absolute; right: -8px; bottom: -8px; width: 26px; height: 26px; background: #0a66c2; color: #fff;
  display: grid; place-items: center; font: 700 15px var(--font-ui); text-decoration: none; border-radius: 2px;
}
.about__bio h2 { font: 700 13px var(--font-ui); margin: 0 0 6px; }
.about__bio p { font-size: 15.5px; line-height: 1.75; color: #444; }
@media (min-width: 760px) { .about { grid-template-columns: 140px 1fr; gap: 24px; } }

.stat-card {
  margin: 24px auto 0; max-width: 760px; padding: clamp(16px, 4vw, 32px);
  border: 3px solid #2c4f80; border-radius: 28px;
  background: #efe7d6 url("../assets/images/about/paper-texture.jpg") center / cover; /* colour shows until the texture is added */
  font-family: "Avenir Next", var(--font-brand);
}
.stat-card__head { display: grid; gap: 16px; align-items: center; }
@media (min-width: 560px) { .stat-card__head { grid-template-columns: 140px 1fr; gap: 24px; } }
.stat-card__head h3 { font: 600 clamp(18px, 2.5vw, 22px) var(--font-body); color: #2c4f80; }
.stat-card__head p { font-size: 13px; color: #555; margin: 0 0 4px; }
.stat-card table { width: 100%; border-collapse: collapse; margin-top: 16px; font: 12px var(--font-ui); color: #fff; }
.stat-card th { background: #4f74ab; text-align: left; padding: 8px 10px; }
.stat-card td { background: #8ba3c4; padding: 8px 10px; border-top: 2px solid #efe7d6; }
.stat-card td:first-child, .stat-card th:first-child { width: 22%; }
.stat-card td:nth-child(2) { white-space: nowrap; width: 12%; }
.stat-card td:last-child { font-style: italic; }
@media (max-width: 520px) { .stat-card td:last-child { font-size: 11px; } }

.now-hero { background: var(--ink-2); color: #fff; text-align: center; padding: 28px 16px 20px; }
.now-hero h1 { font: 700 clamp(26px, 5vw, 38px) var(--font-brand); margin: 0 0 8px; }
.now-hero span { font-size: 40px; line-height: 1; }
.now h2 { font: 400 20px var(--font-ui); color: var(--blue); margin: 32px 0 12px; }
.now p { font: 15px/1.9 "Avenir Next", var(--font-body); color: #333; }
.now-foot { border-top: 1px solid var(--line); padding: 16px 0 24px; font-size: 14px; }

/* Resume text uses Carlito, a free metric-compatible match for Calibri (the font in the CV PDF/DOCX) */
.resume { --font-cv: "Carlito", Calibri, "Segoe UI", Arial, sans-serif; font: 14.5px/1.7 var(--font-cv); color: #222; }
.resume__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.resume__head h2 { font: 700 17px var(--font-cv); margin: 0; }
.resume__head h2 span { font-weight: 400; color: var(--blue); }
.resume__tagline { margin: 2px 0 6px; color: var(--muted); font-size: 14.5px; }
.downloads { text-align: center; font: 700 15px var(--font-ui); }
.downloads a { color: #222; }
.downloads ul { display: flex; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.downloads li a {
  display: grid; place-items: center; width: 36px; height: 44px; border: 1px solid #999; border-radius: 2px;
  font: 700 9px var(--font-ui); text-decoration: none; color: #666; background: #fff;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.downloads > a { text-decoration: underline; transition: color .18s; }
/* Hover (mouse), keyboard focus, and tap (touch) all get the same "active" look */
@media (hover: hover) {
  .downloads li a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(58, 100, 160, .3); }
  .downloads > a:hover { color: var(--blue); }
}
.downloads li a:focus-visible, .downloads li a:active { background: var(--blue); border-color: var(--blue); color: #fff; }
.downloads > a:focus-visible, .downloads > a:active { color: var(--blue); }
@media (pointer: coarse) { .downloads ul { gap: 12px; } .downloads li a { width: 40px; height: 48px; } }
.resume section { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 24px; }
.resume p { margin: 0 0 6px; }
.resume h3 { font: 700 14.5px var(--font-cv); text-decoration: underline; margin: 0 0 14px; letter-spacing: .02em; }
.resume h4 { font: 400 14.5px/1.5 var(--font-cv); margin: 22px 0 2px; text-transform: uppercase; letter-spacing: .02em; }
.resume section > h4:first-of-type { margin-top: 0; }
.resume h5 { font: 700 14.5px/1.5 var(--font-cv); margin: 0 0 6px; }
.resume h5 span { font-weight: 400; }
.resume ul { margin: 4px 0 0; padding-left: 0; list-style: none; }
.resume section li { margin-bottom: 6px; padding-left: .9em; text-indent: -.9em; } /* hanging indent under the dash */
.resume li::before { content: "- "; }
.resume .downloads li::before { content: none; }
.skills { display: grid; gap: 20px; }
.skills h4 { text-transform: none; text-decoration: underline; font-weight: 700; margin: 0; }
.skills ul { columns: 2; column-gap: 20px; margin-top: 4px; }
.skills li { break-inside: avoid; padding-left: 0; text-indent: 0; margin-bottom: 3px; }
.skills li::before { content: none; }
@media (min-width: 640px) { .skills ul { columns: 3; } }


/* ==========================================================================
   Refresh (2026-10-17): About, Now, Resume and the Design hub
   ========================================================================== */
/* About */
.about{font-family:var(--font-body)}
@media (min-width:760px){.about{grid-template-columns:240px 1fr;gap:44px}
}
.about__photo{width:auto;max-width:240px}
.about__photo img{border-radius:14px;box-shadow:0 10px 24px rgba(31,53,84,.15)}
.about__links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.about__li{background:#fff;color:#1f3554;box-shadow:inset 0 0 0 1.5px #c9d6ea;text-decoration:none}
.about__li:hover{box-shadow:inset 0 0 0 1.5px var(--blue);color:var(--blue)}
.about__links .sb-cta--full{text-decoration:none}
.about__bio h2{font:400 22px var(--font-brand);color:#2c4f80;margin:0 0 14px}
.about__bio p{font:400 17px/1.75 var(--font-body);color:#444}
.about__mark{max-width:170px;margin:28px auto 0}
@media (max-width:759px){.about__mark{display:none}
}
.about__rule{border:0;border-top:1px solid #e3e9f2;margin:48px 0 28px}
.col:has(> .about) > p{font-family:var(--font-body)}
.stat-card{border:2px solid #2c4f80;border-radius:18px}
.stat-card th{background:#2c4f80}
.stat-card td{background:#eaf1fa;color:#1f3554;border-top:0}
.stat-card tbody tr:nth-child(even) td{background:#d3e1f2}
/* Now */
.now-sub{font:400 18px var(--font-brand);color:#2c4f80;margin:4px 0 0}
.now-sub span{font:13px var(--font-ui);color:var(--muted);letter-spacing:.02em}
.now h2{font:400 22px var(--font-brand);color:#2c4f80;margin:40px 0 12px}
.now p{font:400 17px/1.75 var(--font-body);color:#444}
.now-foot{border-top:1px solid #e3e9f2;color:var(--muted);font-family:var(--font-body)}
/* Resume */
.resume{--font-cv:var(--font-body);font:15.5px/1.7 var(--font-body);color:#444}
.resume__head{align-items:flex-start}
.resume__head h2{font:400 26px/1.25 var(--font-brand);color:#2c4f80}
.resume__head h2 span{display:block;font-size:18px;color:#444}
.resume__tagline{font-family:var(--font-body);margin:6px 0 10px}
.cv-downloads{display:flex;gap:10px;flex-wrap:wrap}
.cv-downloads a{text-decoration:none}
.cv-word{background:#fff;color:#1f3554;box-shadow:inset 0 0 0 1.5px #c9d6ea}
.cv-word:hover{box-shadow:inset 0 0 0 1.5px var(--blue);color:var(--blue)}
.resume section{border-top:1px solid #e3e9f2;padding-top:28px;margin-top:32px}
.resume h3{font:400 13px var(--font-ui);letter-spacing:.14em;text-decoration:none;color:#2c4f80;margin:0 0 18px;display:flex;align-items:center;gap:12px}
.resume h3::after{content:"";width:57px;height:4px;flex:0 0 auto;background:linear-gradient(var(--blue-light),var(--blue-light)) 0 0/26px 4px no-repeat,linear-gradient(var(--mint),var(--mint)) 31px 0/13px 4px no-repeat,linear-gradient(#2c4f80,#2c4f80) 49px 0/8px 4px no-repeat}
.resume h4{font:600 14px/1.5 var(--font-ui);letter-spacing:.04em;color:#222;margin-top:26px}
.resume h5{font:400 17px/1.5 var(--font-brand);color:#2c4f80}
.resume h5 span{color:var(--muted);font-family:var(--font-body);font-size:15px}
.resume li::before{content:"–  ";color:var(--blue-light)}
.skills li::before{content:none}
.skills h4{text-decoration:none;font:400 17px var(--font-brand);color:#2c4f80}
/* Design hub */
.design-grid a img{border-radius:10px}
.design-grid__label{font:400 18px var(--font-brand)!important;color:#2c4f80}
.design-grid__sub{display:block;text-align:center;margin-top:10px;font:14px var(--font-body);color:var(--muted)}

/* ---- 404 --------------------------------------------------------------- */
.not-found { text-align: center; padding: 0 0 80px; }
.not-found .page-title::after { margin-inline: auto; }

/* ---- Small shared helpers --------------------------------------------- */
.split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 2fr; } }
.btn-block { display: block; text-align: center; }
.ux-h4 { font: 400 20px var(--font-brand); color: #2c4f80; }

/* ---- Touch devices (phones, iPad) ------------------------------------- */
/* Bigger tap targets (~44px) wherever the pointer is a finger. */
/* ---- Back-to-top button (added by site.js on every page) ---------------- */
/* Anchor jumps land below the pinned section bar instead of under it */
html:has(.jump-nav) { scroll-padding-top: 64px; }
@media (min-width: 1200px) { html:has(.jump-nav) { scroll-padding-top: 16px; } }
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40; width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-visible { opacity: .9; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
@media (hover: hover) {
  .to-top:hover { background: var(--blue); opacity: 1; }
  .to-top:hover svg { animation: to-top-nudge .5s ease; }
}
@keyframes to-top-nudge { 40% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s, visibility .2s; transform: none; } .to-top:hover svg { animation: none; } }

@media (pointer: coarse) {
  html { -webkit-tap-highlight-color: rgba(79, 143, 216, .2); }
  .social { gap: 12px; }
  .social a { width: 40px; height: 40px; }
  .social svg { width: 20px; height: 20px; }
  .social .ico-in { width: 19px; height: 19px; }
  .social a[href*="imdb.com"] { font-size: 12px; }
  .footer-brand { padding-block: 10px; }
  .site-nav .submenu a { padding-block: 12px; }
  .jump-nav a { padding: 10px 14px; }
}
@media (pointer: coarse) and (min-width: 1200px) {
  .jump-nav a { padding: 8px 0; font-size: 13px; }
}

/* ---- Tablet (iPad portrait ~768–1023px) ------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .ux-intro p, .case p { font-size: 17px; }
}
/* Figma prototype frames: light grey border like Figma's own embed code */
.embed--figma { background: #f5f5f5; border: 6px solid rgba(0, 0, 0, .1); }
.try-grid .embed--figma { max-width: 600px; margin-inline: auto; }

/* ==========================================================================
   Page: Design (landing grid of six sections)
   ========================================================================== */
.design-grid {
  list-style: none; margin: 32px auto 56px; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: 1fr; gap: 36px clamp(24px, 4vw, 48px);
}
.design-grid a { display: block; text-decoration: none; color: var(--blue); }
.design-grid__label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font: 400 14px var(--font-brand);
}
.design-grid__label::before, .design-grid__label::after { content: ""; flex: 1; height: 1px; background: var(--rule); transition: background .25s; }
.design-grid img, .design-grid .slot {
  width: 100%; aspect-ratio: 8 / 5; object-fit: cover;
  border: 1px solid #999; border-radius: 4px; transition: transform .25s, box-shadow .25s;
}
@media (hover: hover) {
  .design-grid a:hover img { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
  .design-grid a:hover .design-grid__label { font-weight: 700; }
  .design-grid a:hover .design-grid__label::before, .design-grid a:hover .design-grid__label::after { background: var(--blue-light); }
}
@media (min-width: 560px) { .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .design-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; } }
