/* PRETE9 — "Parent House" design (Claude Design handoff design_handoff_prete9_homepage,
   final-design-3a). Pure black, hairline sections, brand plates. Zero build. */

:root {
  color-scheme: dark;
  --bg: #000000;
  --hairline: #1c1c20;
  --border-2: #26262b;
  --text: #ffffff;
  --body: #e5e7ea;
  --secondary: #c9ccd2;
  --muted: #9a9da4;
  --dim: #8a8d93;
  --faint: #3a3a40;
  --dim-title: #b9bcc2;
  --accent: #00E5FF;
  --accent-deep: #00333c;
  --chip-bg: #2a2a2f;
  --cream: #f5f1e8;
  --row-hover: #050809;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Barlow, system-ui, -apple-system, sans-serif;
}

a { color: var(--accent); text-decoration: none; }

/* Wordmark (one unbroken unit — never split, never a monogram) */
.tilt { transform: skewX(-13deg); transform-origin: left bottom; }
.wm { display: block; height: auto; overflow: visible; }
.wm-head { width: 150px; }
.wm-sig { width: 190px; }
.wm-foot { width: 200px; }

/* Header */
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 80px;
  border-bottom: 1px solid var(--hairline);
}

.head-nav {
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-link { color: var(--secondary); }
.nav-link:hover, .nav-link:focus-visible { color: var(--accent); }

.nav-btn {
  border: 1px solid var(--border-2);
  padding: 9px 20px;
  color: #fff;
}
.nav-btn:hover, .nav-btn:focus-visible { border-color: var(--accent); color: var(--accent); }

.menu-btn { display: none; }

/* Hero */
.hero {
  padding: 130px 80px 100px;
  border-bottom: 1px solid var(--hairline);
}

.kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 28px 0 0;
  font-family: Anton, sans-serif;
  font-weight: 400;
  font-size: 84px;
  line-height: 1.08;
  letter-spacing: 0.5px;
  color: #fff;
  max-width: 1100px;
  text-transform: uppercase;
}

.accent { color: var(--accent); }

.signature {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
}

.sig-tag { font-size: 20px; color: var(--muted); }
.sig-tag-mobile { display: none; }

/* Brands */
.brands {
  padding: 88px 80px;
  border-bottom: 1px solid var(--hairline);
}

.brands-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 52px;
}

.brands-head h2 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--dim);
}

.brands-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--faint);
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
  color: inherit;
  transition: background 0.15s ease;
}

.row-last { border-bottom: 1px solid var(--hairline); }
a.brand-row:hover, a.brand-row:focus-visible { background: var(--row-hover); color: inherit; }
.row-dim { cursor: default; }

.row-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 8px;
}

.dim { opacity: 0.55; }

.lockup { display: flex; align-items: center; gap: 20px; }

.prism-img { height: 96px; display: block; width: auto; }

/* PRETE Motorsports lockup — varsity PRETE, same recipe as the PRETE9 wordmark */
.prete-wm { height: 96px; width: auto; }
/* the skew leans the ink ~tan(13deg)*height past the layout box; pad the gap to match visually */
.lockup .tilt { margin-right: 19px; }

.prism-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 10px;
  color: var(--dim-title);
}

.row-desc {
  margin: 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
}

.row-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  border-left: 1px solid var(--hairline);
  padding-left: 48px;
}

.chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 6px 14px;
  background: var(--chip-bg);
  color: var(--secondary);
}

.chip-live { background: var(--accent-deep); color: var(--accent); }

.visit {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--accent);
}

/* Sergeant lockup */
.sgt-main { flex-direction: row; align-items: center; gap: 32px; }
.sgt-chevron { height: 88px; width: auto; display: block; }
.sgt-stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.sgt-name {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 46px;
  letter-spacing: 14px;
  color: var(--cream);
  line-height: 1;
}

.sgt-tagline { display: flex; align-items: center; gap: 16px; }
.sgt-dash { width: 30px; height: 2px; background: var(--accent); }

.sgt-tagline-text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 5px;
  color: var(--muted);
}

/* Footer */
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 80px 48px;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.foot-tag { font-size: 15px; color: var(--muted); }

.foot-col { display: flex; flex-direction: column; gap: 12px; }

.foot-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--faint);
}

.foot-col a { font-size: 15px; color: var(--secondary); }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--accent); }
.foot-col .foot-mail { color: var(--accent); }
.foot-dim { font-size: 15px; color: var(--dim); }

.foot-legal {
  display: flex;
  justify-content: space-between;
  margin: 0 80px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--dim);
}

/* Scroll reveal (armed only when reduced-motion is off; compositor props only) */
.reveal-armed {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal-armed.in { opacity: 1; transform: translateY(0); }

/* Mobile (<900px) */
@media (max-width: 900px) {
  .site-head { padding: 16px 20px; position: relative; }
  .wm-head { width: 118px; }

  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--secondary); }

  .head-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
  }
  .head-nav.open { display: flex; }

  .hero { padding: 56px 20px 48px; }
  .kicker { font-size: 12px; letter-spacing: 4px; }
  .hero h1 { margin-top: 18px; font-size: 38px; line-height: 1.15; letter-spacing: normal; }
  .signature { display: none; }
  .sig-tag-mobile { display: block; margin: 20px 0 0; font-size: 15px; color: var(--muted); }

  .brands { padding: 40px 20px; }
  .brands-head { margin-bottom: 8px; }
  .brands-head h2 { font-size: 13px; letter-spacing: 4px; }
  .brands-meta { display: none; }

  .brand-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 0;
  }
  /* mobile order: chip -> lockup -> descriptor -> visit link */
  .row-side { display: contents; }
  .row-side .chip { order: -1; }
  .row-side .visit { order: 1; font-size: 14px; }
  .chip { font-size: 11px; padding: 4px 10px; }

  .row-main { padding-left: 0; gap: 14px; }
  .lockup { flex-direction: column; align-items: flex-start; gap: 6px; }
  .prism-img { height: 52px; }
  .prete-wm { height: 52px; }
  .lockup .tilt { margin-right: 0; }
  .prism-tag { font-size: 15px; letter-spacing: 7px; }
  .row-desc { font-size: 14px; }

  .sgt-main { flex-direction: row; gap: 16px; }
  .sgt-chevron { height: 48px; }
  .sgt-stack { gap: 8px; }
  .sgt-name { font-size: 23px; letter-spacing: 6px; }
  .sgt-tagline { gap: 10px; }
  .sgt-dash { width: 20px; }
  .sgt-tagline-text { font-size: 10px; letter-spacing: 2px; }

  .foot-grid { display: flex; flex-direction: column; gap: 8px; padding: 28px 20px 8px; }
  .foot-brand .tilt, .foot-col .foot-head, .foot-dim { display: none; }
  .foot-tag { display: none; }
  .foot-col { gap: 8px; }
  .foot-col a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2px; }
  .foot-mail { text-transform: uppercase; }
  .foot-legal {
    margin: 0 20px;
    padding: 0 0 28px;
    border-top: none;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
  }
}
