/* Homepage (Slash). Shared theme, nav and footer come from site.css.
   Every class here is prefixed hm- so nothing collides with the inner pages. */
:root {
  --bg: #f7f8f9;
  --white: #ffffff;
  --dim: #646a71;
  --acc: #ff4a1c;
  --a: 14deg;
  --tan: .2493;
  --pad: clamp(20px, 3.4vw, 56px);
  --bar: 60px;
}
.hm { font-size: 16px; line-height: 1.55; }
:where(.hm) :where(p, h1, h2, h3, ul) { margin: 0; }
:where(.hm) :where(h1, h2, h3) { letter-spacing: -.025em; }
.home .nav-inner, .home .contact .wrap { width: auto; margin-inline: var(--pad); }
.hm-reel-layer { background: var(--bg); }
.hm-more { margin-top: clamp(40px, 5vw, 70px); padding-left: 10px; }
.hm-small .hm-btn { margin-left: 10px; }
.hm-nudge { margin-left: 10px; }
.no-js .hm-strip { clip-path: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.hm-sl { color: var(--acc); font-family: var(--display); font-weight: 600; }


/* Skewed button */
.hm-btn { display: inline-block; position: relative; padding: 18px 36px; color: var(--ink); font: 600 16px/1 var(--display); isolation: isolate; }
.hm-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: skewX(calc(var(--a) * -1)); transition: transform .45s var(--ease), background .25s; }
.hm-btn:hover::before { transform: skewX(calc(var(--a) * -1)) scaleX(1.07); }
.hm-btn.hm-dark { color: var(--white); }
.hm-btn.hm-dark::before { background: var(--ink); }
.hm-btn.hm-ghost::before { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.hm-btn.hm-ghost:hover::before { background: var(--white); }

/* Reactive variable type */
.hm-vf { font-family: var(--display); font-weight: 700; line-height: .86; letter-spacing: -.03em; white-space: nowrap; font-kerning: none; }
.hm-vf span { display: inline-block; }
.hm-vf .hm-sp { width: .24em; }

/* Hero */
.hm-hero { position: relative; min-height: calc(100svh - var(--bar)); display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.hm-hero-copy { position: relative; z-index: 2; align-self: center; padding: 36px var(--pad); max-width: 50vw; }
.hm-kicker { font-size: 14px; margin-bottom: 26px; }
.hm-kicker b { font-weight: 600; }
.hm-hero h1 { font-size: clamp(52px, 8.4vw, 152px); }
.hm-hero h1 .hm-line { display: block; overflow: hidden; padding: .03em 0 .12em; margin-bottom: -.1em; }
.hm-hero h1 .hm-line span { animation: letter .8s var(--ease) backwards; animation-delay: calc(var(--i) * 32ms); }
.hm-hero h1 .hm-swap.hm-out span { animation: letter-out .32s ease-in forwards; animation-delay: calc(var(--i) * 18ms); }
.hm-hero h1 .hm-swap { color: var(--ink); }
.hm-hero h1 .hm-swap span:last-child { color: var(--acc); }
@keyframes letter { from { transform: translateY(108%); } }
@keyframes letter-out { to { transform: translateY(-108%); } }
.hm-hero .hm-lede { max-width: 42ch; margin-top: 30px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; }
.hm-hero .hm-actions { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-left: 10px; }

.hm-strips { position: absolute; top: 0; bottom: 0; right: 16vw; width: 36vw; display: flex; gap: clamp(8px, 1vw, 16px); transform: skewX(calc(var(--a) * -1)); transform-origin: 0 100%; }
.hm-strip { position: relative; overflow: hidden; clip-path: inset(100% 0 0 0); animation: grow 1.2s var(--ease) forwards; }
@keyframes grow { to { clip-path: inset(0); } }
.hm-strip > div { position: absolute; inset: -12% -40%; transform: skewX(var(--a)) translateY(var(--py, 0px)); will-change: transform; }
.hm-strip img { width: 100%; height: 100%; object-fit: cover; }
.hm-s1 { flex: .1; background: var(--acc); animation-delay: .05s; }
.hm-s2 { flex: 1; background: #111; animation-delay: .15s; }
.hm-s2 img { object-position: 50% 16%; }

.hm-proof { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); padding: 0 var(--pad) 34px; max-width: 45vw; }
.hm-proof div { font-size: 13px; line-height: 1.35; padding-top: 12px; border-top: 1.5px solid var(--ink); }
.hm-proof b { display: block; font: 700 clamp(26px, 2.4vw, 40px)/1 var(--display); letter-spacing: -.03em; margin-bottom: 8px; }

/* Hatch divider (SVG so the lines stay crisp) */
.hm-hatch { display: block; width: 100%; height: clamp(36px, 4vw, 60px); color: var(--ink); }

/* Reel */
.hm-reel { position: relative; background: var(--white); }
.hm-reel-pin { position: sticky; top: var(--bar); height: calc(100svh - var(--bar)); display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); overflow: hidden; --s: calc((100svh - var(--bar)) * var(--tan)); }
.hm-reel-left { position: relative; padding: clamp(28px, 4vw, 60px) var(--pad); display: flex; flex-direction: column; z-index: 2; }
.hm-reel-left h2 { font: 500 14px/1.4 var(--body); letter-spacing: 0; }
.hm-reel-num { display: flex; align-items: baseline; gap: .12em; margin-top: 10px; font: 700 clamp(56px, 6.4vw, 112px)/.9 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hm-reel-num b { color: var(--acc); font-weight: 700; }
.hm-reel-num span { font-size: .34em; font-weight: 500; letter-spacing: 0; color: var(--dim); }
.hm-copies { position: relative; flex: 1; }
.hm-copy { position: absolute; inset: auto 0 0; padding-bottom: 8px; opacity: 0; transform: translateY(26px); transition: opacity .3s ease, transform .6s var(--ease); pointer-events: none; }
.hm-copy.hm-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .1s; }
.hm-copy .hm-sector { font-size: 14px; color: var(--dim); }
.hm-copy h3 { font-size: clamp(36px, 4.2vw, 76px); font-weight: 700; line-height: .95; margin: 10px 0 20px; text-wrap: balance; }
.hm-copy .hm-outcome { font-size: clamp(16px, 1.25vw, 19px); max-width: 34ch; }
.hm-copy .hm-stat { margin: 22px 0 26px; padding-top: 16px; border-top: 1.5px solid var(--ink); max-width: 34ch; }
.hm-copy .hm-stat b { display: block; font: 700 clamp(30px, 2.9vw, 50px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.hm-copy .hm-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--dim); }
.hm-copy .hm-stat:empty { display: none; }
.hm-copy .hm-btn { margin-left: 10px; }
.hm-ticks { display: flex; gap: 8px; align-items: center; padding: 26px 0 0 6px; font-size: 13px; font-variant-numeric: tabular-nums; }
.hm-ticks i { width: 4px; height: 26px; background: var(--mid); transform: skewX(calc(var(--a) * -1)); transition: background .3s, height .4s var(--ease); }
.hm-ticks i.hm-on { background: var(--acc); height: 38px; }

.hm-reel-right { position: relative; margin-left: calc(var(--s) * -1 + 20px); clip-path: polygon(var(--s) 0, 100% 0, 100% 100%, 0 100%); background: var(--mid); }
.hm-reel-layer { position: absolute; inset: 0; overflow: hidden; }
.hm-reel-layer img { position: absolute; top: 8%; left: calc(var(--s) * .82 + 2%); width: calc(95% - var(--s) * .82); height: 84%; max-width: none; object-fit: contain; filter: drop-shadow(0 24px 40px rgb(12 14 16 / .2)); }
.hm-reel-edge { position: absolute; inset: 0; background: var(--acc); pointer-events: none; }

.hm-reel-m { display: none; }

/* Sections */
.hm-sec { padding: clamp(72px, 9vw, 150px) var(--pad); }
.hm-sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--pad); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.hm-sec-head h2 { font-size: clamp(40px, 5.8vw, 100px); font-weight: 700; line-height: .94; text-wrap: balance; }
.hm-sec-head p { font-size: 17px; max-width: 38ch; padding-bottom: .4em; }
.hm-label { font-size: 14px; margin-bottom: 20px; }
.hm-label::before { content: "/ "; color: var(--acc); font-family: var(--display); font-weight: 700; }

/* Results */
.hm-deps { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 70px); align-items: stretch; }
.hm-sline { width: 100px; background: var(--acc); clip-path: polygon(calc(100% - 3px) 0, 100% 0, 3px 100%, 0 100%); }
.hm-dep h3 { font: 500 15px/1.3 var(--body); letter-spacing: 0; }
.hm-dep .hm-val { font: 700 clamp(60px, 8.6vw, 150px)/.9 var(--display); letter-spacing: -.045em; margin: 14px 0 12px; }
.hm-dep .hm-sub { font-size: 14px; color: var(--dim); }
.hm-dep .hm-eq { margin-top: 26px; font: 600 clamp(17px, 1.5vw, 23px)/1.3 var(--display); letter-spacing: -.01em; }
.hm-dep .hm-eq i { font-style: normal; color: var(--acc); padding: 0 .3em; }
.hm-dep .hm-facts { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--mid); font-size: 15px; }
.hm-dep .hm-facts span { white-space: nowrap; }

/* Work by type */
.hm-types { background: var(--white); padding: clamp(60px, 7vw, 120px) var(--pad) clamp(40px, 5vw, 80px); }
.hm-types > .hm-sec-head { margin-bottom: 0; }
.hm-type { padding-top: clamp(56px, 7vw, 120px); }
.hm-type-head { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.hm-type .hm-word { display: block; width: max-content; margin: clamp(10px, 1.4vw, 22px) 0 0 -.03em; font-weight: 800; line-height: .86; letter-spacing: -.04em; white-space: nowrap; }
.hm-type-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--pad); margin-top: clamp(20px, 3vw, 48px); align-items: start; }
.hm-type-line { font: 500 clamp(20px, 2vw, 32px)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; position: sticky; top: calc(var(--bar) + 24px); }
.hm-list a { display: grid; grid-template-columns: 2.4em 104px minmax(0, 1fr) minmax(0, 13em) 1.4em; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--mid); position: relative; }
.hm-list a:last-child { border-bottom: 1px solid var(--mid); }
.hm-list a::before { content: ""; position: absolute; inset: 0 -1.5vw; z-index: 0; background: var(--acc); transform: skewX(calc(var(--a) * -1)) scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.hm-list a:hover::before, .hm-list a:focus-visible::before { transform: skewX(calc(var(--a) * -1)) scaleX(1); }
.hm-list a > * { position: relative; }
.hm-list .hm-n { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .3s; }
.hm-list .hm-th { width: 104px; height: 62px; background: var(--bg); overflow: hidden; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); }
.hm-list .hm-th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hm-list .hm-nm { display: block; font: 600 clamp(20px, 1.9vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.hm-list .hm-oc { display: block; font-size: 15px; margin-top: 3px; color: #2f3439; }
.hm-list .hm-sv { text-align: right; font-size: 13px; line-height: 1.3; color: #2f3439; }
.hm-list .hm-sv b { display: block; font: 700 clamp(19px, 1.7vw, 25px)/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.hm-list .hm-ar { font: 600 26px/1 var(--display); text-align: right; color: var(--acc); transition: transform .4s var(--ease), color .3s; }
.hm-list a:hover .hm-ar { transform: translateX(6px); color: var(--ink); }
.hm-list a:hover .hm-n { color: var(--ink); }

/* About */
.hm-about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--pad); align-items: center; }
.hm-about .hm-big { font: 500 clamp(24px, 2.7vw, 44px)/1.14 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.hm-about .hm-small { margin-top: 26px; max-width: 46ch; }
.hm-para { position: relative; aspect-ratio: 5 / 4; transform: skewX(calc(var(--a) * -1)); overflow: hidden; margin-left: 10%; }
.hm-para div { position: absolute; inset: 0 -22%; transform: skewX(var(--a)); }
.hm-para img { width: 100%; height: 100%; object-fit: cover; }
.hm-cap { font-size: 13px; color: var(--dim); margin: 14px 0 0 22%; }

/* Research + press */
.hm-duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); }
.hm-duo h3 { font-size: clamp(28px, 3.1vw, 50px); font-weight: 600; line-height: 1.04; text-wrap: balance; }
.hm-duo h3 + p { margin: 20px 0 30px; max-width: 46ch; }
.hm-shift { display: grid; gap: 12px; font-size: 14px; max-width: 560px; margin-bottom: 34px; }
.hm-shift div { display: grid; grid-template-columns: 8.5em 1fr 4.8em; align-items: center; gap: 18px; }
.hm-shift em { position: relative; height: 20px; display: block; transform: skewX(calc(var(--a) * -1)); background: var(--mid); }
.hm-shift em::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--ink); transition: width 1.4s var(--ease) .2s; }
.hm-shift div:last-child em::after { background: var(--acc); }
.hm-shift b { font: 700 20px/1 var(--display); text-align: right; }
[data-reveal]:not([data-visible]) .hm-shift em::after { width: 0; }
.hm-press { list-style: none; margin: 0; padding: 0; }
.hm-press a { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--mid); }
.hm-press li:last-child a { border-bottom: 1px solid var(--mid); }
.hm-press b { font: 600 clamp(19px, 1.8vw, 26px)/1.15 var(--display); letter-spacing: -.02em; }
.hm-press span { font-size: 14px; color: var(--dim); }
.hm-press a:hover b { text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Contact */


@media (max-width: 900px) {
  .hm-hero { min-height: 0; }
  .hm-hero-copy { max-width: none; padding-top: 44px; }
  .hm-hero h1 { font-size: 17vw; }
  .hm-strips { display: none; }
  .hm-hero .hm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 0 8px; }
  .hm-hero .hm-actions .hm-btn { padding: 18px 4px; text-align: center; white-space: nowrap; font-size: 15px; }
  .hm-proof { max-width: none; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hm-reel { display: none; }
  .hm-reel-m { display: block; background: var(--white); padding: 56px var(--pad) 0; }
  .hm-reel-m article { padding: 30px 0; border-top: 1px solid var(--mid); }
  .hm-reel-m .hm-ph { aspect-ratio: 3 / 2; padding: 0; margin: 0 calc(var(--pad) * -.5) 16px; }
  .hm-reel-m .hm-ph img { width: 100%; height: 100%; object-fit: contain; }
  .hm-reel-m h3 { font-size: 34px; font-weight: 700; line-height: 1; margin: 6px 0 12px; }
  .hm-reel-m .hm-sector, .hm-reel-m .hm-stat span { font-size: 14px; color: var(--dim); }
  .hm-reel-m .hm-stat { margin: 14px 0 20px; }
  .hm-reel-m .hm-stat b { font: 700 30px/1 var(--display); margin-right: 8px; }
  .hm-reel-m .hm-btn { margin-left: 10px; }
  .hm-sec-head, .hm-deps, .hm-about, .hm-duo, .hm-type-body { grid-template-columns: 1fr; }
  .hm-sline { display: none; }
  .hm-dep + .hm-sline + .hm-dep { margin-top: 30px; padding-top: 40px; border-top: 2px solid var(--acc); }
  .hm-type-line { position: static; }
  .hm-list a { grid-template-columns: 96px minmax(0, 1fr) 1.2em; gap: 14px; }
  .hm-list .hm-sv { display: none; }
  .hm-reel-num { display: none; }
  .hm-list .hm-n { display: none; }
  .hm-list .hm-th { width: 96px; height: 64px; }
  .hm-para { margin: 0 8%; }
  .hm-cap { margin-left: 8%; }
}
