@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-garamond-roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --paper: #f9f5f6;
  --surface: #f8e8ee;
  --blossom: #fdcedf;
  --rose: #f2bed1;
  --mulberry: #755061;
  --ink: #392831;
  --deep: #271b21;
  --white: #fffafc;
  --frame: clamp(18px, 2.3vw, 34px);
  --radius: clamp(34px, 5vw, 76px);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

a:focus-visible {
  outline: 3px solid var(--mulberry);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--deep);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 102px;
  padding: 18px var(--frame);
}

.brand-link {
  display: block;
  width: clamp(150px, 16vw, 225px);
}

.brand-link img {
  display: block;
  width: 100%;
  height: auto;
}

.site-link {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-link:hover {
  background: var(--deep);
  color: var(--white);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 102px));
  margin: 0 var(--frame);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-copy,
.hero-meta {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 64px);
  left: clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.hero-copy {
  top: clamp(24px, 4vw, 58px);
}

.hero-copy p {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(18px, 1.5vw, 20px);
}

.primary-action,
.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 56px;
  border-radius: 999px;
  padding: 15px 20px 15px 25px;
  background: var(--deep);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-action:hover,
.footer-action:hover {
  background: var(--mulberry);
  transform: translateY(-3px);
}

.name-stage {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  overflow: hidden;
  transform: translateY(-50%);
}

.name-stage h1 {
  display: block;
  width: 100%;
  color: var(--deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(92px, 19vw, 300px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-align: center;
  white-space: nowrap;
  transform: translateY(115%);
  animation: name-reveal 900ms cubic-bezier(.16, 1, .3, 1) 120ms forwards;
}

.hero-meta {
  bottom: clamp(24px, 4vw, 54px);
}

.hero-meta p {
  margin: 0;
}

.hero-meta nav {
  display: flex;
  gap: 24px;
}

.hero-meta a {
  font-weight: 600;
  text-decoration: none;
}

.guidance {
  padding: clamp(90px, 11vw, 158px) var(--frame);
}

.guidance h2 {
  margin: 0 0 clamp(48px, 6vw, 82px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 100px);
}

.guidance article {
  max-width: 39ch;
}

.guidance h3 {
  margin: 0 0 18px;
  color: var(--mulberry);
  font-size: 17px;
}

.guidance p {
  margin: 0;
}

.site-footer {
  position: relative;
  min-height: 660px;
  padding: clamp(56px, 7vw, 96px) var(--frame) 28px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--deep);
  color: var(--white);
}

.footer-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-copy p {
  max-width: 12ch;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 6vw, 90px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.footer-action {
  background: var(--white);
  color: var(--deep);
}

.footer-action:hover {
  background: var(--rose);
  color: var(--deep);
}

.footer-links {
  position: absolute;
  top: clamp(200px, 30vw, 310px);
  right: var(--frame);
  display: flex;
  gap: 26px;
}

.footer-links a {
  text-decoration: none;
}

.footer-legal {
  position: absolute;
  z-index: 2;
  right: var(--frame);
  bottom: clamp(148px, 16vw, 228px);
  left: var(--frame);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-name {
  position: absolute;
  right: 0;
  bottom: -0.28em;
  left: 0;
  color: var(--blossom);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(140px, 26vw, 420px);
  letter-spacing: -0.07em;
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes name-reveal {
  to { transform: translateY(0); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 84px;
    padding-block: 14px;
  }

  .brand-link {
    width: 142px;
  }

  .site-link {
    padding: 10px 15px;
    font-size: 14px;
  }

  .hero {
    min-height: calc(100svh - 96px);
  }

  .hero-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
  }

  .name-stage {
    top: 47%;
  }

  .name-stage h1 {
    font-size: clamp(74px, 23vw, 150px);
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .guidance-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .site-footer {
    min-height: 620px;
  }

  .footer-copy {
    flex-direction: column;
  }

  .footer-copy p {
    max-width: 9ch;
  }

  .footer-action {
    width: 100%;
  }

  .footer-links {
    position: static;
    margin-top: 46px;
    flex-wrap: wrap;
  }

  .footer-legal {
    align-items: flex-start;
    bottom: 112px;
    flex-direction: column;
    gap: 5px;
  }

  .footer-name {
    bottom: -0.1em;
    font-size: 31vw;
  }
}

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