/* ============================================================
   Stanford Laundromat — shared site stylesheet
   Minimal grid / Downtown Houston laundromat
   ============================================================ */

:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #13211b;
  --muted: #5d6c64;
  --line: #dde2dc;
  --line-strong: #c6cfc7;
  --accent: #2e5e4e;
  --accent-deep: #244b3e;
  --accent-soft: #e3ebe6;
  --dark: #0f1d17;
  --dark-soft: #1b2d25;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --header-h: 72px;
  --gutter: clamp(16px, 3vw, 28px);
  --container: 1280px;
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --font-sans: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

html,
body {
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-menu-open,
html.is-lightbox-open body {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(24px, 4vw, 48px);
}

.span-12 { grid-column: span 12; }
.span-10 { grid-column: span 12; }
.span-8 { grid-column: span 12; }
.span-7 { grid-column: span 12; }
.span-6 { grid-column: span 12; }
.span-5 { grid-column: span 12; }
.span-4 { grid-column: span 12; }
.span-3 { grid-column: span 12; }

@media (min-width: 720px) {
  .span-10 { grid-column: span 10; }
  .span-8 { grid-column: span 8; }
  .span-7 { grid-column: span 7; }
  .span-6 { grid-column: span 6; }
  .span-5 { grid-column: span 5; }
  .span-4 { grid-column: span 4; }
  .span-3 { grid-column: span 3; }
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--light {
  color: #cfe0d6;
}

.display {
  font-size: clamp(46px, 10vw, 104px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.lede {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  max-width: 58ch;
}

.lede--light {
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding-block: clamp(76px, 11vw, 132px);
  border-top: 1px solid var(--line);
}

.section--flush {
  padding-block: 0;
}

.section--tight {
  padding-block: clamp(56px, 7vw, 84px);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-head .eyebrow,
.section-head h2 {
  grid-column: span 12;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(34px, 6.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-head .section-copy {
  margin-top: 20px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 17px;
}

@media (min-width: 720px) {
  .section-head .eyebrow { grid-column: span 12; }
  .section-head h2 { grid-column: span 8; }
  .section-head .section-copy {
    grid-column: 9 / span 4;
    margin-top: 0;
    align-self: end;
    justify-self: start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--sm {
  min-height: 44px;
  padding: 11px 15px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.9);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 245, 240, 0.98);
  box-shadow: 0 14px 36px rgba(19, 33, 27, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  line-height: 1.08;
}

.wordmark-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.wordmark-loc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-call:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.header-call .call-label {
  display: inline;
}

.header-call .call-number {
  display: none;
}

@media (min-width: 420px) {
  .header-call {
    padding-inline: 16px;
  }

  .header-call .call-label {
    display: none;
  }

  .header-call .call-number {
    display: inline;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.nav-toggle .nav-toggle-lines {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle .nav-toggle-lines span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 42px rgba(19, 33, 27, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-link:first-child {
  border-top: 0;
}

.nav-link.is-active {
  color: var(--accent);
}

.nav-link:hover {
  color: var(--ink);
}

@media (min-width: 900px) {
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-link {
    position: relative;
    min-height: 44px;
    padding: 0;
    border-top: 0;
    font-size: 12px;
  }

  .nav-link.is-active {
    color: var(--ink);
  }

  .nav-link.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--accent);
  }

  .nav-toggle {
    display: none;
  }
}

/* Photo heroes ------------------------------------------------ */

.photo-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(76vh, 680px);
  padding: 104px 0 64px;
  overflow: hidden;
  color: var(--white);
}

.home-hero {
  min-height: calc(100svh - var(--header-h));
  align-items: center;
  padding-block: 64px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 20, 16, 0.42) 0%, rgba(12, 20, 16, 0.28) 42%, rgba(12, 20, 16, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 20, 16, 0.58) 0%, rgba(12, 20, 16, 0.12) 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.hero-content .display {
  max-width: 12ch;
}

.hero-content .lede {
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.hero-meta a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s var(--ease);
}

.hero-meta a:hover {
  border-color: var(--white);
}

/* Plain page intro -------------------------------------------- */

.page-intro {
  padding-block: clamp(72px, 10vw, 120px);
}

.page-intro h1 {
  grid-column: span 12;
  font-size: clamp(46px, 9vw, 96px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.page-intro .eyebrow {
  grid-column: span 12;
}

.page-intro .intro-copy {
  grid-column: span 12;
  margin-top: 24px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

@media (min-width: 720px) {
  .page-intro h1 {
    grid-column: span 8;
  }

  .page-intro .intro-copy {
    grid-column: 9 / span 4;
    margin-top: 0;
    align-self: end;
  }
}

/* Feature rows / split blocks ---------------------------------- */

.split {
  align-items: center;
}

.split-media {
  position: relative;
  grid-column: span 12;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.split-body {
  grid-column: span 12;
}

.split-body h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.split-body p {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 17px;
}

.split-body .text-link {
  margin-top: 24px;
}

@media (min-width: 760px) {
  .split-media {
    grid-column: span 6;
    min-height: 460px;
  }

  .split-media img {
    position: absolute;
    inset: 0;
  }

  .split-body {
    grid-column: span 5;
    grid-column-start: 8;
  }

  .split--reverse .split-media {
    order: 2;
    grid-column: 7 / span 6;
  }

  .split--reverse .split-body {
    order: 1;
    grid-column: 2 / span 5;
  }
}

/* Numbered stat / value list ------------------------------------ */

.stat-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 0;
}

.stat-item {
  grid-column: span 12;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

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

.stat-index {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stat-item h3 {
  margin-top: 10px;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -0.03em;
}

.stat-item p {
  margin-top: 10px;
  max-width: 58ch;
  color: var(--muted);
}

@media (min-width: 720px) {
  .stat-item {
    grid-column: span 6;
    padding-inline: 2px;
  }

  .stat-item:nth-child(even) {
    grid-column-start: 7;
    padding-left: var(--gutter);
  }

  .stat-item:nth-child(odd) {
    padding-right: var(--gutter);
  }
}

/* Services cards ------------------------------------------------ */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.service-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.035);
}

.service-card-index {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  background: rgba(15, 29, 23, 0.72);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.service-card-body h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service-card-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.service-card-body .text-link {
  margin-top: auto;
  padding-top: 4px;
}

@media (min-width: 680px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Home preview strip ------------------------------------------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.photo-preview {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--line);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.photo-preview:hover img {
  transform: scale(1.045);
}

.photo-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(12, 20, 16, 0.78) 100%);
}

.photo-preview-label {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  z-index: 2;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Call band ----------------------------------------------------- */

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

.call-band .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 28px;
}

.call-band-content {
  grid-column: span 12;
}

.call-band h2 {
  margin-top: 16px;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.call-band p {
  margin-top: 18px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
}

.call-band-actions {
  grid-column: span 12;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.call-band .btn--light {
  border-color: rgba(255, 255, 255, 0.5);
}

.call-band-address {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 760px) {
  .call-band-content {
    grid-column: span 7;
  }

  .call-band-actions {
    grid-column: 9 / span 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Gallery ------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--line);
  cursor: zoom-in;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 20, 16, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.045);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after {
  opacity: 1;
}

.gallery-tile-index {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.gallery-tile:hover .gallery-tile-index,
.gallery-tile:focus-visible .gallery-tile-index {
  opacity: 1;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Lightbox ------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(8, 15, 12, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

.lightbox-frame {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 44px), 1180px);
}

.lightbox-frame img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #000;
}

.lightbox-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact ------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 48px;
}

.contact-info {
  grid-column: span 12;
}

.contact-info h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-details {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-detail {
  display: grid;
  gap: 6px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-detail span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail address {
  font-size: 18px;
  font-style: normal;
  line-height: 1.4;
}

.contact-detail a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  width: fit-content;
}

.contact-form {
  grid-column: span 12;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-form h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  background: var(--off-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  background: var(--white);
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 800px) {
  .contact-info {
    grid-column: span 5;
  }

  .contact-form {
    grid-column: 7 / span 6;
  }
}

/* Footer -------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: #e8f0eb;
}

.footer-main {
  padding-block: clamp(56px, 8vw, 88px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 36px;
}

.footer-brand {
  grid-column: span 12;
}

.footer-brand .wordmark-name {
  color: var(--white);
}

.footer-brand .wordmark-loc {
  color: rgba(232, 240, 235, 0.6);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 34ch;
  color: rgba(232, 240, 235, 0.66);
  font-size: 15px;
}

.footer-block {
  grid-column: span 12;
}

.footer-block h2 {
  margin-bottom: 16px;
  color: rgba(232, 240, 235, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-block address,
.footer-block p,
.footer-block a {
  display: block;
  color: rgba(232, 240, 235, 0.86);
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.footer-block a {
  width: fit-content;
  min-height: 32px;
}

.footer-block a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(232, 240, 235, 0.14);
  color: rgba(232, 240, 235, 0.5);
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
}

@media (min-width: 720px) {
  .footer-brand {
    grid-column: span 5;
  }

  .footer-block {
    grid-column: span 2;
  }

  .footer-block--last {
    grid-column: span 3;
  }
}

/* Scroll reveals ------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-media img {
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
