/* © 2026 Harry Winteringham. All rights reserved. Earwig is a trademark of Harry Winteringham. Unauthorised copying, modification or distribution of this file is prohibited. */
/* v2 site styles. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000;
  --fg: #fff;
  --dim: rgba(255, 255, 255, 0.6);
  --gutter: 6vw;
  --font: 'Satoshi', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --row-h: clamp(260px, 34vw, 620px);
}

html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h3 { font-size: clamp(24px, 2.5vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 4px; }

/* Nav */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px var(--gutter);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}
.nav-logo { font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 24px; list-style: none; font-size: 14px; text-transform: uppercase; }

/* Rolling text hover: label slides up, copy rolls in from below */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.2; }
.roll span { display: inline-block; position: relative; transition: transform 0.35s cubic-bezier(.2, .7, .2, 1); }
.roll span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.roll:hover span { transform: translateY(-100%); }

/* Home hero */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.55)); }
.hero-line {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 10vh; z-index: 1;
  font-size: clamp(18px, 1.7vw, 24px); text-transform: uppercase; line-height: 1.2; max-width: 1240px;
}

/* Project rows */
.row { position: relative; display: block; height: var(--row-h); overflow: hidden; }
.media img, .media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.row .media img, .row .media video { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter 0.6s; filter: brightness(0.72); }
.row .media video { opacity: 0; transition: opacity 0.6s, transform 1.2s cubic-bezier(.2, .7, .2, 1), filter 0.6s; }
.row .media video.ready { opacity: 1; }
.row:hover .media img, .row:hover .media video { transform: scale(1.03); filter: brightness(0.9); }
/* YouTube trailer on hover: oversized so the 16:9 frame covers the row, no clicks */
.row-yt {
  position: absolute; left: 50%; top: 50%; border: 0; pointer-events: none;
  width: max(100%, calc(var(--row-h) * 16 / 9)); aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%) scale(1.03);
  opacity: 0; transition: opacity 0.6s; filter: brightness(0.9);
}
.row-yt.ready { opacity: 1; }
.row::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.5) 70%); pointer-events: none; }
.row-text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; z-index: 1; }

/* Project page */
.p-hero { position: relative; height: min(47vw, 90vh); min-height: 320px; overflow: hidden; }
.p-hero img, .p-hero video { filter: brightness(0.6); }
.p-hero video { opacity: 0; transition: opacity 0.6s; }
.p-hero video.ready { opacity: 1; }
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 112px; height: 112px; margin: -56px 0 0 -56px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; cursor: pointer; transition: transform 0.3s, background 0.3s;
}
.play-btn svg { width: 44px; height: 44px; fill: #000; margin-left: 6px; }
.play-btn:hover { transform: scale(1.06); background: rgba(255, 255, 255, 0.7); }

.p-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 64px var(--gutter) 120px; }
.p-body p { margin-bottom: 16px; max-width: 60ch; }
.p-body p + p { color: var(--dim); }
blockquote { margin-top: 28px; font-size: 18px; line-height: 1.35; max-width: 50ch; }
cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; text-transform: uppercase; color: var(--dim); }

.more { padding: 0 var(--gutter); }
.more-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.more-head h3 { text-transform: uppercase; }
.more-head a { font-size: 15px; font-weight: 700; text-transform: uppercase; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { height: clamp(260px, 34vw, 520px); }
.card .row-text { left: 16px; right: 16px; bottom: 24px; }

/* Contact + footer */
.big-contact {
  display: block; text-align: center; padding: 100px var(--gutter) 90px;
  font-size: clamp(44px, 7.4vw, 128px); font-weight: 700; text-transform: uppercase;
  line-height: 1.05; letter-spacing: -0.03em;
}

/* Round looping clips between the words: pop in when scrolled to, then bob gently */
.bubble {
  display: inline-block; width: 0.95em; height: 0.95em; margin: 0 0.02em;
  vertical-align: -0.16em; border-radius: 50%; overflow: hidden; background: #222;
  transform: scale(0) rotate(-20deg); transition: transform 0.7s cubic-bezier(.34, 1.56, .64, 1);
}
.bubble video { width: 100%; height: 100%; object-fit: cover; display: block; }
.has-bubbles.in .bubble {
  transform: scale(1) rotate(0); animation: bob 3.2s ease-in-out infinite;
  transition-delay: calc(var(--i, 0) * 0.12s); animation-delay: calc(0.7s + var(--i, 0) * 0.8s);
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-0.06em) rotate(4deg); }
}
.big-contact { transition: color 0.3s; }
.big-contact:hover { color: var(--dim); }
.bubble video { transition: transform 0.5s; }
.big-contact:hover .bubble video, .bubble:hover video { transform: scale(1.18); }
.footer {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
  padding: 60px var(--gutter) 40px; font-size: 14px; text-transform: uppercase;
}
.footer p { margin-top: 6px; }
.footer .copy { grid-column: 1 / -1; margin-top: 80px; }
.clock { font-variant-numeric: tabular-nums; }

/* Full-bleed player */
/* Opens by growing out of whatever was clicked (--from is that element's box) */
.player {
  position: fixed; inset: 0; z-index: 100; background: #000;
  clip-path: var(--from, inset(50% 50% 50% 50% round 56px));
  transition: clip-path 0.8s cubic-bezier(.76, 0, .24, 1);
}
.player.open { clip-path: inset(0px 0px 0px 0px round 0px); }
.player[hidden] { display: none; }
.player-stage, .player-close { opacity: 0; transition: opacity 0.4s; }
.player.open .player-stage, .player.open .player-close { opacity: 1; transition-delay: 0.45s; }
.player-stage, .player-stage video, .player-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-stage video { object-fit: contain; background: #000; }
.player-close {
  position: absolute; top: 28px; right: var(--gutter); z-index: 2;
  background: none; border: 0; color: #fff; font: 500 14px var(--font); text-transform: uppercase;
  cursor: pointer; mix-blend-mode: difference; padding: 6px 0;
}

/* Decorative clips never take the pointer, so browsers and extensions don't draw
   their screenshot / picture-in-picture buttons over them. The player keeps its controls. */
video { pointer-events: none; }
.player-stage video { pointer-events: auto; }

/* Contact form: opens in the same growing sheet as the player */
.contact-sheet { display: grid; place-items: center; overflow-y: auto; padding: 88px var(--gutter) 48px; }
.contact-sheet[hidden] { display: none; }
.contact-form {
  width: min(560px, 100%); display: grid; gap: 22px;
  opacity: 0; transition: opacity 0.4s;
}
.contact-sheet.open .contact-form { opacity: 1; transition-delay: 0.45s; }
.contact-form h3 { font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 8px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; text-transform: uppercase; color: var(--dim); }
.contact-form input, .contact-form textarea {
  font: 400 17px var(--font); color: var(--fg); background: none;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0;
  padding: 8px 0; outline: none; resize: vertical; transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--fg); }
.contact-form .hp { position: absolute; left: -9999px; }
.form-send {
  justify-self: start; margin-top: 8px; padding: 14px 34px; border: 0; border-radius: 999px;
  background: var(--fg); color: var(--bg); font: 700 14px var(--font); text-transform: uppercase;
  cursor: pointer; transition: opacity 0.3s;
}
.form-send:hover { opacity: 0.8; }
.form-send:disabled { opacity: 0.5; cursor: default; }
.form-status { min-height: 1.45em; font-size: 14px; color: var(--dim); }

@media (max-width: 760px) {
  :root { --gutter: 20px; --row-h: 62vw; }
  .nav { padding: 22px var(--gutter); }
  .nav-links { gap: 16px; font-size: 13px; }
  .row-text { bottom: 24px; }
  .p-info { grid-template-columns: 1fr; padding-bottom: 72px; }
  .more-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer .copy { margin-top: 32px; }
  .play-btn { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .play-btn svg { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* GSAP: hidden until anim.js takes over (the head script drops .js after 3 s regardless) */
.js body { opacity: 0; }
.js .hero-line, .js .row-text, .js .p-info h3, .js .p-info h4 { visibility: hidden; }
.media { position: absolute; inset: 0; }
.row .media { inset: -10% 0; }
.p-hero { clip-path: inset(0% 0% 0% 0%); }
.big-contact .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.04em; }
.big-contact .w > span { display: inline-block; }

/* About page */
.about-hero { padding: 200px var(--gutter) 120px; }
.about-kicker { margin-bottom: 20px; color: var(--dim); }
.about-line {
  font-size: clamp(28px, 3.6vw, 56px); font-weight: 700; text-transform: uppercase;
  line-height: 1.04; letter-spacing: -0.02em; max-width: 1200px;
}
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 var(--gutter) 120px; }
.about-body p { font-size: 18px; line-height: 1.5; margin-bottom: 18px; max-width: 56ch; }
.about-body .kit, .about-body .roll { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.about-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 0 var(--gutter) 120px; text-transform: uppercase; font-size: 14px;
}
.about-facts h4 { color: var(--dim); }
.about-facts p { line-height: 1.6; }
.awards { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.awards li {
  display: flex; justify-content: space-between; gap: 24px; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 16px;
}
.awards li span:last-child { color: var(--dim); text-transform: uppercase; font-size: 13px; text-align: right; white-space: nowrap; }
.craft-head { padding-left: 0; padding-right: 0; }
.about-craft { padding: 0 var(--gutter) 120px; }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.craft-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; background: #111; }
.craft-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.85); transition: filter 0.6s; }
.craft:hover .craft-img img { filter: brightness(1); }
.craft h4 { color: var(--dim); }
.craft h3 { font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 10px; }
.craft p { color: var(--dim); max-width: 44ch; }
.js .about-line { visibility: hidden; }

@media (max-width: 760px) {
  .about-hero { padding: 140px var(--gutter) 72px; }
  .about-split, .about-facts, .craft-grid { grid-template-columns: 1fr; }
  .about-split, .about-facts, .about-craft { padding-bottom: 72px; }
  .awards li { flex-direction: column; gap: 4px; }
  .awards li span:last-child { text-align: left; white-space: normal; }
}

/* Award logo row */
.laurels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 72px var(--gutter); align-items: end;
}
.about-hero + .about-split + .about-facts + .laurels { padding-top: 0; padding-bottom: 120px; }
.laurel-mark { height: 56px; display: flex; align-items: flex-end; margin-bottom: 14px; }
.laurel-mark img { max-height: 100%; max-width: 160px; width: auto; display: block; }
.laurel-text { font-size: 30px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.laurel p { font-size: 13px; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) {
  .laurels { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding: 56px var(--gutter); }
  .laurel-mark { height: 44px; }
}

/* Homepage version: a small, dimmed credit line rather than a feature */
.laurels-quiet { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding: 28px var(--gutter); }
.laurels-quiet .laurel { display: flex; align-items: center; gap: 12px; opacity: 0.5; transition: opacity 0.3s; }
.laurels-quiet .laurel:hover { opacity: 1; }
.laurels-quiet .laurel-mark { height: 22px; margin: 0; align-items: center; }
.laurels-quiet .laurel-mark img { max-width: 90px; }
.laurels-quiet .laurel-text { font-size: 15px; }
.laurels-quiet .laurel p { font-size: 11px; color: var(--fg); }
@media (max-width: 760px) {
  .laurels-quiet { display: grid; grid-template-columns: 1fr 1fr; padding: 24px var(--gutter); gap: 16px; }
}
.laurels-label { font-size: 11px; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) { .laurels-label { grid-column: 1 / -1; } }

/* Credit line sits in the hero, under the intro line, so it's on the first screen */
.hero .hero-line { bottom: calc(6vh + 64px); }
.hero .laurels-quiet { position: absolute; left: 0; right: 0; bottom: 6vh; z-index: 1; padding: 0 var(--gutter); }
.hero .laurels-quiet .laurel { opacity: 0.8; }
.hero .laurels-quiet .laurels-label { color: var(--fg); opacity: 0.8; }
@media (max-width: 760px) {
  .hero .hero-line { bottom: calc(5vh + 150px); }
  .hero .laurels-quiet { bottom: 5vh; }
}

/* Earwig phone: a CSS phone playing the app recording; the whole phone links to earwig.io */
.tools { align-items: center; }
.phone {
  position: relative; justify-self: center; display: block;
  width: min(300px, 70vw); aspect-ratio: 430 / 932;
  padding: 10px; border-radius: 48px; background: #1a1a1a;
  box-shadow: inset 0 0 0 2px #333, 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(255, 90, 70, 0.12);
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.phone:hover { transform: translateY(-8px) rotate(-2deg); }
.phone-screen { display: block; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-island {
  position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%);
  border-radius: 20px; background: #000;
}
.phone-cta {
  position: absolute; left: 0; right: 0; bottom: -40px; text-align: center;
  font-size: 13px; font-weight: 700; text-transform: uppercase; opacity: 0; transition: opacity 0.4s;
}
.phone:hover .phone-cta { opacity: 1; }
@media (hover: none) { .phone-cta { opacity: 0.7; } }

/* Soft dark fade at the top of the hero so the nav reads over bright footage */
.hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0.45), transparent); }

/* 3D phone: once phone3d.js takes over, the CSS phone becomes an invisible video source */
.phone.is-3d {
  width: min(460px, 88vw); aspect-ratio: 1 / 1.2; padding: 0; border-radius: 0;
  background: none; box-shadow: none; transform: none;
}
.phone.is-3d .phone-screen { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.phone.is-3d .phone-island { display: none; }
.phone-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.phone.is-3d .phone-cta { bottom: 0; }
.phone.is-3d::before {
  content: ''; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 92, 77, 0.22), transparent);
}
.laurel-mark { gap: 8px; }
.laurel-word { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; letter-spacing: 0.04em; line-height: 1; }
.laurels-quiet .laurel-word { font-size: 16px; }
.laurel-word sup { font-size: 0.4em; vertical-align: 0.9em; margin-left: 1px; }

/* Award logos on projects that won (top right of the row, under the title on the project page) */
.row-awards { position: absolute; top: 28px; right: var(--gutter); z-index: 1; display: flex; gap: 22px; align-items: center; }
.row-awards img { height: 34px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5)); }
.p-awards { display: flex; gap: 24px; align-items: center; margin-top: 28px; }
.p-awards img { height: 44px; width: auto; display: block; }
.card .row-awards { top: 16px; right: 16px; }
.card .row-awards img { height: 26px; }
@media (max-width: 760px) {
  .row-awards { top: 16px; gap: 14px; }
  .row-awards img { height: 24px; }
}
.award { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.award small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.row-awards .award { align-items: flex-end; }
.row-awards { align-items: flex-start; }
.p-awards .award small { font-size: 11px; color: var(--dim); text-shadow: none; }

/* Award logos sit in the title block, above the channel line, at a size that reads */
.row-awards { position: static; display: flex; gap: 36px; align-items: flex-end; margin-bottom: 22px; }
.row-awards .award { align-items: flex-start; }
.row-awards img { height: 54px; }
.row-awards .award small { font-size: 11px; }
.card .row-awards { margin-bottom: 14px; gap: 22px; }
.card .row-awards img { height: 34px; }
@media (max-width: 760px) {
  .row-awards { gap: 20px; margin-bottom: 12px; }
  .row-awards img { height: 30px; }
}

/* Review stars beside the award logos */
.stars { display: block; font-size: 30px; line-height: 54px; letter-spacing: 0.06em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.stars .dim { opacity: 0.3; }
.p-awards .stars { font-size: 26px; line-height: 44px; text-shadow: none; }
.card .row-awards .stars { font-size: 20px; line-height: 34px; }
@media (max-width: 760px) {
  .row-awards .stars { font-size: 18px; line-height: 30px; }
}

/* Earwig phone on the left, text on the right (desktop) */
@media (min-width: 761px) { .tools .phone { order: -1; } }

/* Stills: a scattered rack-focus wall. Photos drift at different depths and come sharp
   as they cross the middle of the screen; a giant STILLS title holds in the centre. */
.stills { position: relative; height: 300vh; margin: 40px 0 160px; }
.stills-title {
  position: sticky; top: 0; height: 100vh; z-index: 2; pointer-events: none;
  display: grid; place-items: center;
}
.stills-title span {
  font-size: clamp(80px, 21vw, 360px); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}
.still { position: absolute; margin: 0; z-index: 1; will-change: transform, filter; }
.still.front { z-index: 3; }
.still img {
  display: block; width: 100%; height: auto; transform: rotate(var(--tilt));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.still:hover { z-index: 4; }
.still:hover img { transform: rotate(0deg) scale(1.04); }
.stills-more { position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%); font-size: 14px; font-weight: 700; text-transform: uppercase; z-index: 3; }
@media (max-width: 760px) {
  .stills { height: 240vh; }
  .still { width: calc(var(--m, 1) * 44vw) !important; }
  .still:nth-of-type(odd) { left: 4% !important; }
  .still:nth-of-type(even) { left: 50% !important; }
}

/* Desktop: award logos and stars sit just above the title and appear on hover, one by one */
@media (hover: hover) and (pointer: fine) {
  .row .row-awards { position: absolute; top: auto; right: auto; left: 0; bottom: 100%; margin-bottom: 18px; pointer-events: none; }
  .row .row-awards .award {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.2, .7, .2, 1);
  }
  .row:hover .row-awards .award { opacity: 1; transform: none; }
  .row:hover .row-awards .award:nth-child(2) { transition-delay: 0.08s; }
  .row:hover .row-awards .award:nth-child(3) { transition-delay: 0.16s; }
}

/* Review quote, shown with the hover reveal (desktop only; phones keep just logos and stars) */
.row-quote { display: none; }
@media (hover: hover) and (pointer: fine) {
  .row .row-awards { flex-wrap: wrap; row-gap: 14px; max-width: 760px; }
  .row-quote {
    display: block; flex-basis: 100%; order: 2; margin: 0;
    font-size: clamp(16px, 1.4vw, 21px); line-height: 1.35; max-width: 46ch;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.45s ease 0.2s, transform 0.6s cubic-bezier(.2, .7, .2, 1) 0.2s;
  }
  .row:hover .row-quote { opacity: 1; transform: none; }
}

/* Homepage credit line is a link to the Awards page */
a.laurels-quiet { color: inherit; }
a.laurels-quiet:hover .laurels-label { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* Awards & press page */
.press { display: grid; gap: 44px; }
.press-item { display: block; }
.press-item .stars { font-size: 22px; line-height: 1; margin-bottom: 12px; text-shadow: none; }
.press-item blockquote { margin: 0 0 10px; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; max-width: 34ch; }
.press-meta { font-size: 13px; text-transform: uppercase; color: var(--dim); }
.press-item:hover .press-meta { color: var(--fg); }
@media (max-width: 760px) { .nav-links { gap: 12px; font-size: 12px; } }

/* Ragging (standing rule): no orphaned last word, even line lengths. Short display text is
   balanced; body copy uses pretty wrapping, which avoids a lone word on the last line. */
h3, h4, .hero-line, .about-line, .row-quote, blockquote, .press-item blockquote,
.laurels-label, .craft h3, .big-contact, .stills-more { text-wrap: balance; }
p, .p-body p, .about-body p, .craft p, li { text-wrap: pretty; }
/* Short paragraphs: fully balanced so no lone last word (Chrome balances up to 6 lines) */
.about-body p, .p-body p, .craft p, .press-meta { text-wrap: balance; }

/* Stills placed in the page's gaps: straight, still, they just come into focus */
.dot { margin: 0; will-change: filter, opacity; }
.dot img { display: block; width: 100%; height: auto; }
.dot-col .dot { margin-top: 40px; }
.dot-gap { display: flex; align-items: flex-start; padding: 0 var(--gutter) 120px; }
.dot-gap .dot:nth-child(2) { margin-top: 18vh; }
@media (max-width: 760px) {
  .dot-col .dot { width: 70vw !important; margin-left: 0 !important; }
  .dot-gap { padding-bottom: 72px; gap: 16px; }
  .dot-gap .dot { width: 44vw !important; margin-left: 0 !important; }
  .dot-gap .dot:nth-child(2) { margin-top: 12vh; }
}

/* Stills only in the empty left columns, two side by side, so the page doesn't get longer */
.dot-pair { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; }
.dot-pair .dot { margin-top: 0; }
.dot-pair .dot:nth-child(2) { margin-top: 48px; }
@media (max-width: 760px) {
  .dot-pair .dot { width: 42vw !important; }
}

/* Tighter About rhythm: less space after each section, shorter stagger in the photo pairs */
@media (min-width: 761px) {
  .about-hero { padding-bottom: 80px; }
  .about-split, .about-facts, .about-craft { padding-bottom: 64px; }
  .craft-head { padding-bottom: 48px; }
  .dot-pair { margin-top: 20px; }
  .dot-pair .dot:nth-child(2) { margin-top: 24px; }
}

/* About: alternating rows. A cluster of stills on one side, the text on the other;
   .flip swaps sides. Stills stay straight and still; they only come into focus. */
.zig {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 7vw; align-items: center;
  padding: 0 var(--gutter) 140px;
}
.zig.flip .cluster { order: 2; }
.zig .about-body h4 { margin-bottom: 14px; }
.about-craft .zig { padding-left: 0; padding-right: 0; padding-bottom: 100px; }
.cluster { position: relative; padding: 0 0 12% 0; }
.cluster .dot { margin: 0; }
.cluster .big { width: 82%; }
.cluster .small { position: absolute; width: 40%; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.cluster .s1 { right: 0; bottom: 0; }
.cluster .s2 { right: 6%; top: -10%; width: 28%; }
.zig.flip .cluster .big { margin-left: auto; }
.zig.flip .cluster .s1 { right: auto; left: 0; }
.zig.flip .cluster .s2 { right: auto; left: 8%; }
@media (max-width: 760px) {
  .zig { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
  .zig.flip .cluster { order: 0; }
  .cluster .big { width: 86%; }
  .cluster .small { width: 44%; }
}

/* Commercial page: "Have a brief?" sits in the right column after the films */
.brief { padding-top: 100px; }
@media (max-width: 760px) {
  .nav-links { gap: 10px; font-size: 11px; }
  .brief > div:first-child { display: none; }
}
/* Phones: six nav links don't fit beside the logo, so the links take their own line */
@media (max-width: 760px) {
  .nav { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-links { justify-content: space-between; gap: 0; font-size: 11px; }
}
