:root {
  --cream: #fffaf2;
  --paper: #fffdf8;
  --sand: #f2e8df;
  --sand-deep: #ead9cd;
  --ink: #171d24;
  --ink-soft: #4e555a;
  --burgundy: #8d1a1b;
  --burgundy-dark: #681416;
  --white: #ffffff;
  --line: rgba(23, 29, 36, 0.14);
  --line-light: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 20px 56px rgba(61, 38, 28, 0.1);
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shell: min(1440px, calc(100% - 80px));
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;
  --section-space: 112px;
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(141, 26, 27, 0.45);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  font-size: 72px;
  line-height: 1.02;
}

h2 {
  font-size: 48px;
  line-height: 1.08;
}

h3 {
  font-size: 20px;
  line-height: 1.22;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--burgundy-dark);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 700ms var(--ease-spring);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 144px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-300);
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 700ms var(--ease-spring);
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .button-small {
  color: var(--white);
  background: var(--burgundy);
  border-color: var(--burgundy);
  box-shadow: 0 10px 24px rgba(141, 26, 27, 0.16);
}

.site-nav .button-small:hover {
  color: var(--white);
  background: var(--burgundy-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  display: block;
  width: 16px;
  height: 2px;
  margin-left: 13px;
  background: currentColor;
  transition: transform 700ms var(--ease-spring);
}

.menu-toggle span:first-child {
  transform: translateY(-3px);
}

.menu-toggle span:last-child {
  transform: translateY(3px);
}

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

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: transform 700ms var(--ease-spring), background-color 700ms var(--ease-spring), color 700ms var(--ease-spring), box-shadow 700ms var(--ease-spring);
}

.button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(1px) scale(0.98);
}

.button-primary {
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 12px 28px rgba(141, 26, 27, 0.18);
}

.button-primary:hover {
  background: var(--burgundy-dark);
  box-shadow: 0 16px 32px rgba(141, 26, 27, 0.24);
}

.button-light {
  color: var(--burgundy);
  background: var(--cream);
}

.button-light:hover {
  color: var(--burgundy-dark);
  background: var(--white);
}

.button-small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 var(--space-200);
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.accent {
  color: var(--burgundy);
}

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

.section-heading {
  max-width: 820px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading-centered h2 {
  margin-inline: auto;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: var(--space-300) 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.section-heading-centered > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 16px;
  font-weight: 700;
  transition: gap 700ms var(--ease-spring), color 700ms var(--ease-spring);
}

.text-link:hover {
  gap: 14px;
  color: var(--burgundy-dark);
}

.reveal {
  will-change: transform;
}

html[data-js="true"] .reveal {
  /* A small lift gives each section a sense of arrival without a loading-style fade. */
  opacity: 0.98;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition: transform 560ms var(--ease-spring), opacity 180ms var(--ease-spring);
}

html[data-js="true"] .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html[data-js="true"] .reveal-delay-one {
  transition-delay: 70ms;
}

html[data-js="true"] .reveal-delay-two {
  transition-delay: 140ms;
}

html[data-js="true"] .reveal-delay-three {
  transition-delay: 210ms;
}

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

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