/* Rep UGC. Dark field, bone type, clay only as a large accent. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/ArchivoBlack-Regular.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bone: #110f0c;
  --white: #1b1815;
  --charcoal: #f3efe6;
  --muted: #cbbba8;
  --clay: #e39a62;
  --line: rgba(243, 239, 230, 0.16);
  --line-strong: rgba(243, 239, 230, 0.42);
  --hero-bg: url("/images/hero-run.jpg");
  --paper: #f6f1e6;
  --ink: #1c1916;
  --cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
  --header: 72px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  background: var(--bone);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 450;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  height: auto;
}

svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}

::selection {
  background: var(--clay);
  color: #141210;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--charcoal);
  color: var(--bone);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--wrap), calc(100% - 40px));
  min-height: var(--header);
  margin-inline: auto;
}

.logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 28px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.bars span {
  display: block;
  height: 2px;
  background: var(--charcoal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.menu {
  position: relative;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.menu.is-open .chev {
  transform: translateY(2px) rotate(225deg);
}

.menu-panel {
  display: none;
  position: absolute;
  z-index: 50;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  max-width: min(280px, calc(100vw - 32px));
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.menu:nth-child(3) .menu-panel,
.menu:nth-child(4) .menu-panel {
  left: auto;
  right: 0;
}

.menu.is-open > .menu-panel {
  display: grid;
}

.menu-panel a {
  display: block;
  padding: 9px 10px;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 560;
  text-decoration: none;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] {
  background: rgba(243, 239, 230, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  font-family: var(--cond);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-solid {
  background: var(--charcoal);
  color: var(--bone);
}

.btn-solid:hover {
  background: #e4dccf;
}

.btn-ghost:hover {
  background: var(--white);
}

.nav-cta {
  min-height: 40px;
  margin-left: 8px;
  padding: 0 14px;
  font-size: 1.05rem;
}

.hero {
  padding: 64px 0 36px;
}

.hero h1,
.page-hero h1,
h1 {
  margin: 0 0 18px;
  font-family: var(--cond);
  font-weight: 900;
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9.2em;
}

h1 span {
  color: var(--clay);
}

.lede {
  max-width: 36rem;
  margin: 0 0 22px;
  font-size: 1.125rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--clay);
  flex: 0 0 auto;
}

.space-band {
  padding: 8px 0 28px;
}

.space-label {
  margin: 0 0 12px;
  max-width: 36rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.marquee {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  background: var(--bone);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: tick 42s linear infinite;
}

.marquee-group {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marquee-group li {
  padding: 12px 18px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 16px;
  background: var(--clay);
  transform: translateY(-1px);
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 36px 0;
}

.section h2,
h2 {
  margin: 0 0 16px;
  font-family: var(--cond);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.band-white {
  background: var(--white);
}

.services,
.get-grid,
.team-grid,
.split,
.form-grid,
.footer-grid {
  min-width: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.services li,
.get-card,
.team-card,
.sheet {
  min-width: 0;
}

.num {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-family: var(--cond);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 0.8;
}

.services h3,
.get-card h3,
.process h3,
.team-card h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 680;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.services p,
.get-card p,
.process p,
.team-card p {
  margin: 0;
  color: var(--muted);
}

.get-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.get-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.band-white .get-card {
  background: var(--bone);
}

.get-card ul,
.plain-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.get-card li,
.plain-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.process {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process li:last-child {
  border-bottom: 1px solid var(--line);
}

.team-note,
.after-cards {
  max-width: 38rem;
}

.after-cards {
  margin-top: 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.team-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin-bottom: 12px;
  border: 1px dashed var(--line-strong);
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-tag {
  margin: 0 0 6px;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-name,
.team-role {
  margin: 0;
  color: var(--charcoal);
  font-weight: 650;
}

.team-role {
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  padding: 28px 0 16px;
  border-top: 1px solid var(--line);
  background: var(--bone);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 40px 48px;
  align-items: start;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 30px;
}

.footer-brand p {
  margin: 10px 0 0;
  font-weight: 600;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--bone);
}

.social svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-signup p {
  margin: 0 0 10px;
  font-weight: 600;
}

.footer-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 440px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-form input {
  flex: 1 1 180px;
  width: auto;
  min-width: 0;
}

.footer-form .btn {
  flex: 0 0 auto;
}

.fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-label.legal {
  margin-top: 22px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--charcoal);
  font-size: 0.98rem;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: 28px 0 8px;
}

.page-main {
  padding-bottom: 40px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.side-photo {
  margin: 0;
  overflow: hidden;
  background: #1b1815;
}

.side-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 24%;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
  margin-top: 36px;
}

.sheet {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.fields {
  display: grid;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 620;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #221e1a;
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

input,
select {
  min-height: 48px;
  padding: 10px 12px;
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2L6 6.2L11 1.2' fill='none' stroke='%23F3EFE6' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 1px;
  border-color: var(--charcoal);
}

::placeholder {
  color: #a89886;
  opacity: 1;
}

form {
  position: relative;
}

.honeypot,
.honeypot input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  max-width: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  flex: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-note,
.form-error {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-error {
  color: var(--charcoal);
  font-weight: 620;
}

.draft {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-weight: 680;
}

.narrow {
  max-width: 40rem;
}

.narrow p,
.prose p {
  max-width: 40rem;
}

.thanks {
  padding: 64px 0 100px;
}

.preview-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .menu:hover > .menu-panel,
  .menu:focus-within > .menu-panel {
    display: grid;
  }
}

@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .split,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-photo {
    max-width: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    z-index: 35;
    inset: var(--header) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
    padding: 8px 18px 32px;
    background: var(--bone);
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu {
    border-bottom: 1px solid var(--line);
  }

  .menu-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 52px;
    padding: 8px 0;
    font-family: var(--cond);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  .menu-panel {
    position: static;
    min-width: 0;
    max-width: none;
    margin: 0 0 10px;
    padding: 0 0 8px;
    border: 0;
    background: transparent;
  }

  .menu:nth-child(3) .menu-panel,
  .menu:nth-child(4) .menu-panel {
    right: auto;
  }

  .menu-panel a {
    padding: 8px 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    width: 100%;
    margin: 18px 0 0;
  }

  body {
    font-size: 1rem;
  }

  .hero {
    padding: 0;
  }

  .section {
    padding: 26px 0;
  }

  .get-grid,
  .team-grid,
  .services,
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    max-width: 280px;
  }

  .process li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .footer-form .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
  }

  .marquee-group:last-child {
    display: none;
  }

  .marquee-group {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .marquee-group li {
    white-space: normal;
  }

  .js .reveal,
  .btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("/images/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 620px;
  padding: 0;
  overflow: hidden;
  background: #110f0c;
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: #110f0c var(--hero-bg) center 40% / cover no-repeat;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 62% 48%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 28, 20, 0.72) 0%, rgba(36, 28, 20, 0.28) 46%, rgba(36, 28, 20, 0.05) 74%),
    linear-gradient(to top, rgba(36, 28, 20, 0.5), transparent 46%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 0 8px;
}

.hero-lede {
  max-width: 28rem;
  margin: 0 0 16px;
  font-size: 1.125rem;
}

.hero .space-band {
  position: relative;
  z-index: 1;
  padding: 6px 0 12px;
}

.hero h1 {
  max-width: 11em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.film {
  padding: 14px 0 4px;
}

.film-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
}

.frame,
.side-photo,
.popup-photo,
.hero {
  position: relative;
}

.frame {
  margin: 0;
  overflow: hidden;
  background: #1b1815;
}

.frame img,
.side-photo img {
  display: block;
  width: 100%;
  height: 460px;
  max-height: 460px;
  object-fit: cover;
}

.frame img.is-squat {
  object-position: 50% 46%;
}

.popup-photo img {
  aspect-ratio: 4 / 5;
  object-position: 50% 22%;
}

.frame img.is-athlete,
.side-photo img {
  object-position: 62% 12%;
  background: #1b1815;
}

.side-photo img {
  height: 420px;
  max-height: 420px;
}

.hero .illus {
  bottom: 78px;
}

.illus {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 2;
  margin: 0;
  max-width: 12rem;
  color: rgba(243, 239, 230, 0.5);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.get-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 12px 48px;
  align-items: start;
}

.get-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.get-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.get-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.get-list h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.get-list p {
  margin: 0;
  color: var(--muted);
}

.center {
  text-align: center;
}

.kicker-center {
  justify-content: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  max-width: 820px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.step-k {
  margin: 0 0 6px;
  color: var(--clay);
  font-family: var(--cond);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.steps h3 {
  margin: 0 0 8px;
  font-family: var(--cond);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.popup[hidden] {
  display: none;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.72);
}

.popup-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  width: min(840px, 100%);
  max-height: min(640px, calc(100vh - 36px));
  overflow: auto;
  background: #e6d2b0;
  color: #1a1612;
}

.popup-copy {
  padding: 32px 28px 24px;
}

.popup-kicker {
  margin: 0 0 10px;
  color: #6a4a32;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.popup-copy h2 {
  margin: 0 0 12px;
  color: #1a1612;
  font-family: var(--cond);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.popup-copy p {
  margin: 0;
  color: #3a332c;
}

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.popup-panel .btn-solid {
  background: #1a1612;
  border-color: #1a1612;
  color: #f3efe6;
}

.popup-panel .btn-solid:hover {
  background: #000;
  color: #f3efe6;
}

.popup-dismiss {
  display: inline-block;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1612;
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: rgba(17, 15, 12, 0.55);
  color: #f3efe6;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  appearance: none;
}

.popup-close:focus-visible {
  outline: 2px solid #f3efe6;
  outline-offset: 2px;
}

.popup-photo {
  min-height: 100%;
  background: #1b1815;
}

.popup-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

body.popup-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
  }

  .hero .illus {
    bottom: 86px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    object-position: 62% 42%;
  }

  .hero::after {
    background: linear-gradient(to top, rgba(17, 15, 12, 0.94) 0%, rgba(17, 15, 12, 0.45) 46%, rgba(17, 15, 12, 0.12) 72%);
  }

  .hero-copy {
    padding: 28px 0 6px;
  }

  .frame img {
    height: 240px;
    max-height: 240px;
  }

  .side-photo img {
    height: 320px;
    max-height: 320px;
  }

  .get-layout,
  .popup-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .get-list li {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .popup-photo {
    order: -1;
  }

  .popup-photo img {
    height: 240px;
    min-height: 0;
    aspect-ratio: auto;
    object-position: 50% 20%;
  }

  .popup-close {
    color: #f3efe6;
  }

  .menu-book .menu-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-family: var(--cond);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

.band-warm {
  background: var(--paper);
  color: var(--ink);
}

.band-warm h2,
.band-warm h3,
.band-warm .kicker,
.band-warm .team-name {
  color: var(--ink);
}

.band-warm .services p,
.band-warm .get-list p,
.band-warm .steps p,
.band-warm .team-note,
.band-warm .team-role,
.band-warm .lede,
.band-warm .plain-list li {
  color: #3c362f;
}

.band-warm .num,
.band-warm .step-k {
  color: #b85a32;
}

.band-warm .btn-solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.band-warm .btn-solid:hover {
  background: #000;
  color: var(--paper);
}

.band-warm .sheet {
  background: #fffaf3;
  color: var(--ink);
  border-color: rgba(28, 25, 22, 0.16);
}

.band-warm .sheet input,
.band-warm .sheet select,
.band-warm .sheet textarea {
  background: #fff;
  color: var(--ink);
  border-color: rgba(28, 25, 22, 0.28);
}

.band-warm select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2L6 6.2L11 1.2' fill='none' stroke='%231C1916' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.band-warm input:focus-visible,
.band-warm select:focus-visible,
.band-warm textarea:focus-visible {
  outline-color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.menu-book {
  margin-left: 8px;
}

.menu-book .menu-panel {
  left: auto;
  right: 0;
}

.menu-book .menu-btn {
  gap: 8px;
}

.menu-book .chev {
  border-color: currentColor;
}

.team-grid {
  grid-template-columns: repeat(2, 200px);
}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 200px;
    max-width: 200px;
  }
}

.team-photo {
  width: 200px;
  height: 200px;
  max-width: 200px;
  aspect-ratio: 1;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: #cfc8be;
  overflow: hidden;
}

.team-photo img {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 200px;
  object-fit: cover;
  object-position: center 20%;
}

.frame img.is-trail {
  object-position: 50% 38%;
}

.frame img.is-jog,
.side-photo img,
.popup-photo img {
  object-position: 50% 16%;
}

/* Centered team section (homepage #team and /team/) */
.team-centered .wrap { text-align: center; }
.team-centered .kicker { justify-content: center; }
.team-centered .lede { margin-left: auto; margin-right: auto; }
.team-centered .team-grid { justify-content: center; margin-left: auto; margin-right: auto; }
.team-centered .team-card { display: flex; flex-direction: column; align-items: center; }
.team-centered .team-photo { margin-left: auto; margin-right: auto; }
.team-centered .hero-actions,
.team-centered .after-cards { justify-content: center; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) {
  .team-centered .team-grid { grid-template-columns: 200px; max-width: 200px; justify-content: center; }
}
