/* Hotel Flooring — design tokens and patterns from comcorkflooring.com.au
   Premrest v3: Newsreader + Inter Tight, charcoal ink, burnt-orange accent,
   warm page colour, inset rounded sheet, forest footer. */

:root {
  --background: 40 22% 94%;
  --foreground: 216 9% 9%;
  --card: 0 0% 100%;
  --card-foreground: 216 9% 9%;
  --popover: 0 0% 100%;
  --popover-foreground: 216 9% 9%;
  --primary: 216 9% 9%;
  --primary-foreground: 40 22% 97%;
  --accent: 27 54% 39%;
  --accent-foreground: 0 0% 100%;
  --secondary: 210 5% 39%;
  --secondary-foreground: 0 0% 100%;
  --muted: 40 16% 89%;
  --muted-foreground: 210 5% 39%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 40 10% 85%;
  --input: 40 14% 86%;
  --ring: 27 54% 39%;
  --radius: 0.75rem;
  --charcoal: 216 9% 9%;
  --burnt-orange: 27 54% 39%;
  --warm-white: 40 22% 97%;
  --mid-grey: 210 5% 39%;
  --forest: 150 12% 11%;
  --page: 40 16% 90%;
  --sheet-top: 40 25% 96.5%;
  --cork: 32 38% 72%;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-heading: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  color: hsl(var(--foreground));
  background: hsl(var(--page));
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a.pill,
a.pill-light,
a.pill-cork,
a.pill-ghost {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 80;
  padding: 0.55rem 0.85rem;
  background: hsl(var(--warm-white));
  color: hsl(var(--charcoal));
  border-radius: 999px;
  transform: translateY(-180%);
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.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;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .wrap {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.sheet-top {
  background: hsl(var(--sheet-top));
  border-radius: clamp(32px, 4.4vw, 56px) clamp(32px, 4.4vw, 56px) 0 0;
  width: min(100% - clamp(24px, 4vw, 48px), 1440px);
  margin: 0 auto;
}

.sheet {
  display: block;
  background: linear-gradient(180deg, hsl(var(--sheet-top)) 0%, hsl(40 30% 98%) 30%, hsl(40 40% 99.5%) 100%);
  border-radius: 0 0 clamp(32px, 4.4vw, 56px) clamp(32px, 4.4vw, 56px);
  width: min(100% - clamp(24px, 4vw, 48px), 1440px);
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: clamp(12px, 2vw, 24px);
}

@media (max-width: 560px) {
  .sheet-top,
  .sheet {
    width: 100%;
    margin: 0;
  }
}

.band {
  background: hsl(var(--muted) / 0.7);
  border-radius: clamp(24px, 3.4vw, 44px);
  margin-left: clamp(8px, 1.5vw, 20px);
  margin-right: clamp(8px, 1.5vw, 20px);
}

.band--forest {
  background: hsl(var(--forest));
  color: #fff;
}

.rounded-panel {
  border-radius: clamp(24px, 3.4vw, 44px);
}

.shadow-lift {
  box-shadow: 0 40px 80px -40px hsl(216 9% 9% / 0.4);
}

.pill,
.pill-light,
.pill-cork,
.pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pill {
  background: hsl(var(--charcoal));
  color: hsl(var(--warm-white));
}

.pill:hover {
  background: #000;
  color: hsl(var(--warm-white));
}

.pill-light {
  background: #fff;
  color: hsl(var(--charcoal));
  box-shadow: inset 0 0 0 1px hsl(var(--border));
}

.pill-light:hover {
  background: hsl(var(--muted));
  color: hsl(var(--charcoal));
}

.pill-cork {
  background: hsl(var(--burnt-orange));
  color: #fff;
}

.pill-cork:hover {
  background: hsl(27 54% 32%);
  color: #fff;
}

.pill-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pill-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(var(--burnt-orange));
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-size: clamp(2.9rem, 7vw, 6.2rem);
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
}

.title-md {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}

.lead {
  font-family: var(--font-heading);
  color: hsl(var(--mid-grey));
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.accent {
  color: hsl(var(--burnt-orange));
  font-style: normal;
}

/* Header */
.masthead {
  text-align: center;
  margin: 0;
  padding: 0.9rem 1.25rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  line-height: 1.35;
  color: hsl(var(--mid-grey));
  text-wrap: balance;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(8px, 1.4vw, 14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: hsl(var(--charcoal));
  min-width: 0;
}

.brand img {
  height: 1.25rem;
  width: auto;
}

@media (min-width: 640px) {
  .brand img {
    height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .brand img {
    height: 2rem;
  }
}

.brand__name {
  display: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: hsl(var(--mid-grey));
  border-left: 1px solid hsl(var(--border));
  padding-left: 0.75rem;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .brand__name {
    display: inline;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header-actions .pill,
.header-actions .pill-cork,
.header-actions .pill-light {
  padding: 0.75rem 1.15rem;
}

@media (min-width: 640px) {
  .header-actions .pill,
  .header-actions .pill-cork,
  .header-actions .pill-light {
    padding: 1rem 1.5rem;
  }
}

.nav-toggle {
  /* uses .pill */
}

.menu-short {
  display: inline;
}

.quote-short {
  display: inline;
}

.menu-long,
.quote-long {
  display: none;
}

@media (min-width: 640px) {
  .menu-short,
  .quote-short {
    display: none;
  }

  .menu-long,
  .quote-long {
    display: inline;
  }
}

/* Overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}

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

.nav-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: hsl(var(--charcoal) / 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 0;
  cursor: default;
}

.nav-panel {
  position: relative;
  margin-top: 1rem;
  width: min(92vw, 420px);
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2rem;
  background: hsl(var(--warm-white));
  box-shadow: 0 40px 80px -40px hsl(216 9% 9% / 0.4);
}

.nav-panel__top {
  display: flex;
  justify-content: flex-end;
  padding: 1.25rem 1.25rem 0.25rem;
}

.nav-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--charcoal) / 0.3);
  background: hsl(var(--warm-white));
  color: hsl(var(--charcoal));
  cursor: pointer;
}

.nav-close:hover {
  background: hsl(var(--muted));
}

.nav-panel nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.75rem 1.75rem;
  text-align: center;
}

.nav-panel nav a {
  display: block;
  padding: 0.4rem 0;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vh, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: hsl(var(--charcoal));
}

.nav-panel nav a:hover,
.nav-panel nav a[aria-current="page"] {
  color: hsl(var(--burnt-orange));
}

.nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
  text-align: left;
}

.nav-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cols a {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  padding: 0.2rem 0 !important;
  color: hsl(var(--mid-grey)) !important;
}

.nav-cols a:hover {
  color: hsl(var(--charcoal)) !important;
}

.nav-panel__cta {
  margin: 0 1.25rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: hsl(var(--muted) / 0.5);
}

/* Hero */
.hero {
  padding-top: clamp(56px, 10vh, 112px);
  padding-bottom: 2rem;
}

.hero--page {
  padding-top: clamp(40px, 7vh, 80px);
}

.hero__inner {
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  color: hsl(var(--charcoal));
}

.hero .lead {
  margin: 1.75rem auto 0;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: hsl(var(--mid-grey));
}

.crumbs a {
  color: hsl(var(--mid-grey));
  text-decoration: none;
}

.crumbs a:hover {
  color: hsl(var(--charcoal));
}

.crumbs [aria-current="page"] {
  color: hsl(var(--charcoal));
}

/* Photo stage and card crops */
.stage {
  margin-top: 3.5rem;
}

.stage__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(var(--muted));
}

.stage__frame > img,
.stage__frame figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage__frame figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.stage__frame figure.is-active {
  opacity: 1;
}

.stage__dots {
  display: flex;
  gap: 0.4rem;
}

.stage__dots button {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.stage__dots button[aria-selected="true"] {
  width: 1.5rem;
  background: #fff;
}

.card-photo,
.city-card .card-photo {
  position: relative;
  height: 9rem;
  margin: -1.5rem -1.5rem 1.15rem;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
  background: hsl(var(--muted));
}

.city-card .card-photo {
  margin: 0;
  height: 11rem;
  border-radius: 0;
}

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

@media (max-width: 639px) {
  .stage__frame {
    aspect-ratio: 4 / 3;
  }
}

.stage__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.visual {
  position: absolute;
  inset: 0;
}

.visual-carpet {
  background-color: #6b4a38;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 230, 200, 0.08) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(0deg, rgba(20, 12, 8, 0.18) 0 1px, transparent 1px 8px),
    radial-gradient(ellipse at 20% 30%, rgba(180, 90, 50, 0.35), transparent 50%),
    linear-gradient(160deg, #8a5a42, #4a2f24);
}

.visual-corridor {
  background-color: #3d3630;
  background-image:
    linear-gradient(90deg, transparent 0 18%, #2a241f 18% 20%, transparent 20% 80%, #2a241f 80% 82%, transparent 82%),
    repeating-linear-gradient(90deg, rgba(255, 220, 180, 0.06) 0 3px, transparent 3px 14px),
    linear-gradient(180deg, #5a4a3c 0%, #2e2823 40%, #1a1714 100%);
}

.visual-vinyl {
  background-color: #c9b8a0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(70, 50, 30, 0.18) 86px 88px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(80, 55, 30, 0.08) 22px 23px),
    linear-gradient(180deg, #d8c8b0, #b49a7c);
}

.visual-wet {
  background-color: #4a5558;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 30% 20%, rgba(160, 200, 200, 0.25), transparent 40%),
    linear-gradient(160deg, #6a7778, #2f3a3c);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.visual-lobby {
  background-color: #2c2620;
  background-image:
    radial-gradient(ellipse at 50% 120%, rgba(201, 140, 70, 0.35), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(255, 220, 170, 0.05) 40px 41px),
    linear-gradient(180deg, #4a3d32, #1c1814);
}

.visual-function {
  background-color: #3a2a28;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(200, 140, 80, 0.28), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 220, 180, 0.05) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, #5a3c34, #211816);
}

.points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 2.5rem 0 0;
}

.points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: hsl(var(--mid-grey));
}

.points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: hsl(var(--burnt-orange));
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section h2 {
  margin: 0 0 1rem;
}

.prose {
  max-width: 40rem;
}

.prose p,
.prose li {
  color: hsl(var(--mid-grey));
}

.prose p + p,
.prose ul {
  margin-top: 1rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.prose a {
  color: hsl(var(--charcoal));
  text-underline-offset: 0.18em;
}

.prose a:hover {
  color: hsl(var(--burnt-orange));
}

.center {
  text-align: center;
}

.center .lead,
.center .prose,
.center > p {
  margin-left: auto;
  margin-right: auto;
}

.grid-3,
.grid-2,
.cards,
.cards-3 {
  display: grid;
  gap: 1.25rem;
}

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

  .grid-3,
  .cards-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

a.card:hover {
  border-color: hsl(var(--burnt-orange) / 0.35);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: hsl(var(--mid-grey));
  font-size: 0.98rem;
}

.card .more {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--burnt-orange));
}

.card .visual-mini {
  position: relative;
  height: 7.5rem;
  margin: -1.5rem -1.5rem 1.15rem;
  border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden;
}

.hp {
  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;
  border: 0 !important;
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 799px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

.step {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid hsl(var(--border));
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: hsl(var(--burnt-orange));
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: hsl(var(--mid-grey));
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
}

.city-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .city-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.city-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

.city-card:hover h3 {
  color: hsl(var(--burnt-orange));
}

.city-card .visual-mini {
  position: relative;
  height: 9rem;
}

.city-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.city-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.city-card p {
  margin: 0;
  color: hsl(var(--mid-grey));
}

.faq {
  max-width: 46rem;
  margin: 2rem auto 0;
}

.faq details {
  border-top: 1px solid hsl(var(--border));
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid hsl(var(--border));
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 550;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.7rem 0 0;
  color: hsl(var(--mid-grey));
}

/* Contact / form */
.contact-band {
  margin-left: clamp(8px, 1.5vw, 20px);
  margin-right: clamp(8px, 1.5vw, 20px);
  border-radius: clamp(24px, 3.4vw, 44px);
  background: hsl(var(--forest));
  color: #fff;
}

.contact-grid {
  display: grid;
  gap: 3rem;
  padding: clamp(64px, 10vw, 120px) 0;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-copy .lead,
.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy a:not(.pill):not(.pill-light):not(.pill-cork):not(.pill-ghost) {
  color: #fff;
  text-underline-offset: 0.18em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
}

.form-card {
  background: #fff;
  color: hsl(var(--charcoal));
  border-radius: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2rem 2.25rem;
  }
}

.fields {
  display: grid;
  gap: 1.1rem;
}

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

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--warm-white));
  color: hsl(var(--charcoal));
  font: inherit;
  font-size: 16px;
  border-radius: 0.75rem;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid hsl(var(--burnt-orange) / 0.4);
  outline-offset: 1px;
  border-color: hsl(var(--burnt-orange) / 0.5);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: hsl(var(--destructive));
}

.field__error {
  min-height: 1.1rem;
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: hsl(0 60% 40%);
}

.form-thanks,
.form-status {
  display: none;
}

.form-thanks.is-visible,
.form-status.is-visible {
  display: block;
}

.form-thanks {
  text-align: center;
  padding: 3rem 1rem;
}

.form-thanks h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.6rem;
}

.form-thanks p {
  margin: 0;
  color: hsl(var(--mid-grey));
}

.form-status.is-error {
  color: hsl(0 60% 38%);
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  margin: clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px) 0;
  border-radius: clamp(32px, 4.4vw, 56px) clamp(32px, 4.4vw, 56px) 0 0;
  background: hsl(var(--forest));
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0 0;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr;
  }
}

.site-footer img {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.15rem;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 22rem;
}

.site-footer .contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.35rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: hsl(var(--cork));
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--cork));
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 0.5rem;
}

.site-footer li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.site-footer li a:hover {
  color: #fff;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 2rem 0 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.legal p {
  margin: 0;
  max-width: none;
  font-size: inherit;
}

.legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.legal a {
  color: rgba(255, 255, 255, 0.65);
}

.legal a:hover {
  color: #fff;
}

/* Article */
.article {
  max-width: 42rem;
  margin: 0 auto;
}

.article h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.article h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.15rem;
}

.article p,
.article li {
  color: hsl(var(--mid-grey));
}

.article ul {
  padding-left: 1.15rem;
}

.article a {
  color: hsl(var(--charcoal));
  text-underline-offset: 0.18em;
}

/* 404 */
.page-404 {
  text-align: center;
  padding: 5rem 0 6rem;
}

.page-404 h1 {
  max-width: 14ch;
  margin: 0 auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--mid-grey));
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
