/* Homepage (first-visit audit and GQ's notes, 5 Nov 2026): what the homepage adds on top of v6.css. Same tokens, type and buttons as the live site. */

/* hero: the original buttons, with room between them; two to a row on a phone */
.hero-doors { gap: 14px 16px; }
@media (max-width: 720px) {
  .hero-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-doors .btn { justify-content: center; text-align: center; min-height: 50px; }
  .hero-doors .btn.acid, .hero-doors .btn:last-child { grid-column: 1 / -1; }
}

/* links stacked in a card get real space, so each one is easy to hit */
.ara .ara-go { gap: 18px; margin-top: var(--s5); }
.ara .ara-go .tlink { min-height: 32px; align-items: center; text-underline-offset: 7px; }

/* the work: the lead boxed, not full-bleed; the three reels at one shape; every frame outlined the same way */
.ws-h { margin: 0 0 var(--s7); padding-top: var(--s9); font: 900 clamp(48px, 7.2vw, 120px)/.88 var(--font-display); font-stretch: 62%; text-transform: uppercase; color: var(--paper); }
.rf-frame { position: relative; display: block; overflow: hidden; background: #000; border: 3px solid var(--paper); box-shadow: 10px 10px 0 var(--ochre); transition: transform .3s var(--ease-snap, ease), box-shadow .3s var(--ease-snap, ease); }
.rf-frame:hover, .rf-frame:focus-visible { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--ochre); }
.rf-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rf-wide { aspect-ratio: 4 / 3; }
.rf-tall { aspect-ratio: 9 / 16; }
.rf-lead { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.rf-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.8vw, 48px); align-items: start; }
.rf-item { display: grid; gap: 0; align-content: start; }
.rf-t { margin: var(--s4) 0 0; color: var(--paper); font: 800 clamp(24px, 2.2vw, 34px)/1.02 var(--font-display); font-stretch: 80%; }
.rf-lead .rf-t { margin-top: 0; font: 900 clamp(40px, 4.6vw, 76px)/.9 var(--font-display); font-stretch: 62%; text-transform: uppercase; }
.rf-go { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: var(--s3); color: var(--paper); }
.rf-go .tlink { white-space: nowrap; width: max-content; font-size: clamp(16px, 1.25vw, 19px); min-height: 32px; align-items: center; text-underline-offset: 6px; }
@media (max-width: 900px) {
  .rf-lead { grid-template-columns: 1fr; }
  .rf-row { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 18px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .rf-row::-webkit-scrollbar { display: none; }
  .rf-item { flex: 0 0 68%; scroll-snap-align: start; }
  .rf-go { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) { .rf-frame { box-shadow: 7px 7px 0 var(--ochre); } }
.work-sel { padding-bottom: var(--s10); }

/* client sites: the work page's own block; the button under it */
.wk-client .ws-all { margin-top: var(--s8); padding-bottom: var(--s9); }

/* guides: one heading and one line, then a feature that fits on one screen, then three clearly apart */
.hg-intro { padding-top: var(--s9); padding-bottom: 0; }
.hgi-t { margin: 0 0 var(--s3); font: 900 clamp(40px, 5vw, 84px)/.9 var(--font-display); font-stretch: 62%; text-transform: uppercase; max-width: 22ch; }
.hgi-l { margin: 0; max-width: 44ch; font: 500 clamp(18px, 1.5vw, 22px)/1.45 var(--font-display); }
.hg-intro + .home-guide { padding-top: var(--s8); }
.home-guide .hg { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); max-width: 1180px; }
.home-guide .hg-img { max-width: 420px; box-shadow: 8px 10px 0 var(--acid); }
.home-guide .hg-copy { gap: var(--s3); }
.home-guide .hg-t { font-size: clamp(36px, 3.8vw, 64px); }
.home-guide .hg-l { font-size: clamp(17px, 1.3vw, 20px); }
.home-guide .hg-row { margin-top: var(--s9); padding-top: var(--s6); border-top: 1px solid rgba(240,237,230,.3); gap: var(--s6); }
.home-guide .hg-row a { grid-template-columns: 110px 1fr; gap: 6px 18px; }
.home-guide .hg-rt { font-size: clamp(17px, 1.3vw, 20px); }
.home-guide .hg-all { margin-top: var(--s8); }
.home-guide .hg-all .tlink { font-size: clamp(18px, 1.5vw, 22px); }
@media (max-width: 820px) {
  .home-guide .hg { grid-template-columns: 1fr; }
  .home-guide .hg-img { max-width: 72vw; }
  .home-guide .hg-row { gap: var(--s5); }
  .home-guide .hg-row a { grid-template-columns: 84px 1fr; }
}

/* contact: the next step said out loud; the two routes spaced apart */
.ctc .links-row { gap: 16px; flex-wrap: wrap; }
.ctc-next { margin: var(--s3) 0 0; font: 500 16px/1.4 var(--font-display); }
.ctc-next a { margin-left: 10px; text-decoration: underline; text-underline-offset: 4px; }
