/* Shared base for the inner pages: services and projects. index.html and about.html keep their own inline base. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #137053; --egg: #FFFFFB; --grey: #F3F3F3; --black: #050505;
  --line: rgba(5,5,5,.1); --line-dark: rgba(255,255,251,.14);
  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --gutter: 56px; --section: 140px;
  --ease: cubic-bezier(.16,1,.3,1);
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--egg); color: var(--black); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 28px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, border-bottom-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(255,255,251,.96); border-bottom-color: rgba(19,112,83,.15); padding-top: 20px; padding-bottom: 20px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav-logo img { height: 34px; }
.nav-links { display: flex; gap: 44px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--egg); text-decoration: none; opacity: .75; transition: opacity .2s, color .3s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
nav.scrolled .nav-links a { color: var(--black); opacity: .6; }
nav.scrolled .nav-links a:hover { opacity: 1; }
nav.scrolled .nav-links a.active { opacity: 1; color: var(--green); }
.nav-cta { background: var(--green) !important; color: var(--egg) !important; opacity: 1 !important; padding: 10px 24px; transition: background .2s !important; }
.nav-cta:hover { background: var(--black) !important; }

/* SECTION SHELL */
.section-wrap { padding: var(--section) var(--gutter); }
.section-wrap.tight-top { padding-top: 0; }
.section-wrap.dark { background: var(--black); color: var(--egg); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 32px;
  border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 72px;
}
.dark .section-head { border-bottom-color: var(--line-dark); }
.section-label { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.dark .section-label { color: var(--egg); opacity: .4; }
.section-title {
  font-size: clamp(34px, 4vw, 62px); font-weight: 600; letter-spacing: -.025em;
  text-transform: uppercase; line-height: 1; text-align: right;
}
.section-title em, .ph-hl em, .intro-hl em, .contact-hl em {
  font-family: var(--serif); font-style: italic; font-weight: 700; text-transform: none; color: var(--green);
}

/* BUTTONS */
.btn-primary, .btn-white, .form-submit {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 18px 40px; text-decoration: none; display: inline-block; border: 0; cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-primary, .form-submit { color: var(--egg); background: var(--green); }
.btn-primary:hover { background: var(--egg); color: var(--black); }
.form-submit:hover { background: var(--black); }
.btn-white { color: var(--green); background: var(--egg); flex-shrink: 0; }
.btn-white:hover { background: var(--black); color: var(--egg); }
.btn-ghost {
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: inherit; text-decoration: none; opacity: .6; transition: opacity .2s;
}
.btn-ghost:hover { opacity: 1; }

/* ── PAGE HERO ──────────────────────────────────────────────
   One hero for every inner page: full-bleed media, headline bottom-left,
   lead and actions on a hairline row underneath (same as the About page). */
.ph {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--black); color: var(--egg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 160px var(--gutter) 64px;
}
.ph-media { position: absolute; inset: 0; z-index: 0; }
.ph-media > img, .ph-media > video { width: 100%; height: 100%; object-fit: cover; }
.ph::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,5,5,.6) 0%, rgba(5,5,5,.05) 22%, rgba(5,5,5,.2) 50%, rgba(5,5,5,.94) 100%),
    linear-gradient(90deg, rgba(5,5,5,.5) 0%, transparent 65%);
}
.ph-inner { position: relative; z-index: 2; }
.ph-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .8;
}
.ph-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--green); }
.ph-hl {
  font-size: clamp(54px, 8.2vw, 132px); font-weight: 600; line-height: .9; letter-spacing: -.035em;
  text-transform: uppercase; max-width: 15ch;
}
.ph-hl em { color: var(--egg); letter-spacing: -.01em; }
.ph-foot {
  margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,251,.16);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
}
.ph-lead {
  font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6;
  max-width: 560px; padding-left: 20px; border-left: 2px solid var(--green); opacity: .85;
}
.ph-actions { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.ph-tag { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .4; flex-shrink: 0; }

/* hero media: wall of reels */
.ph-reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 100%; }
.ph-reels video { width: 100%; height: 100%; object-fit: cover; }
/* hero media: drifting website frames */
.ph-sites { display: flex; flex-direction: column; justify-content: center; gap: 28px; height: 100%; opacity: .55; }
.ph-sites-row { display: flex; gap: 28px; width: max-content; animation: drift 60s linear infinite; }
.ph-sites-row.rev { animation-direction: reverse; margin-left: -18vw; }
.ph-sites .frame { width: 38vw; flex-shrink: 0; }
@keyframes drift { to { transform: translateX(-50%); } }

/* BROWSER FRAME */
.frame { background: #1c1c1c; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.frame-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #2a2a2a; }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,251,.25); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* STATS BAND */
.stat-band { background: var(--green); color: var(--egg); padding: 80px var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-band > div { padding: 0 40px; border-left: 1px solid rgba(255,255,251,.18); }
.stat-band > div:first-child { padding-left: 0; border-left: 0; }
.stat-n { font-size: clamp(48px, 5vw, 80px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.stat-l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-top: 16px; line-height: 1.5; }

/* INTRO */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.intro-hl { font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.028em; text-transform: uppercase; line-height: 1; }
.intro-body { font-size: 17px; line-height: 1.8; opacity: .68; }
.intro-body p + p { margin-top: 22px; }
.fit-list { list-style: none; margin-top: 44px; border-top: 1px solid var(--line); }
.fit-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; display: flex; gap: 18px; }
.fit-list li::before { content: '→'; color: var(--green); flex-shrink: 0; }

/* RESULTS (performance) */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--egg); background: var(--black); }
.result img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.result:hover img { transform: scale(1); }
.result::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.45) 0%, rgba(5,5,5,.05) 35%, rgba(5,5,5,.88) 100%); }
.result-tag { position: absolute; top: 32px; left: 32px; z-index: 1; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; display: flex; gap: 12px; align-items: center; }
.result-tag::before { content: ''; width: 24px; height: 1px; background: var(--egg); opacity: .6; }
.result-body { position: absolute; left: 32px; right: 32px; bottom: 34px; z-index: 1; }
.result-n { font-size: clamp(72px, 8.5vw, 140px); font-weight: 600; letter-spacing: -.05em; line-height: .85; }
.result-l { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); margin-top: 18px; }
.result-d { font-size: 13px; line-height: 1.6; opacity: .65; margin-top: 10px; max-width: 300px; }
.results-note { margin-top: 28px; font-size: 12px; letter-spacing: .04em; opacity: .4; }
.dark .results-note { opacity: .45; }

/* INCLUDED GRID */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.inc { padding: 44px 40px 52px 0; border-bottom: 1px solid var(--line); }
.inc:not(:nth-child(3n+1)) { padding-left: 40px; border-left: 1px solid var(--line); }
.inc-n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--green); }
.inc-name { font-size: 22px; font-weight: 600; letter-spacing: -.012em; text-transform: uppercase; line-height: 1.1; margin: 28px 0 14px; transition: color .2s; }
.inc:hover .inc-name { color: var(--green); }
.inc-desc { font-size: 14px; line-height: 1.75; opacity: .58; }

/* PROCESS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 40px 36px 0 0; }
.step + .step { padding-left: 36px; border-left: 1px solid rgba(255,255,251,.1); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 48px; color: var(--green); line-height: 1; }
.step-name { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; margin: 32px 0 14px; }
.step-desc { font-size: 14px; line-height: 1.75; opacity: .55; }

/* FILMS: video tiles that play muted when on screen, with a sound toggle */
.film { position: relative; overflow: hidden; background: #111; }
.film video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.film-sound {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--egg); background: rgba(5,5,5,.55); border: 1px solid rgba(255,255,251,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; transition: background .2s;
}
.film-sound:hover { background: var(--green); border-color: var(--green); }
.film-sound svg { width: 14px; height: 14px; }
.film-sound .on { display: none; }
.film.unmuted .film-sound .on { display: block; }
.film.unmuted .film-sound .off { display: none; }
.film-cap { margin-top: 16px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }
.film-wide { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.films.two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.films .film { aspect-ratio: 9 / 16; }

/* REELS ROW (social) */
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.reels .film { aspect-ratio: 9 / 16; }

/* PHOTO STRIP: edge-to-edge row of images */
.photo-strip { display: flex; gap: 12px; height: 560px; }
.photo-strip img { flex: 2 1 0; min-width: 0; height: 100%; object-fit: cover; transition: flex-grow .8s var(--ease); }
.photo-strip img.wide { flex-grow: 4.4; }
.photo-strip img:hover { flex-grow: 3; }
.photo-strip img.wide:hover { flex-grow: 5.4; }

/* WEB PORTFOLIO */
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 72px 32px; }
.site { text-decoration: none; color: inherit; display: block; }
.site .frame { background: #e9e9e6; box-shadow: none; border: 1px solid var(--line); }
.site .frame-bar { background: #e1e1dd; }
.site .frame-bar i { background: rgba(5,5,5,.18); }
.site .frame img { transition: transform .9s cubic-bezier(.25,.46,.45,.94); }
.site:hover .frame img { transform: scale(1.03); }
.site-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 24px; }
.site-name { font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: -.015em; }
.site-tag { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.site-desc { font-size: 14px; line-height: 1.7; opacity: .6; margin-top: 8px; max-width: 520px; }

/* QUOTE */
.quote-wrap { padding: var(--section) var(--gutter); background: var(--green); color: var(--egg); }
.quote { max-width: 1120px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 140px; line-height: .6; height: 64px; opacity: .35; }
.quote-text { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.35; letter-spacing: -.01em; }
.quote-by { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.quote-name { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.quote-role { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.quote-by span + span::before { content: '—'; margin-right: 16px; opacity: .6; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 30px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.2;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 28px; color: var(--green); transition: transform .3s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq p { font-size: 15px; line-height: 1.8; opacity: .65; padding: 0 64px 32px 0; max-width: 760px; }

/* PROJECT PAGES */
.proj-body { display: grid; grid-template-columns: 320px 1fr; gap: 96px; align-items: start; }
.proj-meta { position: sticky; top: 120px; border-top: 1px solid var(--line); }
.proj-meta div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.proj-meta dt { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .4; margin-bottom: 8px; }
.proj-meta dd { font-size: 15px; font-weight: 500; line-height: 1.5; }
.proj-copy { font-size: 19px; line-height: 1.75; opacity: .75; max-width: 760px; }
.proj-copy p + p { margin-top: 26px; }
.proj-copy p:first-child { font-size: clamp(22px, 2vw, 28px); line-height: 1.45; opacity: 1; letter-spacing: -.01em; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stills.four { grid-template-columns: repeat(2, 1fr); }
.stills img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stills.four img { aspect-ratio: 3 / 2; }
.next-proj { display: block; position: relative; overflow: hidden; height: 70svh; min-height: 420px; text-decoration: none; color: var(--egg); background: var(--black); }
.next-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.05); transition: transform 1.4s var(--ease), opacity .6s; }
.next-proj:hover img { transform: scale(1); opacity: .7; }
.next-inner { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.next-lbl { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 18px; }
.next-title { font-size: clamp(48px, 7vw, 112px); font-weight: 600; letter-spacing: -.035em; text-transform: uppercase; line-height: .9; }
.next-arrow { font-size: 56px; line-height: 1; transition: transform .4s var(--ease); }
.next-proj:hover .next-arrow { transform: translateX(10px); }

/* FOOTER */
footer { background: var(--black); padding: 60px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-logo img { height: 28px; filter: brightness(0) invert(1); }
.foot-tag { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--egg); opacity: .3; }
.foot-links { display: flex; gap: 32px; list-style: none; flex-wrap: wrap; }
.foot-links a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--egg); opacity: .35; text-decoration: none; transition: opacity .2s; }
.foot-links a:hover { opacity: .9; }
.foot-copy { font-size: 11px; color: var(--egg); opacity: .2; }

/* MOTION */
.hl-word { display: inline-block; transition: transform .38s cubic-bezier(.25,.46,.45,.94), color .25s; cursor: default; }
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.ph .reveal { transform: translateY(28px); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .22s; } .d3 { transition-delay: .34s; }
#page-transition { position: fixed; inset: 0; z-index: 10000; background: var(--green); transition: transform .8s cubic-bezier(.76,0,.24,1); }
#page-transition.is-revealed { transform: translateY(-100%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ph-sites-row { animation: none; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; --section: 88px; }
  nav, nav.scrolled { padding: 18px var(--gutter); }
  .section-head { flex-direction: column; gap: 12px; margin-bottom: 44px; }
  .section-title { text-align: left; }
  .ph { padding: 130px var(--gutter) 40px; }
  .ph-hl { font-size: clamp(46px, 13vw, 72px); }
  .ph-foot { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 36px; padding-top: 28px; }
  .ph-actions { flex-wrap: wrap; gap: 20px; }
  .ph-reels { grid-template-columns: repeat(3, 1fr); }
  .ph-reels video:nth-child(n+4) { display: none; }
  .ph-sites .frame { width: 78vw; }
  .stat-band { grid-template-columns: 1fr; padding: 56px var(--gutter); gap: 0; }
  .stat-band > div, .stat-band > div:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid rgba(255,255,251,.18); }
  .stat-band > div:first-child { border-top: 0; padding-top: 0; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .results { grid-template-columns: 1fr; }
  .result { aspect-ratio: 4 / 5; }
  .inc-grid { grid-template-columns: 1fr; }
  .inc, .inc:not(:nth-child(3n+1)) { padding: 32px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,251,.1); }
  .films, .films.two { grid-template-columns: 1fr 1fr; gap: 8px; }
  .films .film-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .films .film-item:last-child:nth-child(odd) .film { aspect-ratio: 4 / 5; }
  .film-sound { right: 10px; bottom: 10px; padding: 8px 10px; }
  .film-sound b { display: none; }
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .reels .film { flex: 0 0 62vw; scroll-snap-align: start; }
  .photo-strip { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 8px; height: auto; }
  .photo-strip img { aspect-ratio: 2 / 3; width: 100%; height: auto; }
  .photo-strip img.wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .sites { grid-template-columns: 1fr; gap: 56px; }
  .quote-mark { font-size: 100px; height: 44px; }
  .faq summary { font-size: 16px; padding: 22px 0; }
  .faq p { padding-right: 0; }
  .proj-body { grid-template-columns: 1fr; gap: 48px; }
  .proj-meta { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .proj-copy { font-size: 17px; }
  .stills, .stills.four { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stills img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .next-proj { height: 56svh; min-height: 340px; }
  .next-inner { bottom: 36px; }
  .next-arrow { display: none; }
  footer { padding: 44px var(--gutter); }
}

/* WORK MOSAIC (content creation): project cards that play their film on hover */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.work { position: relative; overflow: hidden; height: 520px; background: var(--black); color: var(--egg); text-decoration: none; display: block; }
.work.tall { height: 720px; }
.work.w7 { grid-column: span 7; } .work.w5 { grid-column: span 5; } .work.w6 { grid-column: span 6; } .work.w4 { grid-column: span 4; }
.work img, .work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work img { transform: scale(1.06); transition: transform 1.4s var(--ease), opacity .6s; }
.work:hover img { transform: scale(1); }
.work video { opacity: 0; transition: opacity .6s; }
.work.playing video { opacity: 1; }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(5,5,5,.85) 100%); }
.work-over { position: absolute; left: 36px; right: 36px; bottom: 34px; z-index: 1; }
.work-tag { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.work-title { font-size: clamp(30px, 3.2vw, 54px); font-weight: 600; letter-spacing: -.03em; text-transform: uppercase; line-height: .95; margin-top: 12px; }
.work-cta { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.work:hover .work-cta { opacity: 1; transform: none; }
.work-n { position: absolute; top: 28px; right: 32px; z-index: 1; font-size: 11px; font-weight: 500; letter-spacing: .15em; opacity: .6; }
@media (max-width: 960px) {
  .work-grid { grid-template-columns: 1fr; gap: 8px; }
  .work, .work.tall { grid-column: auto !important; height: 112vw; max-height: 560px; }
  .work-over { left: 20px; right: 20px; bottom: 22px; }
  .work-cta { opacity: 1; transform: none; }
}

/* FEEDS (social): phone mock-ups of client Instagram feeds, drifting sideways */
.feeds-section { overflow: hidden; }
.lifts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.lift { display: flex; align-items: baseline; gap: 14px; padding: 18px 26px; background: var(--green); color: var(--egg); border-radius: 100px; }
.lift-n { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.lift-l { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.dark .lift { background: var(--egg); color: var(--black); }
.feeds { margin: 0 calc(var(--gutter) * -1); }
.feeds-track { display: flex; gap: 28px; width: max-content; padding: 20px var(--gutter) 10px; animation: drift 70s linear infinite; }
.feeds:hover .feeds-track { animation-play-state: paused; }
.phone { flex: 0 0 clamp(230px, 19vw, 290px); text-decoration: none; color: var(--black); }
.phone:nth-child(even) { margin-top: 48px; }
.phone-screen {
  aspect-ratio: 9 / 18.5; overflow: hidden; background: #fff;
  border: 9px solid #111; border-radius: 38px; box-shadow: 0 30px 60px rgba(5,5,5,.18);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone:hover .phone-screen { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(5,5,5,.24); }
.phone-cap { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding-left: 6px; }
.phone-cap b { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: -.005em; }
.phone-cap span { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
@media (max-width: 960px) {
  .lifts { margin-bottom: 36px; }
  .lift { padding: 14px 20px; }
  .phone { flex-basis: 58vw; }
  .feeds-track { gap: 16px; animation-duration: 50s; }
}
@media (prefers-reduced-motion: reduce) { .feeds-track { animation: none; } .feeds { overflow-x: auto; } }

/* INTRO COLLAGE: reel or photo under the intro headline, with an overlapping second image */
.intro-copy { padding-top: 8px; position: sticky; top: 120px; }
.intro-media { position: relative; margin-top: 64px; width: min(100%, 480px); }
.im-main { aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); }
.im-main img, .im-main video { width: 100%; height: 100%; object-fit: cover; }
.im-side {
  position: absolute; right: -96px; bottom: -48px; width: 46%; aspect-ratio: 1;
  overflow: hidden; border: 8px solid var(--egg); box-shadow: 0 24px 60px rgba(5,5,5,.18);
  transition: transform .8s var(--ease);
}
.im-side.wide { width: 78%; aspect-ratio: auto; border-width: 0; right: -140px; bottom: -36px; }
.im-side > img { width: 100%; height: 100%; object-fit: cover; }
.intro-media:hover .im-side { transform: translate(-10px, -10px); }
.im-tag {
  position: absolute; left: 18px; top: 18px; padding: 9px 14px;
  font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--egg); background: rgba(5,5,5,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* list rows respond on hover */
.fit-list li { transition: padding-left .4s var(--ease), color .3s; cursor: default; }
.fit-list li::before { transition: transform .4s var(--ease); }
.fit-list li:hover { padding-left: 12px; color: var(--green); }
.fit-list li:hover::before { transform: translateX(4px); }

/* FAQ with a photo column */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.faq-media { position: sticky; top: 120px; }
.faq-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.faq-media figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 16px; opacity: .55; }

@media (max-width: 960px) {
  .intro-media { margin-top: 40px; width: 82%; }
  .im-side { right: -22%; bottom: -32px; }
  .im-side.wide { right: -24%; width: 70%; }
  .intro-copy { padding-top: 32px; position: static; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-media { position: static; }
  .faq-media img { aspect-ratio: 3 / 2; }
}

/* featured project card + landscape films */
.work.w12 { grid-column: span 12; }
.work.feature { height: 78svh; min-height: 560px; }
.work.feature .work-title { font-size: clamp(44px, 6vw, 96px); }
.work.feature .work-over { left: 48px; bottom: 44px; }
.work-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.work-chips span { padding: 9px 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,251,.14); border: 1px solid rgba(255,255,251,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.work-chips b { font-weight: 600; letter-spacing: 0; margin-right: 4px; }
.films.land .film { aspect-ratio: 16 / 9; }
@media (max-width: 960px) {
  .work.feature { height: 120vw; max-height: 640px; min-height: 0; }
  .work.feature .work-over { left: 20px; bottom: 24px; }
  .films.land { grid-template-columns: 1fr; }
  .films.land .film-item:last-child:nth-child(odd) .film { aspect-ratio: 16 / 9; }
}

/* SECTOR PAGES */
.logo-wall { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-cell { height: 180px; display: flex; align-items: center; justify-content: center; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .3s; }
.logo-cell img { max-width: 70%; max-height: 72px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.logo-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.phones-row { display: flex; gap: 28px; flex-wrap: wrap; }
.phones-row .phone { flex: 0 0 clamp(230px, 22vw, 300px); }
.phones-row .phone:nth-child(even) { margin-top: 48px; }
.svc-links { border-top: 1px solid var(--line); }
.svc-link { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); color: var(--black); text-decoration: none; transition: padding-left .45s var(--ease), color .3s; }
.svc-link span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--green); }
.svc-link b { font-size: clamp(24px, 2.6vw, 40px); font-weight: 600; text-transform: uppercase; letter-spacing: -.02em; }
.svc-link i { font-style: normal; font-size: 28px; color: var(--green); transition: transform .45s var(--ease); }
.svc-link:hover { padding-left: 16px; color: var(--green); }
.svc-link:hover i { transform: translateX(8px); }
.sector-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sector-links a { padding: 16px 24px; border: 1px solid rgba(5,5,5,.18); color: var(--black); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.sector-links a:hover { background: var(--green); border-color: var(--green); color: var(--egg); }
@media (max-width: 960px) {
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .logo-cell { height: 120px; padding: 20px; }
  .phones-row { flex-wrap: nowrap; overflow-x: auto; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .phones-row .phone { flex-basis: 62vw; }
  .svc-link { grid-template-columns: 44px 1fr auto; padding: 22px 0; }
}

/* EVENT GRID: a reel beside a mosaic of event photos */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.event-grid .film { grid-row: span 2; }
.event-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 960px) {
  .event-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .event-grid .film { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
}

/* ── INTRO, REDESIGNED: one 12-column grid, no dead space ──
   row 1: headline | copy
   row 2: reel | photo | list (stretched to the media height) */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 64px; align-items: start; }
.intro > div:first-child, .intro-copy { display: contents; }
.intro-hl { grid-column: 1 / 7; grid-row: 1; align-self: start; }
.intro-body { grid-column: 8 / 13; grid-row: 1; padding-top: 6px; }
.intro-media { grid-column: 1 / 9; grid-row: 2; margin: 0; width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.intro-media:not(:has(.im-side)) { grid-template-columns: 1fr; }
.intro-media:not(:has(.im-side)) .im-main { aspect-ratio: 16 / 10; }
.im-main, .im-side, .im-side.wide { position: relative; inset: auto; width: auto; aspect-ratio: 4 / 5; border: 0; box-shadow: none; right: auto; bottom: auto; }
.intro-media:hover .im-side { transform: none; }
.im-side > img, .im-side .frame, .im-side .frame img { width: 100%; height: 100%; object-fit: cover; }
.im-side.wide { background: #e9e9e6; }
.im-side.wide .frame { display: flex; flex-direction: column; border-radius: 0; box-shadow: none; }
.im-side.wide .frame img { flex: 1; min-height: 0; aspect-ratio: auto; object-position: top left; }
.im-tag { display: none; }
.intro .fit-list { grid-column: 9 / 13; grid-row: 2; align-self: stretch; margin: 0; display: flex; flex-direction: column; }
.intro .fit-list li { flex: 1; align-items: center; font-size: 16px; padding: 18px 0; }
.intro .fit-list li::before { content: '→'; }
@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; row-gap: 32px; }
  .intro-hl, .intro-body, .intro-media, .intro .fit-list { grid-column: 1; grid-row: auto; }
  .intro-media { gap: 8px; }
  .intro .fit-list li { flex: none; padding: 16px 0; }
}
.intro-hl { font-size: clamp(38px, 4.4vw, 70px); }
.intro .fit-list li { font-size: 18px; letter-spacing: -.005em; }
@media (max-width: 960px) { .intro-hl { font-size: clamp(30px, 8vw, 44px); } .intro .fit-list li { font-size: 15px; } }
/* single website frame in the intro media slot */
.im-site { display: block; background: #e9e9e6; }
.im-site .frame { height: 100%; display: flex; flex-direction: column; border-radius: 0; box-shadow: none; }
.im-site .frame img { flex: 1; min-height: 0; aspect-ratio: auto; width: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease); }
.im-site:hover .frame img { transform: scale(1.02); }
/* the intro website frame scrolls through the whole homepage */
.im-site .frame img.site-scroll { transform: none; object-position: 50% 0%; animation: siteScroll 34s cubic-bezier(.45,0,.55,1) infinite; }
.im-site:hover .frame img.site-scroll { transform: none; animation-play-state: paused; }
@keyframes siteScroll {
  0%, 8%   { object-position: 50% 0%; }
  46%, 54% { object-position: 50% 100%; }
  92%, 100% { object-position: 50% 0%; }
}
@media (prefers-reduced-motion: reduce) { .im-site .frame img.site-scroll { animation: none; } }

/* ── PROBLEM / ANSWER PANEL (replaces the arrow lists) ──
   One statement open at a time with its answer; steps through on its own, click to jump. */
.intro-media { grid-column: 1 / 8; }
.intro .pf { grid-column: 8 / 13; grid-row: 2; align-self: stretch; padding-left: 32px; display: flex; flex-direction: column; }
.pf-title { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); color: var(--green); letter-spacing: -.01em; line-height: 1; padding-bottom: 28px; }
.pf-item { position: relative; border-top: 1px solid var(--line); }
.pf-item:last-child { border-bottom: 1px solid var(--line); }
.pf-q { width: 100%; display: grid; grid-template-columns: 40px 1fr 20px; align-items: baseline; gap: 0 8px; padding: 24px 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--sans); color: var(--black); }
.pf-n { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--green); }
.pf-t { font-size: clamp(18px, 1.55vw, 23px); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; opacity: .38; transition: opacity .4s; }
.pf-item.is-open .pf-t, .pf-q:hover .pf-t { opacity: 1; }
.pf-i { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; }
.pf-i::before, .pf-i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--green); transition: transform .45s var(--ease); }
.pf-i::after { transform: rotate(90deg); }
.pf-item.is-open .pf-i::after { transform: rotate(0deg); }
.pf-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.pf-item.is-open .pf-a { grid-template-rows: 1fr; }
.pf-a > div { overflow: hidden; }
.pf-a p { padding: 0 28px 28px 48px; font-size: 16px; line-height: 1.65; color: rgba(5,5,5,.66); opacity: 0; transform: translateY(8px); transition: opacity .5s .15s, transform .6s .15s var(--ease); }
.pf-item.is-open .pf-a p { opacity: 1; transform: none; }
/* progress line on the open row */
.pf-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; z-index: 1; }
.pf.playing .pf-item.is-open::after { animation: pfBar 6.5s linear forwards; }
.pf.playing:hover .pf-item.is-open::after { animation-play-state: paused; }
@keyframes pfBar { to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .intro-media, .intro .pf { grid-column: 1; grid-row: auto; }
  .intro .pf { padding-left: 0; }
  .pf-q { padding: 20px 0; grid-template-columns: 34px 1fr 18px; }
  .pf-a p { padding: 0 8px 22px 42px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .pf.playing .pf-item.is-open::after { animation: none; } }
