:root {
  --white: #f7f4ef;
  --soft-white: rgba(247, 244, 239, 0.84);
  --muted: rgba(247, 244, 239, 0.64);
  --charcoal: #0f0f10;
  --charcoal-2: #171615;
  --line: rgba(247, 244, 239, 0.18);
  --glass: rgba(15, 15, 16, 0.34);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--charcoal);
  padding: .7rem 1rem;
  border-radius: 999px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 1.1rem;
}
.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.15rem, 3vw, 2.9rem);
  padding: .75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.nav.is-scrolled {
  background: var(--glass);
  border-color: var(--line);
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(247, 244, 239, .82);
  transition: color .25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: .18em;
  bottom: -.38rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--white);
  transition: transform .25s ease;
}
.nav a:hover,
.nav a.is-active { color: var(--white); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -2%;
  background-image: url("images/malibu-background.png");
  background-size: cover;
  background-position: center;
  filter: blur(1px) saturate(.92) brightness(1.04);
  transform: scale(1.025);
  z-index: -3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 12%, rgba(255, 220, 170, .10), transparent 26%),
    linear-gradient(to bottom, rgba(15,15,16,.20), rgba(15,15,16,.54) 56%, rgba(15,15,16,.86)),
    linear-gradient(to right, rgba(15,15,16,.32), rgba(15,15,16,.08) 45%, rgba(15,15,16,.28));
}
.hero-content {
  width: min(92vw, 980px);
  text-align: center;
  padding: 9rem 1.25rem 5rem;
}
.eyebrow {
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: .72rem;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8.2vw, 6.2rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 24px 80px rgba(0,0,0,.40);
}
.subtitle {
  margin: 1.3rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: .04em;
  color: var(--soft-white);
  font-weight: 300;
}
.socials {
  margin-top: 2.15rem;
  display: flex;
  justify-content: center;
  gap: 1.05rem;
}
.socials a {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(247,244,239,.24);
  border-radius: 999px;
  background: rgba(247,244,239,.06);
  text-decoration: none;
  transition: transform .28s var(--ease), background .28s ease, border-color .28s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  background: rgba(247,244,239,.14);
  border-color: rgba(247,244,239,.42);
}
.socials svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 1.7rem;
  color: rgba(247,244,239,.72);
  animation: floatCue 2.4s ease-in-out infinite;
}
@keyframes floatCue {
  0%, 100% { transform: translate(-50%, 0); opacity: .42; }
  50% { transform: translate(-50%, .55rem); opacity: .95; }
}

.reveal { opacity: 0; transform: translateY(16px); animation: reveal .95s var(--ease) forwards; }
.delay-1 { animation-delay: .20s; }
.delay-2 { animation-delay: .42s; }
.delay-3 { animation-delay: .62s; }
.delay-4 { animation-delay: .84s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

.section {
  padding: clamp(5rem, 10vw, 9rem) 1.35rem;
  background: #f3eee7;
  color: #171615;
}
.section-dark {
  background: var(--charcoal-2);
  color: var(--white);
}
.section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.section-inner.narrow { max-width: 720px; }
.section-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .76rem;
  font-weight: 600;
  color: currentColor;
  opacity: .56;
}
.section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 500;
}
.feature-card {
  display: grid;
  gap: .7rem;
  text-decoration: none;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border: 1px solid rgba(247,244,239,.18);
  border-radius: 1.35rem;
  background: rgba(247,244,239,.045);
  transition: transform .28s var(--ease), background .28s ease, border-color .28s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  background: rgba(247,244,239,.08);
  border-color: rgba(247,244,239,.34);
}
.feature-card span {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  opacity: .62;
  font-weight: 600;
}
.feature-card strong {
  font-size: clamp(1.65rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}
.feature-card em {
  font-style: normal;
  color: rgba(247,244,239,.76);
}
.contact-form {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.contact-form label { display: grid; gap: .45rem; }
.contact-form span {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .66;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23,22,21,.22);
  border-radius: .9rem;
  padding: 1rem 1.05rem;
  background: rgba(255,255,255,.40);
  color: #171615;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(23,22,21,.56);
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 0 4px rgba(23,22,21,.08);
}
.contact-form button {
  justify-self: start;
  margin-top: .35rem;
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.35rem;
  background: #171615;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform .24s var(--ease), opacity .24s ease;
}
.contact-form button:hover { transform: translateY(-2px); opacity: .88; }
.privacy-note { margin-top: 1rem; opacity: .56; font-size: .9rem; }
.footer {
  padding: 2.2rem 1rem;
  text-align: center;
  color: rgba(247,244,239,.52);
  background: var(--charcoal);
  font-size: .86rem;
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .site-header { padding: .8rem .5rem; }
  .nav { gap: .8rem; padding: .68rem .9rem; }
  .nav a { font-size: .64rem; letter-spacing: .12em; }
  .hero-content { padding-top: 7.5rem; }
  .eyebrow { letter-spacing: .26em; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .subtitle { font-size: 1.05rem; }
  .socials a { width: 2.75rem; height: 2.75rem; }
  .section { padding: 4.8rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
