/* ══════════════════════════════════════════════════════════════
   lizzyeast.com — house design system
   Built to the same standard as the custom-site product:
   typography carries the design, photographs are edge to edge,
   one accent word, frosted cards over photos, no invented numbers,
   no carousels, WCAG 2.1 AA.
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #07080f;
  --bg-2:    #0c1019;
  --card:    rgba(14, 20, 32, 0.62);
  --line:    rgba(255,255,255,0.10);
  --ink:     #ffffff;
  --muted:   rgba(255,255,255,0.68);
  --dim:     rgba(255,255,255,0.46);
  --accent:  #06d4f0;
  --accent-ink: #052b31;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --scrim-soft:   linear-gradient(180deg, rgba(7,8,15,0.10) 0%, rgba(7,8,15,0.55) 60%, rgba(7,8,15,0.88) 100%);
  --scrim:        linear-gradient(180deg, rgba(7,8,15,0.25) 0%, rgba(7,8,15,0.70) 55%, rgba(7,8,15,0.92) 100%);
  --scrim-strong: linear-gradient(180deg, rgba(7,8,15,0.45) 0%, rgba(7,8,15,0.80) 50%, rgba(7,8,15,0.95) 100%);
  --radius: 14px;
  --max: 1200px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Type: the identity ── */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.25; }
p  { font-size: 1.08rem; line-height: 1.7; }
.accent { color: var(--accent); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 0.92rem; color: var(--dim); line-height: 1.6; }

/* eyebrow pill */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  padding: 0.5rem 0.95rem; margin-bottom: 1.6rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Layout ── */
.c { max-width: var(--max); margin: 0 auto; }
.c-narrow { max-width: 800px; margin: 0 auto; }
.pad { padding: clamp(3.5rem, 4.5vw, 5rem) 6vw; }
.pad-sm { padding: 4rem 6vw; }
.alt { background: var(--bg-2); }
.head { max-width: 820px; margin: 0 auto 2.2rem; text-align: center; }
.head .lede { margin: 1.2rem auto 0; }
.head.left { margin-left: 0; text-align: left; }
.head.left .lede { margin-left: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── Buttons: one voice ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.7rem; border-radius: 8px; font-family: var(--font);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #e9ecf2; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--ink); border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.link { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(6,212,240,0.35); }
.link:hover { border-bottom-color: var(--accent); }

/* ── Accessibility ── */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 0.7rem 1rem; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Motion: reveal everything below the fold, never the fold ── */
.fu { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fu.on { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.18s; } .d3 { transition-delay: 0.28s; } .d4 { transition-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fu { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── Nav: sticky, shrinks on scroll ── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 0 5vw; transition: background 0.25s ease, padding 0.25s ease; }
#nav.solid { background: rgba(7,8,15,0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.35rem 0; transition: padding 0.25s ease; }
#nav.solid .nav-inner { padding: 0.85rem 0; }
.nav-logo { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.72); text-decoration: none; padding: 0.3rem 0; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { border-bottom: 1.5px solid var(--accent); }
.nav-links .nav-cta { background: var(--ink); color: var(--bg); padding: 0.6rem 1.05rem; border-radius: 7px; font-weight: 600; }
.nav-links .nav-cta:hover { background: #e9ecf2; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
#mmenu { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: none; flex-direction: column; justify-content: center; gap: 1.4rem; padding: 3rem 8vw; }
#mmenu.open { display: flex; }
#mmenu a { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
#mmenu a.btn { font-size: 1rem; margin-top: 1rem; align-self: flex-start; }
#mmenu .mobile-close { position: absolute; top: 1.4rem; right: 6vw; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--ink); font-family: var(--font); font-size: 0.78rem; letter-spacing: 0.12em; padding: 0.55rem 0.9rem; border-radius: 6px; cursor: pointer; }
@media (max-width: 900px) { .nav-links { display: none; } .hamburger { display: block; } }

/* ── Cinematic hero: the photograph must read as a photograph ── */
.hero-bleed { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 9rem 6vw 5rem; overflow: hidden; isolation: isolate; }
.hero-bleed .photo { position: absolute; inset: 0; z-index: -2; }
.hero-bleed .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-bleed::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.hero-bleed::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1; background: linear-gradient(180deg, rgba(7,8,15,0.6), transparent); }
.hero-bleed.soft::after { background: var(--scrim-soft); }
.hero-bleed.strong::after { background: var(--scrim-strong); }
.hero-bleed .c { width: 100%; }
.hero-bleed h1 { max-width: 14ch; }
.hero-bleed .lede { margin-top: 1.6rem; color: rgba(255,255,255,0.82); }
.hero-bleed .btn-row { margin-top: 2.2rem; }
.hero-short { min-height: 72vh; }
.hero-center { align-items: center; text-align: center; }
.hero-center h1 { max-width: 14ch; margin: 0 auto; }
.hero-center .lede { margin-left: auto; margin-right: auto; }
.hero-center .btn-row { justify-content: center; }
.hero-center .pill { margin-left: auto; margin-right: auto; }

/* ── Photo band with frosted cards ── */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band .photo { position: absolute; inset: 0; z-index: -2; }
.band .photo img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
.band.soft::after { background: var(--scrim-soft); }

/* ── Cards ── */
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; }
.glass { background: var(--card); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 2.1rem; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.card h3, .glass h3 { margin: 0.9rem 0 0.7rem; }
.card p, .glass p { color: var(--muted); font-size: 1rem; }
.num { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); }
.card ul, .glass ul { list-style: none; margin-top: 1rem; }
.card li, .glass li { color: var(--muted); font-size: 0.96rem; padding: 0.35rem 0 0.35rem 1.3rem; position: relative; line-height: 1.5; }
.card li::before, .glass li::before { content: ''; position: absolute; left: 0; top: 0.8rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 5px; color: var(--muted); background: rgba(255,255,255,0.07); }

/* numbered grid — the signature flourish */
.numbered { counter-reset: n; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.numbered > div { counter-increment: n; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.4rem 2rem 2.6rem; position: relative; }
.numbered > div::before { content: '0' counter(n); display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 1.4rem; }
.numbered h3 { margin-bottom: 0.7rem; }
.numbered p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .numbered { grid-template-columns: 1fr; } }
.numbered.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .numbered.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .numbered.four { grid-template-columns: 1fr; } }
.numbered > div .letter { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); margin-bottom: 0.8rem; }

/* ghosted word-art behind a section */
.ghost { position: relative; overflow: hidden; }
.ghost::before { content: attr(data-word); position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-size: clamp(10rem, 28vw, 26rem); font-weight: 800; letter-spacing: -0.06em; color: rgba(255,255,255,0.028); pointer-events: none; line-height: 1; z-index: 0; }
.ghost > * { position: relative; z-index: 1; }

/* ── Lists ── */
.shipped { list-style: none; border-top: 1px solid var(--line); }
.shipped li { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.shipped time { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding-top: 0.3rem; }
.shipped b { font-weight: 600; }
.shipped span { color: var(--muted); }
@media (max-width: 600px) { .shipped li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.faq div { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.faq h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.faq p { color: var(--muted); font-size: 1rem; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* ── Forms ── */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.18); color: var(--ink); border-radius: 8px; padding: 0.9rem 1rem; font-family: var(--font); font-size: 1rem; }
.field select option { color: #000; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(6,212,240,0.2); }
.field textarea { min-height: 140px; resize: vertical; }
.form-status { font-size: 0.95rem; padding: 0.85rem 1rem; border-radius: 8px; margin-top: 1rem; }
.form-status.ok  { background: rgba(6,212,240,0.12); color: var(--accent); }
.form-status.err { background: rgba(255,255,255,0.08); color: var(--ink); }

/* ── Prose ── */
.prose { font-size: 1.08rem; color: rgba(255,255,255,0.86); }
.prose p { margin-bottom: 1.4rem; }
.prose h2 { font-size: 1.7rem; margin: 2.6rem 0 1rem; }
.prose h3 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.4rem; color: var(--muted); }
.prose li { margin-bottom: 0.5rem; line-height: 1.6; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 4rem 6vw 2.5rem; background: var(--bg); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.footer-brand small { display: block; font-weight: 400; font-size: 0.95rem; color: var(--muted); margin-top: 0.6rem; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.55rem; }
.footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.97rem; }
.footer a:hover { color: var(--ink); }
.footer-copy { max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── Rich colour field hero (no photograph): depth, never a flat void ── */
.hero-field { background: var(--bg); }
.hero-field::after { background: none; }
.hero-field::before {
  content: ''; position: absolute; inset: 0; z-index: -1; height: auto;
  background:
    radial-gradient(ellipse 70% 55% at 78% 22%, rgba(15,90,111,0.55), transparent 60%),
    radial-gradient(ellipse 50% 40% at 18% 85%, rgba(6,212,240,0.16), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(12,16,25,1), transparent 70%);
}
.hero-field .c { position: relative; }
.hero-field .c::before {
  content: ''; position: absolute; left: -6vw; right: -6vw; top: -20%; bottom: -25%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 60%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 30% 60%, #000, transparent 75%);
}
