/* =========================================================================
   Integrity 1st Car Pros — QR campaign page ("Performance Is Engineered")
   -------------------------------------------------------------------------
   Loaded ONLY on pages using page-own.php. Builds on the design tokens
   already declared in style.css; adds a darker campaign surface set, the
   fixed 3D stage, and the scroll-driven reveal system.

   Motion contract
   ---------------
   Reveals are CSS transitions gated by an `is-in` class applied by an
   IntersectionObserver. Scroll-linked values arrive as custom properties
   (--p for section progress, --story for global progress) written by
   assets/js/own/story-progress.js on a single rAF loop. No animation
   library, and no per-element scroll listeners.

   Reduced motion
   --------------
   `prefers-reduced-motion: reduce` keeps every reveal (content must never
   depend on motion) but removes translation, scale, parallax and the
   scroll-scrubbed camera. See the block at the end of this file.
   ========================================================================= */

.i1-own {
  /* Campaign surfaces run darker than the site's --i1-ink so the vehicle
     reads as the brightest object in the frame. */
  --own-void:      #050607;
  --own-black:     #07080A;
  --own-near:      #0B0C0E;
  --own-graphite:  #15171A;
  --own-metal:     #24272B;
  --own-line:      rgba(255, 255, 255, 0.09);
  --own-line-soft: rgba(255, 255, 255, 0.05);
  --own-warm:      #F4F3F1;
  --own-warm-dim:  rgba(244, 243, 241, 0.62);
  /* 0.55 is the lowest alpha that still clears WCAG AA (4.5:1) for the 11px
     mono labels this token drives. Anything fainter reads as decoration but
     fails as text. */
  --own-warm-faint:rgba(244, 243, 241, 0.55);
  --own-red:       var(--i1-red);
  /* Brand red reaches only 3.4:1 on the campaign black, which fails AA for the
     small mono annotations. --i1-red-glow is the brand's own lighter red and
     clears 4.7:1, so small red *type* on dark uses this while fills, rules and
     large display type keep the true brand red. */
  --own-red-type:  var(--i1-red-glow);

  /* Ivory act (proof + platform) */
  --own-ivory:     #F6F5F2;
  --own-ivory-alt: #EDEBE6;
  --own-ivory-line:rgba(11, 12, 14, 0.12);

  /* Fluid display scale. Headlines occupy 25-40% of the viewport by design. */
  --own-fs-mega: clamp(2.6rem, 12.5vw, 10rem);
  --own-fs-xl:   clamp(2.1rem, 8.4vw, 6rem);
  --own-fs-lg:   clamp(1.65rem, 5.6vw, 3.6rem);
  --own-fs-md:   clamp(1.15rem, 3.2vw, 1.75rem);
  --own-fs-body: clamp(1rem, 2.3vw, 1.1875rem);

  --own-gutter: clamp(20px, 6vw, 96px);
  --own-act-y: clamp(2.2rem, 6vw, 4.4rem);

  --own-ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --own-slow:  1100ms;
  --own-mid:   720ms;

  background: var(--own-black);
  color: var(--own-warm);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

/* The campaign owns the viewport: suppress the site-wide mobile sticky CTA
   so it can never cover the cinematic or the lead form. */
.i1-own-body .i1-mobile-cta { display: none !important; }
.i1-own-body { background: var(--own-black); }

/* The site header would break the opening blackout. The campaign renders
   its own discreet header instead. */
.i1-own-body > .i1-header { display: none; }

.i1-own *, .i1-own *::before, .i1-own *::after { box-sizing: border-box; }

.i1-own__shell { position: relative; z-index: 2; }

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */
.own-wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--own-gutter);
}
.own-wrap--mid    { max-width: 1080px; }

.own-act {
  position: relative;
  padding-block: var(--own-act-y);
}
.own-act--flush { padding-block: 0; }
/* -------------------------------------------------------------------------
   Light acts.

   Rather than override each component on the ivory ground (which is how the
   platform section ended up with white-on-ivory body copy), the light acts
   re-point the *tokens*. Every component already reads from these, so one
   declaration inverts the whole act correctly — and any component added later
   inherits the fix for free.
   ------------------------------------------------------------------------- */
.own-act--ivory,
.own-act--ivory-alt {
  --own-warm:       var(--i1-ink);
  --own-warm-dim:   var(--i1-slate);
  --own-warm-faint: rgba(11, 12, 14, 0.62);
  --own-line:       var(--own-ivory-line);
  --own-line-soft:  rgba(11, 12, 14, 0.07);
  /* True brand red reads correctly on a light ground; the lightened
     --i1-red-glow used on black would fail here. */
  --own-red-type:   var(--i1-red);
  color: var(--i1-ink);
}
.own-act--ivory     { background: var(--own-ivory); }
.own-act--ivory-alt { background: var(--own-ivory-alt); }
/* -------------------------------------------------------------------------
   Dark acts are TRANSLUCENT, not opaque.

   The 3D world runs continuously behind the whole page. An opaque section
   background hides it completely, which is what produces the "3D section,
   normal website, 3D section" alternation the campaign is explicitly trying
   to avoid — and it is why the map act was invisible behind the process copy.

   Each act sets its own veil instead, weighted by how much its copy needs to
   dominate: heavy where the visitor is reading and deciding, light where the
   world is the point.
   ------------------------------------------------------------------------- */
.own-act--void  { background: rgba(5, 6, 7, 0.52); }
.own-act--near  { background: rgba(11, 12, 14, 0.46); }

/* Technical annotation: "01 / PERFORMANCE" */
.own-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
  margin: 0 0 clamp(28px, 6vh, 64px);
}
.own-label__num { color: var(--own-red-type); font-weight: 600; }
.own-label__rule {
  flex: 1 1 auto;
  height: 1px;
  max-width: 220px;
  background: linear-gradient(90deg, var(--own-line), transparent);
}

/* Editorial display type */
.own-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: none;
  margin: 0;
  text-wrap: balance;
}
.own-display--mega { font-size: var(--own-fs-mega); }
.own-display--xl   { font-size: var(--own-fs-xl); }
.own-display--lg   { font-size: var(--own-fs-lg); }

.own-body {
  font-size: var(--own-fs-body);
  line-height: 1.62;
  color: var(--own-warm-dim);
  max-width: 46ch;
  margin: 0;
}

/* -------------------------------------------------------------------------
   Reveal system. Opacity + mask + minimal translation only.
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--own-slow) var(--own-ease),
    transform var(--own-slow) var(--own-ease),
    clip-path var(--own-slow) var(--own-ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
/* The wipe clips to the border box. Display type is set at line-height 0.92,
   so the box is *shorter* than the glyphs' ink extent — a plain `inset(0)`
   shaves the ascenders and descenders off every revealed headline. Negative
   insets expand the clip region past the box on the three edges that aren't
   doing the wipe. */
[data-reveal="mask"] {
  clip-path: inset(-0.3em -0.2em 100% -0.2em);
  transform: none;
  opacity: 1;
}
[data-reveal="mask"].is-in { clip-path: inset(-0.3em -0.2em); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { will-change: auto; }

/* Sequenced children: each line lands after the one before it. */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity var(--own-slow) var(--own-ease), transform var(--own-slow) var(--own-ease);
  transition-delay: calc(var(--i, 0) * 140ms);
}
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* =========================================================================
   Header — nearly invisible during the opening cinematic
   ========================================================================= */
.own-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(14px, 2.4vh, 22px) var(--own-gutter);
  /* Opacity is driven by --header-vis, written by the scroll controller:
     ~0.12 during the blackout, 1 once the story has begun. */
  background: rgba(7, 8, 10, calc(0.82 * var(--header-vis, 0)));
  backdrop-filter: blur(calc(14px * var(--header-vis, 0)));
  -webkit-backdrop-filter: blur(calc(14px * var(--header-vis, 0)));
  border-bottom: 1px solid rgba(255, 255, 255, calc(0.08 * var(--header-vis, 0)));
  transition: background 600ms linear, border-color 600ms linear;
}
.own-header__brand {
  display: inline-flex;
  align-items: center;
  /* Barely present during the blackout — the opening belongs to the car. */
  opacity: calc(0.16 + 0.84 * var(--header-vis, 0));
  transition: opacity 600ms var(--own-ease);
}
.own-header__brand svg, .own-header__brand img { height: 30px; width: auto; display: block; }
.own-header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  opacity: var(--header-vis, 0);
  /* Kept focusable only once visible; JS mirrors this with inert/tabindex. */
  transition: opacity 600ms var(--own-ease);
}
.own-header__link {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--own-warm-dim);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.own-header__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--own-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--own-ease);
}
.own-header__link:hover, .own-header__link:focus-visible { color: var(--own-warm); }
.own-header__link:hover::after, .own-header__link:focus-visible::after { transform: scaleX(1); }
.own-header__link--cta {
  color: var(--own-warm);
  border: 1px solid var(--own-line);
  padding: 9px 16px;
}
.own-header__link--cta:hover { border-color: var(--own-red); }
.own-header__link--cta::after { display: none; }

.own-header__toggle {
  display: none;
  margin-left: auto;
  background: none;
  /* The border is what makes a hidden control still read as a box, so fade it
     with the rest of the chrome rather than leaving it at full strength. */
  border: 1px solid rgba(255, 255, 255, calc(0.02 + 0.07 * var(--header-vis, 0)));
  color: var(--own-warm);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  opacity: calc(0.22 + 0.78 * var(--header-vis, 0));
}
.own-header__toggle svg { display: block; }

/* Mobile sheet */
.own-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 6, 7, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: var(--own-gutter);
}
.own-menu[hidden] { display: none; }
.own-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--own-warm);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--own-line-soft);
}
.own-menu__link--accent { color: var(--own-red); }
.own-menu__close {
  position: absolute;
  top: clamp(14px, 2.4vh, 22px);
  right: var(--own-gutter);
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--own-line);
  color: var(--own-warm);
  cursor: pointer;
}

@media (max-width: 900px) {
  .own-header__nav { display: none; }
  .own-header__toggle { display: inline-flex; }
}

/* =========================================================================
   The 3D stage — one fixed canvas, shared by the opening act and the finale
   ========================================================================= */
.own-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* --stage-vis is written by the scroll controller: the stage fades out
     while the ivory proof act is on screen, and back in for the finale. */
  opacity: var(--stage-vis, 1);
  transition: opacity 480ms linear;
  contain: layout paint style;
}
.own-stage__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* Tokens the campaign adds on top of the theme's palette.
   --own-hairline and --own-max were used by the sticky bar before they existed,
   so `border-top: 1px solid var(--own-hairline)` resolved to nothing and the
   bar shipped with no top edge. Declared here alongside the acts that use them. */
:root {
  --own-hairline: rgba(244, 243, 241, 0.12);
  --own-max: 1320px;
}

/* Scrim + fade.
   ------------------------------------------------------------------------
   The world is never switched off. Copy-heavy acts dim it behind a scrim
   (--scrim, set per act from story.js) instead, which is what keeps the page
   feeling like one connected place rather than alternating 3D and non-3D
   sections. --fade is the camera track's own channel, driven to 1 at world
   crossings so the change of place is never witnessed. */
.own-stage__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--own-black);
  opacity: var(--scrim, 0);
  transition: opacity 700ms var(--own-ease);
}
.own-stage__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #000;
  opacity: var(--fade, 0);
}

/* =========================================================================
   Technical annotations — engineering-drawing labels over the exploded car
   ========================================================================= */
.own-annotations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms var(--own-ease);
}
.own-annotations.is-live { opacity: 1; }
.own-annotations__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.own-annotations__leader {
  fill: none;
  stroke: rgba(244, 243, 241, 0.5);
  stroke-width: 1;
  opacity: var(--a, 0);
}
.own-annotations__dot {
  fill: var(--i1-red-glow);
  opacity: var(--a, 0);
}
.own-annotations__label {
  position: absolute;
  transform: translateY(-50%);
  opacity: var(--a, 0);
  display: grid;
  gap: 2px;
  /* Bounded and wrapping rather than nowrap: on a phone the column leaves
     only ~90px either side, and unbounded single-line labels simply ran off
     both edges. The JS clamps their anchor; this keeps them narrow enough for
     that clamp to have somewhere to put them. */
  max-width: min(42vw, 15rem);
  white-space: normal;
  text-wrap: balance;
  padding-inline: 10px;
}
.own-annotations__label--left {
  transform: translate(-100%, -50%);
  text-align: right;
  justify-items: end;
}
.own-annotations__term {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.5vw, 0.6875rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
}
.own-annotations__gloss {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.78rem, 2.4vw, 1.2rem);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--own-warm);
}

/* While the 3D annotations are showing, the editorial rows they were read
   from step aside so the metaphor is never delivered twice. They remain in the
   document for assistive technology and for every non-WebGL visitor. */
.own-system__index.is-superseded .own-system__row-business,
.own-system__index.is-superseded .own-system__row-note,
.own-system__index.is-superseded .own-system__row-rule,
.own-system__intro.is-superseded .own-system__title,
.own-system__intro.is-superseded .own-body,
.own-system__intro.is-superseded .own-label {
  opacity: 0;
  transition: opacity 260ms var(--own-ease);
  /* Not just invisible — untargetable, so the annotations underneath are never
     blocked and nothing invisible remains in the tab order. */
  pointer-events: none;
}

/* Poster / static fallback. Also what a no-WebGL or LOW-tier device sees. */
.own-stage__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 900ms var(--own-ease);
}
.own-stage.is-live .own-stage__poster { opacity: 0; }
.own-stage__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 55%, transparent 38%, rgba(5, 6, 7, 0.72) 100%),
    linear-gradient(to bottom, rgba(5, 6, 7, 0.85) 0%, transparent 22%, transparent 74%, rgba(5, 6, 7, 0.92) 100%);
}

/* A single hairline of light is all that's visible at the very start. */
.own-stage__seam {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(78vw, 900px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(244, 243, 241, 0.55) 22%, var(--own-red) 50%, rgba(244, 243, 241, 0.55) 78%, transparent);
  opacity: calc(1 - var(--story, 0) * 6);
  filter: blur(0.4px);
}

/* =========================================================================
   01 — Opening sequence
   ========================================================================= */
.own-hero { position: relative; }
.own-hero__panel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--own-gutter) clamp(64px, 14vh, 140px);
}
.own-hero__panel--first { justify-content: center; }

/* Lines 2-4 share one screen now. They still arrive one at a time — the
   stagger below delays each reveal — but no longer cost a viewport each. */
.own-hero__panel--stack {
  justify-content: center;
  gap: clamp(1.1rem, 4vh, 2.4rem);
}
.own-hero__panel--stack .own-hero__line--sub {
  transition-delay: calc(var(--stagger, 0) * 260ms);
}

.own-hero__brandmark {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--own-warm-faint);
  margin: 0 0 clamp(22px, 5vh, 44px);
}
.own-hero__brandmark strong { display: block; color: var(--own-warm); font-weight: 500; }

.own-hero__line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--own-fs-mega);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.own-hero__line--sub { font-size: var(--own-fs-xl); max-width: 20ch; }
.own-hero__line .own-accent { color: var(--own-red); }

.own-hero__scroll {
  position: absolute;
  left: var(--own-gutter);
  bottom: clamp(22px, 4vh, 40px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
  /* Fades as soon as the visitor starts scrolling. */
  opacity: calc(1 - var(--story, 0) * 12);
}
.own-hero__scroll-rail {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--own-warm-faint), transparent);
  position: relative;
  overflow: hidden;
}
.own-hero__scroll-rail::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 14px;
  background: var(--own-red);
  animation: own-rail 2600ms var(--own-ease) infinite;
}
@keyframes own-rail {
  0%   { transform: translateY(-14px); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* Reveal the wordmark only after the four opening lines. */
.own-hero__reveal {
  min-height: 44svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vh, 34px);
  text-align: center;
  padding-inline: var(--own-gutter);
}
.own-hero__reveal svg, .own-hero__reveal img { width: min(72vw, 340px); height: auto; }
.own-hero__reveal-caption {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
}

/* =========================================================================
   02 — Performance is a system. Spatial type around the 3D scene.
   ========================================================================= */
.own-system { position: relative; }
.own-system__intro {
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 36px);
}
.own-system__title { max-width: 18ch; }

/* Component/business pairs. Deliberately NOT cards: a technical index whose
   rows sit in the negative space beside the vehicle. */
.own-system__index {
  list-style: none;
  margin: 0;
  /* padding-block only: this element also carries .own-wrap, and a blanket
     `padding: 0` would wipe out the container gutter and run the whole act
     flush to the screen edge on mobile. */
  padding-block: 0;
  display: grid;
  gap: 0;
}
.own-system__row {
  /* Was clamp(58svh, 70svh, 84svh) across seven rows — roughly 4.4 viewports
     for the act on a phone. Four shorter rows carry the same argument in a
     third of the scroll. */
  min-height: clamp(38svh, 46svh, 56svh);
  display: grid;
  align-content: center;
  gap: 10px;
  /* Rows alternate side so type orbits the vehicle rather than boxing it. */
  padding-inline: 0;
}
.own-system__row:nth-child(even) { justify-items: end; text-align: right; }
.own-system__row-num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  color: var(--own-red-type);
}
.own-system__row-business {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--own-fs-lg);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 15ch;
}
.own-system__row-note {
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--own-warm-dim);
  max-width: 34ch;
}
.own-system__row-rule {
  width: clamp(40px, 12vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, var(--own-red), transparent);
}
.own-system__row:nth-child(even) .own-system__row-rule {
  background: linear-gradient(270deg, var(--own-red), transparent);
}

/* =========================================================================
   03 — Wheel → shop transition
   ========================================================================= */
.own-transition { position: relative; }
/* The scroll-scrubbed aperture: circular geometry opens from the wheel hub
   into the shop photograph. */
.own-transition__aperture {
  position: relative;
  min-height: 82svh;
  display: grid;
  place-items: center;
  overflow: clip;
}
.own-transition__media {
  position: absolute;
  inset: 0;
  /* --p is this section's own 0..1 progress. */
  clip-path: circle(calc(4% + 74% * var(--p, 0)) at 50% 50%);
  transition: clip-path 60ms linear;
}
.own-transition__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.06) saturate(0.82);
}
.own-transition__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(84vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(calc(0.42 + 0.9 * var(--p, 0)));
  border: 1px solid rgba(244, 243, 241, calc(0.22 - 0.2 * var(--p, 0)));
  border-radius: 50%;
  pointer-events: none;
}
.own-transition__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 34ch;
  display: grid;
  gap: 20px;
  justify-items: center;
  padding-inline: var(--own-gutter);
}
.own-transition__copy .own-body { color: rgba(244,243,241,0.82); text-align: center; max-width: 44ch; }

/* =========================================================================
   04 — Own more than a job
   ========================================================================= */
/* This act carries real photography, which competes with the 3D shop behind
   it. A veil keeps the plate reading as the subject while the world stays
   present at the edges. */
.own-ownership { background: rgba(7, 8, 10, 0.58); }

.own-ownership__lines {
  list-style: none;
  margin: clamp(36px, 8vh, 80px) 0 0;
  padding: 0;
}
/* The four "Build a…" lines still arrive one at a time on scroll, but they no
   longer each claim half a screen of padding. This act was the single largest
   on the page at ~3 viewports. */
.own-ownership__line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--own-fs-xl);
  line-height: 1.06;
  letter-spacing: -0.015em;
  padding-block: clamp(13px, 2.6vh, 26px);
  border-top: 1px solid var(--own-line);
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 32px);
}
.own-ownership__line:last-child { border-bottom: 1px solid var(--own-line); }
.own-ownership__line-num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  color: var(--own-red-type);
  flex: 0 0 auto;
  transform: translateY(-0.4em);
}
.own-ownership__closing {
  margin-top: clamp(40px, 8vh, 84px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--own-fs-md);
  line-height: 1.34;
  color: var(--own-warm-dim);
  max-width: 34ch;
  border-left: 1px solid var(--own-red);
  padding-left: clamp(16px, 3vw, 28px);
}

/* Sparing lifestyle imagery: leadership and team, never luxury goods. */
.own-ownership__plate {
  margin-top: clamp(48px, 10vh, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 2px;
}
.own-ownership__plate figure { margin: 0; position: relative; overflow: hidden; }
.own-ownership__plate img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(0.34) brightness(0.78) contrast(1.05);
  transition: filter var(--own-slow) var(--own-ease), transform var(--own-slow) var(--own-ease);
}
.own-ownership__plate figure:hover img { filter: grayscale(0) brightness(0.9); transform: scale(1.02); }
.own-ownership__plate figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--own-warm);
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

/* =========================================================================
   05 — Proof. Design language deliberately shifts: ivory, factual, still.
   ========================================================================= */
.own-proof__head {
  display: grid;
  gap: clamp(24px, 5vh, 44px);
  margin-bottom: clamp(52px, 10vh, 110px);
}
.own-proof__title { color: var(--i1-ink); max-width: 22ch; }
.own-proof__title span { display: block; }
.own-proof__title span:last-child { color: var(--i1-slate); }

.own-proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0;
  border-top: 1px solid var(--own-ivory-line);
}
.own-proof__stat {
  padding: clamp(28px, 5vh, 52px) clamp(18px, 3vw, 40px) clamp(28px, 5vh, 52px) 0;
  border-bottom: 1px solid var(--own-ivory-line);
  display: grid;
  gap: 6px;
  align-content: start;
}
/* Browser default gives <dd> a 40px inline-start margin, which would push
   every figure out of alignment with its own label. */
.own-proof__grid dd,
.own-proof__grid dt { margin: 0; }

.own-proof__stat-value {
  order: -1;
  font-family: var(--font-display);
  font-weight: 600;
  /* Massive, per the brief — but sized against the COLUMN, not the viewport.
     These stats sit in an auto-fit grid: at desktop width four columns share
     the container, so a viewport-derived size overflows its cell and the
     figures collide. The vw factor below is scaled to the widest layout each
     breakpoint actually produces. */
  font-size: clamp(3.4rem, 13vw, 6rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--i1-ink);
  font-variant-numeric: tabular-nums;
}
.own-proof__stat-suffix {
  font-size: 0.34em;
  color: var(--own-red);
  letter-spacing: 0;
  margin-left: 0.1em;
  vertical-align: super;
}
.own-proof__stat-label {
  font-size: var(--fs-15);
  font-weight: 500;
  color: var(--i1-ink);
  margin-top: 10px;
}
.own-proof__stat-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* --i1-steel only reaches 3.7:1 on the ivory ground. */
  color: var(--i1-slate);
}
.own-proof__note {
  margin-top: clamp(40px, 8vh, 84px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--own-fs-md);
  color: var(--i1-ink);
  display: flex;
  align-items: center;
  gap: 16px;
}
.own-proof__note::before {
  content: "";
  width: clamp(28px, 6vw, 72px);
  height: 1px;
  background: var(--own-red);
  flex: 0 0 auto;
}

/* =========================================================================
   06 — Leadership, not wrenches
   ========================================================================= */
.own-leadership { position: relative; }
.own-leadership__stack { display: grid; gap: clamp(14px, 3vh, 26px); max-width: 24ch; }
.own-leadership__t1 { color: var(--own-warm-dim); }
.own-leadership__t2 { color: var(--own-warm); }
.own-leadership__body { margin-top: clamp(26px, 5vh, 48px); }

.own-leadership__words {
  list-style: none;
  margin: clamp(48px, 10vh, 110px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 2.2vh, 20px);
}
.own-leadership__word {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 3.4vw, 1.5rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--own-warm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.own-leadership__word::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--own-red);
  flex: 0 0 auto;
}

/* =========================================================================
   07 — Operating platform. Blueprint, not an icon grid.
   ========================================================================= */
.own-platform__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 9vh, 96px); }
.own-platform__blueprint {
  position: relative;
  border: 1px solid var(--own-ivory-line);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(11,12,14,0.045) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(11,12,14,0.045) 39px 40px);
}
.own-platform__plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.own-platform__cell {
  position: relative;
  /* Height comes from content while the detail is collapsed; the fixed cell
     height only applies once the detail is actually shown (see below), so a
     tablet never renders a grid of tall empty boxes. */
  min-height: 0;
  padding: clamp(18px, 3vw, 30px);
  border-right: 1px solid var(--own-ivory-line);
  border-bottom: 1px solid var(--own-ivory-line);
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: grid;
  align-content: start;
  gap: 10px;
  transition: background 420ms var(--own-ease);
}
.own-platform__cell:nth-child(3n) { border-right: 0; }
.own-platform__cell:nth-last-child(-n+3) { border-bottom: 0; }
.own-platform__cell:hover,
.own-platform__cell:focus-visible,
.own-platform__cell[aria-expanded="true"] { background: rgba(200, 16, 46, 0.045); }
.own-platform__cell-zone {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--own-red);
}
.own-platform__cell-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  line-height: 1.14;
  color: var(--i1-ink);
}
.own-platform__cell-body {
  font-size: var(--fs-14);
  line-height: 1.58;
  color: var(--i1-slate);
  /* Collapsed by default on small screens; the button expands it. */
  display: none;
}
.own-platform__cell[aria-expanded="true"] .own-platform__cell-body { display: block; }
.own-platform__cell-mark {
  position: absolute;
  right: clamp(14px, 2.4vw, 22px);
  bottom: clamp(14px, 2.4vw, 22px);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--i1-aluminum);
}
@media (min-width: 700px) {
  /* Anything wider than a phone can afford every cell open: no interaction
     required to read what the operating platform actually is. Deliberately not
     gated on `hover` — a touch tablet has the room and should show the text. */
  .own-platform__cell-body { display: block; }
  .own-platform__cell { min-height: clamp(150px, 22vh, 230px); }
}

/* =========================================================================
   08 — Selectivity. Private-club restraint.
   ========================================================================= */
.own-select { background: rgba(5, 6, 7, 0.55); }
.own-select__act1 {
  min-height: 66svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-inline: var(--own-gutter);
}
.own-select__title { max-width: 15ch; margin-inline: auto; }
.own-select__act2 {
  min-height: 52svh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: clamp(22px, 5vh, 44px);
  padding-inline: var(--own-gutter);
}
.own-select__reveal { color: var(--own-red); }
.own-select__body { text-align: center; max-width: 46ch; }
.own-select__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 70ch;
}
.own-select__list li {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--own-warm-dim);
  border: 1px solid var(--own-line);
  padding: 9px 14px;
}

/* =========================================================================
   09 — Two paths
   ========================================================================= */
.own-paths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1px;
  background: var(--own-line);
  margin-top: clamp(40px, 8vh, 88px);
}
.own-path {
  background: rgba(7, 8, 10, 0.78);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  gap: 20px;
  align-content: start;
}
.own-path__tag {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--own-red-type);
}
.own-path__title { max-width: 22ch; }

/* Scroll-scrubbed wireframe → finished shop. Pure SVG, no raster. */
.own-path__figure {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 6px;
  border: 1px solid var(--own-line-soft);
}
.own-path__figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Wireframe strokes draw in; solid fills rise after. */
.own-path__figure .own-wire {
  stroke: rgba(244, 243, 241, 0.5);
  fill: none;
  stroke-width: 1;
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: calc(var(--len, 400) * (1 - var(--p, 0)));
}
.own-path__figure .own-solid {
  opacity: calc(max(0, var(--p, 0) - 0.55) / 0.45);
}
.own-path__figure .own-accent-stroke { stroke: var(--own-red); }

/* =========================================================================
   10 — Process route
   ========================================================================= */
.own-process__route {
  margin-top: clamp(40px, 8vh, 90px);
  position: relative;
  display: grid;
  gap: 0;
}
/* The route line itself: a rail whose fill tracks section progress. */
.own-process__rail {
  position: absolute;
  left: 7px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--own-line);
}
.own-process__rail::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 1px;
  height: calc(var(--p, 0) * 100%);
  background: linear-gradient(to bottom, var(--own-red), rgba(200,16,46,0.25));
}
/* Eight stops at ~3.4vh of padding each ran the route to nearly three
   viewports. This section needs clarity, not a cinematic journey — the detail
   lives on the main franchise site, which the link below points at. */
.own-process__stop {
  position: relative;
  padding: clamp(11px, 1.9vh, 19px) 0 clamp(11px, 1.9vh, 19px) clamp(34px, 5vw, 56px);
  display: grid;
  gap: 6px;
}
.own-process__stop::before {
  content: "";
  position: absolute;
  left: 0; top: calc(clamp(18px, 3.4vh, 34px) + 0.5em);
  width: 15px; height: 15px;
  border: 1px solid var(--own-line);
  border-radius: 50%;
  background: var(--own-black);
}
.own-process__stop.is-in::before { border-color: var(--own-red); }
.own-process__stop.is-in::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(clamp(18px, 3.4vh, 34px) + 0.5em + 5px);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--own-red);
}
.own-process__stop-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 3.4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.own-process__stop-note { font-size: var(--fs-14); color: var(--own-warm-dim); line-height: 1.6; max-width: 44ch; }
.own-process__link {
  margin-top: clamp(28px, 5vh, 52px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--own-warm);
  text-decoration: none;
  border-bottom: 1px solid var(--own-red);
  padding-bottom: 6px;
}

/* =========================================================================
   11 — Lead capture
   ========================================================================= */
/* The form is the one place legibility outranks atmosphere. */
.own-brief { background: rgba(11, 12, 14, 0.80); }
@media (min-width: 901px) {
  /* Restore the intended two-column reading order: intro and secondary CTA
     stacked in column one, the form spanning column two. */
  .own-brief__secondary             { grid-column: 1; grid-row: 2; }
}
/* Intro column: title and body need air between them. */

.own-form { display: grid; gap: 22px; }
.own-field { display: grid; gap: 8px; }
.own-field__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
}
.own-field__input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--own-line);
  color: var(--own-warm);
  font-family: var(--font-ui);
  font-size: var(--fs-18);
  padding: 12px 2px;
  width: 100%;
  border-radius: 0;
  transition: border-color 260ms var(--own-ease);
}
.own-field__input::placeholder { color: rgba(244,243,241,0.24); }
.own-field__input:focus {
  outline: none;
  border-bottom-color: var(--own-red);
}
.own-field__input:focus-visible { outline: 2px solid transparent; }
/* Honeypot — off-layout but not display:none, which some bots detect. */
.own-field--trap {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.own-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: var(--fs-13);
  line-height: 1.58;
  color: var(--own-warm-dim);
  /* The native checkbox renders at ~18px, well under the 44px touch minimum.
     The label wraps the input, so the whole block is the hit area — this makes
     that explicit and guarantees the row itself clears 44px. */
  cursor: pointer;
  min-height: 44px;
  padding-block: 4px;
}
.own-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--i1-red);
  flex: 0 0 auto;
}
.own-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--i1-red);
  flex: 0 0 auto;
}
.own-consent a { color: var(--own-warm); text-decoration: underline; text-underline-offset: 3px; }

.own-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--i1-red);
  color: #fff;
  border: 1px solid var(--i1-red);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 30px;
  cursor: pointer;
  border-radius: 0;
  transition: background 300ms var(--own-ease), transform 300ms var(--own-ease);
}
.own-submit:hover { background: var(--i1-red-deep); }
.own-submit:active { transform: translateY(1px); }
.own-submit[disabled] { opacity: 0.55; cursor: progress; }
.own-submit__arrow { transition: transform 340ms var(--own-ease); }
.own-submit:hover .own-submit__arrow { transform: translateX(4px); }

.own-brief__micro {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
}
.own-brief__secondary {
  margin-top: clamp(30px, 5vh, 52px);
  padding-top: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--own-line);
  display: grid;
  gap: 10px;
  align-content: start;
}
/* `p.` is load-bearing, not decoration.
   The site-wide rule `p a:not([style*="color"])` has specificity (0,1,2) and
   paints every paragraph link brand red. A bare `.own-brief__secondary a` is
   (0,1,1) and loses, which left this link at 3.34:1 against the translucent
   act background — below AA. Matching the specificity and winning on source
   order is what actually applies the colour. */
p.own-brief__secondary a {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--own-warm);
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
p.own-brief__secondary a:hover { color: var(--i1-red-glow); }

/* Inline confirmation replaces the form in place. */
.own-brief__done {
  display: none;
  gap: 18px;
  align-content: start;
}
.own-form.is-done { display: none; }
.own-brief__done.is-shown { display: grid; }
.own-brief__done-mark {
  width: 44px; height: 44px;
  border: 1px solid var(--own-red);
  display: grid; place-items: center;
  color: var(--own-red);
}
.own-brief__status { min-height: 1.2em; font-size: var(--fs-14); color: var(--i1-red-glow); }

/* =========================================================================
   12 — Final cinematic
   ========================================================================= */
.own-final {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: clamp(20px, 4vh, 40px);
  padding: var(--own-act-y) var(--own-gutter);
}
.own-final__title { max-width: 18ch; }
.own-final__sub { max-width: 26ch; color: var(--own-warm-dim); }
.own-final__mark { margin-block: clamp(14px, 3vh, 30px); }
.own-final__mark svg, .own-final__mark img { width: min(60vw, 230px); height: auto; }
.own-final__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.own-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 28px;
  border: 1px solid var(--own-line);
  color: var(--own-warm);
  transition: border-color 300ms var(--own-ease), background 300ms var(--own-ease);
}
.own-cta--primary { background: var(--i1-red); border-color: var(--i1-red); color: #fff; }
.own-cta--primary:hover { background: var(--i1-red-deep); border-color: var(--i1-red-deep); }
.own-cta--ghost:hover { border-color: var(--own-warm-faint); }

/* Tail-light bar: the only warm glow on the page, and it earns it. */
.own-final__tail {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 12vh, 130px);
  transform: translateX(-50%);
  width: min(72vw, 560px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--i1-red) 18%, var(--i1-red-glow) 50%, var(--i1-red) 82%, transparent);
  opacity: var(--tail, 0);
  box-shadow: 0 0 34px 4px rgba(200, 16, 46, calc(0.34 * var(--tail, 0)));
}

/* =========================================================================
   Disclosure footer
   ========================================================================= */
.own-legal {
  /* The disclosure sits outside .i1-own__shell, so without its own stacking
     context the fixed 3D stage (z-index 1) paints straight over it and the
     franchise disclosure becomes invisible. It must always be readable, so
     unlike the story acts this one stays fully opaque. */
  position: relative;
  z-index: 2;
  background: var(--own-void);
  border-top: 1px solid var(--own-line);
  padding: clamp(40px, 7vh, 80px) 0 clamp(30px, 5vh, 60px);
}
.own-legal__copy {
  font-size: var(--fs-12);
  line-height: 1.72;
  /* Franchise disclosure copy is held to the same contrast bar as body text.
     A disclosure nobody can read is not a disclosure. */
  color: var(--own-warm-dim);
  max-width: 88ch;
}
.own-legal__copy p { margin: 0 0 12px; }
.own-legal__copy strong, .own-legal__copy span { color: rgba(244,243,241,0.86); }
/* The disclosure copy is authored in wp-admin and its "FRANCHISE DISCLOSURE."
   lead-in carries an inline brand-red colour, which fails AA on this ground.
   An inline style can only be beaten with !important — and legibility of the
   disclosure is not something to leave to authoring discipline. */
.own-legal__copy [style*="color"] { color: var(--i1-red-glow) !important; }
.own-legal__copy em { color: rgba(244,243,241,0.74); font-style: italic; }
.own-legal__links {
  margin-top: clamp(22px, 4vh, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}
.own-legal__links a {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,243,241,0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}
.own-legal__links a:hover { color: var(--own-warm); border-bottom-color: var(--own-red); }
.own-legal__meta {
  margin-top: clamp(20px, 4vh, 36px);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,243,241,0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

/* =========================================================================
   Focus visibility — one consistent ring across the campaign
   ========================================================================= */
.i1-own a:focus-visible,
.i1-own button:focus-visible,
.i1-own input:focus-visible {
  outline: 2px solid var(--i1-red-glow);
  outline-offset: 3px;
}
.own-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--i1-red);
  color: #fff;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
}
.own-skip:focus { left: var(--own-gutter); top: 12px; }

/* =========================================================================
   Small-viewport tuning. Mobile is the primary surface: QR scans arrive here.
   ========================================================================= */
/* Two columns from 620px, four from 940px — the value size steps down with
   the column count so the figures always fit their cell. */
@media (min-width: 620px) {
  .own-proof__stat-value { font-size: clamp(2.8rem, 8vw, 5.2rem); }
}
@media (min-width: 940px) {
  .own-proof__stat-value { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
}

@media (max-width: 640px) {
  .i1-own {
    /* Slightly tighter headline ceiling so four-word lines don't wrap to
       five rows on a 360px screen. */
    --own-fs-mega: clamp(2.4rem, 13.5vw, 4.4rem);
    --own-fs-xl:   clamp(1.85rem, 9.5vw, 3rem);
  }
  .own-system__row { min-height: 40svh; }
  .own-system__row:nth-child(even) { justify-items: start; text-align: left; }
  .own-system__row:nth-child(even) .own-system__row-rule {
    background: linear-gradient(90deg, var(--own-red), transparent);
  }
  .own-platform__cell { border-right: 0; }
  .own-platform__cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--own-ivory-line); }
  .own-platform__cell:last-child { border-bottom: 0; }
  .own-proof__stat { padding-right: 0; }
}

@media (max-width: 699px) {
  .own-platform__plan { grid-template-columns: 1fr; }
  .own-platform__cell { border-right: 0; }
  .own-ownership__plate { grid-template-columns: 1fr 1fr; }
}

/* Very short landscape phones: don't let 100svh panels swallow the copy. */
@media (max-height: 520px) and (orientation: landscape) {
  .own-hero__panel { min-height: 108svh; }
  .own-select__act1 { min-height: 88svh; }
  .own-system__row { min-height: 62svh; }
}

/* =========================================================================
   Reduced motion
   -------------------------------------------------------------------------
   The storytelling is preserved in full — every reveal still resolves — but
   translation, scale, parallax, the animated scroll rail and the
   scroll-scrubbed aperture all resolve to their finished state. The 3D
   scene stops scrubbing to scroll (see quality.js) and holds a composed
   static frame.
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .i1-own { --own-slow: 320ms; --own-mid: 240ms; }

  [data-reveal],
  [data-reveal-stagger] > * {
    transform: none !important;
    transition: opacity 320ms linear !important;
    transition-delay: 0ms !important;
  }
  [data-reveal="mask"] { clip-path: none !important; }

  .own-hero__scroll-rail::after { animation: none; opacity: 0.8; }

  /* Aperture and wireframes hold their resolved state instead of scrubbing. */
  .own-transition__media { clip-path: circle(78% at 50% 50%) !important; transition: none; }
  .own-transition__ring { transform: translate(-50%, -50%) scale(1.3) !important; opacity: 0.25; }
  .own-path__figure .own-wire { stroke-dashoffset: 0 !important; }
  .own-path__figure .own-solid { opacity: 1 !important; }
  .own-process__rail::after { height: 100% !important; }
  .own-ownership__plate img { transition: none; }
  .own-stage { transition: none; }
  .own-final__tail { opacity: 0.85 !important; }
  .own-hero__scroll { opacity: 1 !important; }
  .own-stage__seam { opacity: 0.5 !important; }
}


/* =========================================================================
   Development overlay (never present in production)
   ========================================================================= */
.own-dev {
  position: fixed;
  left: 12px; bottom: 12px;
  z-index: 200;
  width: min(340px, calc(100vw - 24px));
  padding: 10px 12px;
  background: rgba(5, 6, 7, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f3f1;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  display: grid;
  gap: 7px;
  backdrop-filter: blur(8px);
}
.own-dev__row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.own-dev__row--head { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 6px; }
.own-dev__row--head button {
  background: none; border: 0; color: #f4f3f1; font-size: 16px; cursor: pointer; line-height: 1;
}
.own-dev__scrub { width: 100%; accent-color: #c8102e; }
.own-dev__acts { display: flex; flex-wrap: wrap; gap: 4px; }
.own-dev__acts button,
.own-dev button[data-dev-nodes] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #f4f3f1;
  font: inherit;
  padding: 3px 7px;
  cursor: pointer;
}
.own-dev__acts button:hover,
.own-dev button[data-dev-nodes]:hover { background: rgba(200,16,46,0.35); }
.own-dev__nodes {
  max-height: 190px; overflow: auto; margin: 0;
  font-size: 10px; line-height: 1.45; white-space: pre-wrap;
  color: rgba(244,243,241,0.72);
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .own-annotations { transition: none; }
}

/* =========================================================================
   Mid-page capture — placed where belief peaks, not where the story ends
   ========================================================================= */
.own-briefmid {
  background: rgba(11, 12, 14, 0.82);
  border-top: 1px solid var(--own-hairline);
  border-bottom: 1px solid var(--own-hairline);
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
}
.own-briefmid__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .own-briefmid__inner { grid-template-columns: 1fr 1fr; }
}
.own-briefmid__title {
  font-size: clamp(1.65rem, 4.6vw, 2.6rem);
  line-height: 1.02;
  margin: 0 0 0.6rem;
}
.own-briefmid__body { max-width: 40ch; margin: 0; }

/* The compact variant lays its two fields side by side where there is room,
   so the ask reads as one short line rather than a form to fill in. */
.own-form--compact .own-form__fields { display: grid; gap: 0.75rem; }
@media (min-width: 560px) {
  .own-form--compact .own-form__fields { grid-template-columns: 1fr 1fr; }
}
.own-form--compact .own-consent { margin-top: 0.9rem; }
.own-form--compact .own-submit { width: 100%; margin-top: 1rem; }

/* =========================================================================
   Persistent conversion bar
   -------------------------------------------------------------------------
   The campaign suppresses the site-wide mobile sticky CTA, which left mobile
   with no visible ask for the opening two thirds of the page: the header's
   Request Info collapses into the hamburger below 900px.
   ========================================================================= */
.own-stickycta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  padding: 0.7rem clamp(0.9rem, 4vw, 1.5rem);
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 8, 10, 0.93);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--own-hairline);
  transform: translateY(105%);
  opacity: 0;
  transition: transform 620ms var(--own-ease), opacity 620ms var(--own-ease);
}
.own-stickycta.is-visible { transform: translateY(0); opacity: 1; }
.own-stickycta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--own-max);
  margin-inline: auto;
}
.own-stickycta__copy { margin: 0; display: grid; gap: 1px; min-width: 0; }
.own-stickycta__lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 3.4vw, 1.05rem);
  line-height: 1.1;
  color: var(--own-warm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.own-stickycta__micro {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--own-warm-faint);
}
.own-stickycta__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.15rem;
  background: var(--i1-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  /* Comfortably above the 44px minimum touch target. */
  min-height: 44px;
}
.own-stickycta__btn:hover { background: var(--i1-red-glow); }
.own-stickycta__btn:focus-visible {
  outline: 2px solid var(--own-warm);
  outline-offset: 2px;
}

/* The bar overlaps the end of the document; give the disclosure room so the
   franchise legal text is never sitting underneath it. */
.own-legal { padding-bottom: clamp(5.5rem, 14vw, 7rem); }

/* WCAG 2.2 SC 2.4.11 "Focus Not Obscured".
   -------------------------------------------------------------------------
   The conversion bar is position:fixed at the bottom of the viewport. Without
   this, two things break for a keyboard user: tabbing to a field near the
   bottom can scroll it to a position underneath the bar, and the bar's own
   anchor jump to #own-brief-mid can land the form partly beneath it.

   scroll-margin-bottom reserves the bar's height for anything the browser
   scrolls into view — both `scrollIntoView` and focus-driven scrolling honour
   it — so a focused control is never hidden by the thing pointing at it. */
:root { --own-sticky-h: 5.5rem; }

:is(#own-brief-mid, #own-brief, .own-form, .own-field, .own-consent, .own-submit,
    .own-stickycta__btn, a, button, input, select, textarea, [tabindex]) {
  scroll-margin-bottom: calc(var(--own-sticky-h) + env(safe-area-inset-bottom, 0px));
}

/* The anchor target additionally clears the sticky header at the top. */
#own-brief-mid, #own-brief { scroll-margin-top: clamp(3.5rem, 12vw, 5rem); }

@media (prefers-reduced-motion: reduce) {
  .own-stickycta { transition: opacity 200ms linear; transform: none; }
  .own-stickycta:not(.is-visible) { opacity: 0; }
}

/* =========================================================================
   Quiet close — replaces the second full form that sat at 87% depth
   ========================================================================= */
.own-close {
  background: rgba(5, 6, 7, 0.55);
  padding-block: clamp(2.5rem, 7vw, 4rem);
}
.own-close__inner { display: grid; gap: 1.1rem; justify-items: start; }
.own-close__title {
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  line-height: 1.04;
  margin: 0;
  max-width: 18ch;
}
.own-close__link { margin: 0; border-top: 0; padding-top: 0; }

/* =========================================================================
   Hero proposition + CTA
   -------------------------------------------------------------------------
   The opening used to say what this was only in a small mono label. A cold
   QR scanner could reach the second screen still unsure what was on offer,
   which is what pushed the value proposition late. These state the offer on
   screen one — quietly, so the near-black opening keeps its restraint.
   ========================================================================= */
.own-hero__proposition {
  margin: clamp(0.9rem, 3vh, 1.5rem) 0 0;
  max-width: 26ch;
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 3.4vw, 1.15rem);
  line-height: 1.4;
  color: var(--own-warm-dim);
}
.own-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(1.1rem, 3.4vh, 1.9rem);
  padding: 0.8rem 1.25rem;
  min-height: 44px;
  border: 1px solid var(--own-line);
  border-radius: 2px;
  background: rgba(244, 243, 241, 0.04);
  color: var(--own-warm);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 320ms var(--own-ease), border-color 320ms var(--own-ease);
}
.own-hero__cta:hover { background: var(--i1-red); border-color: var(--i1-red); color: #fff; }
.own-hero__cta:focus-visible { outline: 2px solid var(--own-warm); outline-offset: 3px; }

/* =========================================================================
   Merged acts
   -------------------------------------------------------------------------
   Leadership+selectivity and platform+paths each became one act. The second
   beat inside each needs separation from the first without paying a full act's
   padding again — which is the whole point of merging them.
   ========================================================================= */
.own-fit__select,
.own-fit__paths {
  margin-top: clamp(2.5rem, 8vh, 5rem);
  padding-top: clamp(2rem, 6vh, 3.5rem);
  border-top: 1px solid var(--own-line);
}
/* Inside a merged act these no longer own the viewport. */
.own-fit .own-select__act1 { min-height: 0; padding-block: clamp(1.5rem, 5vh, 3rem); }
.own-fit .own-select__act2 { min-height: 0; }
.own-fit .own-paths__grid { margin-top: clamp(1.5rem, 4vh, 2.5rem); }
