
:root {
  --color-bg: #F7F5F2;
  --color-text: #171717;
  --color-text-secondary: #666666;
  --color-accent: #A67C52;
  --color-divider: #DDDDDD;

  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --header-height: 4.5rem;
  --content-max: 90rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --fade-duration: 500ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & Base ────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ── Site Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--content-max);
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__logo {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.site-nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--color-text);
}

.site-nav__link:focus-visible {
  color: var(--color-text);
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.1rem, 2vh, 1.5rem);
}

.hero__descriptor {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero__headline-break {
  display: block;
  height: 0.35em;
}

.hero__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 34rem;
}

.hero__body p {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding-top: 0.5rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero__cta--primary {
  color: var(--color-bg);
  background-color: var(--color-text);
  border-color: var(--color-text);
}

.hero__cta--primary:hover {
  color: var(--color-text);
  background-color: transparent;
}

.hero__cta--secondary {
  color: var(--color-text);
  background-color: transparent;
  border-color: var(--color-divider);
}

.hero__cta--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.hero__cta--secondary:focus-visible {
  outline-color: var(--color-accent);
}

.hero__portrait {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 30rem;
}

.hero__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

/* ── Hero Fade-in ────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .hero__content > *,
  .hero__portrait {
    opacity: 0;
    animation: heroFadeIn var(--fade-duration) var(--ease-out) forwards;
  }

  .hero__content > *:nth-child(1) { animation-delay: 0ms; }
  .hero__content > *:nth-child(2) { animation-delay: 80ms; }
  .hero__content > *:nth-child(3) { animation-delay: 160ms; }
  .hero__content > *:nth-child(4) { animation-delay: 240ms; }
  .hero__portrait { animation-delay: 120ms; }

  @keyframes heroFadeIn {
    to {
      opacity: 1;
    }
  }
}

/* ── Tablet & Mobile ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__portrait {
    max-width: 20rem;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    height: auto;
    padding-block: 1rem;
  }

  .site-nav__list {
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-block: 2rem 3rem;
  }

  .hero__headline {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta {
    text-align: center;
  }

  .hero__portrait {
    max-width: 16rem;
  }
}
