/* 801 Training Co. Brand colors are the brand guide's exact values; nothing else is invented. */
:root {
  --black: #000000;
  --charcoal: #1D1D1B;
  --graphite: #3A3A3A;
  --graphite-70: #757575;
  --graphite-40: #B0B0B0;
  --graphite-10: #EBEBEB;
  --copper: #C49A6C;
  --copper-70: #D6B898;
  --copper-40: #E7D7C4;
  --copper-10: #F9F5F1;
  --off-white: #F7F6F3;

  --display: "Barlow", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --section: clamp(72px, 9vw, 128px);
  --gutter: 16px;
  --header: 68px;

  --ease: cubic-bezier(.22, 1.2, .36, 1);        /* springy settle */
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* depth: base (page) -> elevated (cards, photos) -> floating (header, phone) */
  --shadow-elevated: 0 1px 2px rgba(29, 29, 27, .06), 0 10px 24px -10px rgba(58, 42, 22, .22), 0 28px 56px -28px rgba(58, 42, 22, .18);
  --shadow-floating: 0 2px 6px rgba(0, 0, 0, .4), 0 36px 80px -30px rgba(196, 154, 108, .32);
  --focus: var(--charcoal);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --header: 76px; } }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.dark { --focus: var(--copper-70); }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--copper); color: var(--black);
  font: 600 .9375rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em;
  padding: 14px 18px; border-radius: 3px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline: 2px solid var(--off-white); outline-offset: 2px; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: .95;
  letter-spacing: -0.03em;
  margin: 0 0 var(--s3);
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s3);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 600 .9375rem/1 var(--display); text-transform: uppercase; letter-spacing: .09em;
  text-decoration: none; border-radius: 3px; border: 1px solid transparent;
  cursor: pointer; transition: transform .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-copper { background: var(--copper); color: var(--black); }
.btn-copper:hover { background: var(--copper-70); }
.btn-copper:active { background: var(--copper); }
.btn-ghost { border-color: rgba(247, 246, 243, .42); color: var(--off-white); }
.btn-ghost:hover { border-color: var(--copper-70); color: var(--copper-70); }
.btn-ghost:active { border-color: var(--copper); }
.btn-dark { background: var(--charcoal); color: var(--off-white); }
.btn-dark:hover { background: var(--black); }
.btn-dark:active { background: var(--graphite); }
.btn-soon {
  margin: 0; cursor: default; border-color: var(--graphite); color: var(--graphite-40);
}
.btn-soon:hover, .btn-soon:active { transform: none; }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); flex: none; }

.text-link {
  font: 600 .9375rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .08em;
  color: var(--copper-70); text-decoration: underline; text-decoration-color: rgba(214, 184, 152, .45);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  display: inline-flex; align-items: center; min-height: 44px;
}
.text-link:hover { color: var(--off-white); text-decoration-color: var(--off-white); }
.text-link:active { opacity: .7; }

.plate { width: 20px; height: 20px; flex: none; color: var(--copper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(247, 246, 243, .09);
  --focus: var(--copper-70);
}
.bar { display: flex; align-items: center; gap: var(--s3); height: var(--header); }
.brand { flex: none; display: block; padding: 6px 0; border-radius: 2px; }
.brand img { width: 150px; height: auto; }
.brand:hover img { opacity: .85; }
.brand:active img { opacity: .7; }
@media (min-width: 1024px) { .brand img { width: 172px; } }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; gap: 6px; margin-left: auto; }
}
.nav-link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 600 .875rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em;
  color: rgba(247, 246, 243, .8); text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--copper);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--off-white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:active { color: var(--copper-70); }

.bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .bar-actions { margin-left: var(--s2); } }
.bar-cta { display: none; }
@media (min-width: 400px) { .bar-cta { display: inline-flex; } }

.menu-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid rgba(247, 246, 243, .22); border-radius: 3px; color: var(--off-white);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.menu-btn:hover { border-color: var(--copper-70); }
.menu-btn:active { transform: scale(.96); }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-lines { position: relative; width: 20px; height: 14px; }
.menu-lines span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-lines span:nth-child(1) { top: 0; }
.menu-lines span:nth-child(2) { top: 6.25px; }
.menu-lines span:nth-child(3) { top: 12.5px; }
.is-open .menu-lines span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.is-open .menu-lines span:nth-child(2) { opacity: 0; }
.is-open .menu-lines span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--black); border-bottom: 1px solid var(--graphite);
  padding: var(--s1) 0 var(--s3);
  max-height: calc(100vh - var(--header)); overflow-y: auto;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 54px;
  font: 600 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--off-white); text-decoration: none; border-bottom: 1px solid rgba(247, 246, 243, .1);
}
.mobile-menu a:not(.btn):hover { color: var(--copper-70); }
.mobile-menu a:not(.btn):active { opacity: .7; }
.mobile-menu-actions { display: grid; gap: 10px; margin-top: var(--s3); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--black); color: var(--off-white); overflow: hidden; --focus: var(--copper-70); }
.hero-photo { position: relative; aspect-ratio: 5 / 4; max-height: 62vh; width: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, #000 100%);
}
.hero-inner { position: relative; padding: 0 0 var(--s6); margin-top: -40px; }
.hero-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5rem);
  line-height: .9; letter-spacing: -0.03em;
  margin: 0 0 var(--s3); max-width: 12ch;
}
.hero-text { margin: 0 0 var(--s4); max-width: 46ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--graphite-10); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-places {
  list-style: none; margin: var(--s5) 0 0; padding: var(--s3) 0 0;
  border-top: 1px solid var(--graphite);
  display: grid; gap: var(--s2);
}
.hero-places li { display: flex; align-items: flex-start; gap: 12px; margin: 0; line-height: 1.35; }
.hero-places .plate { margin-top: 1px; }
.hero-places strong {
  display: block; font: 600 .875rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--off-white);
}
.hero-places span { color: var(--graphite-40); font-size: .9375rem; }
@media (min-width: 600px) {
  .hero-places { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: var(--s5); }
}
@media (min-width: 900px) {
  .hero { min-height: min(calc(100vh - var(--header)), 860px); display: flex; align-items: center; }
  .hero-photo { position: absolute; inset: 0 0 0 auto; width: 54%; max-height: none; aspect-ratio: auto; }
  .hero-photo img { object-position: 0% 50%; }
  .hero-photo::after { background: linear-gradient(90deg, #000 0%, #000 1%, rgba(0, 0, 0, 0) 14%); }
  .hero-inner { margin-top: 0; padding: var(--s7) 0; }
  .hero-text { max-width: 40ch; }
}

/* one orchestrated entrance: the photo settles, then the words */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: hero-photo 1.6s var(--ease-out) both; }
  .hero-inner > * { animation: hero-rise .9s var(--ease) both; }
  .hero-inner > :nth-child(1) { animation-delay: .15s; }
  .hero-inner > :nth-child(2) { animation-delay: .25s; }
  .hero-inner > :nth-child(3) { animation-delay: .35s; }
  .hero-inner > :nth-child(4) { animation-delay: .5s; }
}
@keyframes hero-photo { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-head { margin-bottom: var(--s5); }
.section-head p { margin: 0; max-width: 52ch; }
@media (min-width: 900px) {
  .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: end; }
  .section-head .h2 { margin-bottom: 0; }
}

/* about */
.about { background: var(--off-white); }
.about-grid { display: grid; gap: var(--s6); }
.about-photos { position: relative; }
.about-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; box-shadow: var(--shadow-elevated); }
.about-gym { position: relative; width: 64%; margin: -72px 0 0 auto; }
.about-gym img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 6px solid var(--off-white); box-shadow: var(--shadow-elevated); }
.about-gym figcaption { margin-top: 6px; font-size: .875rem; color: var(--graphite); text-align: right; }
.about-copy p { margin: 0 0 var(--s2); max-width: 58ch; color: var(--graphite); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 6fr; gap: var(--s7); align-items: center; }
  .about-photos { padding-bottom: 64px; }
  .about-main { width: 86%; }
  .about-gym { position: absolute; right: 0; bottom: 0; width: 56%; margin: 0; }
}

.races { margin-top: clamp(72px, 9vw, 112px); }
.races .h3 { display: flex; align-items: center; gap: var(--s3); }
.races .h3::after { content: ""; flex: 1; height: 1px; background: rgba(29, 29, 27, .2); }
.race-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.race { margin: 0; }
.race figure { height: 100%; display: grid; grid-template-rows: 1fr auto; }
.race img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.race-wide { grid-column: span 2; }
.race-wide img { aspect-ratio: 3 / 2; object-position: 50% 40%; }
.race figcaption { padding-top: 10px; line-height: 1.4; }
.race figcaption strong { display: block; font: 600 .8125rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal); }
.race figcaption span { font-size: .9375rem; color: var(--graphite); }
@media (min-width: 900px) {
  .race-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--s3); }
  .race-wide { grid-column: auto; }
  .race-wide img { aspect-ratio: auto; }
}

.band { height: clamp(150px, 22vw, 340px); background: var(--copper); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* services */
.services { background: var(--copper-10); }
.services .section-head p { color: var(--graphite); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--charcoal); }
.service { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid rgba(29, 29, 27, .18); display: grid; gap: 10px; }
.service-title {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); line-height: 1; letter-spacing: -0.015em;
}
.service-text { margin: 0; color: var(--graphite); max-width: 50ch; }
.service-where {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font: 600 .8125rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--charcoal);
}
@media (min-width: 900px) {
  .service { grid-template-columns: 1.15fr 1.6fr 1fr; gap: var(--s5); align-items: baseline; padding: var(--s4) 0; }
  .service-where { align-self: center; }
}
.services-foot { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.services-foot p { margin: 0; color: var(--graphite); max-width: 52ch; }

/* gear */
.gear { background: var(--charcoal); color: var(--off-white); --focus: var(--copper-70); }
.gear .section-head p { color: var(--graphite-40); }
.gear-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); }
.gear-head .h2 { margin-bottom: var(--s2); }
.pill {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--copper); border-radius: 999px; color: var(--copper-70);
  font: 600 .8125rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em;
}
.gear-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gear-item { margin: 0; }
.gear-feature { grid-column: 1 / -1; }
.gear-img { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .6); }
.gear-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gear-img-gray { background: #888888; }
.gear-feature .gear-img img { aspect-ratio: 16 / 9; object-position: 50% 20%; }
.gear-item figcaption { padding-top: 12px; line-height: 1.4; }
.gear-item figcaption strong { display: block; font: 600 .9375rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.gear-item figcaption span { font-size: .9375rem; color: var(--graphite-40); }
@media (min-width: 900px) {
  .gear-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
  .gear-feature .gear-img img { aspect-ratio: 2.47 / 1; }
}

/* app */
.app { background: var(--black); color: var(--off-white); --focus: var(--copper-70); overflow: hidden; }
.app-grid { display: grid; gap: var(--s6); align-items: center; }
.app-lead { margin: 0 0 var(--s4); color: var(--graphite-10); max-width: 50ch; font-size: 1.125rem; }
.app-features { margin: 0 0 var(--s4); display: grid; gap: var(--s3); }
.app-features div { padding-left: var(--s2); border-left: 2px solid var(--copper); }
.app-features dt { font: 600 .9375rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.app-features dd { margin: 4px 0 0; color: var(--graphite-40); }
.plans { display: grid; gap: 12px; }
.plan { border: 1px solid var(--graphite); border-radius: 4px; padding: 20px 22px; }
.plan p { margin: 0; color: var(--graphite-40); font-size: 1rem; line-height: 1.6; }
.plan .plan-name { font: 700 1.125rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--off-white); margin-bottom: 8px; }
.plan-coach { border-color: rgba(196, 154, 108, .7); background: rgba(196, 154, 108, .07); }
.plan-coach .plan-name { color: var(--copper-70); }
.app-actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s3); }
@media (min-width: 560px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .app-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s7); } }

.phone-wrap { position: relative; }
.phone-wrap::before {
  content: ""; position: absolute; inset: 8% -10% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 154, 108, .22), rgba(196, 154, 108, 0));
  pointer-events: none;
}
.phone {
  position: relative; width: min(340px, 100%); margin: 0 auto; padding: 11px;
  background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 46px;
  box-shadow: var(--shadow-floating);
}
.phone-screen { background: var(--black); border-radius: 36px; padding: 30px 16px 0; overflow: hidden; color: var(--off-white); line-height: 1.3; }
.phone-screen p { margin: 0; }
.ph-tag { display: flex; align-items: center; gap: 8px; font: 600 .6875rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.ph-tag i { width: 7px; height: 7px; background: var(--copper); }
.ph-title { margin-top: 12px !important; font: 700 1.875rem/1 var(--display); letter-spacing: -0.02em; }
.ph-sub { margin-top: 6px !important; font-size: .8125rem; color: var(--graphite-40); }
.ph-card { margin-top: 16px; background: var(--charcoal); border-top: 3px solid var(--copper); border-radius: 4px; padding: 10px 14px 2px; }
.ph-scale { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--graphite-70); padding-bottom: 6px; border-bottom: 1px solid var(--graphite); }
.ph-row { padding: 10px 0; border-bottom: 1px solid #2c2c2a; }
.ph-row:last-child { border-bottom: 0; }
.ph-row-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.ph-row-top b { display: block; font: 600 .9375rem/1.2 var(--display); }
.ph-row-top small { display: block; font-size: .6875rem; color: var(--graphite-40); }
.ph-val { font: 700 1rem/1 var(--display); white-space: nowrap; }
.ph-val small { display: inline !important; font: 500 .6875rem/1 var(--body); color: var(--graphite-40); }
.ph-bar { position: relative; height: 7px; margin: 8px 0 6px; background: var(--graphite); border-radius: 1px; overflow: hidden; }
.ph-bar i {
  position: absolute; inset: 0; background: linear-gradient(90deg, var(--copper), var(--copper-70));
  transform-origin: left; transform: scaleX(calc(var(--p) / 100));
}
.ph-bar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--off-white); }
.ph-pct { font: 600 .6875rem/1 var(--display); letter-spacing: .04em; color: var(--copper); }
.ph-nav { display: flex; justify-content: space-around; margin: 14px -16px 0; padding: 12px 0 16px; border-top: 1px solid var(--graphite); font-size: .6875rem; color: var(--graphite-40); }
.ph-nav .on { color: var(--copper); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .js .phone:not(.is-shown) .ph-bar i { transform: scaleX(0); }
  .js .ph-bar i { transition: transform 1.2s var(--ease-out); }
  .js .ph-row:nth-child(3) .ph-bar i { transition-delay: .08s; }
  .js .ph-row:nth-child(4) .ph-bar i { transition-delay: .16s; }
  .js .ph-row:nth-child(5) .ph-bar i { transition-delay: .24s; }
  .js .ph-row:nth-child(6) .ph-bar i { transition-delay: .32s; }
}

/* contact */
.contact { background: var(--off-white); }
.contact-grid { display: grid; gap: var(--s5); align-items: start; }
.contact-copy > p { margin: 0 0 var(--s3); color: var(--graphite); max-width: 46ch; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; border-radius: 4px; box-shadow: var(--shadow-elevated); }
.contact-ig { margin: var(--s3) 0 0 !important; }
.contact-ig a { color: var(--charcoal); font-weight: 600; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-ig a:hover { text-decoration-color: var(--charcoal); }
.contact-ig a:active { opacity: .7; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s7); }
  .contact-photo img { aspect-ratio: 4 / 3; }
}

.form-card { position: relative; background: #fff; border-radius: 6px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-elevated); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font: 600 .8125rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .09em; color: var(--charcoal); }
.field .opt { font-weight: 500; color: var(--graphite); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; box-sizing: border-box;
  font: 400 1rem/1.4 var(--body); color: var(--charcoal);
  background: var(--off-white); border: 1px solid var(--graphite-40); border-radius: 3px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  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.5 6 6.5 11 1.5' fill='none' stroke='%231D1D1B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite-70); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--charcoal); background-color: #fff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; }
.field [aria-invalid="true"] { border: 2px solid var(--charcoal); }
.field ::placeholder { color: var(--graphite-70); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; background: var(--copper-10); border-left: 3px solid var(--copper); color: var(--charcoal); font-size: .9375rem; line-height: 1.5; }
.form-error a { color: var(--charcoal); font-weight: 600; }
.form-done { display: none; }
.form-done h3 { margin: 0 0 8px; font: 700 2rem/1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.form-done h3:focus { outline: none; }
.form-done p { margin: 0; color: var(--graphite); }
.form-card.sent .form { display: none; }
.form-card.sent .form-done { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--graphite-40); padding: var(--s6) 0 var(--s4); --focus: var(--copper-70); font-size: .9375rem; }
.footer-grid { display: grid; gap: var(--s5); }
.footer-brand img { width: 140px; height: auto; }
.footer-tagline { margin: var(--s2) 0 0; font: 500 .8125rem/1.4 var(--display); text-transform: uppercase; letter-spacing: .22em; color: var(--graphite-40); }
.footer-nav { display: grid; gap: 2px; align-content: start; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 40px; justify-self: start;
  font: 600 .875rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--off-white); text-decoration: none;
}
.footer-nav a:hover { color: var(--copper-70); }
.footer-nav a:active { opacity: .7; }
.footer-contact p { margin: 0 0 var(--s2); max-width: 34ch; }
.footer-contact a { color: var(--off-white); text-decoration: none; }
.footer-contact a:hover { color: var(--copper-70); }
.footer-contact a:active { opacity: .7; }
.footer-ig { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-ig svg { width: 22px; height: 22px; }
.footer-base {
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--graphite);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px var(--s3); font-size: .875rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: var(--graphite-40); text-decoration: underline; text-decoration-color: rgba(176, 176, 176, .4); text-underline-offset: 4px; }
.footer-base a:hover { color: var(--off-white); }
.footer-base a:active { opacity: .7; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr .8fr 1.2fr; gap: var(--s6); }
}
