/* Pilot11 — Content Capture landing page
   Tokens from Pilot11 Brand Guide v2.1 (July 2026), slide 25. */

:root {
  --void-black:     #000000;
  --signal-orange:  #FF751F;
  --pure-white:     #FFFFFF;
  --steel-gray:     #8A8A8A;

  --panel-charcoal: #161616;
  --panel-ember:    #241407;
  --hairline:       #2A2A2A;

  /* Single swap point. If the Horizon web licence clears, change this line only. */
  --font-display: 'Archivo Black', 'Horizon', Impact, sans-serif;
  --font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void-black);
  color: var(--pure-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 20px 64px;
}

/* ---------- Twin Bars: the signature motif ---------- */
.bars { display: inline-flex; align-items: flex-end; gap: 4px; }
.bars i { display: block; width: 5px; background: var(--pure-white); }
.bars i:first-child { height: 12px; }
.bars i:last-child  { height: 19px; background: var(--signal-orange); }
.bars--sm i { width: 4px; }
.bars--sm i:first-child { height: 8px; }
.bars--sm i:last-child  { height: 13px; }

/* ---------- Masthead ---------- */
.masthead { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.masthead img { height: 26px; width: auto; display: block; }
footer .foot-logo { height: 15px; width: auto; display: inline-block; vertical-align: -3px; margin-right: 8px; }

/* ---------- Hero ---------- */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(30px, 8.6vw, 42px);
  margin: 0 0 14px;
}
h1 .hl { color: var(--signal-orange); }

.lede { font-size: 16px; margin: 0 0 8px; }

.meta {
  color: var(--steel-gray);
  font-size: 14px;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}
.meta-sub {
  color: var(--steel-gray);
  font-size: 13px;
  margin: 0 0 26px;
  letter-spacing: 0.01em;
}

/* ---------- Form ---------- */
.step-label {
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pure-white);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}

fieldset { border: 0; margin: 0 0 18px; padding: 0; }
legend { padding: 0; }

.tile {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--panel-charcoal);
  color: var(--pure-white);
  border: 2px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background .12s ease;
}
.tile > span:first-child { padding-top: 2px; }
.tile .price, .tile .tick { padding-top: 2px; }
.tile:hover { background: #1d1d1d; border-color: #3a3a3a; }
.tile .price { color: var(--steel-gray); font-size: 14px; white-space: nowrap; text-align: right; }
.tile .tick { color: var(--signal-orange); font-size: 15px; visibility: hidden; text-align: right; }

.tile[aria-pressed="true"] {
  background: var(--panel-ember);
  border-color: var(--signal-orange);
}
.tile[aria-pressed="true"] .tick { visibility: visible; }
.tile[aria-pressed="true"] .price { color: var(--pure-white); }

/* Narrow phones (iPhone SE, small Android): the longer tile labels wrap to
   two lines at 15px, leaving some tiles taller than others and the price
   column looking mis-centered against a one-line neighbour. Tighten up so
   every label has the best shot at staying on one line, and every tile
   in the list reads as the same height. */
@media (max-width: 380px) {
  .tile {
    grid-template-columns: 1fr auto 16px;
    gap: 8px;
    padding: 12px 12px;
    font-size: 13.5px;
  }
  .tile .price { font-size: 12.5px; }
}

.field { margin-bottom: 10px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--steel-gray);
  margin-bottom: 5px;
}
.field input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  background: var(--panel-charcoal);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  color: var(--pure-white);
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS zoom-on-focus */
}
.field input::placeholder { color: #5a5a5a; }
.field input:focus { outline: 2px solid var(--signal-orange); outline-offset: 1px; }
.field .err { display: none; color: var(--signal-orange); font-size: 13px; margin-top: 5px; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: var(--signal-orange); }

.btn {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 15px 18px;
  background: var(--signal-orange);
  color: var(--void-black);
  border: 0;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}
.btn:hover { background: #ff8438; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--pure-white); outline-offset: 2px; }
.btn[disabled] { opacity: .55; cursor: default; }

.btn-ghost {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px;
  background: transparent;
  border: 1px solid var(--signal-orange);
  border-radius: 2px;
  color: var(--signal-orange);
  font-family: var(--font-body);
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  line-height: 22px;
}

.back {
  background: none;
  border: 0;
  color: var(--steel-gray);
  font: inherit;
  font-size: 14px;
  padding: 6px 0;
  margin-bottom: 12px;
  cursor: pointer;
}
.back:hover { color: var(--pure-white); }

.reassure { color: var(--steel-gray); font-size: 13px; margin: 10px 0 0; }

[hidden] { display: none !important; }

/* ---------- Confirmation ---------- */
.confirm h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 26px;
  margin: 14px 0 10px;
}
.confirm p { margin: 0 0 6px; }
.confirm .sig { color: var(--steel-gray); margin-bottom: 18px; }

/* ---------- Below the fold ---------- */
.rule { height: 1px; background: var(--hairline); border: 0; margin: 46px 0 30px; }

h2.sec {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 19px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: flex; gap: 14px; margin-bottom: 18px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: var(--signal-orange);
  letter-spacing: -0.01em;
}
.steps p { margin: 0; font-size: 15px; }
.steps strong { display: block; font-weight: normal; color: var(--pure-white); }
.steps span { color: var(--steel-gray); }

/* ---------- Bonus block, relocated into the hero column ---------- */
.hero-bonus { margin: 4px 0 30px; }
.hero-bonus .card { margin-top: 2px; }

/* ---------- Agent card: real-estate-style photo + name/title overlay ---------- */
.agent-photo {
  position: relative;
  max-width: 100%;
  margin: 0 auto 16px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--panel-charcoal);
}
.agent-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.15);
}
.agent-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.72);
  padding: 12px 14px;
}
.agent-overlay .agent-name {
  font-family: var(--font-display);
  font-weight: normal;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--pure-white);
  margin: 0 0 3px;
}
.agent-overlay .agent-title {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--signal-orange);
  margin: 0;
}
.agent-bio p { margin: 0 0 10px; font-size: 15px; }
.agent-bio .credentials { color: var(--steel-gray); font-size: 14px; margin: 0; }

@media (min-width: 860px) {
  .agent-card { display: flex; gap: 26px; align-items: flex-start; }
  .agent-photo { flex: 0 0 220px; max-width: 220px; margin: 0; }
  .agent-bio { flex: 1; padding-top: 2px; }
}

.card {
  background: var(--panel-charcoal);
  border-radius: 2px;
  padding: 18px 16px;
}
.card p { margin: 0 0 10px; font-size: 15px; }
.card p:last-child { margin-bottom: 0; }

footer { margin-top: 44px; color: var(--steel-gray); font-size: 13px; }
footer a { color: var(--steel-gray); }
footer .row { margin-bottom: 4px; }

/* ---------- Proof grid: mobile-first base ----------
   These photos are the deliverable made tangible, and most scans happen
   on a phone — so the grid has to work below the desktop breakpoint,
   not just above it. The panel is photos only now — no ghost numeral,
   tile texture, or corner bars competing with (or overlapping) them. */
.hero-deco { margin: 18px 0 34px; }

.hero-deco .proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
/* Every tile is a plain div wrapper, never a bare <img>: grid's automatic
   minimum size for replaced elements (img) ignores aspect-ratio and falls
   back to the image's raw intrinsic height, which was stretching these to
   tall rectangles instead of squares. A div has no such intrinsic size, so
   aspect-ratio applies correctly, and the inner img is sized to fill it. */
.hero-deco .proof-grid > .proof-tile {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--panel-charcoal);
}
.hero-deco .proof-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-deco .proof-tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.72);
  color: var(--pure-white);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
  padding: 7px 8px;
}

/* Playful pointer, once, on the one tile that's actually her. */
.hero-deco .proof-tile--jess .callout {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: rotate(-4deg);
}
.hero-deco .proof-tile--jess .callout-text {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--signal-orange);
  text-shadow: 0 1px 4px rgba(0,0,0,.85);
  white-space: nowrap;
  margin-bottom: 2px;
}
.hero-deco .proof-tile--jess .callout svg { display: block; margin-left: 10px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); }

/* ---------- Desktop / wide viewport ----------
   Below this width the page is the mobile card-scan flow, untouched.
   Above it, the same content gets a real layout instead of a narrow
   column adrift in black. */
@media (min-width: 860px) {
  .wrap { max-width: 1080px; padding: 56px 32px 96px; }
  .masthead img { height: 40px; }
  .masthead { margin-bottom: 44px; }

  .hero-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 64px; align-items: start; }
  .hero-main { max-width: 460px; }

  .hero-deco {
    position: relative;
    height: 100%;
    min-height: 640px;
    margin: 0;
    border-radius: 4px;
    background-color: var(--panel-charcoal);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Proof grid — real work samples instead of an empty decorative panel.
     Static (no carousel — per-tile engagement on rotating carousels is
     negligible), object-fit cover, gentle rotation for editorial energy.
     Three rows now: the extra row carries Jess's own photo + credit. */
  .hero-deco .proof-grid {
    position: absolute;
    inset: 40px 40px 32px;
    z-index: 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
  }
  .hero-deco .proof-grid > .proof-tile {
    height: 100%;
    aspect-ratio: auto;
    box-shadow: 0 16px 32px rgba(0,0,0,.5);
    transition: transform .2s ease;
  }
  .hero-deco .proof-grid > :nth-child(1) { transform: rotate(-1.4deg); }
  .hero-deco .proof-grid > :nth-child(2) { transform: rotate(1deg); }
  .hero-deco .proof-grid > :nth-child(3) { transform: rotate(1.1deg); }
  .hero-deco .proof-grid > :nth-child(4) { transform: rotate(-0.8deg); }
  .hero-deco .proof-grid > :nth-child(5) { transform: rotate(-1deg); }
  .hero-deco .proof-grid > :nth-child(6) { transform: rotate(0.9deg); }
  .hero-deco .proof-grid > :hover { transform: scale(1.035) rotate(0deg); z-index: 3; position: relative; }

  /* Fade only (not translate) so the per-tile rotation above isn't
     clobbered by the animation's own transform. */
  @keyframes p11-fade { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: no-preference) {
    .hero-deco .proof-grid > * { opacity: 0; animation: p11-fade 0.6s ease-out both; }
    .hero-deco .proof-grid > :nth-child(1) { animation-delay: .05s; }
    .hero-deco .proof-grid > :nth-child(2) { animation-delay: .11s; }
    .hero-deco .proof-grid > :nth-child(3) { animation-delay: .17s; }
    .hero-deco .proof-grid > :nth-child(4) { animation-delay: .23s; }
    .hero-deco .proof-grid > :nth-child(5) { animation-delay: .29s; }
    .hero-deco .proof-grid > :nth-child(6) { animation-delay: .35s; }
  }

  h1 { font-size: clamp(42px, 3.6vw, 52px); }
  .lede { font-size: 18px; }

  .below-fold { max-width: 720px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps li { flex-direction: column; gap: 10px; margin-bottom: 0; }
  .steps li::before { font-size: 26px; }
}

/* ---------- Entrance + scroll motion ----------
   Restrained on purpose — a single fade/rise, no bounce, no parallax.
   Matches "grounded, dependable" over "trend-chasing" from the brand guide. */
@keyframes p11-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.masthead, h1, .lede, .meta, #step1 {
  animation: p11-rise 0.5s ease-out both;
}
.masthead   { animation-delay: 0s; }
h1          { animation-delay: 0.06s; }
.lede       { animation-delay: 0.12s; }
.meta       { animation-delay: 0.16s; }
#step1      { animation-delay: 0.2s; }

.hero-deco { animation: p11-rise 0.7s ease-out 0.15s both; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
