/* ==========================================================================
   RIGHTOFWAY — design tokens
   Palette pulled from the source photography: asphalt, dusk sky, road paint.
   Display type: Overpass — drawn from US highway signage (Highway Gothic
   lineage), body: IBM Plex Sans, technical labels: IBM Plex Mono.
   ========================================================================== */

:root {
  --ink:        #121210;   /* near-black, warm */
  --ink-2:      #1b1a17;   /* card / raised surface */
  --ink-3:      #232019;   /* hover surface */
  --paper:      #f3f0e9;   /* warm off-white, primary text */
  --paper-dim:  #b9b6ac;   /* secondary text on dark */
  --line:       #46443c;   /* hairline dividers on dark */
  --line-soft:  rgba(243,240,233,0.14);
  --paint:      #f0b93d;   /* road-paint yellow — primary accent */
  --paint-dim:  #c99a2e;
  --signal:     #c1442c;   /* stop-sign red — rare, single use */

  --font-display: 'Overpass', 'Arial Narrow', sans-serif;
  --font-body:    'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --max: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--paint); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* -------------------------------------------------------------- */
/* Utility / layout                                                */
/* -------------------------------------------------------------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paint);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.08em;
}

.hairline {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--line-soft);
  padding: 14px 22px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--paint);
  background: var(--paint);
  color: var(--ink);
}
.btn.solid {
  background: var(--paint);
  color: var(--ink);
  border-color: var(--paint);
}
.btn.solid:hover {
  background: transparent;
  color: var(--paper);
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------- */
/* Header / nav                                                    */
/* -------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: linear-gradient(to bottom, rgba(18,18,16,0.85), rgba(18,18,16,0));
  pointer-events: none;
}
.site-header * { pointer-events: auto; }

.site-header .mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-header .mark img { height: 20px; width: auto; }
.site-header .mark svg { height: 22px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--paint); }

/* -------------------------------------------------------------- */
/* Hero                                                             */
/* -------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center 35%;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18,18,16,0.98) 0%, rgba(18,18,16,0.55) 42%, rgba(18,18,16,0.15) 68%, rgba(18,18,16,0.55) 100%);
}
.hero-content {
  position: relative;
  padding: 0 var(--gutter) 64px;
  width: 100%;
}
.hero-crosshair {
  position: absolute;
  top: 90px;
  right: var(--gutter);
  width: 120px;
  height: 120px;
  opacity: 0.85;
  z-index: 2;
}
.hero-crosshair .draw {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: draw-in 1.6s cubic-bezier(0.65,0,0.35,1) forwards;
}
.hero-crosshair .draw:nth-child(1) { animation-delay: 0.1s; }
.hero-crosshair .draw:nth-child(2) { animation-delay: 0.35s; }
.hero-crosshair .draw:nth-child(3) { animation-delay: 0.55s; }
.hero-crosshair .draw:nth-child(4) { animation-delay: 0.75s; }
.hero-crosshair .draw:nth-child(5) { animation-delay: 0.9s; }
@keyframes draw-in { to { stroke-dashoffset: 0; } }
.hero-loc {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(40px, 8vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 16ch;
}
.hero p.tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--paper-dim);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll .line { width: 28px; height: 1px; background: var(--paper-dim); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: "";
  position: absolute; left: -100%; top: 0; bottom: 0; width: 100%;
  background: var(--paint);
  animation: scrollline 2.2s ease-in-out infinite;
}
@keyframes scrollline { 0% { left: -100%; } 50% { left: 0; } 100% { left: 100%; } }

/* -------------------------------------------------------------- */
/* Generic section rhythm                                          */
/* -------------------------------------------------------------- */

section { position: relative; }
.section-pad { padding: clamp(64px, 10vw, 128px) 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.005em;
  margin: 0;
}

/* -------------------------------------------------------------- */
/* Focus / Vision — statement section                               */
/* -------------------------------------------------------------- */

.statement {
  background: var(--ink-2);
}
.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.statement-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: condensed;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  margin: 0;
  color: var(--paper);
}
.statement-lead b, .statement-lead strong {
  color: var(--paint);
  font-weight: 700;
}
.statement-body p {
  color: var(--paper-dim);
  font-size: 16px;
  margin: 0 0 20px;
}
.statement-body p:last-child { margin-bottom: 0; }
.lens-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.lens-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paper);
  padding-left: 22px;
  position: relative;
}
.lens-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 10px; height: 1px; background: var(--paint);
}

@media (max-width: 820px) {
  .statement-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- */
/* Approach — photo band with overlay stat/quote                    */
/* -------------------------------------------------------------- */

.photo-band {
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,18,16,0.92), rgba(18,18,16,0.15) 60%);
}
.photo-band .wrap { position: relative; padding-top: 60px; padding-bottom: 60px; width: 100%; }
.photo-band-loc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  margin-bottom: 14px;
}
.photo-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.1;
  max-width: 20ch;
}

/* -------------------------------------------------------------- */
/* Workflow — process rail (numbered: this IS a real sequence)      */
/* -------------------------------------------------------------- */

.rail {
  position: relative;
  display: grid;
  gap: 0;
}
.rail-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.rail-item:last-child { border-bottom: 1px solid var(--line); }
.rail-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--paint);
}
.rail-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}
.rail-body p {
  color: var(--paper-dim);
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
}

/* -------------------------------------------------------------- */
/* Audience — two cards                                             */
/* -------------------------------------------------------------- */

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.aud-card {
  background: var(--ink);
  padding: clamp(28px, 4vw, 44px);
}
.aud-card .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.aud-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 0 14px;
}
.aud-card p {
  color: var(--paper-dim);
  margin: 0;
  font-size: 15.5px;
}
@media (max-width: 720px) {
  .card-row { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- */
/* Value for designers                                              */
/* -------------------------------------------------------------- */

.value-section { background: var(--ink-2); }
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.value-copy p {
  color: var(--paper-dim);
  font-size: clamp(16px, 1.6vw, 18px);
  margin: 0 0 18px;
}
.value-copy strong { color: var(--paper); font-weight: 600; }
.mock {
  position: relative;
}
.mock img {
  border: 1px solid var(--line-soft);
}
@media (max-width: 820px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-grid .mock { order: -1; }
}

/* -------------------------------------------------------------- */
/* Pilot episode — deliberately low-key                             */
/* -------------------------------------------------------------- */

.pilot-section .wrap {
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.pilot-copy .eyebrow { margin-bottom: 12px; display: block; }
.pilot-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 14px;
}
.pilot-copy p {
  color: var(--paper-dim);
  font-size: 15.5px;
  margin: 0 0 22px;
}
.pilot-frame {
  aspect-ratio: 16/9;
  background: var(--ink-2) center / cover no-repeat;
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pilot-frame .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(18,18,16,0.72);
  border: 1px solid var(--line-soft);
  padding: 8px 14px;
}
@media (max-width: 820px) {
  .pilot-section .wrap { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- */
/* Who we are                                                       */
/* -------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
}
.team-card img { width: 100%; height: auto; }
.team-card .cap {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  padding-top: 12px;
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- */
/* Closing CTA / footer                                             */
/* -------------------------------------------------------------- */

.closing {
  background: var(--ink-2);
  text-align: center;
}
.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: condensed;
  text-transform: uppercase;
  font-size: clamp(32px, 6vw, 64px);
  margin: 0 0 20px;
  line-height: 1.02;
}
.closing p {
  color: var(--paper-dim);
  max-width: 46ch;
  margin: 0 auto 34px;
  font-size: 16px;
}
.closing .cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

footer.site-footer {
  padding: 40px var(--gutter) 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer .foot-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer.site-footer .foot-mark img { height: 14px; width: auto; opacity: 0.7; }
footer.site-footer .foot-links {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}
footer.site-footer .foot-links a { text-decoration: none; transition: color 0.2s ease; }
footer.site-footer .foot-links a:hover { color: var(--paint); }

/* -------------------------------------------------------------- */
/* Scroll reveal                                                    */
/* -------------------------------------------------------------- */

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

/* -------------------------------------------------------------- */
/* Mobile nav                                                       */
/* -------------------------------------------------------------- */

@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero-crosshair { display: none; }
}
