@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --ink: #1c2430;
  --ink-soft: #4a5564;
  --line: #d9e0e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #1f6f78;
  --teal-dark: #15555c;
  --sky: #e8f2f3;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --max: 1080px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo span {
  color: var(--teal);
  font-weight: 500;
}

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a.is-active {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 36, 0.25) 0%, rgba(15, 28, 36, 0.72) 100%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  max-width: 22ch;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.hero__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s var(--ease) 0.2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s var(--ease) 0.3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 0.45rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: var(--white);
  color: var(--teal);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--teal);
}

/* Sections */
.block {
  padding: 4.5rem 0;
}

.block--alt {
  background: var(--white);
}

.block--sky {
  background: var(--sky);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.heading--wide {
  max-width: 28ch;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 40rem;
  margin-bottom: 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split--flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-frame {
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.1);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Lists */
.stack {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.stack-item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.stack-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.stack-item p {
  color: var(--ink-soft);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-3 h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.grid-3 p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.35rem 1.4rem;
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.panel p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Closing */
.cta-band {
  text-align: center;
  padding: 4.5rem 0;
}

.cta-band .heading {
  margin-inline: auto;
  max-width: 22ch;
}

.cta-band .lede {
  margin-inline: auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer strong {
  font-family: var(--font-display);
  font-weight: 600;
}

.site-footer p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Age notice */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(28, 36, 48, 0.45);
  backdrop-filter: blur(4px);
}

.age-overlay[hidden] {
  display: none;
}

.age-box {
  width: min(100%, 420px);
  background: var(--white);
  border-radius: 0.85rem;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(28, 36, 48, 0.18);
  animation: pop 0.45s var(--ease) both;
}

.age-box .eyebrow {
  margin-bottom: 0.5rem;
}

.age-box h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.65rem;
}

.age-box p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
}

.age-box .btn {
  width: 100%;
  margin-bottom: 0.55rem;
}

.age-box .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
}

.age-box .btn-secondary:hover {
  background: var(--paper);
}

.age-denied {
  display: none;
  color: #9b3b3b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.age-denied.is-visible {
  display: block;
}

body.age-locked {
  overflow: hidden;
}

body.age-locked .page-shell {
  filter: blur(3px);
  pointer-events: none;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .split,
  .split--flip {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stack-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

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

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 78vh;
  }
}
