:root {
  --paper: #f6f1eb;
  --paper-strong: #efe6dc;
  --ink: #181513;
  --muted: #6a625b;
  --accent: #9f1014;
  --accent-dark: #771015;
  --line: rgba(24, 21, 19, 0.12);
  --shadow: 0 20px 60px rgba(39, 23, 16, 0.08);
  --radius: 28px;
  --content-width: min(1180px, calc(100vw - 3rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Aptos", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(159, 16, 20, 0.08), transparent 32%),
    linear-gradient(180deg, #fbf8f4 0%, var(--paper) 100%);
}

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

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

p {
  margin: 0;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.landing-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.landing-shell {
  width: min(1080px, 100%);
  display: grid;
  gap: 2rem;
}

.landing-brand {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.landing-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: var(--shadow);
}

.landing-card h1 {
  font-size: clamp(3rem, 9vw, 5.8rem);
  margin-bottom: 0.5rem;
}

.landing-copy {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.landing-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.top-line {
  height: 0.7rem;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 76%, transparent 76%);
}

.site-header,
.hero,
.section,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.brand-lockup {
  width: min(360px, 55vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.lang-link {
  color: var(--ink);
}

.lang-link {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 2rem;
  padding: 4rem 0 3rem;
  align-items: end;
}

.eyebrow,
.section-kicker,
.panel-label,
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.92;
  max-width: 12ch;
  margin-top: 0.75rem;
}

.lead {
  max-width: 44rem;
  margin-top: 1.5rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-panel,
.profile-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72)),
    var(--paper-strong);
  border: 1px solid rgba(125, 93, 82, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.hero-panel h2,
.profile-card h2,
.section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.hero-panel p:last-child,
.profile-card p,
.rich-text p + p {
  margin-top: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  min-height: 220px;
}

.card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.85rem;
}

.card p,
.rich-text,
.emphasis-copy p,
.metrics dd,
.site-footer,
.profile-copy,
.footer-label + a {
  color: var(--muted);
}

.emphasis-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.metrics div {
  padding: 1.5rem;
  border-radius: 22px;
  background: rgba(159, 16, 20, 0.05);
}

.metrics dt {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.metrics dd {
  margin: 0;
}

.profile-section {
  display: grid;
  place-items: center;
}

.profile-card {
  width: min(720px, 100%);
  text-align: center;
}

.profile-role {
  margin-top: 0.5rem;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.email-link {
  display: inline-block;
  margin-top: 1.35rem;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(159, 16, 20, 0.35);
  color: var(--accent-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
  font-family: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2rem;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 1rem;
  }

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

  .hero,
  .section-grid,
  .emphasis-section,
  .site-footer,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-panel,
  .card,
  .profile-card {
    animation: rise 800ms ease both;
  }

  .hero-panel {
    animation-delay: 140ms;
  }

  .card:nth-child(2) {
    animation-delay: 80ms;
  }

  .card:nth-child(3) {
    animation-delay: 160ms;
  }

  .card:nth-child(4) {
    animation-delay: 240ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
