@charset "utf-8";
/* Brand Recall home page. Layout, type scale and motion follow shobizexperience.com. */

:root {
  /* Brand green on black. Add data-accent="orange" to <html> for the reference site's orange. */
  --accent: #7ed321;
  --on-accent: #0b2400;
  --on-accent-strong: #000;
  --accent-soft: #c9f58d;
  --rule: #2a6a14;
  --rule-soft: #1b430d;
  --sep: #35a81d;
  --grey: #808285;
  --grey-light: #939598;
  --line: #2e2e2e;
  --header-h: 92px;
  /* Spacing scales with the screen: room between sections, under titles, and between tiles. */
  --section-space: clamp(5rem, 14vw, 15rem);
  --title-space: clamp(28px, 3.6vw, 70px);
  --gap: clamp(12px, 2.8vw, 44px);
  --edge: 6%;
}

:root[data-accent="orange"] {
  --accent: #f7931e;
  --on-accent: #000;
  --on-accent-strong: #fff;
  --accent-soft: #c5a32e;
  --rule: #730d01;
  --rule-soft: #470e07;
  --sep: #ff040a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Archivo', Arial, sans-serif;
  font-stretch: 118%;
  font-weight: 400;
  line-height: 1.4;
  font-synthesis: none;
  overflow-x: hidden;
}

body._lock { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--accent); color: var(--on-accent-strong); transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrapper { position: relative; width: 100%; overflow: hidden; overflow: clip; }
.container { padding-left: var(--edge); padding-right: var(--edge); }
.page { position: relative; }
.page > section { position: relative; z-index: 1; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------------- Header ---------------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 997; height: var(--header-h); transition: all .5s; }
/* The blur sits on a pseudo-element: on the header itself it would trap the fixed phone menu inside the bar. */
.header::before { content: ''; position: absolute; inset: 0; z-index: -1; background-color: rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header__container { height: 100%; padding: 0 var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { position: relative; z-index: 9; flex: none; }
.logo img { width: auto; height: 46px; transition: all .5s; }

.menu__icon { display: none; }
.menu__list { display: flex; align-items: center; }
.menu__list > li { margin-left: 40px; text-transform: uppercase; }
.menu__list > li:first-child { margin-left: 0; }
.menu__link { position: relative; padding: 6px 0; font-size: clamp(.75rem, 1.05vw, 2rem); color: #fff; }
.menu__link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .3s ease; }
.menu__link:hover::after, .menu__link:focus-visible::after { width: 100%; }

.header__cta { flex: none; padding: .7em 1.3em; border: 1px solid var(--accent); color: var(--accent); font-size: clamp(.72rem, .95vw, 1.7rem); font-weight: 500; text-transform: uppercase; white-space: nowrap; transition: background .3s ease, color .3s ease; }
.header__cta:hover { background: var(--accent); color: var(--on-accent-strong); }
.header__cta--menu { display: none; }

/* ---------------- Banner ---------------- */
#banner { z-index: 1; }
.banner__video { width: 100%; aspect-ratio: 16 / 9; max-height: 100vh; max-height: 100svh; object-fit: cover; background: #000; }
.banner__shadow { position: absolute; left: 0; right: 0; bottom: -1px; height: 13vw; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); pointer-events: none; }

.scroll-down { position: absolute; left: 50%; bottom: 6%; z-index: 3; width: 40px; height: 40px; margin-left: -20px; display: grid; place-items: center; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); animation: jump-arrow 2.5s infinite; }
.scroll-down svg { width: 21px; height: 21px; fill: currentColor; }
.scroll-down:hover { color: #fff; border-color: #fff; }

@keyframes jump-arrow {
  0%, 20%, 55%, 80%, 100% { transform: translate3d(0, 0, 0); }
  40% { transform: translate3d(0, -15px, 0); }
  70% { transform: translate3d(0, -10px, 0); }
  90% { transform: translate3d(0, -5px, 0); }
}

/* ---------------- Decorative shapes ---------------- */
.bg-shape { position: absolute; z-index: 0; pointer-events: none; }
.bg-shape svg { width: 100%; height: auto; }
.bg-shape stop { stop-color: var(--accent); }
.bg-shape--arc { width: 220px; right: 0; top: 21%; opacity: .5; }
.bg-shape--ring { width: 200px; left: -116px; top: 15%; opacity: .4; }
/* Flipped so the open side of the ring is off screen and only its curve shows. */
.bg-shape--ring svg { transform: scaleX(-1); }
.bg-shape--halves { width: 250px; left: 0; top: 55%; opacity: .4; }
.bg-shape--flower { width: 210px; right: 0; top: 58%; opacity: .38; }
.bg-shape--star { width: clamp(110px, 12vw, 230px); right: var(--edge); top: calc(var(--section-space) - 40px); opacity: .3; }
#contact .container { position: relative; z-index: 1; }

/* ---------------- Section titles ---------------- */
.page-title { position: relative; margin-bottom: var(--title-space); }
.page-title h1, .page-title h2 { margin-bottom: clamp(12px, 1.5vw, 28px); font-weight: 800; font-stretch: 125%; font-size: clamp(1.5rem, 3.55vw, 6.8rem); line-height: 1.1; color: var(--accent); }
.page-title__lead { font-weight: 300; font-size: clamp(1.05rem, 2vw, 5rem); line-height: 1.38; color: var(--grey); }
.page-title__lead span { color: #fff; }
.page-title__kicker { font-weight: 300; font-size: clamp(1rem, 2.15vw, 4rem); line-height: 1.35; color: #fff; }
.title-rule { padding-bottom: clamp(22px, 2.6vw, 48px); border-bottom: 1px solid var(--rule); }
.tagline-mark { position: absolute; right: 0; bottom: clamp(24px, 2.8vw, 52px); text-align: right; font-weight: 800; font-stretch: 125%; font-size: clamp(1rem, 1.95vw, 3.6rem); line-height: 1.16; text-transform: uppercase; color: #fff; }
.tagline-mark i { font-style: normal; color: var(--accent); }

/* Underline that draws itself once the text is on screen. */
.element { display: inline-block; position: relative; }
.element::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: var(--accent); }
.element.aos-animate::after, html:not(.js) .element::after { animation: expand 3s forwards; }
@keyframes expand { to { width: 100%; } }

/* ---------------- We Are ---------------- */
#we-are { padding-top: clamp(3.5rem, 10vw, 11rem); }
.sub-title { margin: clamp(2.6rem, 6vw, 7rem) 0 clamp(28px, 3.4vw, 64px); font-weight: 300; font-size: clamp(1.2rem, 2.9vw, 5rem); line-height: 1.3; color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background-color: #000; }
.our-work { display: flex; align-items: center; justify-content: center; min-height: clamp(150px, 13.5vw, 340px); padding: clamp(28px, 3vw, 70px) clamp(14px, 1.6vw, 36px); text-align: center; color: var(--tile-ink, #fff); }
.work-wrap { width: 100%; }
.our-work h3 { margin: clamp(8px, .8vw, 18px) 0; font-weight: 800; font-stretch: 125%; font-size: clamp(1.5rem, 2.2vw, 6.4rem); line-height: 1; color: var(--tile-strong, #fff); font-variant-numeric: tabular-nums; }
.our-work h3.our-work__phrase { font-size: clamp(1.05rem, 1.5vw, 4.2rem); line-height: 1.12; }
.our-work p { font-weight: 300; font-size: clamp(.75rem, .95vw, 2.3rem); line-height: 1.5; }

.craft-list { display: flex; justify-content: center; gap: clamp(8px, 1.2vw, 32px); }
.craft-list li { display: grid; justify-items: center; gap: 10px; font-weight: 500; font-size: clamp(.54rem, .62vw, 1.4rem); letter-spacing: .02em; text-transform: uppercase; }
.craft-list svg { width: clamp(38px, 3.2vw, 90px); height: clamp(38px, 3.2vw, 90px); padding: clamp(9px, .75vw, 22px); border-radius: 50%; background: #fff; fill: none; stroke: #000; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- Work ---------------- */
#work { padding-top: var(--section-space); }
.intro-text { margin-bottom: clamp(2.5rem, 6vw, 120px); font-weight: 300; font-stretch: 125%; font-size: clamp(.82rem, 1.6vw, 3.8rem); line-height: 1.75; color: var(--grey-light); }
.intro-text strong { font-weight: 700; font-stretch: 118%; font-size: clamp(1.05rem, 2.5vw, 6rem); line-height: 1.35; color: var(--accent); }
.intro-text strong.intro-text__quiet { color: var(--grey-light); }

.mosaic { display: grid; gap: var(--gap); }
.mosaic__split { display: grid; grid-template-columns: 58fr 42fr; gap: var(--gap); }
.mosaic__left { display: grid; gap: var(--gap); align-content: start; }

.video-wrap { position: relative; display: block; width: 100%; overflow: hidden; border: 1px solid #484848; background: #111; text-align: left; }
.video-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out, filter .3s ease-in-out, opacity .3s ease-in-out; }
.video-wrap--wide { aspect-ratio: 2 / 1; }
.video-wrap--end { aspect-ratio: 16 / 9; }
.video-wrap--a { aspect-ratio: 1297 / 680; }
.video-wrap--b { aspect-ratio: 1044 / 525; }
.video-wrap--tall img { position: absolute; inset: 0; }
.video-wrap:hover img, .video-wrap:focus-visible img { opacity: .8; transform: scale(1.07); filter: grayscale(100%); }

.video-wrap__play { position: absolute; top: 50%; left: 50%; width: clamp(42px, 5.2vw, 120px); height: clamp(42px, 5.2vw, 120px); fill: #e9e9e9; filter: drop-shadow(0 0 5px rgba(0, 0, 0, .35)); transform: translate(-50%, -50%) scale(0); transition: transform .3s cubic-bezier(.6, -.28, .735, .045); pointer-events: none; }
.video-wrap:hover .video-wrap__play, .video-wrap:focus-visible .video-wrap__play { transform: translate(-50%, -50%) scale(1); transition: transform .3s .1s cubic-bezier(.175, .885, .32, 1.275); }

.video-wrap__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(26px, 4vw, 80px) clamp(12px, 1.6vw, 36px) clamp(10px, 1.1vw, 26px); background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); font-weight: 300; font-size: clamp(.6rem, .85vw, 1.7rem); line-height: 1.45; color: #e6e6e6; pointer-events: none; transition: opacity .3s ease-in-out, transform .3s ease-in-out; }
.video-wrap__caption b { display: block; font-weight: 700; font-stretch: 122%; font-size: 1.35em; color: #fff; text-transform: uppercase; }

/* ---------------- Expertise ---------------- */
#expertise { padding-top: var(--section-space); }
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.division-col { position: relative; display: block; width: 100%; aspect-ratio: 959 / 540; overflow: hidden; border: 1px solid var(--line); background: #111; }
.division-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.division-col .division-col__img--sony { object-position: 50% 76%; }
.division-col::before { content: ''; position: absolute; inset: 0; z-index: 1; background-color: rgba(0, 0, 0, .6); transition: background-color .3s ease-in-out; }
.division-col:hover img, .division-col:focus-visible img { transform: scale(1.05); }
.division-col:hover::before, .division-col:focus-visible::before { background-color: rgba(0, 0, 0, .74); }

.division-col__name { position: absolute; z-index: 2; left: 4%; right: 4%; top: 50%; transform: translateY(-50%); font-weight: 800; font-stretch: 125%; font-size: clamp(1.35rem, 3.3vw, 6.6rem); line-height: 1; text-align: center; text-transform: uppercase; color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, .65); transition: transform .35s ease; }
.division-col__tag { position: absolute; z-index: 2; left: 5%; top: 8%; font-weight: 500; font-size: clamp(.6rem, .8vw, 1.6rem); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.division-col__copy { position: absolute; z-index: 2; left: 12%; right: 12%; top: 50%; font-weight: 300; font-size: clamp(.72rem, 1.05vw, 2.1rem); line-height: 1.6; text-align: center; color: #fff; opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.division-col__play { position: absolute; z-index: 2; left: 50%; bottom: 9%; width: clamp(34px, 3.4vw, 84px); height: clamp(34px, 3.4vw, 84px); margin-left: calc(clamp(34px, 3.4vw, 84px) / -2); fill: #fff; transform: scale(0); transition: transform .3s cubic-bezier(.6, -.28, .735, .045); }

@media (hover: hover) {
  .video-wrap__caption { opacity: 0; transform: translateY(12px); }
  .video-wrap:hover .video-wrap__caption, .video-wrap:focus-visible .video-wrap__caption { opacity: 1; transform: none; }
  .division-col:hover .division-col__name, .division-col:focus-visible .division-col__name { transform: translateY(-135%); }
  .division-col:hover .division-col__copy, .division-col:focus-visible .division-col__copy { opacity: 1; transform: none; }
  .division-col:hover .division-col__play, .division-col:focus-visible .division-col__play { transform: scale(1); transition: transform .3s .1s cubic-bezier(.175, .885, .32, 1.275); }
}

/* Touch screens have no hover, so the play icons stay visible. */
@media (hover: none) {
  .video-wrap__play { top: clamp(8px, 1.4vw, 18px); left: auto; right: clamp(8px, 1.4vw, 18px); width: clamp(24px, 4vw, 44px); height: clamp(24px, 4vw, 44px); transform: none; opacity: .92; }
  .division-col__copy { display: none; }
  .division-col__play { left: auto; right: 4%; bottom: 7%; margin-left: 0; transform: scale(1); }
}

/* ---------------- Clients ---------------- */
#clients { padding-top: var(--section-space); }
.client-slide { position: relative; isolation: isolate; display: grid; grid-template-columns: 40% 1fr; align-items: center; aspect-ratio: 2122 / 854; min-height: 440px; overflow: hidden; }
.client-slide__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background-color: #050505; }
.client-slide__bg::before { content: ''; position: absolute; inset: -6% -8%; background: url("../media/stills/stage.webp") center / cover no-repeat; filter: blur(7px) saturate(.75); opacity: .6; }
.client-slide__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .8) 46%, rgba(0, 0, 0, .93) 100%); background: radial-gradient(55% 85% at 20% 50%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 72%), linear-gradient(100deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .8) 46%, rgba(0, 0, 0, .93) 100%); }

.client-slide__badges { position: relative; justify-self: center; width: min(60%, 460px); aspect-ratio: 1; pointer-events: none; }
.client-badge { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 clamp(4px, .5vw, 12px) var(--accent), 0 0 0 calc(clamp(4px, .5vw, 12px) + 2px) rgba(255, 255, 255, .55), 0 0 90px rgba(0, 0, 0, .6); opacity: 0; transform: translateX(-130px); transition: all .3s; }
.client-badge.active { opacity: 1; transform: none; transition-delay: .3s; }
.client-badge img { width: 70%; height: auto; max-height: 50%; object-fit: contain; }

.client-slide__panels { display: grid; align-self: center; padding: 0 11% 0 5%; }
.client-panel { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.client-panel[hidden] { display: none; }
.client-panel.active { opacity: 1; visibility: visible; transition: opacity .4s; }
.client-panel > * { opacity: 0; transform: translateY(55px); transition: opacity .5s, transform .5s; }
.client-panel.active > * { opacity: 1; transform: none; }
.client-panel.active > *:nth-child(2) { transition-delay: .2s; }
.client-panel.active > *:nth-child(3) { transition-delay: .4s; }
.client-panel.active > *:nth-child(4) { transition-delay: .6s; }
.client-panel.active > *:nth-child(5) { transition-delay: .8s; }

.client-panel__title { margin-bottom: .6em; font-weight: 700; font-stretch: 108%; font-size: clamp(1.4rem, 3vw, 5.5rem); line-height: 1; letter-spacing: 1px; }
.client-panel__label { margin-top: clamp(12px, 1.3vw, 30px); font-weight: 800; font-stretch: 122%; font-style: italic; font-size: clamp(1.05rem, 2.1vw, 4rem); line-height: 1.1; text-transform: uppercase; color: var(--accent-soft); }
.client-panel__line { margin: .55em 0 .5em; font-weight: 300; font-stretch: 100%; font-style: italic; font-size: clamp(.82rem, 1.3vw, 3.5rem); line-height: 1.3; letter-spacing: 1.5px; }
.client-panel__line span { display: block; margin-top: 8px; color: var(--accent); }

.client-slide__nav { position: absolute; z-index: 5; top: 50%; width: clamp(36px, 4.2vw, 61px); height: clamp(36px, 4.2vw, 61px); margin-top: calc(clamp(36px, 4.2vw, 61px) / -2); display: grid; place-items: center; border-radius: 50%; background-color: rgba(255, 255, 255, .5); color: #000; transition: background-color .3s, opacity .3s; }
.client-slide__nav svg { width: 46%; height: 46%; }
.client-slide__nav.prev { left: 1.6%; }
.client-slide__nav.prev svg { transform: rotate(180deg); }
.client-slide__nav.next { right: 1.6%; }
.client-slide__nav:hover:not(:disabled) { background-color: var(--accent); }
.client-slide__nav:disabled { opacity: .4; cursor: not-allowed; }

.logo-marquee__label { margin: clamp(56px, 7.6vw, 140px) 0 clamp(18px, 2vw, 38px); font-weight: 300; font-size: clamp(.72rem, 1.05vw, 2rem); letter-spacing: .12em; color: var(--grey); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-marquee__track { --logo-gap: clamp(14px, 1.8vw, 34px); display: flex; flex-wrap: wrap; gap: var(--logo-gap); }
.logo-marquee__track li { flex: none; display: grid; place-items: center; width: clamp(118px, 12vw, 260px); height: clamp(58px, 5.8vw, 126px); padding: clamp(10px, 1vw, 22px) clamp(16px, 1.6vw, 34px); background: #fff; }
.logo-marquee__track img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.js .logo-marquee__track { flex-wrap: nowrap; width: max-content; animation: marquee 80s linear infinite; }
.js .logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--logo-gap) / 2)); } }

/* ---------------- Contact ---------------- */
#contact { padding: var(--section-space) 0 clamp(5rem, 11vw, 12rem); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background-color: #000; }
.contact-tile { display: grid; justify-items: center; align-content: center; gap: 12px; padding: clamp(40px, 4.8vw, 110px) 20px; text-align: center; color: #fff; transition: background-color .3s ease-in-out, color .3s ease-in-out; }
.contact-tile + .contact-tile { border-left: 1px solid var(--line); }
.contact-tile svg { width: clamp(26px, 2.4vw, 60px); height: clamp(26px, 2.4vw, 60px); margin-bottom: 10px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.contact-tile small { font-weight: 300; font-size: clamp(.72rem, .95vw, 2rem); letter-spacing: .08em; text-transform: uppercase; color: var(--grey-light); transition: color .3s; }
.contact-tile strong { font-weight: 700; font-stretch: 122%; font-size: clamp(1rem, 1.55vw, 3.6rem); line-height: 1.2; overflow-wrap: anywhere; }
.contact-tile:nth-child(2), .contact-tile:hover, .contact-tile:focus-visible { background-color: var(--accent); color: var(--on-accent-strong); }
.contact-tile:nth-child(2) svg, .contact-tile:hover svg, .contact-tile:focus-visible svg { stroke: currentColor; }
.contact-tile:nth-child(2) small, .contact-tile:hover small, .contact-tile:focus-visible small { color: var(--on-accent); }
.contact-tile:nth-child(2):hover, .contact-tile:nth-child(2):focus-visible { background-color: #fff; color: #000; }

/* ---------------- Footer ---------------- */
.footer { position: relative; z-index: 2; background-color: #fff; color: #000; border-top: 2px solid #d1d3d4; border-bottom: 2px solid #d1d3d4; }
.footer__inner { width: 93%; margin: 0 auto; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logo img { width: 210px; height: auto; padding: 32px 0 22px; }
.social-list { display: flex; gap: 10px; }
.social-list a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #000; }
.social-list svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s; }
.social-list a:hover svg { transform: scale(1.2); }
.footer__row--meta { align-items: flex-start; padding: 12px 0 34px; }
.location, .footer__links { display: flex; flex-wrap: wrap; row-gap: 8px; font-weight: 500; font-size: .8rem; line-height: 1; text-transform: uppercase; }
.footer__links { justify-content: flex-end; }
.location li, .footer__links li { padding: 0 10px; border-right: 2px solid var(--sep); }
.location li:first-child, .footer__links li:first-child { padding-left: 0; }
.location li:last-child, .footer__links li:last-child { padding-right: 0; border-right: 0; }
.footer__links a:hover { text-decoration: underline; }

/* ---------------- Film modal ---------------- */
.video-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 60px 4vw 30px; background-color: rgba(0, 0, 0, .9); animation: modal-in .3s ease; }
.video-modal[hidden] { display: none; }
.video-modal__dialog { position: relative; width: min(1180px, 100%); }
.video-modal--portrait .video-modal__dialog { width: min(44vh, 100%); }
.video-modal__video { width: 100%; max-height: 78vh; background: #000; border: 1px solid #484848; }
.video-modal__close { position: absolute; right: 0; top: -46px; width: 36px; height: 36px; color: #fff; transition: color .2s; }
.video-modal__close svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.video-modal__close:hover { color: var(--accent); }
.video-modal__title { margin-top: 12px; font-weight: 300; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: #cfcfcf; }
@keyframes modal-in { from { opacity: 0; } }

/* ---------------- Scroll reveals ---------------- */
.js [data-aos] { opacity: 0; transition: opacity 1.2s ease, transform 1.2s ease; }
.js [data-aos="fade-up"] { transform: translate3d(0, 100px, 0); }
.js [data-aos="fade-left"] { transform: translate3d(100px, 0, 0); }
.js [data-aos="fade-right"] { transform: translate3d(-100px, 0, 0); }
.js [data-aos="zoom-in"] { transform: scale(.6); }
.js [data-aos="zoom-in-up"] { transform: translate3d(0, 100px, 0) scale(.6); }
.js [data-aos="flip-left"] { transform: perspective(2500px) rotateY(-100deg); }
.js [data-aos="flip-right"] { transform: perspective(2500px) rotateY(100deg); }
.js [data-aos].aos-animate { opacity: 1; transform: none; }
.js [data-aos^="flip"].aos-animate { transform: perspective(2500px) rotateY(0); }

/* ---------------- Stat tile colours per column count ---------------- */
@media (min-width: 769px) {
  .our-work:nth-child(1), .our-work:nth-child(3), .our-work:nth-child(6), .our-work:nth-child(8) { background: var(--accent); --tile-ink: var(--on-accent); --tile-strong: var(--on-accent-strong); }
  .our-work:nth-child(n+5) { border-top: 1px solid var(--rule-soft); }
}

@media (min-width: 576px) and (max-width: 768.98px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .our-work:nth-child(4n+1), .our-work:nth-child(4n) { background: var(--accent); --tile-ink: var(--on-accent); --tile-strong: var(--on-accent-strong); }
}

@media (max-width: 575.98px) {
  .stats { grid-template-columns: 1fr; }
  .craft-list { grid-template-columns: repeat(4, auto); gap: 14px; }
  .our-work:nth-child(odd) { background: var(--accent); --tile-ink: var(--on-accent); --tile-strong: var(--on-accent-strong); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .craft-list { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 16px; }
}

@media (max-width: 1024px) {
  .menu__list > li { margin-left: 20px; }
  .social-list a { width: 38px; height: 38px; }
  .social-list svg { width: 24px; height: 24px; }
}

@media (max-width: 992px) {
  .client-slide { grid-template-columns: 1fr; aspect-ratio: auto; min-height: 0; padding: 48px 0 44px; }
  .client-slide__bg::after { background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .86)); background: radial-gradient(70% 45% at 50% 24%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 72%), linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .86)); }
  .client-slide__badges { width: min(44%, 220px); }
  .client-slide__panels { margin-top: 38px; padding: 0 8%; }
  .client-panel { align-items: center; justify-content: flex-start; text-align: center; }
  .client-slide__nav { top: calc(48px + min(19.4vw, 110px)); }
  .client-slide__nav.prev { left: 4%; }
  .client-slide__nav.next { right: 4%; }
  .bg-shape--arc, .bg-shape--flower { width: 150px; }
  .bg-shape--halves { width: 170px; }
}

@media (max-width: 853px) {
  :root { --header-h: 70px; }
  .logo img { height: 36px; }
}

@media (max-width: 769px) {
  .header__cta--bar { display: none; }
  .header__cta--menu { display: inline-block; margin: 34px 0 0 10px; font-size: 1rem; }
  .menu__icon { z-index: 5; display: block; position: relative; width: 30px; height: 18px; }
  .menu__icon span, .menu__icon::before, .menu__icon::after { position: absolute; left: 0; width: 100%; height: 2px; background-color: #fff; transition: all .3s ease 0s; }
  .menu__icon::before, .menu__icon::after { content: ''; }
  .menu__icon::before { top: 0; }
  .menu__icon::after { bottom: 0; }
  .menu__icon span { top: 50%; transform: scale(1) translate(0, -50%); }
  .menu__icon._active span { transform: scale(0) translate(0, -50%); }
  .menu__icon._active::before { top: 50%; transform: rotate(-45deg) translate(0, -50%); }
  .menu__icon._active::after { bottom: 50%; transform: rotate(45deg) translate(0, 50%); }
  .menu__body { position: fixed; top: 0; left: -100%; width: 100%; height: 100%; padding: 100px 30px 30px; overflow: auto; background-color: #000; transition: left .3s ease 0s; visibility: hidden; }
  .menu__body._active { left: 0; visibility: visible; }
  .menu__list { display: block; }
  .menu__list > li, .menu__list > li:first-child { margin: 0 0 20px 10px; }
  .menu__link { font-size: 19px; }

  /* The video is short on a phone, so it sits below the header instead of under it. */
  #banner { margin-top: var(--header-h); }
  .divisions { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-tile + .contact-tile { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .bg-shape { display: none; }
  .footer__row--meta { flex-direction: column; align-items: center; gap: 12px; }
  .location, .footer__links { justify-content: center; font-size: .72rem; }
  .location li:first-child, .footer__links li:first-child { padding-left: 10px; }
  .footer__logo img { width: 150px; }
  .social-list { gap: 2px; }
  .social-list a { width: 34px; height: 34px; }
  .social-list svg { width: 21px; height: 21px; }
}

@media (max-width: 430px) {
  :root { --header-h: 56px; --edge: 5.5%; }
  .logo img { height: 30px; }
  .scroll-down { display: none; }
  .tagline-mark { position: static; margin-top: 16px; text-align: left; }
  .our-work { padding: 34px 18px; }
  .our-work h3 { font-size: 1.9rem; }
  .our-work h3.our-work__phrase { font-size: 1.3rem; }
  .craft-list svg { width: 46px; height: 46px; padding: 11px; }
  .craft-list li { font-size: .62rem; }
  .intro-text { font-size: .82rem; line-height: 1.7; }
  .intro-text strong { font-size: 1.02rem; line-height: 1.7; }
  .video-wrap__caption { padding: 22px 9px 7px; font-size: .56rem; }
  .video-wrap__caption b { font-size: 1.12em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-aos], .js [data-aos].aos-animate { opacity: 1; transform: none; transition: none; }
  .scroll-down { animation: none; }
  .element::after, .element.aos-animate::after { width: 100%; animation: none; }
  .client-badge, .client-panel, .client-panel > * { transition: none; }
  .js .logo-marquee__track { flex-wrap: wrap; width: auto; animation: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee__copy { display: none !important; }
  .video-modal { animation: none; }
}
