/* Sabr Performance — site styles
   Layout concept: neutral, quiet pages on Worn White and Black; long horizontal
   "lane lines" borrowed from the track; Fairway green only on actions and small details. */
:root {
  --black: #151412;        /* text, dark sections */
  --worn-white: #F7F2EB;   /* main light background (the tan) */
  --silver: #E1E3E5;       /* dividers, cool neutral */
  --stone: #6B6862;        /* secondary text on light */
  --mist: #B9B4AC;         /* secondary text on dark */
  --fairway: #3F7A5C;      /* accent: buttons, links, small labels */
  --fairway-dark: #2F5F47; /* accent hover */
  --night-field: #12332A;  /* deep green, used sparingly */
  --white: #FFFFFF;

  /* Brand type: Inter Tight Extrabold caps (headlines), Helvetica Neue (body, italic caps labels), Andale Mono (details) */
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Andale Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --max: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--worn-white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.96; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fairway); outline-offset: 3px; }

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

.label {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--fairway);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.5em;
  background: var(--fairway); color: var(--white);
  border: 1px solid var(--fairway);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--fairway-dark); border-color: var(--fairway-dark); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: transparent; border-color: var(--fairway); color: var(--fairway); }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--black);
}
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  color: var(--white);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.site-header.is-solid, .site-header.is-light {
  background: var(--worn-white); color: var(--black); box-shadow: 0 1px 0 var(--silver);
}
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-solid .logo-light, .site-header.is-light .logo-light { display: none; }
.site-header.is-solid .logo-dark, .site-header.is-light .logo-dark { display: block; }

.nav { display: flex; gap: 2.25rem; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.9375rem; font-weight: 500; position: relative; padding-block: 0.25rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--fairway); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header .btn { padding: 0.75em 1.25em; }

.menu-toggle {
  display: none; margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s ease, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav, .site-header .btn--header { display: none; }
  .menu-toggle { display: block; }
  .menu-open .site-header { background: var(--black); color: var(--white); box-shadow: none; }
  .menu-open .site-header .logo-light { display: block; }
  .menu-open .site-header .logo-dark { display: none; }
  .menu-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0;
    background: var(--black); color: var(--white);
    padding: 1.5rem var(--gutter-r) 2rem var(--gutter-l);
  }
  .menu-open .nav a { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; padding-block: 0.6rem; border-bottom: 1px solid #2a2926; }
  .menu-open .nav .btn { margin-top: 1.5rem; align-self: flex-start; font-family: var(--font-mono); font-size: 0.8125rem; border-bottom: 1px solid var(--fairway); display: inline-flex; }
}
@media (min-width: 901px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  min-height: min(92svh, 900px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
/* Arc lines from the brand pattern: two sets of rings, top right and bottom left */
.hero__arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__arcs circle { vector-effect: non-scaling-stroke; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,20,18,0.85), rgba(21,20,18,0.15) 60%); }
.hero .wrap { position: relative; width: 100%; padding-block: 4rem 4.5rem; display: grid; gap: 1.75rem; }
.hero h1 { font-size: clamp(2.75rem, 8vw, 7rem); max-width: 13ch; letter-spacing: -0.035em; }
.hero .label { font-size: clamp(1rem, 1.6vw, 1.375rem); }
.hero p { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); max-width: 40ch; color: var(--silver); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sabr definition ---------- */
.sabr { padding-block: clamp(5rem, 11vw, 9rem); }
.sabr .wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.sabr__entry { max-width: 67rem; }
.sabr__mark { color: var(--black); }
.sabr__mark svg { width: 100%; height: auto; display: block; }
.sabr__entry { display: grid; gap: 1.25rem; min-width: 0; }
.sabr__word { font-size: clamp(3.25rem, 6.5vw, 5.25rem); }
.sabr__meta { font-family: var(--font-mono); font-size: 0.875rem; color: var(--stone); display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.25rem; }
.sabr__ar { height: 1.4em; width: auto; display: block; color: var(--stone); }
.sabr__rule { height: 1px; background: var(--black); opacity: .2; }
.sabr__def { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.25; }
.sabr__def .num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--fairway); vertical-align: top; margin-right: 0.5rem; letter-spacing: 0; }

/* ---------- Paths (three tiles) ---------- */
.paths { padding-block: 0 clamp(5rem, 10vw, 8rem); }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--black); }
.path {
  display: grid; gap: 0.9rem; align-content: start;
  padding: 2rem 2rem 2.25rem 0; text-decoration: none;
  border-right: 1px solid rgba(21,20,18,0.15);
}
.path + .path { padding-left: 2rem; }
.path:last-child { border-right: 0; }
.path h3 { font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
.path p { color: var(--stone); max-width: 32ch; }
.path .more { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fairway); margin-top: 0.5rem; }
.path:hover h3 { color: var(--fairway); }

/* ---------- Book band ---------- */
.book { background: var(--black); color: var(--white); }
.book .wrap { padding-block: clamp(4rem, 8vw, 6.5rem); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.book h2 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 14ch; }
.book p { color: var(--mist); margin-top: 1rem; max-width: 42ch; }

/* ---------- Inner pages ---------- */
.page-head { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--black); }
.page-head .wrap { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.25rem; }
.page-head h1 { font-size: clamp(2.5rem, 7vw, 5.75rem); letter-spacing: -0.035em; }
.page-head p { font-size: clamp(1.125rem, 1.8vw, 1.375rem); max-width: 44ch; color: var(--stone); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); }
.split > * { min-width: 0; }
.prose { display: grid; gap: 1.1rem; max-width: 62ch; }
.prose p { color: #3a3834; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

.offer-list { display: grid; border-top: 1px solid var(--black); }
.offer { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 5rem); padding-block: 2.5rem; border-bottom: 1px solid rgba(21,20,18,0.15); }
.offer > * { min-width: 0; }
.offer h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.offer .prose { gap: 1.25rem; }


/* ---------- Community mosaic ---------- */
.gallery { padding-bottom: 0; }
.gallery .wrap { display: grid; gap: clamp(4rem, 8vw, 6.5rem); }
.chapter { display: grid; gap: 1.75rem; }
.chapter__head { display: flex; flex-direction: column; gap: 1rem; }
.chapter__head h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.chapter__rule { width: 56px; height: 2px; background: var(--fairway); }
.chapter__head p { color: #3a3834; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.45; max-width: 35rem; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 250px); grid-auto-flow: dense; gap: 10px; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--silver); min-width: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.03); }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 2rem 1rem 0.85rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white);
  background: linear-gradient(to top, rgba(21,20,18,0.7), rgba(21,20,18,0));
}
.tile--quote { background: var(--black); display: flex; align-items: flex-end; padding: clamp(1.25rem, 3vw, 2.25rem); }
.tile--quote p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95; font-size: clamp(1.75rem, 4vw, 3.5rem); color: var(--worn-white); }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }

/* ---------- Team ---------- */
.team { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.person:nth-child(even) .person__photo { order: 2; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--silver); max-width: 100%; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(0.15); }
.person__body { display: grid; gap: 1.25rem; align-content: start; }
.person__body h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.person__role { font-family: var(--font-body); font-style: italic; font-size: 1.125rem; text-transform: uppercase; color: var(--fairway); }
.person__body p { color: #3a3834; max-width: 58ch; }
.person__body .btn { justify-self: start; margin-top: 0.5rem; }

/* Small "we're hiring" row at the end of the team page */
.team-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; border-top: 1px solid var(--black); padding-top: 2rem; }
.team-join p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(1.5rem, 2.6vw, 2.125rem); max-width: 26ch; }
.team-join .label { display: block; margin-bottom: 0.75rem; }

/* ---------- Careers ---------- */
.page-head__meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone);
}
.page-head__meta span + span::before { content: "\00B7"; margin-inline: 0.85rem; color: var(--fairway); }
.page-head .hero__actions { margin-top: 0.5rem; }
.page-head .btn--ghost { color: var(--black); }

.careers-intro { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.mosaic--careers { grid-auto-rows: clamp(150px, 17vw, 230px); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); }
.stat { display: grid; gap: 0.6rem; align-content: start; padding: 1.75rem 2rem 0 0; border-right: 1px solid rgba(21,20,18,0.15); min-width: 0; }
.stat + .stat { padding-left: 2rem; }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(2rem, 3vw, 2.625rem); }
.stat p { color: var(--stone); max-width: 30ch; }

.careers-why .wrap, .careers-roles .wrap { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); }
.perk { display: grid; gap: 0.75rem; align-content: start; padding: 2rem 2rem 2.25rem 0; border-bottom: 1px solid rgba(21,20,18,0.15); min-width: 0; }
.perk:not(:nth-child(3n)) { border-right: 1px solid rgba(21,20,18,0.15); }
.perk:not(:nth-child(3n+1)) { padding-left: 2rem; }
.perk .num, .step .num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--fairway); }
.perk h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.perk p { color: var(--stone); max-width: 34ch; }

/* Open roles: one lane per role, opens to the full posting */
#roles { scroll-margin-top: var(--header-h); }
.roles { border-top: 1px solid var(--black); }
.role { border-bottom: 1px solid var(--black); scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.role > summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}
.role > summary::-webkit-details-marker { display: none; }
.role > summary:focus-visible { outline-offset: 6px; }
.role__lane { align-self: start; padding-top: 0.6rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--fairway); }
.role__head { display: grid; gap: 0.55rem; min-width: 0; }
.role__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.96; font-size: clamp(1.75rem, 4vw, 3.25rem); text-wrap: balance; transition: color .2s ease; }
.role__sub { font-style: italic; text-transform: uppercase; color: var(--fairway); }
.role__meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.role__meta span + span::before { content: "\00B7"; margin-inline: 0.75rem; color: var(--fairway); }
.role__toggle { display: inline-flex; align-items: center; gap: 0.9rem; white-space: nowrap; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fairway); }
.role__icon { position: relative; width: 2.75rem; height: 2.75rem; border: 1px solid currentColor; flex: none; transition: background .2s ease, color .2s ease; }
.role__icon::before, .role__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s ease; }
.role__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.role[open] .role__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.role > summary:hover .role__name { color: var(--fairway); }
.role > summary:hover .role__icon { background: var(--fairway); color: var(--white); border-color: var(--fairway); }
.role .when-open, .role[open] .when-closed { display: none; }
.role[open] .when-open { display: inline; }

.role__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); padding: 0.5rem 0 clamp(3rem, 6vw, 4.5rem) 5.5rem; }
.role__facts { display: grid; gap: 1.25rem; align-content: start; align-self: start; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem); }
.role__facts dl { margin: 0; border-top: 1px solid var(--black); }
.fact { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.8rem; border-bottom: 1px solid rgba(21,20,18,0.15); }
.fact dt { padding-top: 0.2rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.fact dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.role__facts .btn { justify-self: start; }
.role__note { font-size: 0.875rem; color: var(--stone); }
.role__content { display: grid; gap: 2.25rem; max-width: 62ch; min-width: 0; }
.role__lede { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; }
.role__block { display: grid; gap: 0.9rem; }
.role__block h3 { font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: 1rem; letter-spacing: 0; line-height: 1.3; color: var(--fairway); }
.role__block p { color: #3a3834; }
.role__block p a { color: var(--fairway); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid rgba(21,20,18,0.12); }
.ticks li { position: relative; padding: 0.7rem 0 0.7rem 1.75rem; border-top: 1px solid rgba(21,20,18,0.12); color: #3a3834; }
.ticks li::before { content: ""; position: absolute; left: 0; top: calc(0.7rem + 0.8em); width: 0.85rem; height: 1px; background: var(--fairway); }
.ticks strong { color: var(--black); font-weight: 600; }

/* How we hire: dark band with the steps laid out like lanes */
.process { background: var(--black); color: var(--white); }
.process .wrap { padding-block: clamp(4rem, 8vw, 6.5rem); display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.process .chapter__head p, .process .label { color: var(--mist); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #3a3834; }
.step { display: grid; gap: 0.7rem; align-content: start; padding: 1.75rem 1.5rem 0.5rem 0; border-right: 1px solid #2a2926; min-width: 0; }
.step + .step { padding-left: 1.5rem; }
.step:last-child { border-right: 0; }
.step .num { color: var(--mist); }
.step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.step p { color: var(--mist); font-size: 0.9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--mist); border-top: 1px solid #2a2926; font-size: 0.9375rem; }
.site-footer .wrap { padding-block: 3.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: 3rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__top > * { min-width: 0; }
.site-footer img { height: 28px; width: auto; }
.footer__col { display: grid; gap: 0.5rem; align-content: start; }
.footer__col .label { color: var(--mist); opacity: 0.7; margin-bottom: 0.25rem; }
.site-footer a { text-decoration: none; color: var(--worn-white); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--fairway); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; border-top: 1px solid #2a2926; padding-top: 1.5rem; }
.footer__base a { color: inherit; }
/* Texting consent: small print under the copyright line */
.footer__note { max-width: 88ch; margin: -1.75rem 0 0; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.02em; line-height: 1.6; opacity: 0.7; }
.footer__note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal page (privacy) ---------- */
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 1.25rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; color: #3a3834; }
.legal a { color: var(--fairway); }

/* ---------- Scroll reveal ---------- */
.js .reveal-pending { opacity: 0; transform: translateY(18px); }
.js .reveal { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal-pending { opacity: 1; transform: none; }
  .js .reveal, .btn, .nav a::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .offer, .person { grid-template-columns: 1fr; }
  .person:nth-child(even) .person__photo { order: 0; }
  .person__photo { max-width: 420px; }
  .paths__grid { grid-template-columns: 1fr; }
  .path, .path + .path { padding: 1.75rem 0; border-right: 0; border-bottom: 1px solid rgba(21,20,18,0.15); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .sabr__mark { max-width: 460px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid rgba(21,20,18,0.15); }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(n), .perk + .perk { padding: 1.75rem 1.5rem 2rem 0; border-right: 0; }
  .perk:nth-child(odd) { border-right: 1px solid rgba(21,20,18,0.15); }
  .perk:nth-child(even) { padding-left: 1.5rem; padding-right: 0; }
  .role > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .role__lane { display: none; }
  .role__body { grid-template-columns: 1fr; padding-left: 0; }
  .role__facts { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid #2a2926; }
  .step .num { grid-row: span 2; padding-top: 0.35rem; }
}
@media (max-width: 600px) {
  .perks { grid-template-columns: 1fr; }
  .perk:nth-child(n) { padding: 1.5rem 0 1.75rem; border-right: 0; }
  .role__toggle .when-open, .role__toggle .when-closed, .role[open] .role__toggle .when-open { display: none; }
  .page-head__meta, .role__meta { flex-direction: column; gap: 0.3rem; }
  .page-head__meta span + span::before, .role__meta span + span::before { content: none; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
  .brand img { height: 24px; }
}
