/* ============================================
   LIZ HUNTER DESIGN — modern, clean, premium
   Instrument Serif + Inter · generous whitespace
   ============================================ */

:root {
  --bg: #f2f6f3;
  --bg-soft: #e7f1ec;
  --bg-dark: #1d3c38;
  --ink: #1b2a26;
  --ink-mid: #5a6b66;
  --ink-faint: #92a39d;
  --line: rgba(27, 42, 38, 0.12);
  --accent: #2c9079;          /* teal-green */
  --accent-soft: #6cc0ab;
  --max: 1280px;
  --gutter: clamp(22px, 5vw, 72px);
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;  /* accent italic words only */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(140, 205, 185, 0.16), transparent 60%),
    linear-gradient(180deg, #fbfcfb 0%, #f7faf8 60%, #f9fbfa 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.nav__brand {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.nav__brand .mark { font-family: var(--serif); font-style: italic; color: var(--ink-mid); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.01em;
}
.nav__links a:not(.nav__cta) {
  color: var(--ink-mid);
  transition: color .2s ease;
}
.nav__links a:not(.nav__cta):hover,
.nav__links a.is-current { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: var(--bg);
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 450;
  transition: background .2s ease;
}
.nav__cta:hover { background: var(--accent); }
@media (max-width: 760px) {
  .nav__links { gap: 18px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap .2s ease, color .2s ease, border-color .2s ease;
}
.link:hover { gap: 12px; color: var(--accent); border-color: var(--accent); }

/* ---------- HERO (hybrid — kinetic headline + work showcase) ---------- */
.hero {
  position: relative;
  padding: clamp(54px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
  /* hero-bg.jpg (clouds, no person) drops in on top when added; dreamy gradient until then */
  background-image:
    url('hero-bg.jpg'),
    radial-gradient(ellipse 70% 55% at 50% 2%, rgba(120, 200, 180, 0.5), transparent 62%),
    radial-gradient(ellipse 75% 45% at 50% 102%, rgba(245, 210, 215, 0.55), transparent 66%),
    linear-gradient(165deg, #bfe3d6 0%, #e8eee9 44%, var(--bg) 100%);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.hero > .hero__inner { position: relative; }
/* soft light halo behind the centered text so it stays readable over any image */
.hero__top { position: relative; }
.hero__top::before {
  content: '';
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(250, 248, 244, 0.72), transparent 72%);
  z-index: -1;
}
.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero__top {
  max-width: 860px;
  margin: 0 auto clamp(48px, 6vw, 84px);
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2c4a44; margin-bottom: 26px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__kinetic {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  color: #1b2a26;
}
.hero__kinetic-lead { display: block; white-space: nowrap; }
.hero__kinetic .rotator {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  display: block;
}
.hero__kinetic .rotator span { display: inline-block; transition: opacity .4s ease, transform .4s ease; }
.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: #46554f;
  max-width: 46ch;
  margin: 0 auto 20px;
}
.hero__proof {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #3a4f49;
  margin: 0 auto 32px;
  max-width: 52ch;
}
.hero__proof-mark { display: none; }
@media (max-width: 520px) {
  .hero__kinetic-lead { white-space: normal; }
}
.hero__actions { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* Work-showcase browser mockups */
.hero__showcase {
  position: relative;
  height: clamp(300px, 38vw, 500px);
  margin-top: 8px;
}
.browser {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(40, 30, 50, 0.4);
  border: 1px solid var(--line);
  background: #fff;
}
.browser__bar { height: 28px; background: #ece9e3; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser__bar span { width: 8px; height: 8px; border-radius: 50%; background: #cfcabf; }
.browser img { display: block; width: 100%; }
.browser--main  { width: 54%; left: 50%; transform: translateX(-50%); top: 36px; z-index: 3; }
.browser--back1 { width: 40%; left: 2%;  top: 0;     z-index: 2; }
.browser--back2 { width: 40%; right: 2%; bottom: 0;  z-index: 1; }
@media (max-width: 760px) {
  .hero__showcase { height: auto; display: grid; gap: 16px; }
  .browser { position: static; width: 100% !important; transform: none; }
}

/* The composited figure + orbit rings */
.hero__scene {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(420px, 60vh, 720px);
}
/* Soft aura glow behind the figure (replaces orbit rings) */
.hero__glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__glow span {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 248, 0.85) 0%, rgba(255, 248, 244, 0.35) 45%, transparent 70%);
  filter: blur(8px);
}
.hero__figure {
  position: relative;
  z-index: 2;
  height: clamp(380px, 56vh, 680px);
  filter: drop-shadow(0 30px 50px rgba(80, 60, 70, 0.25));
}
.hero__figure img { height: 100%; width: auto; object-fit: contain; }
@media (max-width: 900px) {
  .hero__scene { min-height: 380px; }
  .hero__figure { height: 360px; }
}

/* ---------- SECTION SCAFFOLD ---------- */
.section {
  padding: clamp(70px, 9vw, 130px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
/* default sections are transparent so the dreamy body wash shows through */
.section { background: transparent; }
/* soft sections: near-white with just a faint cool tint to break up the page */
.section--soft {
  background:
    radial-gradient(ellipse 60% 70% at 12% 0%, rgba(140, 205, 185, 0.18), transparent 62%),
    radial-gradient(ellipse 55% 60% at 90% 100%, rgba(120, 195, 215, 0.12), transparent 64%),
    linear-gradient(170deg, #eef4f1 0%, #f6faf8 100%);
  border-top-color: transparent;
}
/* dark CTA becomes a dreamy teal twilight, not flat black */
.section--dark {
  color: var(--bg);
  border-top-color: transparent;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(70, 165, 145, 0.5), transparent 65%),
    radial-gradient(ellipse 60% 55% at 82% 100%, rgba(60, 120, 130, 0.4), transparent 60%),
    linear-gradient(165deg, #214540 0%, #1d3b37 55%, #173029 100%);
}
.section--dark .eyebrow { color: var(--ink-faint); }
.section--dark a { color: var(--bg); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .num {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex: none;
  font-size: 0;
  line-height: 0;
}
.section--dark .eyebrow {
  color: var(--accent-soft);
}
.section--dark .eyebrow .num { background: var(--accent-soft); }
.section__head {
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 900px;
}
/* Home page echoes the centered hero with centered section headers */
.home .section__head {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.section__title em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.section--dark .section__title em { color: var(--accent-soft); }

/* ---------- SCROLL-REVEAL STATEMENT (words light up on scroll) ---------- */
.scroll-section { padding: clamp(90px, 14vw, 200px) 0; }
.scroll-reveal-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 64px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin: 0;
}
.scroll-reveal-text .word {
  color: var(--ink-faint);
  opacity: 0.28;
  transition: opacity .25s ease, color .25s ease;
}
.scroll-reveal-text .word.lit { color: var(--ink); opacity: 1; }
.scroll-reveal-text .word em { font-style: italic; }

/* ---------- WORK ---------- */
.work {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
}
.work-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.work-item:nth-child(even) .work-item__media { order: 2; }
@media (max-width: 860px) {
  .work-item { grid-template-columns: 1fr; gap: 24px; }
  .work-item:nth-child(even) .work-item__media { order: 0; }
}
.work-item__media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(150deg, #bfe3d6, #e7f1ec);
  box-shadow: 0 30px 60px -34px rgba(80, 60, 110, 0.35);
  border: 1px solid rgba(255,255,255,0.5);
}
.work-item__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Floating label pills over the bubble */
.work-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.25);
}
.work-label .tick { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.work-label--tl { top: 22px; left: 22px; }
.work-label--br { bottom: 22px; right: 22px; }
.work-label--bl { bottom: 22px; left: 22px; }
.work-item__meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
}
.work-item__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.work-item__title em { font-family: var(--serif); font-style: italic; color: var(--ink-mid); }
.work-item__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0 0 24px;
  max-width: 48ch;
}

/* ---------- SERVICES ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  padding: 34px 28px 32px;
  /* frosted glass soap-bubble */
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.72), transparent 52%),
    linear-gradient(125deg,
      rgba(150, 196, 230, 0.26) 0%,
      rgba(168, 216, 222, 0.24) 34%,
      rgba(184, 224, 208, 0.24) 66%,
      rgba(206, 220, 224, 0.26) 100%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.46) 0%, rgba(236, 244, 244, 0.24) 100%);
  backdrop-filter: blur(11px) saturate(1.3);
  -webkit-backdrop-filter: blur(11px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  box-shadow:
    0 2px 6px rgba(40, 55, 80, 0.06),
    0 14px 28px -12px rgba(40, 55, 80, 0.22),
    0 34px 60px -28px rgba(40, 55, 80, 0.30),
    inset 0 1px 3px rgba(255, 255, 255, 0.9),
    inset 0 -14px 36px -14px rgba(178, 210, 208, 0.32);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* specular sheen highlight (the bright catch-light on a bubble) */
.tier::before {
  content: '';
  position: absolute;
  top: -28%; left: -18%;
  width: 75%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6), transparent 62%);
  transform: rotate(-16deg);
  pointer-events: none;
}
/* faint iridescent rim */
.tier::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(130, 178, 215, 0.6) 0%,
    rgba(120, 196, 196, 0.5) 38%,
    rgba(150, 210, 185, 0.5) 70%,
    rgba(190, 206, 212, 0.6) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.tier > * { position: relative; z-index: 1; }
.tier:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 10px rgba(40, 55, 80, 0.08),
    0 20px 38px -14px rgba(40, 55, 80, 0.26),
    0 44px 76px -30px rgba(40, 55, 80, 0.36),
    inset 0 1px 3px rgba(255, 255, 255, 0.95),
    inset 0 -14px 36px -14px rgba(178, 210, 208, 0.4);
}
.tier__name {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.01em;
}
.tier__price {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.tier__timeline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.tier__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin-top: 4px;
}

/* ---------- TESTIMONIAL ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (max-width: 600px) { .quote-grid { grid-template-columns: 1fr; gap: 20px; } }
.quote-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(40, 55, 80, 0.28);
}
.quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  flex: 1;
}
.quote em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.quote__attr { font-size: 14px; color: var(--ink-mid); margin-top: auto; }
.quote__attr strong { color: var(--ink); font-weight: 600; }
.quote-stack { display: grid; gap: 40px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}
.cta .eyebrow { justify-content: center; }
.cta__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 auto 24px;
  max-width: 16ch;
}
.cta__title em { font-family: var(--serif); font-style: italic; color: var(--ink-faint); }
.cta__sub {
  font-size: 17px;
  color: var(--ink-mid);
  max-width: 50ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.section--dark .cta__sub { color: var(--ink-faint); }
.section--dark .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.section--dark .btn:hover { background: transparent; color: var(--bg); border-color: var(--bg); }

/* ---------- FOOTER ---------- */
.footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.01em;
}
.footer__brand .mark { font-family: var(--serif); font-style: italic; color: var(--ink-mid); }
.footer__nav { display: flex; gap: 26px; font-size: 14px; }
.footer__nav a { color: var(--ink-mid); transition: color .2s; }
.footer__nav a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer__bottom a { color: var(--ink-mid); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: clamp(70px, 9vw, 150px) 0 clamp(50px, 6vw, 90px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(140, 205, 185, 0.22), transparent 62%),
    linear-gradient(170deg, #eef5f1 0%, #f7faf8 60%, #fbfcfb 100%);
}
.page-hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.page-hero__title em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.page-hero__sub {
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--ink-mid);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}
