/* ===== EDIT THESE TO MATCH YOUR FRAMER FILE ===== */
:root {
  --bg: #FAF3EA;
  --ink: #1A1A1A;          /* buttons, italic line, intro name */
  --ink-soft: #5E5A55;     /* headline grey */
  --text-muted: #6B6760;   /* body copy */
  --white: #FFFFFF;

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-video: 32px;
  --radius-ui: 10px;
  --pad: clamp(20px, 4.5vw, 64px);
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== DESKTOP LAYOUT ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 28vw);
  gap: clamp(20px, 2.3vw, 32px);
  min-height: 100vh;
  padding: 20px clamp(20px, 2.1vw, 28px) 50px var(--pad);
}

.left {
  display: flex;
  flex-direction: column;
}

/* Navigation bar */
.nav {
  align-self: flex-end;
  display: flex;
  width: min(100%, 440px);
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-ui);
  overflow: hidden;
}

.nav__brand {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav__cta {
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav__cta:hover { opacity: 0.85; }

/* Headlines */
.headline {
  margin-top: clamp(28px, 4.5vh, 48px);
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink-soft);
  font-size: clamp(38px, 3.9vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 12ch;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(50px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-top: clamp(14px, 1.8vw, 26px);
  text-wrap: balance;
}

/* Intro and call to action */
.intro {
  margin-top: auto;
  padding-left: 6px;
  padding-top: 48px;
}

.intro__name {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.intro__body {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.45;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  max-width: 30em;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-ui);
  font-size: 14px;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.cta-note {
  font-size: 14px;
  letter-spacing: -0.03em;
  color: var(--text-muted);
}

/* Video */
.video {
  margin-top: 22px;
  border-radius: var(--radius-video);
  overflow: hidden;
  background: #3A3A36;
  height: calc(100vh - 92px);
  min-height: 480px;
}

.video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== MOBILE LAYOUT ===== */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 16px 20px 40px;
  }

  .nav {
    align-self: stretch;
    width: 100%;
  }

  .nav__brand { font-size: 17px; }
  .nav__cta { padding: 0 16px; font-size: 13px; }

  .headline { margin-top: 36px; }

  .intro {
    margin-top: 0;
    padding: 40px 0 0;
  }

  .cta-row {
    margin-top: 28px;
    gap: 18px;
  }

  .video {
    margin-top: 36px;
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 14;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
