/* StrideRock placeholder site. Tokens follow Brand Guide v1, section 13.1. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0A1220;
  --navy-800: #1D3557;
  --navy-700: #1E2A44;
  --navy-600: #2D3A56;
  --amber-500: #FFB300;
  --amber-400: #FFC533;
  --cyan-500: #00BCD4;
  --cyan-400: #33CEE0;
  --white: #FFFFFF;
  --white-dim: #B8BFCC;
  --cream: #FAF7F2;
  --ink-900: #0A1220;
  --ink-700: #3F4A5F;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Monaco, 'Cascadia Code', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --gutter: 24px;
  --section: 96px;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 48px; --section: 128px; } }
@media (min-width: 1100px) { :root { --gutter: 80px; --section: 168px; } }

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

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

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--cyan-500); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 4px;
  border-radius: 4px;
}
.light :focus-visible { outline-color: var(--navy-800); }

[id] { scroll-margin-top: 88px; }

.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: 10px;
}
.skip:focus { top: 12px; }

/* Header: clear over the photograph, solid navy after 80px of scroll (Brand Guide 7.1) */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.top.scrolled, .top.solid {
  background: rgba(10, 18, 32, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 2px;
}
/* The logo file carries its own clear space: the wordmark starts 11.6% in from the left edge. */
.logo { display: block; width: 172px; margin-left: -20px; flex: none; }
.top nav { display: flex; gap: 36px; }
.navlink {
  position: relative;
  color: var(--white-dim);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 8px;
  transition: color 200ms var(--ease);
}
.navlink:hover, .navlink:focus-visible { color: var(--white); }
.top nav .navlink:not(:last-child) { display: none; }

/* Two dashes settle in under a menu item: amber leads, cyan follows 80ms later.
   Carried over from the earlier StrideRock site's navigation (website header reference v0.1.0). */
.navlink::before, .navlink::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 1.5px;
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(0.16, 1, 0.3, 1), transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
.navlink::before { left: 0; background-color: var(--amber-500); }
.navlink::after { left: 12px; background-color: var(--cyan-500); }
.navlink:hover::before, .navlink:focus-visible::before,
.navlink:hover::after, .navlink:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.navlink:hover::after, .navlink:focus-visible::after { transition-delay: 80ms; }

@media (min-width: 700px) {
  .logo { width: 196px; margin-left: -23px; }
  .top nav .navlink:not(:last-child) { display: block; }
}

/* Small label with the two-dash stride echo (Brand Guide 7.3) */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--cyan-500);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow.on-light { color: var(--navy-800); }
.chev { display: inline-flex; gap: 4px; flex: none; }
.chev i { display: block; width: 6px; height: 2px; }
.chev i:first-child { background: var(--amber-500); }
.chev i:last-child { background: var(--cyan-500); }

/* Opening: the photograph, with the words set on its darker side */

.opening, .contact { position: relative; isolation: isolate; overflow: hidden; }
.backdrop { position: absolute; inset: 0; z-index: -2; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; }
/* Phone and tablet: the photograph fills the whole opening. The headline sits on the darkened
   sky, a clear band lets the sun show, and the rest of the words sit on the dark hillside. */
.opening .backdrop { inset: 0; }
.opening .backdrop img { object-position: 61% 50%; }
.opening::before, .contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.opening::before {
  background: linear-gradient(180deg,
    rgba(10, 18, 32, 0.82) 0%,
    rgba(10, 18, 32, 0.66) 24%,
    rgba(10, 18, 32, 0.12) 34%,
    rgba(10, 18, 32, 0.08) 42%,
    rgba(10, 18, 32, 0.58) 52%,
    rgba(10, 18, 32, 0.7) 86%,
    #0A1220 100%);
}
/* Wide screens: the photograph fills the opening, with navy laid over its left so the text passes contrast. */
@media (min-width: 900px) {
  .opening .backdrop img { object-position: 50% 42%; }
  .opening::before {
    background:
      linear-gradient(180deg, rgba(10, 18, 32, 0.55) 0%, rgba(10, 18, 32, 0) 22%, rgba(10, 18, 32, 0) 70%, rgba(10, 18, 32, 0.85) 94%, #0A1220 100%),
      linear-gradient(90deg, rgba(10, 18, 32, 0.9) 0%, rgba(10, 18, 32, 0.74) 38%, rgba(10, 18, 32, 0.22) 68%, rgba(10, 18, 32, 0.1) 100%);
  }
}

.hero {
  padding-top: 120px;
  padding-bottom: 56px;
}
/* The clear band for the sun, between the headline and the rest. */
.hero .lead { margin-top: clamp(200px, 56vw, 300px); color: rgba(255, 255, 255, 0.92); }
@media (min-width: 900px) { .hero .lead { margin-top: 32px; color: rgba(255, 255, 255, 0.86); } }
@media (min-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(100svh, 980px);
    /* Height counts too, so a short laptop screen still shows the buttons without scrolling. */
    padding-top: clamp(110px, min(15vw, 17vh), 190px);
    padding-bottom: 72px;
  }
}
.hero h1 {
  max-width: 13em;
  font-size: clamp(2.25rem, 10.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
/* Must come after the rule above: tablets and desktops get the large headline. */
@media (min-width: 700px) { .hero h1 { font-size: clamp(2.75rem, 7.2vw, 5.5rem); } }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2.75rem, min(7.2vw, 11vh), 5.5rem); } }
.lead {
  max-width: 39rem;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  margin-top: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--amber-500);
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 250ms var(--ease);
}
.button:hover { background: var(--amber-400); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 8px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat;
  transition: color 200ms var(--ease), background-size 250ms var(--ease);
}
.textlink:hover { color: var(--cyan-500); background-size: 100% 1px; }

.arrow { display: inline-block; transition: transform 250ms var(--ease); }
.button:hover .arrow { transform: translateX(4px); }
.textlink:hover .arrow { transform: translateX(4px); }
.textlink.down:hover .arrow { transform: translateY(3px); }

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  max-width: 44rem;
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.notice .textlink { font-size: 0.9375rem; font-weight: 600; }

@media (min-width: 900px) { .notice { margin-top: clamp(56px, 7vw, 88px); } }

/* One page-load sequence, and nothing else moves by itself. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 800ms var(--ease) both; }
  .r2 { animation-delay: 80ms; }
  .r3 { animation-delay: 180ms; }
  .r4 { animation-delay: 280ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

/* The Accelerator */

.accelerator {
  padding-block: var(--section);
}
.split { display: grid; gap: 64px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 96px; align-items: start; }
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.split-text > p:not(.eyebrow) {
  max-width: 36rem;
  margin-top: 28px;
  color: var(--white-dim);
  font-size: 1.125rem;
  line-height: 1.6;
}
blockquote {
  max-width: 34rem;
  margin-top: 40px;
  padding-left: 19px;
  border-left: 3px solid var(--cyan-500);
}
blockquote p { font-size: 1.125rem; font-weight: 500; line-height: 1.55; }

.join { max-width: 34rem; margin-top: 44px; }
.join .textlink { font-size: 1.0625rem; font-weight: 600; }
.join p { margin-top: 6px; color: var(--white-dim); font-size: 0.9375rem; line-height: 1.55; }

.spec { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 960px) { .spec { margin-top: 44px; } }
.spec > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.spec dt {
  color: var(--white-dim);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.spec dd { font-size: 1.0625rem; font-weight: 500; line-height: 1.45; }
@media (min-width: 700px) {
  .spec > div { grid-template-columns: 9.5rem minmax(0, 1fr); padding-block: 22px; }
  .spec dd { font-size: 1.125rem; }
}

/* The firm, on cream */

.light {
  background: var(--cream);
  color: var(--ink-900);
  padding-block: var(--section);
}
/* Two sentences set on a rising step, the way the two forms of the stride mark sit. */
.stride {
  color: var(--navy-800);
  font-size: clamp(2.25rem, 8.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: nowrap;
}
.stride span { display: block; }
.stride span:last-child { margin-left: 0.6em; }
@media (min-width: 700px) {
  .stride span:last-child { margin-left: 1.8em; }
}

.offers {
  display: grid;
  gap: 40px;
  margin-top: clamp(72px, 10vw, 144px);
}
@media (min-width: 820px) {
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}
.offers article { padding-top: 24px; border-top: 2px solid var(--navy-800); }
.offers h3 {
  color: var(--navy-800);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.offers p { max-width: 30rem; margin-top: 12px; color: var(--ink-700); font-size: 1.0625rem; line-height: 1.6; }

/* Contact */

.contact { padding-block: var(--section); }
.contact .backdrop img { object-position: 60% 62%; }
.contact::before {
  background:
    linear-gradient(180deg, #0A1220 0%, rgba(10, 18, 32, 0.35) 28%, rgba(10, 18, 32, 0.2) 55%, rgba(10, 18, 32, 0.75) 88%, #0A1220 100%),
    linear-gradient(90deg, rgba(10, 18, 32, 0.6) 0%, rgba(10, 18, 32, 0.25) 60%, rgba(10, 18, 32, 0) 100%);
}
.contact .lead { margin-top: 24px; }
.contact .actions { margin-top: 40px; }

/* The small window behind every email button */

.mail-dialog {
  width: min(30rem, calc(100vw - 32px));
  padding: 32px;
  background: var(--navy-700);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}
.mail-dialog::backdrop { background: rgba(10, 18, 32, 0.72); }
.mail-dialog h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.mail-dialog p { margin-top: 10px; color: var(--white-dim); }
.mail-choices { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }
.mail-dialog .mail-address { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9375rem; }
.mail-address strong { color: var(--white); font-weight: 600; }
.mail-dialog button {
  font: inherit;
  color: var(--white);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
}
.mail-dialog button:hover { border-color: var(--cyan-500); color: var(--cyan-500); }
.mail-dialog .copy { margin-left: 8px; font-size: 0.875rem; }
.mail-dialog form[method="dialog"] { margin-top: 24px; text-align: right; }

.join-form { margin-top: 20px; }
.join-form label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--white); }
.join-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.join-row input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 13px 14px;
  font: inherit;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
}
.join-row input::placeholder { color: #8891a3; }
.join-row input:focus-visible { outline: 2px solid var(--cyan-500); outline-offset: 2px; }
.mail-dialog .join-row .button { border: 0; background: var(--amber-500); color: var(--navy-900); padding: 14px 22px; font-weight: 600; }
.mail-dialog .join-row .button:hover { background: var(--amber-400); color: var(--navy-900); }
.mail-dialog .join-row .button:disabled { opacity: 0.6; cursor: default; }
.join-form.done .join-row, .join-form.done label { display: none; }
.mail-dialog .join-status { min-height: 1.5em; margin-top: 12px; color: var(--white); font-weight: 500; }
.mail-dialog .join-small { margin-top: 4px; font-size: 0.8125rem; }
.join-small a { color: var(--white); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-block: 32px 40px;
  border-top: 1px solid var(--navy-600);
  color: var(--white-dim);
  font-size: 0.875rem;
  line-height: 1.5;
}
.foot img { width: 26px; flex: none; }
.foot-note { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-left: 0; }
.foot-note a { color: var(--white); text-underline-offset: 3px; }
.foot-note a:hover { color: var(--cyan-500); }
@media (min-width: 700px) { .foot-note { margin-left: auto; } }

/* Long-form page (privacy): cream, one 680px column (Brand Guide pattern 2.13) */

.doc { padding-top: calc(var(--section) * 0.6 + 80px); }
.doc-col { max-width: calc(680px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.doc h1 {
  color: var(--navy-800);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.doc h2 {
  margin-top: 48px;
  color: var(--navy-800);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.doc p, .doc ul { margin-top: 14px; color: var(--ink-700); font-size: 1.125rem; line-height: 1.65; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--ink-900); font-weight: 600; }
.doc a { color: var(--navy-800); font-weight: 500; text-underline-offset: 3px; }
.doc .eyebrow { margin-top: 0; font-size: 0.75rem; line-height: 1.2; color: var(--navy-800); }
.doc .doc-meta { margin-top: 20px; font-size: 0.9375rem; }
.doc .doc-back { margin-top: 56px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body { background: #fff; color: #000; }
  .top nav, .actions, .skip { display: none; }
}
