/* ==========================================================================
   IDENTITY GRAFIX — Design System
   Brand source: Dylan's shop signage + vinyl logo panel (see _source-assets/)
   Direction: precision fabrication / motorsport. Slant, signal, steel.
   NOT dark-glow-glass. Depth comes from material + type, not blur.
   ========================================================================== */

/* --- 1. TOKENS ---------------------------------------------------------- */
:root {
  /* Brand — sampled + calibrated from real vinyl under two lighting conditions */
  --lime:        #A3D53B;   /* primary signal */
  --lime-hot:    #B8F02A;   /* highlight only — never body text */
  --lime-deep:   #6E9422;   /* lime that passes AA on white */
  --steel:       #68736F;   /* logo fill, gray-green */
  --steel-lt:    #A4ABA7;
  --steel-dk:    #3A433E;

  --ink:         #0E1110;   /* near-black, cool */
  --ink-2:       #171B1A;
  --ink-3:       #222827;
  --hairline:    #2C3331;

  --paper:       #F4F6F4;
  --paper-2:     #E6EAE7;
  --white:       #FFFFFF;

  /* Type */
  --f-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Scale — fluid, clamps tuned so nothing reflows awkwardly at 390px */
  --t-hero:  clamp(2.9rem, 8.4vw, 8.2rem);
  --t-h1:    clamp(2.6rem, 7vw, 6rem);
  --t-h2:    clamp(2rem, 4.6vw, 3.9rem);
  --t-h3:    clamp(1.3rem, 2.2vw, 1.85rem);
  --t-body:  clamp(1rem, 1.05vw, 1.115rem);
  --t-sm:    0.875rem;
  --t-xs:    0.72rem;

  /* Space */
  --gut: clamp(1.25rem, 5vw, 5.5rem);
  --sec: clamp(4.5rem, 11vh, 10rem);
  --max: 1560px;

  /* Motion */
  --slant: -8deg;              /* the logo's forward lean, used system-wide */
  --e-out: cubic-bezier(.16,1,.3,1);
  --e-in:  cubic-bezier(.7,0,.84,0);
  --dur:   .78s;
}

/* --- 2. RESET ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; line-height: .92; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Focus — visible, on-brand, never removed */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--lime); color: var(--ink);
  padding: .9rem 1.4rem; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* --- 3. PRIMITIVES ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.pad  { padding-block: var(--sec); }

.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

/* Technical label — the "spec sheet" voice */
.tag {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex; align-items: center; gap: .6rem;
}
.tag::before {
  content: ''; width: 26px; height: 2px; background: var(--lime);
  transform: skewX(var(--slant));
}
.tag.on-light { color: var(--lime-deep); }
.tag.on-light::before { background: var(--lime-deep); }

.lede { font-size: clamp(1.05rem,1.5vw,1.3rem); line-height: 1.6; color: var(--steel-lt); max-width: 56ch; }
.on-light .lede, .light .lede { color: var(--steel-dk); }

/* --- 4. THE SLANT — brand signature ------------------------------------- */
/* Every accent leans forward like the logo. Consistency is what makes it read
   as a system rather than decoration. */
.slant { transform: skewX(var(--slant)); }
.slant > * { transform: skewX(calc(var(--slant) * -1)); }

/* --- 5. BUTTONS --------------------------------------------------------- */
.btn {
  --bg: var(--lime); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); background: var(--bg);
  transform: skewX(var(--slant));
  transition: transform .4s var(--e-out), background .3s, color .3s;
  overflow: hidden; isolation: isolate;
}
.btn > * { transform: skewX(calc(var(--slant) * -1)); }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateX(-101%);
  transition: transform .5s var(--e-out);
}
.btn:hover { color: var(--lime); }
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: skewX(var(--slant)) scale(.97); }

.btn--ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1.5px var(--hairline); }
.btn--ghost::after { background: var(--lime); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--lime); }

.btn--dark { --bg: var(--ink); --fg: var(--lime); }
.btn--dark::after { background: var(--lime); }
.btn--dark:hover { color: var(--ink); }

/* --- 6. NAV ------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--gut);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, padding .4s;
}
.nav.is-stuck { background: var(--ink); border-bottom-color: var(--hairline); padding-block: .65rem; }

.nav-logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav-links { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav-links a {
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--steel-lt);
  position: relative; padding-block: .4rem; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--lime); transform: skewX(var(--slant)) scaleX(0);
  transform-origin: left; transition: transform .45s var(--e-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: skewX(var(--slant)) scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.nav-tel {
  font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: .04em; color: var(--paper); white-space: nowrap;
}
.nav-tel:hover { color: var(--lime); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--paper);
  transition: transform .4s var(--e-out), opacity .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink); padding: 6rem var(--gut) 2rem;
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--e-out);
}
.drawer[data-open="true"] { clip-path: inset(0 0 0 0); }
.drawer a {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(2.2rem,9vw,3.4rem); text-transform: uppercase;
  color: var(--paper); padding-block: .35rem; border-bottom: 1px solid var(--hairline);
}
.drawer a:hover { color: var(--lime); }

@media (max-width: 1000px) {
  .nav-links, .nav-tel { display: none; }
  .burger { display: block; }
}
/* Below ~620px the logo + CTA + burger no longer fit, and the burger — the only
   way into the menu — gets pushed off-screen. Drop the nav CTA; the fixed
   mobile action bar already carries "Start a Project". */
@media (max-width: 620px) {
  .nav-right .btn { display: none; }
  .nav-logo span { font-size: .95rem; }
}

/* --- 7. HERO ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 7.5rem 3rem;
  overflow: hidden;
  background: var(--ink);
}
/* Material field — brushed steel + halftone. Replaces the "big photo" we
   don't have yet, and survives the swap when we do. */
.hero-field {
  position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(98deg, rgba(255,255,255,.020) 0 2px, transparent 2px 5px),
    radial-gradient(120% 90% at 78% 8%, rgba(163,213,59,.16), transparent 58%),
    radial-gradient(90% 70% at 12% 92%, rgba(104,115,111,.24), transparent 60%),
    linear-gradient(168deg, #121615 0%, var(--ink) 48%, #090B0A 100%);
}
/* Diagonal rule sweep — echoes the wrap stripe on the Barrier Tahoe */
.hero-stripe {
  position: absolute; z-index: 1; left: -12%; right: -12%; height: 26vh;
  top: 42%; transform: skewY(-7deg);
  background: linear-gradient(90deg, transparent, rgba(163,213,59,.055) 38%, rgba(163,213,59,.10) 52%, transparent 88%);
  border-block: 1px solid rgba(163,213,59,.16);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; width: 100%; }

.hero h1 {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: var(--t-hero); text-transform: uppercase;
  letter-spacing: -.022em; line-height: .855;
  margin-block: 1.1rem 1.4rem;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--lime); position: relative; }

.hero-sub { max-width: 46ch; color: var(--steel-lt); font-size: clamp(1rem,1.35vw,1.22rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

/* Spec strip — trades fake stats for verifiable facts */
.spec {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 1px; margin-top: clamp(2rem,4.5vh,3.4rem);
  background: var(--hairline); border-block: 1px solid var(--hairline);
}
.spec > div { background: var(--ink); padding: 1.5rem 1.4rem; }
.spec dt {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--steel); margin-bottom: .5rem;
}
.spec dd {
  margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.25rem,2vw,1.6rem); text-transform: uppercase; color: var(--paper);
  line-height: 1;
}
.spec dd small { display: block; font-family: var(--f-body); font-style: normal;
  font-weight: 400; font-size: .74rem; letter-spacing: 0; text-transform: none;
  color: var(--steel-lt); margin-top: .45rem; line-height: 1.4; }

/* --- 8. SECTION HEADS --------------------------------------------------- */
.sec-head { max-width: 46ch; margin-bottom: clamp(2.5rem,5vh,4.5rem); }
.sec-head h2 {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: var(--t-h2); text-transform: uppercase; letter-spacing: -.018em;
  margin-block: 1.1rem .9rem;
}
.sec-head h2 em { font-style: italic; color: var(--lime); }
.light .sec-head h2 em { color: var(--lime-deep); }

/* --- 9. LIGHT SECTION --------------------------------------------------- */
.light { background: var(--paper); color: var(--ink); }
.light .lede, .light p { color: var(--steel-dk); }

/* --- 10. SERVICES ------------------------------------------------------- */
.svc-list { border-top: 1px solid var(--paper-2); }
.svc {
  position: relative; display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: clamp(1rem,3vw,2.5rem); align-items: center;
  padding: clamp(1.6rem,3.2vh,2.5rem) 0;
  border-bottom: 1px solid var(--paper-2);
  transition: color .4s;
}
.svc::before {
  content: ''; position: absolute; inset: 0 -1.5rem; z-index: 0;
  background: var(--ink); transform: skewX(var(--slant)) scaleX(0);
  transform-origin: left; transition: transform .55s var(--e-out);
}
.svc > * { position: relative; z-index: 1; }
.svc:hover::before { transform: skewX(var(--slant)) scaleX(1); }
.svc:hover { color: var(--paper); }
.svc:hover .svc-no { color: var(--lime); }
.svc:hover .svc-desc { color: var(--steel-lt); }

.svc-no { display: block; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .16em; color: var(--steel); transition: color .4s; }
.svc-name {
  display: block;
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.5rem,3.4vw,2.5rem); text-transform: uppercase; line-height: 1;
}
.svc-desc { display: block; font-size: var(--t-sm); color: var(--steel); margin-top: .5rem; max-width: 54ch; transition: color .4s; }
.svc-go { font-family: var(--f-mono); font-size: 1.4rem; opacity: 0; transform: translateX(-12px); transition: .45s var(--e-out); }
.svc:hover .svc-go { opacity: 1; transform: translateX(0); color: var(--lime); }
@media (max-width: 720px) {
  .svc { grid-template-columns: 3.2rem 1fr; }
  .svc-go { display: none; }
}

/* --- 11. WORK / PORTFOLIO ---------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr)); gap: clamp(1rem,2vw,1.6rem); }
.work {
  position: relative; display: block; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--hairline);
  aspect-ratio: 4/3;
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out), filter .6s; filter: saturate(.92); }
.work:hover img { transform: scale(1.055); filter: saturate(1.08); }
.work-meta {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(1.4rem,2.4vw,1.9rem) clamp(1.2rem,2.4vw,1.9rem) clamp(1.2rem,2.4vw,1.9rem);
  /* Scrim must be opaque under the TEXT, not just at the very bottom edge.
     These photos have blown-out highlights (white truck, sunlit sign) exactly
     where the kicker sits, so the solid floor extends to ~62% of the overlay. */
  background: linear-gradient(to top,
    rgba(8,10,9,.97) 0%, rgba(8,10,9,.94) 88%, rgba(8,10,9,.55) 96%, transparent 100%);
}
.work-kind { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.work-title {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.2rem,2vw,1.6rem); text-transform: uppercase; margin-top: .3rem; color: var(--white);
}
.work-note { font-size: .8rem; color: var(--steel-lt); margin-top: .3rem; }

/* Placeholder tile — honestly marked, not a fake photo */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(var(--slant-deg,-8deg), rgba(255,255,255,.028) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--ink-3), var(--ink-2));
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.ph-badge {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--steel);
  border: 1px dashed var(--hairline); padding: .55rem 1rem;
}
.ph-badge b { color: var(--lime); font-weight: 700; }

/* --- 12. DYLAN / MAKER -------------------------------------------------- */
.maker { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
@media (max-width: 900px) { .maker { grid-template-columns: 1fr; } }
.maker-portrait { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink-2); border: 1px solid var(--hairline); }
.maker-quote {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.6rem,3vw,2.6rem); text-transform: uppercase; line-height: 1.02;
  margin-block: 1.2rem 1.4rem;
}
.maker-quote em { font-style: italic; color: var(--lime); }

/* --- 13. PROCESS -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,230px),1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.step { background: var(--ink); padding: clamp(1.6rem,3vw,2.4rem); }
.step-no {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: 2.6rem; color: var(--hairline); line-height: 1;
  -webkit-text-stroke: 1px var(--steel-dk);
}
.step h3 { font-family: var(--f-display); font-style: italic; font-size: var(--t-h3); text-transform: uppercase; margin-block: .9rem .6rem; }
.step p { font-size: var(--t-sm); color: var(--steel-lt); }

/* --- 14. MARQUEE -------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--hairline); padding-block: 1.1rem; background: var(--ink-2); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: slide 34s linear infinite; }
.marquee span {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.1rem,2vw,1.7rem); text-transform: uppercase;
  color: var(--steel-dk); white-space: nowrap; display: flex; align-items: center; gap: 3.5rem;
}
.marquee span::after { content: '◆'; font-size: .55em; color: var(--lime); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --- 15. CTA ------------------------------------------------------------ */
.cta { position: relative; background: var(--lime); color: var(--ink); overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: -30% -10%;
  background: repeating-linear-gradient(-8deg, rgba(0,0,0,.045) 0 30px, transparent 30px 60px);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: var(--t-h1); text-transform: uppercase; letter-spacing: -.02em; }
.cta p { color: rgba(14,17,16,.74); margin-block: 1rem 2.2rem; font-size: 1.1rem; max-width: 48ch; }

/* --- 16. FORM ----------------------------------------------------------- */
.field { margin-bottom: 1.4rem; }
.field label {
  display: block; font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .16em; text-transform: uppercase; color: var(--steel-lt); margin-bottom: .55rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.1rem;
  background: var(--ink-2); border: 1px solid var(--hairline);
  color: var(--paper); font-family: var(--f-body); font-size: 1rem;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime); background: var(--ink-3); outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--lime); }

.drop {
  border: 1.5px dashed var(--hairline); padding: 1.9rem 1.2rem; text-align: center;
  transition: border-color .3s, background .3s; cursor: pointer; display: block;
}
.drop:hover, .drop:focus-within { border-color: var(--lime); background: var(--ink-2); }
.drop small { display: block; color: var(--steel); font-size: .78rem; margin-top: .4rem; }

/* --- 17. FOOTER --------------------------------------------------------- */
.foot { background: var(--ink-2); border-top: 1px solid var(--hairline); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem,4vw,3.5rem); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem; font-weight: 600; }
.foot li { margin-bottom: .55rem; }
.foot a { color: var(--steel-lt); font-size: var(--t-sm); transition: color .3s; }
.foot a:hover { color: var(--paper); }
.foot-bar {
  margin-top: clamp(2.5rem,5vh,4rem); padding-top: 1.6rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .78rem; color: var(--steel);
}

/* --- 18. SCROLL REVEAL -------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s var(--e-out), transform .85s var(--e-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Above-the-fold content must never depend on the scroll observer — if JS is
   slow, blocked or absent, the hero would otherwise paint empty. These animate
   on load instead; the observer adding .in later is harmless. */
.hero [data-reveal] { animation: rise .9s var(--e-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* Belt and braces: no JS at all → everything visible. */
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- 19. MOBILE ACTION BAR --------------------------------------------- */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 180;
  display: none; gap: 1px; background: var(--hairline);
  border-top: 1px solid var(--hairline);
}
.mobile-bar a {
  flex: 1; text-align: center; padding: 1rem .5rem; background: var(--ink);
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.mobile-bar a.primary { background: var(--lime); color: var(--ink); }
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 54px; }
}

/* --- 20. UTIL ----------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* --- 21. SHOWCASE — fleet film ------------------------------------------
   Full-width dark band holding the wrap film.

   The film is a 720x1280 PORTRAIT phone clip. It is presented at its native
   aspect on purpose: cropping it to a landscape band would leave 720x405 to
   stretch across a 1920 viewport (a 2.7x upscale) and it would look soft on
   the exact surface that is supposed to prove craftsmanship. Vertical frame +
   type column reads as deliberate and keeps every pixel 1:1.
   -------------------------------------------------------------------- */
.showcase { background: var(--ink-2); border-block: 1px solid var(--hairline); overflow: hidden; }
.showcase .wrap {
  display: grid; gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 900px) {
  .showcase .wrap { grid-template-columns: minmax(0, 1fr); }
  /* Once stacked, an unconstrained 9:16 frame runs ~970px tall on a tablet and
     swallows the whole viewport. Cap it so the copy stays in the same scroll. */
  .film-col { max-width: 400px; }
}

/* --- film frame --- */
.film {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--ink); border: 1px solid var(--hairline);
  /* corner notch echoing the logo's forward lean */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.film video,
.film .film-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  /* Slight over-scale so the scroll zoom never reveals an edge. */
  transform: scale(1.03);
  will-change: transform;
}
.film .film-poster { z-index: 1; transition: opacity .5s var(--e-out); }
.film.is-playing .film-poster { opacity: 0; }

/* Scroll-driven push-in. Runs off the main thread where supported; browsers
   without scroll timelines simply get the static 1.03 scale above — no JS
   scroll listener anywhere, so this cannot cost frames. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .film video, .film .film-poster {
      animation: film-push linear both;
      animation-timeline: view();
      animation-range: entry 15% exit 85%;
    }
  }
}
@keyframes film-push { from { transform: scale(1.015); } to { transform: scale(1.11); } }

/* --- label cycle over the film --- */
.film-labels {
  position: absolute; z-index: 2; inset: auto 0 0 0;
  padding: 1.1rem 1.25rem 1.35rem;
  /* Same scrim shape as .work-meta, for the same reason: the footage has
     blown-out highlights (white trailer panels, sunlit concrete) that pass
     directly behind this text as the camera moves. A linear ramp measured only
     4.5:1–6:1 at its worst frame; a solid floor to ~88% holds it above 12:1
     for every frame in the clip. */
  background: linear-gradient(to top,
    rgba(8,10,9,.97) 0%, rgba(8,10,9,.94) 88%, rgba(8,10,9,.55) 96%, transparent 100%);
  font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  display: grid; /* all labels stack in one cell; only one is visible at a time */
}
.film-labels b { grid-area: 1 / 1; font-weight: 500; opacity: 0; }
.film-labels b::before { content: '◆'; color: var(--lime); font-size: .6em; margin-right: .7rem; vertical-align: middle; }
.showcase.is-live .film-labels b { animation: label-cycle 16s var(--e-out) infinite; }
.showcase.is-live .film-labels b:nth-child(2) { animation-delay: 4s; }
.showcase.is-live .film-labels b:nth-child(3) { animation-delay: 8s; }
.showcase.is-live .film-labels b:nth-child(4) { animation-delay: 12s; }
@keyframes label-cycle {
  0%, 1%   { opacity: 0; transform: translateY(6px); }
  4%, 22%  { opacity: 1; transform: none; }
  26%, 100%{ opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase.is-live .film-labels b { animation: none; }
  .film-labels b:first-child { opacity: 1; }
}
/* Without JS the cycle never starts, so show the first label rather than none. */
.no-js .film-labels b:first-child { opacity: 1; }

.film-credit {
  margin-top: .9rem; font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}

/* --- capability row --- */
.showcase-caps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline);
  margin: clamp(2rem, 3.5vw, 2.8rem) 0 clamp(2rem, 3.5vw, 2.8rem);
}
.showcase-caps div { background: var(--ink-2); padding: 1.15rem 1.25rem; }
.showcase-caps dt {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem); text-transform: uppercase;
  color: var(--white); line-height: 1.15;
}
.showcase-caps dd {
  margin: .35rem 0 0; font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel-lt);
}
@media (max-width: 460px) { .showcase-caps { grid-template-columns: minmax(0, 1fr); } }
.film-kicker {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem); text-transform: uppercase;
  color: var(--white); line-height: 1.2;
  max-width: 24ch; margin: 0 0 1.4rem;
}

/* --- 22. FOOTER LOCKUP -------------------------------------------------- */
/* The real brand lockup replaces what was a Saira Condensed text stand-in.
   Capped by width so the wordmark stays legible without dominating the
   column; height follows the artwork's own 1.733:1 ratio. */
.foot-logo { width: 100%; max-width: 210px; height: auto; display: block; }
