/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --bg:            oklch(1.000 0.000   0);
  --surface:       oklch(0.970 0.007 300);
  --border:        oklch(0.910 0.005 300);

  --primary:       oklch(0.470 0.220 300); /* grape purple */
  --primary-h:     oklch(0.410 0.220 300);
  --primary-deep:  oklch(0.240 0.180 300); /* deep plum */
  --primary-light: oklch(0.930 0.035 300); /* lavender (text on purple) */

  --accent:        oklch(0.500 0.220  22); /* celebration red */
  --accent-h:      oklch(0.440 0.220  22);
  --accent-light:  oklch(0.950 0.035  22); /* blush (tag bg) */
  --accent-deep:   oklch(0.300 0.160  22); /* crimson (tag text) */

  --ink:           oklch(0.170 0.015 300);
  --muted:         oklch(0.420 0.012 300);

  --font:          'Manrope', system-ui, -apple-system, sans-serif;
  --nav-h:         68px;
  --ease-quart:    cubic-bezier(0.25, 1, 0.5, 1);
  --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s var(--ease-quart),
    box-shadow   0.25s var(--ease-quart);
}
.nav.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 16px oklch(0.17 0.015 300 / 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);
}

.nav__brand {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  transition: opacity 0.2s;
}
.nav__brand:is(:hover, :focus-visible) { opacity: 0.65; outline-offset: 4px; }

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.005em;
  transition: color 0.2s;
}
.nav__links a:is(:hover, :focus-visible) { color: var(--ink); }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--ink);
  transition: background 0.2s;
}
.nav__toggle:is(:hover, :focus-visible) { background: var(--surface); }

@media (max-width: 899px) {
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 42fr 58fr;
  min-height: 100svh;
}

/* Left panel */
.hero__content {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--nav-h) + 3.5rem) 3.5rem;
  padding-inline: clamp(1.75rem, 5vw, 4rem);
  background: var(--primary);
}

/* Decorative corner rings — clipped at panel edge */
.hero__content::before {
  content: '';
  position: absolute;
  inset-inline-end: -180px;
  inset-block-start: -180px;
  width: 560px;
  height: 560px;
  border: 72px solid oklch(1 0 0 / 0.09);
  border-radius: 50%;
  pointer-events: none;
}
.hero__content::after {
  content: '';
  position: absolute;
  inset-inline-start: -100px;
  inset-block-end: -100px;
  width: 340px;
  height: 340px;
  border: 48px solid oklch(0.50 0.22 22 / 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero__headline {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 1.25rem;
  color: white;
  position: relative; /* stacks above ::before/::after rings */
}

.hero__subline {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--primary-light);
  max-width: 38ch;
  text-wrap: pretty;
  margin-bottom: 0;
}

.hero__taglines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.hero__tagline {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  font-weight: 500;
  color: var(--primary-light);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: oklch(1 0 0 / 0.72);
  flex-shrink: 0;
}
.hero__tag svg { flex-shrink: 0; }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.875rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--accent);
  color: white;
  align-self: flex-start;
  transition:
    background 0.2s var(--ease-quart),
    transform  0.2s var(--ease-quart),
    box-shadow 0.2s var(--ease-quart);
}
.hero__cta:is(:hover, :focus-visible) {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px oklch(0.50 0.22 22 / 0.32);
  outline: none;
}
.hero__cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}
.hero__cta:active { transform: translateY(0); box-shadow: none; }

/* Right panel */
.hero__image {
  position: relative;
  overflow: hidden;
  background: var(--primary-deep);
}

/* Placeholder — remove once real photo is added */
.hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: oklch(0.95 0.04 25);
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, oklch(0.47 0.22 300 / 0.25) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 22% 75%, oklch(0.50 0.22  22 / 0.18) 0%, transparent 60%);
}
.hero__placeholder svg { width: 2.75rem; height: 2.75rem; }
.hero__placeholder-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Real photo class (add to <img> when you have photography) */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 48svh 1fr;
  }
  .hero__image   { grid-row: 1; }
  .hero__content {
    grid-row: 2;
    padding-block: 2.75rem 3rem;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  }
  .hero__headline { font-size: clamp(2.25rem, 8.5vw, 3.5rem); color: white; }
}

@media (max-width: 479px) {
  .hero { grid-template-rows: 44svh 1fr; }
  .hero__headline { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero__subline  { font-size: 0.9375rem; }
  .hero__cta      { align-self: stretch; justify-content: center; }
}

/* ── Mobile menu (dialog) ─────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-expo);
  overscroll-behavior: contain;
}
.mobile-menu::backdrop { display: none; }
.mobile-menu.is-open   { transform: translateX(0); }

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  flex-shrink: 0;
  background: var(--primary);
  margin-inline: calc(-1 * clamp(1.25rem, 5vw, 2rem));
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

.mobile-menu__brand {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  border-radius: 6px;
  color: white;
  transition: background 0.2s;
}
.mobile-menu__close:is(:hover, :focus-visible) { background: oklch(1 0 0 / 0.14); }

.mobile-menu__links {
  list-style: none;
  margin-top: 1rem;
}
.mobile-menu__links li { border-bottom: 1px solid var(--border); }
.mobile-menu__links li:first-child { border-top: 1px solid var(--border); }

.mobile-menu__links a {
  display: block;
  font-size: clamp(2rem, 7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 0.6rem 0;
  transition: color 0.2s;
}
.mobile-menu__links a:is(:hover, :focus-visible) { color: var(--primary); }

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nav,
  .hero__cta,
  .mobile-menu { transition: none; }
  .hero__cta:is(:hover, :focus-visible) {
    transform: none;
    box-shadow: none;
  }
}

/* ── Footer (shared across all pages) ────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.25rem;
  background: var(--bg);
}

.site-footer__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-footer__name {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.site-footer__tagline {
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__info {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.525rem 1.125rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 2px solid var(--accent);
  color: var(--accent-deep);
  transition: background 0.2s var(--ease-quart), color 0.2s var(--ease-quart);
}

.btn-outline:is(:hover, :focus-visible) {
  background: var(--accent);
  color: white;
  outline: none;
}
.btn-outline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 899px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
