@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blush: #f5d9de;
  --blush-dark: #e0b8c2;
  --cream: #fcf7f2;
  --elevated: #f7f0eb;
  --ink: #2e2429;
  --ink-muted: #736166;
  --accent: #bf738c;
  --success: #739e80;
  --warning: #d18c59;
  --card: #fffcfa;
  --border: #e6d1d6;
  --shadow: rgba(224, 184, 194, 0.22);
  --header-height: 4.25rem;
  --measure: 40rem;
  --page: 68rem;
  --radius-card: 16px;
  --radius-button: 10px;
  --radius-field: 12px;
  --font-display: "EB Garamond", "Times New Roman", Times, serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blush: #47333a;
    --blush-dark: #5c424d;
    --cream: #1c171a;
    --elevated: #241c1f;
    --ink: #f5edf0;
    --ink-muted: #b8a8ad;
    --accent: #db94ab;
    --success: #94c2a1;
    --warning: #eba873;
    --card: #2b2429;
    --border: #4d3d45;
    --shadow: transparent;
  }
}

:root[data-theme="dark"] {
  --blush: #47333a;
  --blush-dark: #5c424d;
  --cream: #1c171a;
  --elevated: #241c1f;
  --ink: #f5edf0;
  --ink-muted: #b8a8ad;
  --accent: #db94ab;
  --success: #94c2a1;
  --warning: #eba873;
  --card: #2b2429;
  --border: #4d3d45;
  --shadow: transparent;
}

:root[data-theme="light"] {
  --blush: #f5d9de;
  --blush-dark: #e0b8c2;
  --cream: #fcf7f2;
  --elevated: #f7f0eb;
  --ink: #2e2429;
  --ink-muted: #736166;
  --accent: #bf738c;
  --success: #739e80;
  --warning: #d18c59;
  --card: #fffcfa;
  --border: #e6d1d6;
  --shadow: rgba(224, 184, 194, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-button);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.wrap {
  width: min(var(--page), calc(100% - 2rem));
  margin-inline: auto;
}

.prose {
  max-width: var(--measure);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.wordmark svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.icon-button,
.nav-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  border-radius: var(--radius-button);
  background: color-mix(in srgb, var(--blush) 55%, transparent);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.icon-button:hover,
.nav-toggle:hover {
  background: color-mix(in srgb, var(--blush) 75%, transparent);
}

.nav-toggle {
  display: none;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(
    135deg,
    var(--cream) 0%,
    color-mix(in srgb, var(--blush) 35%, var(--cream)) 100%
  );
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero {
    background: linear-gradient(
      135deg,
      var(--cream) 0%,
      var(--elevated) 45%,
      color-mix(in srgb, var(--blush) 35%, var(--cream)) 100%
    );
  }
}

:root[data-theme="dark"] .hero {
  background: linear-gradient(
    135deg,
    var(--cream) 0%,
    var(--elevated) 45%,
    color-mix(in srgb, var(--blush) 35%, var(--cream)) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    background: var(--cream);
  }
}

.chip {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blush) 50%, transparent);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display {
  margin: 0 0 1rem;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-button);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000);
  color: #fff;
}

.button-secondary {
  background: color-mix(in srgb, var(--blush) 55%, transparent);
  border-color: color-mix(in srgb, var(--border) 60%, transparent);
  color: var(--ink);
}

.button-secondary:hover {
  background: color-mix(in srgb, var(--blush) 75%, transparent);
  color: var(--ink);
}

.section,
#top {
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--cream);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 8px var(--shadow);
}

.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p,
.section p {
  margin: 0;
  color: var(--ink-muted);
}

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

.section h2.section-title {
  margin-top: 2rem;
}

.section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.section li + li {
  margin-top: 0.35rem;
}

.delivery-copy {
  margin-top: 0.25rem;
}

.expertise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.75rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.expertise li {
  position: relative;
  padding-left: 0.9rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.expertise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
}

.contact-action {
  margin-top: 1.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.location-card {
  max-width: 28rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-legal {
  margin: 0;
}

@media (max-width: 860px) {
  .cards,
  .split,
  .expertise {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--card);
    border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
    border-radius: var(--radius-card);
    box-shadow: 0 4px 8px var(--shadow);
  }

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

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }
}
