/* =========================================================================
   MERRITT DESIGN GROUP — design tokens
   Architectural neutrals: warm stone, deep charcoal, antique bronze
   ========================================================================= */

:root,
[data-theme="light"] {
  /* Surfaces — warm stone / linen */
  --color-bg: #f4f1ea;
  --color-surface: #ebe6dc;
  --color-surface-2: #faf8f3;
  --color-surface-offset: #e2dccf;
  --color-divider: #d8d2c4;
  --color-border: #c9c1b0;

  /* Text — espresso ink */
  --color-text: #1a1916;
  --color-text-muted: #5b574e;
  --color-text-faint: #8a857a;
  --color-text-inverse: #faf8f3;

  /* Primary accent — antique bronze */
  --color-primary: #9a7a3f;
  --color-primary-hover: #7c5f2c;
  --color-primary-active: #5e4720;
  --color-primary-highlight: #e7dcc4;

  /* Dark surface for hero & interlude */
  --color-dark: #1a1916;
  --color-dark-2: #25231e;

  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-pill: 999px;

  --transition-interactive: 240ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.08);
  --shadow-md: 0 8px 24px oklch(0.2 0.01 80 / 0.10);
  --shadow-lg: 0 24px 56px oklch(0.2 0.01 80 / 0.16);

  --content-narrow: 720px;
  --content-default: 1120px;
  --content-wide: 1320px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Type */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.2vw, 3rem);
  --text-3xl: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem);
  --text-hero: clamp(3rem, 1.4rem + 5vw, 5.75rem);

  /* Fonts */
  --font-display: "Cormorant Garamond", "Hoefler Text", Garamond, Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* DARK MODE — deep charcoal with warmer bronze */
[data-theme="dark"] {
  --color-bg: #16140f;
  --color-surface: #1d1b15;
  --color-surface-2: #221f18;
  --color-surface-offset: #2a261e;
  --color-divider: #322d24;
  --color-border: #3d382d;

  --color-text: #ece6d6;
  --color-text-muted: #a8a28f;
  --color-text-faint: #6c6657;
  --color-text-inverse: #16140f;

  --color-primary: #c8a96a;
  --color-primary-hover: #d6bc83;
  --color-primary-active: #b89556;
  --color-primary-highlight: #3a3220;

  --color-dark: #16140f;
  --color-dark-2: #1d1b15;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 8px 24px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 24px 56px oklch(0 0 0 / 0.65);
}

/* =========================================================================
   BASE
   ========================================================================= */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  hanging-punctuation: first last;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: radial-gradient(
      ellipse at 20% 0%,
      color-mix(in oklab, var(--color-surface-offset) 50%, transparent),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 100% 100%,
      color-mix(in oklab, var(--color-surface) 60%, transparent),
      transparent 60%
    );
  transition: background-color 400ms ease, color 400ms ease;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--color-text);
}

p {
  text-wrap: pretty;
}

em {
  font-style: italic;
  color: color-mix(in oklab, var(--color-text) 92%, var(--color-primary) 40%);
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in oklab, currentColor 25%, transparent);
  text-underline-offset: 0.18em;
  transition: color var(--transition-interactive),
    text-decoration-color var(--transition-interactive);
}

a:hover {
  color: var(--color-primary);
  text-decoration-color: currentColor;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

::selection {
  background: color-mix(in oklab, var(--color-primary) 32%, transparent);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   LAYOUT
   ========================================================================= */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 56ch;
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

.section__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 50ch;
}

/* =========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================= */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.display {
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text);
  max-width: 56ch;
  font-weight: 400;
}

.rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--color-text-muted);
  vertical-align: middle;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-color: var(--color-text);
}

.btn--primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: color-mix(in oklab, var(--color-text) 30%, transparent);
}

.btn--ghost:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn--block {
  width: 100%;
}

/* On dark hero, recolor buttons */
.hero .btn--primary {
  background: #faf8f3;
  color: #1a1916;
  border-color: #faf8f3;
}

.hero .btn--primary:hover {
  background: #d4b06d;
  border-color: #d4b06d;
  color: #1a1916;
}

.hero .btn--ghost {
  color: #faf8f3;
  border-color: rgba(250, 248, 243, 0.45);
}

.hero .btn--ghost:hover {
  border-color: #faf8f3;
  color: #faf8f3;
}

/* =========================================================================
   HEADER
   ========================================================================= */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease,
    box-shadow 300ms ease;
}

/* When over the hero (top of page), header is transparent over dark image */
.header.is-over-hero {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.42),
    transparent
  );
  color: #faf8f3;
  border-bottom-color: transparent;
}

.header.is-over-hero .nav a,
.header.is-over-hero .brand,
.header.is-over-hero .theme-toggle {
  color: #faf8f3;
}

.header.is-over-hero .brand__tag {
  color: rgba(250, 248, 243, 0.75);
}

.header.is-over-hero .brand__mark {
  color: #faf8f3;
}

.header.is-over-hero .header__cta {
  background: #faf8f3;
  color: #1a1916;
  border-color: #faf8f3;
}

.header.is-over-hero .header__cta:hover {
  background: #d4b06d;
  border-color: #d4b06d;
  color: #1a1916;
}

.header.is-scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  flex-shrink: 0;
  color: var(--color-primary);
}



.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.brand__tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}



.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--color-text);
  position: relative;
  padding-block: 0.25rem;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-interactive);
}

.nav a:hover::after {
  transform: scaleX(1);
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  transition: background var(--transition-interactive),
    color var(--transition-interactive);
}

.theme-toggle:hover {
  background: color-mix(in oklab, var(--color-text) 8%, transparent);
}

.header.is-over-hero .theme-toggle:hover {
  background: color-mix(in oklab, var(--color-text-inverse) 14%, transparent);
}

.header__cta {
  padding: 0.65rem 1.1rem;
}

@media (max-width: 880px) {
  .nav {
    display: none;
  }
  .header__cta {
    display: none;
  }
}

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #faf8f3;
  overflow: hidden;
  isolation: isolate;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(20, 18, 14, 0.6) 0%,
      rgba(20, 18, 14, 0.25) 28%,
      rgba(20, 18, 14, 0.55) 65%,
      rgba(20, 18, 14, 0.92) 100%
    ),
    linear-gradient(
      90deg,
      rgba(20, 18, 14, 0.65) 0%,
      rgba(20, 18, 14, 0.2) 50%,
      transparent 80%
    );
}

.hero__content {
  position: relative;
  padding-block: clamp(var(--space-16), 12vw, var(--space-24));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 980px;
}

.hero__content .eyebrow {
  color: rgba(250, 248, 243, 0.75);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #faf8f3;
}

.hero__title em {
  font-style: italic;
  color: #d4b06d;
  font-weight: 500;
}

.hero__lede {
  font-size: var(--text-lg);
  color: rgba(250, 248, 243, 0.88);
  max-width: 56ch;
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero__meta {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(250, 248, 243, 0.2);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.65);
}

@media (max-width: 880px) {
  .hero__meta {
    display: none;
  }
}

/* =========================================================================
   PRACTICE
   ========================================================================= */

.practice__grid {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: start;
}

@media (max-width: 880px) {
  .practice__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.practice__label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: sticky;
  top: 110px;
}

.practice__copy h2 {
  margin-bottom: var(--space-8);
}

.practice__copy p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: var(--space-5);
  max-width: 62ch;
}

.practice__copy p.lead {
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.55;
  margin-top: 0;
  max-width: 56ch;
  font-weight: 400;
}

.kpis {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-8);
}

@media (max-width: 720px) {
  .kpis {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.kpi__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.kpi__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  line-height: 1.5;
}

/* =========================================================================
   SERVICES
   ========================================================================= */

.services {
  background: var(--color-surface);
  border-block: 1px solid var(--color-divider);
}

.services__list {
  list-style: none;
  display: grid;
  gap: 0;
}

.service {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(var(--space-5), 4vw, var(--space-12));
  padding-block: clamp(var(--space-8), 5vw, var(--space-12));
  border-top: 1px solid var(--color-divider);
}

.service:last-child {
  border-bottom: 1px solid var(--color-divider);
}

@media (max-width: 720px) {
  .service {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.service__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1;
}

.service__body h3 {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.service__body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 72ch;
  margin-bottom: var(--space-5);
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tags li {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface-2);
}

/* =========================================================================
   INTERLUDE — full-bleed image divider
   ========================================================================= */

.interlude {
  position: relative;
  width: 100%;
  height: clamp(380px, 60vh, 640px);
  overflow: hidden;
  background: var(--color-dark);
}

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

.interlude__caption {
  position: absolute;
  inset: auto var(--space-8) var(--space-6) auto;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
}

/* =========================================================================
   PROCESS
   ========================================================================= */

.process__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  overflow: hidden;
}

@media (max-width: 880px) {
  .process__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .process__list {
    grid-template-columns: 1fr;
  }
}

.phase {
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  border-right: 1px solid var(--color-divider);
  position: relative;
}

.phase:last-child {
  border-right: none;
}

@media (max-width: 880px) {
  .phase:nth-child(2n) {
    border-right: none;
  }
  .phase:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-divider);
  }
}

@media (max-width: 520px) {
  .phase {
    border-right: none;
    border-bottom: 1px solid var(--color-divider);
  }
  .phase:last-child {
    border-bottom: none;
  }
}

.phase__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  letter-spacing: 0.05em;
}

.phase h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.phase p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =========================================================================
   WORK
   ========================================================================= */

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: var(--space-6);
}

.work__card--lg {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 880px) {
  .work__grid {
    grid-template-columns: 1fr;
  }
  .work__card--lg {
    grid-column: span 1;
  }
}

.work__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-dark);
  border: 1px solid var(--color-divider);
  isolation: isolate;
  min-height: 360px;
}

.work__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work__card:hover img {
  transform: scale(1.04);
}

.work__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 14, 0.15) 0%,
    rgba(20, 18, 14, 0.35) 40%,
    rgba(20, 18, 14, 0.95) 100%
  );
  pointer-events: none;
  transition: background 400ms ease;
}

.work__card:hover::after {
  background: linear-gradient(
    180deg,
    rgba(20, 18, 14, 0.25) 0%,
    rgba(20, 18, 14, 0.5) 40%,
    rgba(20, 18, 14, 0.97) 100%
  );
}

.work__meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  color: #faf8f3;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.work__meta .eyebrow {
  color: rgba(250, 248, 243, 0.78);
}

.work__meta h3 {
  font-size: var(--text-xl);
  font-weight: 500;
  color: #faf8f3;
  margin-bottom: var(--space-2);
}

.work__meta p {
  font-size: 0.9375rem;
  color: rgba(250, 248, 243, 0.82);
  max-width: 50ch;
  line-height: 1.55;
}

.work__note {
  margin-top: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

/* =========================================================================
   CONTACT
   ========================================================================= */

.contact {
  background: #16140f;
  color: #faf8f3;
}

.contact .display,
.contact h2 {
  color: #faf8f3;
}

.contact .display em {
  color: #d4b06d;
}

.contact .eyebrow {
  color: rgba(250, 248, 243, 0.72);
}

.contact .lead {
  color: rgba(250, 248, 243, 0.82);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: start;
}

@media (max-width: 880px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.contact__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact__card {
  background: rgba(250, 248, 243, 0.06);
  border: 1px solid rgba(250, 248, 243, 0.16);
  border-radius: var(--radius-md);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact__list > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(250, 248, 243, 0.12);
}

.contact__list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact__list dt {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.6);
}

.contact__list dd {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #faf8f3;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.contact__list dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 176, 109, 0.65);
}

.contact__list dd a:hover {
  color: #d4b06d;
}

.contact .btn--primary {
  background: #d4b06d;
  color: #16140f;
  border-color: #d4b06d;
}

.contact .btn--primary:hover {
  background: #c8a058;
  border-color: #c8a058;
  color: #16140f;
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-8);
}

@media (max-width: 880px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer__brand .brand__name {
  font-size: 1rem;
}

.footer__tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer__nav {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-muted);
}

.footer__nav a:hover {
  color: var(--color-primary);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

@media (max-width: 880px) {
  .footer__legal {
    align-items: center;
  }
}
