/* Ruff's Custom Decks — see SITE-PLAN.md §2.4, §4 */

/* ========== 1. TOKENS ========== */
:root {
  --color-wood-bg: #f0e6d8;
  --color-wood-surface: #faf6f1;
  --color-wood-mid: #e2d4c2;
  --color-wood-deep: #c9a87c;
  --color-metal-text: #2c3136;
  --color-metal-muted: #5a6168;
  --color-metal-border: #8b9199;
  --color-metal-dark: #1e2226;
  --color-grass: #4a8f47;
  --color-grass-hover: #3a7538;
  --color-grass-light: #78b56e;
  --color-error: #b3382c;
  --color-white: #ffffff;

  --font-heading: "Bitter", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --text-display: clamp(2.25rem, 5vw + 1rem, 3.5rem);
  --text-h1: clamp(1.875rem, 3vw + 1rem, 2.75rem);
  --text-h2: clamp(1.5rem, 2vw + 0.75rem, 2rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --section-pad: clamp(3rem, 8vw, 6rem);
  --container-max: 72rem;
  --container-pad: clamp(1rem, 4vw, 2rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 3px rgb(30 34 38 / 0.08), 0 4px 12px rgb(30 34 38 / 0.06);
  --shadow-lift: 0 2px 6px rgb(30 34 38 / 0.1), 0 12px 24px rgb(30 34 38 / 0.1);

  --header-h: 60px;
}

@media (min-width: 900px) {
  :root {
    --text-body: 1.0625rem;
    --header-h: 72px;
  }
}

/* ========== 2. RESET + BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-metal-text);
  background: var(--color-wood-surface);
}

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

a {
  color: var(--color-grass-hover);
}

a:hover {
  color: var(--color-grass);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-metal-text);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); font-weight: 600; }

p { margin: 0 0 var(--space-4); max-width: 65ch; }

ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

:focus-visible {
  outline: 2px solid var(--color-grass-hover);
  outline-offset: 2px;
}

/* ========== 3. LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad);
}

.section--wood-bg { background: var(--color-wood-bg); }
.section--wood-surface { background: var(--color-wood-surface); }

.section-header {
  margin-bottom: var(--space-8);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grass-hover);
  margin-bottom: var(--space-2);
}

.grid-2 {
  display: grid;
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-services {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-services { grid-template-columns: repeat(3, 1fr); }
}

/* ========== 4. COMPONENTS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-grass);
  color: var(--color-white);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.btn:hover {
  background: var(--color-grass-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: inherit;
  border: 2px solid currentColor;
}

.btn--secondary:hover {
  background: rgb(250 246 241 / 0.1);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: var(--text-h3);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.card {
  background: var(--color-wood-surface);
  border: 1px solid var(--color-wood-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: var(--space-6);
}

.card__body h3 {
  margin: 0 0 var(--space-2);
}

.card__body p:last-child {
  margin-bottom: 0;
}

.card--testimonial {
  padding: var(--space-6);
}

.card--testimonial blockquote {
  margin: 0 0 var(--space-4);
  font-style: italic;
}

.card--testimonial cite {
  font-style: normal;
  font-size: var(--text-small);
  color: var(--color-metal-muted);
}

.card--testimonial .quote-mark {
  color: var(--color-grass);
  font-size: var(--text-h2);
  line-height: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-metal-dark);
  color: var(--color-wood-surface);
}

.site-header a {
  color: var(--color-wood-surface);
  text-decoration: none;
}

.site-header a:hover {
  color: var(--color-grass-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-4);
}

.site-logo img {
  width: auto;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-grass-light);
}

a.is-outside-business-hours {
  display: none !important;
}

.site-header__phone {
  display: none;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-2);
  background: transparent;
  border: none;
  color: var(--color-wood-surface);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }

.mobile-nav {
  display: none;
  background: var(--color-metal-dark);
  border-top: 1px solid var(--color-metal-border);
  padding: var(--space-4) var(--container-pad) var(--space-8);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-h3);
  font-weight: 600;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: var(--space-4);
}

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header__phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

body.nav-open {
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--color-metal-dark);
  color: var(--color-wood-surface);
  padding: var(--space-16) 0 var(--space-8);
}

.site-footer a {
  color: var(--color-grass-light);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }

  .footer-brand {
    padding-top: calc((var(--text-h3) * 1.15 + var(--space-3)) / 2);
  }
}

.site-footer h3 {
  color: var(--color-wood-mid);
  margin: 0 0 var(--space-3);
}

.footer-brand a {
  display: inline-block;
}

.footer-brand img {
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.footer-meta {
  font-size: var(--text-small);
  color: var(--color-metal-border);
  border-top: 1px solid var(--color-metal-border);
  padding-top: var(--space-4);
  text-align: center;
}

.footer-cities {
  font-size: var(--text-small);
  line-height: 1.8;
}

/* Trust strip */
.trust-strip {
  background: var(--color-wood-mid);
  padding: var(--space-4) 0;
  border-top: 3px solid var(--color-grass);
}

.trust-strip__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-small);
  font-weight: 600;
  text-align: center;
}

@media (min-width: 640px) {
  .trust-strip__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
  }

  .trust-strip__list li:not(:last-child)::after {
    content: "·";
    margin-left: var(--space-2);
    color: var(--color-metal-muted);
  }
}

/* CTA band */
.cta-band {
  background: var(--color-metal-dark);
  color: var(--color-wood-surface);
  text-align: center;
}

.cta-band h2 {
  color: var(--color-wood-surface);
}

.cta-band p {
  margin-inline: auto;
  color: var(--color-metal-border);
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: var(--space-6);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  background: var(--color-wood-surface);
  border: 1px solid var(--color-metal-border);
  border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-grass);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-grass-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1rem;
  height: 1rem;
  background: var(--color-grass);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ========== 5. PAGE SECTIONS ========== */
.page-header {
  background: var(--color-wood-bg);
  padding-block: var(--space-12);
}

.page-header h1 {
  margin: 0 0 var(--space-4);
}

.page-header p {
  color: var(--color-metal-muted);
  margin: 0;
  max-width: 55ch;
}

.hero {
  position: relative;
  min-height: 85svh;
  display: flex;
  align-items: center;
  color: var(--color-wood-surface);
  overflow: hidden;
  --hero-panel-dark: 0.73;
  --hero-panel-mid: 0.64;
  --hero-panel-soft: 0.32;
  --hero-panel-fade: 63%;
  --hero-panel-padding: 42px;
  --hero-panel-feather: 32px;
  --hero-panel-width: 720px;
}

@media (min-width: 900px) {
  .hero { min-height: 70vh; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to right, rgb(30 34 38 / 0.4), transparent 72%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-16);
}

.hero__panel {
  position: relative;
  max-width: var(--hero-panel-width);
  padding: var(--hero-panel-padding);
  padding-right: calc(var(--hero-panel-padding) * 1.5);
  margin-left: calc(var(--space-6) * -1);
}

.hero__panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: calc(var(--hero-panel-padding) * -0.45);
  border-radius: var(--radius-md);
  background: linear-gradient(
    105deg,
    rgba(30, 34, 38, var(--hero-panel-dark)) 0%,
    rgba(30, 34, 38, var(--hero-panel-mid)) 50%,
    rgba(30, 34, 38, var(--hero-panel-soft)) var(--hero-panel-fade),
    rgba(30, 34, 38, 0) 100%
  );
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 var(--hero-panel-feather), #000 calc(100% - var(--hero-panel-feather)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--hero-panel-feather), #000 calc(100% - var(--hero-panel-feather)), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 var(--hero-panel-feather), #000 calc(100% - var(--hero-panel-feather)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--hero-panel-feather), #000 calc(100% - var(--hero-panel-feather)), transparent);
  mask-composite: intersect;
}

.hero__panel > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--color-wood-surface);
  font-size: var(--text-display);
  max-width: 100%;
}

.hero p {
  font-size: var(--text-h3);
  color: rgb(250 246 241 / 0.92);
  max-width: 100%;
}

.hero .eyebrow {
  color: var(--color-grass-light);
}

.featured-work {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .featured-work {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }

  .featured-work__main {
    grid-row: span 2;
  }
}

.featured-work__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.featured-work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-work__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: auto;
  height: 100%;
}

.featured-work__pair img {
  aspect-ratio: 3 / 4;
}

.featured-work__label {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  background: var(--color-metal-dark);
  color: var(--color-wood-surface);
  border-radius: var(--radius-sm);
}

.about-teaser__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-teaser__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-area__cities {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--color-metal-muted);
}

.service-row {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--color-wood-mid);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row__photo {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 45% 1fr;
  }

  .service-row--flip .service-row__photo {
    order: 2;
  }
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  font-weight: 600;
}

.stats-row span {
  color: var(--color-metal-muted);
}

.stats-row span strong {
  color: var(--color-metal-text);
}

/* Portfolio */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font: inherit;
  font-weight: 600;
  border: 1px solid var(--color-metal-border);
  border-radius: var(--radius-pill);
  background: var(--color-wood-surface);
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--color-grass);
  border-color: var(--color-grass);
  color: var(--color-white);
}

.portfolio-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: none;
  text-align: left;
  font: inherit;
  padding: 0;
  background: var(--color-wood-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-lift);
}

.portfolio-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: var(--color-wood-mid);
}

.portfolio-card__images--single {
  grid-template-columns: 1fr;
}

.portfolio-card__img-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-card__images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-card__tag {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--color-metal-dark);
  color: var(--color-wood-surface);
}

.portfolio-card__body {
  padding: var(--space-4);
}

.portfolio-card__body h3 {
  margin: 0;
  font-size: var(--text-body);
}

.portfolio-fallback {
  padding: var(--space-8);
  text-align: center;
  background: var(--color-wood-bg);
  border-radius: var(--radius-md);
}

.lightbox {
  border: none;
  padding: 0;
  max-width: 95vw;
  max-height: 95vh;
  background: transparent;
}

.lightbox::backdrop {
  background: rgb(30 34 38 / 0.85);
}

.lightbox__inner {
  position: relative;
  background: var(--color-wood-surface);
  border-radius: var(--radius-md);
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lift);
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-metal-dark);
  min-height: min(70vh, 32rem);
}

.lightbox__img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgb(250 246 241 / 0.2);
  border-radius: 50%;
  background: rgb(30 34 38 / 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-wood-surface);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: var(--shadow-card);
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.lightbox__prev span,
.lightbox__next span {
  display: block;
  margin-top: -0.15em;
}

.lightbox__prev {
  left: var(--space-4);
}

.lightbox__next {
  right: var(--space-4);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--color-grass);
  border-color: transparent;
}

.lightbox__prev:focus-visible,
.lightbox__next:focus-visible,
.lightbox__close:focus-visible {
  outline: 2px solid var(--color-grass-light);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .lightbox__prev,
  .lightbox__next {
    width: 3.25rem;
    height: 3.25rem;
  }

  .lightbox__prev {
    left: var(--space-6);
  }

  .lightbox__next {
    right: var(--space-6);
  }
}

.lightbox__meta {
  padding: var(--space-4) var(--space-6);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgb(250 246 241 / 0.15);
  border-radius: 50%;
  background: rgb(30 34 38 / 0.85);
  color: var(--color-wood-surface);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 150ms ease;
}

.lightbox__close:hover {
  background: var(--color-grass);
}

/* Contact */
.contact-split {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-rail__phone {
  display: block;
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  background: var(--color-wood-bg);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-metal-text);
}

.contact-rail__phone:hover {
  color: var(--color-grass-hover);
}

.contact-rail__phone strong {
  display: block;
  font-size: var(--text-h2);
  font-family: var(--font-heading);
  color: var(--color-grass);
}

.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: var(--space-4);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-small);
  background: var(--color-grass);
  color: var(--color-white);
  border-radius: 50%;
}

.thank-you-page {
  text-align: center;
  padding-block: var(--space-24);
}

.thank-you-page p {
  margin-inline: auto;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coming soon */
.coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-metal-dark);
  color: var(--color-wood-surface);
  padding: var(--space-8);
}

.coming-soon a {
  color: var(--color-grass-light);
}

.coming-soon__logo {
  height: 56px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.coming-soon__gate {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-metal-border);
}

.coming-soon__gate form {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-4);
}

.coming-soon__gate input {
  width: 5rem;
  padding: 0.75rem;
  text-align: center;
  border: 1px solid var(--color-metal-border);
  border-radius: var(--radius-sm);
  background: var(--color-wood-surface);
}

.coming-soon__error {
  color: var(--color-error);
  font-size: var(--text-small);
  min-height: 1.5em;
  margin-top: var(--space-2);
}

/* ========== 6. UTILITIES ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-2) var(--space-4);
  background: var(--color-grass);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-4);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mt-6 {
  margin-top: var(--space-6);
}
