/* ==========================================================
   Daric LaCour — portfolio / agency site (dark, warm theme)
   Colors and fonts live in :root, so you can rebrand in one place.
   ========================================================== */
:root {
  --bg: #0a0b14;
  --bg-2: #0f1120;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .14);
  --text: #eceef6;
  --muted: #9aa1b8;
  --accent: #8b7bff;          /* violet: buttons, highlights */
  --accent-2: #f5b45b;        /* warm amber: glows, accents */
  --accent-3: #ff7a8a;        /* soft coral, used in gradients */
  --green: #4ade80;
  --grad: linear-gradient(100deg, #b4a8ff 0%, #f5b45b 55%, #ff9a7a 100%);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 20px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Film-grain overlay across the whole page (adds warmth, kills gradient banding) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(139, 123, 255, .45); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.03em; color: #fff; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

/* Italic serif accent words with a warm gradient */
.serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}

.container { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.why, .contact { overflow-x: clip; }   /* keep the decorative glows from causing sideways scroll */
.section-head { max-width: 700px; margin-bottom: 56px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.lead a { color: var(--accent-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: #cfc8ff; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary {
  color: #120f24;
  background: linear-gradient(180deg, #fff 0%, #e9e5ff 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px -8px rgba(139,123,255,.7), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 16px 40px -8px rgba(245,180,91,.6), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-ghost { color: var(--text); border-color: var(--border-2); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px;
}

/* ---------- Header (floating glass pill) ---------- */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; }
.header-pill {
  width: min(1180px, 100%); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  border: 1px solid transparent; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled .header-pill, .site-header.menu-open .header-pill {
  background: rgba(14, 15, 28, .72); border-color: var(--border); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.6);
}
.logo { font: 800 1.45rem/1 var(--font-head); text-decoration: none; letter-spacing: -.04em; color: #fff; }
.logo span { color: var(--accent-2); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--muted); transition: color .2s; }
.main-nav a:not(.btn):hover { color: #fff; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 80px) 0 110px; overflow: hidden; isolation: isolate; }

/* Aurora: three slow-drifting blurred color blobs */
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: -160px; top: -200px; background: #5b4bdb; animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: -120px; top: 40px; background: #c9772a; opacity: .42; animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 460px; height: 460px; left: 35%; bottom: -260px; background: #b8406a; opacity: .32; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-140px, -60px) scale(1.2); } }

/* Dot grid, faded out toward the edges */
.grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
/* Soft light that follows the cursor (position set in script.js) */
.spotlight {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(245,180,91,.10), transparent 60%);
}

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.availability {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 500; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid var(--border-2); backdrop-filter: blur(8px);
  padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.hero h1 { margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; }
.hero-proof li { display: grid; padding: 0 28px; border-left: 1px solid var(--border-2); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { font: 800 1.45rem/1.2 var(--font-head); color: #fff; }
.hero-proof span { font-size: .9rem; color: var(--muted); }

/* Mock browser illustration */
.hero-visual { position: relative; perspective: 1200px; }
.browser {
  background: linear-gradient(180deg, rgba(30,32,52,.92), rgba(18,19,34,.92));
  border: 1px solid var(--border-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px -20px rgba(139,123,255,.45);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s ease;
}
.hero-visual:hover .browser { transform: none; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); }
.browser-bar i:nth-child(1) { background: #ff6b6b; } .browser-bar i:nth-child(2) { background: #f5b45b; } .browser-bar i:nth-child(3) { background: #4ade80; }
.browser-bar span { margin-left: 12px; font-size: .75rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 4px 12px; border-radius: 6px; flex: 1; }
.browser-body { padding: 20px; display: grid; gap: 18px; }
.mock-nav { display: flex; gap: 10px; align-items: center; }
.mock-nav b { width: 60px; height: 12px; background: #fff; border-radius: 4px; margin-right: auto; }
.mock-nav span { width: 34px; height: 7px; background: rgba(255,255,255,.18); border-radius: 4px; }
.mock-nav em { width: 54px; height: 20px; border-radius: 99px; background: var(--accent-2); }
.mock-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.mock-lines { display: grid; gap: 9px; }
.mock-lines b { height: 14px; background: #fff; border-radius: 4px; }
.mock-lines b:nth-child(2) { width: 70%; }
.mock-lines span { height: 7px; width: 92%; background: rgba(255,255,255,.18); border-radius: 4px; }
.mock-lines span + span { width: 70%; }
.mock-lines em { height: 26px; width: 55%; background: var(--grad); border-radius: 99px; margin-top: 6px; }
.mock-img { aspect-ratio: 4/3; border-radius: 12px; background: radial-gradient(circle at 30% 30%, #ffcf8a, #e0785a 45%, #5b4bdb 100%); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 60px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  background: rgba(22, 23, 40, .78); backdrop-filter: blur(14px); border: 1px solid var(--border-2);
  box-shadow: var(--shadow); padding: 11px 16px 11px 11px; border-radius: 14px; font-size: .88rem; font-weight: 600; color: #fff;
  animation: float 7s ease-in-out infinite;
}
.fc-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(139,123,255,.2); font-size: .85rem; }
.fc-green { background: rgba(74,222,128,.18); color: var(--green); }
.fc-amber { background: rgba(245,180,91,.18); color: var(--accent-2); }
.fc-1 { left: -36px; bottom: 54px; }
.fc-2 { right: -20px; top: -22px; animation-delay: -2.5s; }
.fc-3 { right: 24px; bottom: -24px; animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee {
  display: flex; align-items: center; gap: 32px; overflow: hidden; padding: 26px 0;
  border-block: 1px solid var(--border); background: rgba(255,255,255,.015);
}
.marquee-label { flex: none; margin: 0 0 0 max(16px, calc((100vw - 1180px) / 2)); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee-track {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee ul { display: flex; flex: none; gap: 0; list-style: none; margin: 0; padding: 0; animation: scroll 40s linear infinite; }
.marquee li { padding: 0 28px; font: 600 1.15rem/1 var(--font-head); color: rgba(255,255,255,.75); white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.marquee li::after { content: "✦"; font-size: .7rem; color: var(--accent-2); margin-right: -28px; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-100%); } }

/* ---------- Cards with cursor spotlight border (Linear-style) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--x, 50%) var(--y, 0%), rgba(245,180,91,.7), rgba(139,123,255,.35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 0%), rgba(255,255,255,.06), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: transparent; }
.card p { color: var(--muted); font-size: .97rem; }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(139,123,255,.25), rgba(245,180,91,.15)); border: 1px solid var(--border-2);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .price { margin: auto 0 0; padding-top: 18px; border-top: 1px dashed var(--border-2); font-size: .9rem; color: var(--muted); }
.card .price strong { color: var(--accent-2); }

/* ---------- Sample work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .35s ease, border-color .35s ease; }
.project:hover { transform: translateY(-6px); border-color: var(--border-2); }
.project-shot {
  aspect-ratio: 4/3; padding: 18px; display: grid; grid-template-rows: auto 1fr; grid-template-columns: 1.1fr .9fr; gap: 14px;
  position: relative; overflow: hidden; transition: transform .6s ease;
}
.project:hover .project-shot { transform: scale(1.03); }
.ps-nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 700 .8rem/1 var(--font-head); }
.ps-nav b { margin-right: auto; }
.ps-nav span { width: 22px; height: 5px; border-radius: 3px; background: currentColor; opacity: .3; }
.ps-hero { align-self: center; }
.ps-hero h4 { font-size: clamp(1rem, 1.6vw, 1.3rem); margin-bottom: 12px; color: inherit; }
.ps-hero em { display: inline-block; font: 600 .7rem/1 var(--font-body); font-style: normal; padding: 7px 12px; border-radius: 99px; }
.ps-img { border-radius: 12px; align-self: stretch; }
.shot-bakery { background: #f6ede1; color: #3b2417; }
.shot-bakery h4 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: 0; }
.shot-bakery em { background: #3b2417; color: #f6ede1; }
.shot-bakery .ps-img { background: radial-gradient(circle at 40% 40%, #f2c27b, #c4793a 55%, #7a4220); }
.shot-barber { background: #111; color: #f2f2f2; }
.shot-barber h4 { text-transform: uppercase; letter-spacing: -.02em; }
.shot-barber em { background: #e63946; color: #fff; }
.shot-barber .ps-img { background: repeating-linear-gradient(135deg, #e63946 0 14px, #f2f2f2 14px 28px, #1d4ed8 28px 42px, #f2f2f2 42px 56px); opacity: .9; }
.shot-landscape { background: #e8f0e3; color: #1d3a24; }
.shot-landscape em { background: #2f6b3a; color: #fff; }
.shot-landscape .ps-img { background: linear-gradient(180deg, #a8d5ff 0 40%, #6fbf73 40% 70%, #3e8a46 70%); }
.project-info { padding: 20px 22px 24px; border-top: 1px solid var(--border); }
.project-info h3 { margin: 10px 0 4px; }
.project-info p { margin: 0; color: var(--muted); font-size: .94rem; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: rgba(245,180,91,.1); border: 1px solid rgba(245,180,91,.25); padding: 4px 10px; border-radius: 99px; }

/* ---------- Why me (bento) ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: -1; }
.glow-why { width: 600px; height: 600px; right: -200px; top: 10%; background: rgba(139,123,255,.18); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; overflow: hidden;
}
.tile p { color: var(--muted); }
.tile h3 { font-size: 1.4rem; }
.tile-big { grid-row: span 2; background: radial-gradient(120% 80% at 0% 0%, rgba(139,123,255,.18), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.tile-wide { grid-column: span 2; }
.why-num { font: 700 .8rem/1 var(--font-head); color: var(--accent-2); display: block; margin-bottom: 18px; letter-spacing: .1em; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); font-weight: 500; font-size: .96rem; }
.checklist li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(74,222,128,.15); color: var(--green); font-size: .72rem; font-weight: 700; }
.quote-chip { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--border); }
.quote-chip span { font-size: .85rem; color: var(--muted); margin-right: auto; }
.quote-chip strong { font: 800 1.6rem/1 var(--font-head); color: #fff; }
.quote-chip em { font-style: normal; font-size: .8rem; color: var(--green); }
.timeline { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.timeline i { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); }
.timeline i.on { background: var(--grad); }
.timeline span { margin-left: 10px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.tile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.chat { display: grid; gap: 10px; }
.bubble { margin: 0; max-width: 90%; padding: 12px 16px; border-radius: 16px; font-size: .94rem; }
.bubble.them { background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; color: var(--text); }
.bubble.me { justify-self: end; background: linear-gradient(135deg, #7a68ff, #5b4bdb); color: #fff; border-bottom-right-radius: 4px; }

.process { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; position: relative; }
.process li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.process li > span {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #1a1205; font: 800 .95rem/1 var(--font-head);
}
.process h4 { font-size: 1.05rem; margin-bottom: 4px; }
.process p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- About / photo ---------- */
.about { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-copy .btn { margin-top: 14px; }
.photo-frame { position: relative; margin: 0; }
.photo-frame::before {
  content: ""; position: absolute; inset: -2px; border-radius: 30px; z-index: 0;
  background: var(--grad); opacity: .7; filter: blur(30px);
}
.headshot {
  position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--border-2);
}
.photo-badge {
  position: absolute; z-index: 2; left: -24px; bottom: 36px;
  background: rgba(20, 21, 38, .8); backdrop-filter: blur(14px); border: 1px solid var(--border-2);
  box-shadow: var(--shadow); border-radius: 16px; padding: 14px 18px;
  display: grid; font-size: .85rem; color: var(--muted);
}
.photo-badge strong { color: #fff; font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.025); transition: background .25s, border-color .25s; }
.faq details[open] { background: rgba(255,255,255,.05); border-color: var(--border-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 600 1.05rem/1.4 var(--font-head); color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: var(--accent-2); font-size: 1.2rem; font-weight: 400; transition: rotate .3s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.glow-contact { width: 700px; height: 700px; left: -250px; bottom: -200px; background: rgba(245,180,91,.14); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 1.1rem; }
.contact-points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-points li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(74,222,128,.15); color: var(--green); font-size: .8rem; font-weight: 700; }
.contact-direct { font-size: .98rem; color: var(--muted); }
.contact-direct a { color: #fff; font-weight: 600; }

.contact-form {
  position: relative; display: grid; gap: 18px; border-radius: 24px; padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(180deg, rgba(30,31,52,.85), rgba(18,19,34,.85)); backdrop-filter: blur(14px);
  border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 100px -30px rgba(139,123,255,.5);
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: #d9dbe8; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: #fff; width: 100%;
  background: rgba(0,0,0,.25); border: 1px solid var(--border-2); border-radius: 12px; padding: 14px 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7189; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,.35); box-shadow: 0 0 0 4px rgba(139,123,255,.18); }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.honeypot { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.contact-form button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-message a { color: inherit; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.form-message { margin: 0; text-align: center; font-weight: 600; }
.form-message:empty { display: none; }
.form-message.ok { color: var(--green); }
.form-message.err { color: #f87171; }

/* ---------- Footer with closing CTA ---------- */
.site-footer { position: relative; overflow: hidden; padding: 40px 0 40px; border-top: 1px solid var(--border); }
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: -260px; translate: -50% 0; width: 900px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139,123,255,.28), rgba(245,180,91,.12) 55%, transparent); pointer-events: none;
}
.footer-cta { position: relative; text-align: center; padding: 80px 0 90px; }
.footer-cta h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 860px; margin: 0 auto 36px; }
.footer-inner { position: relative; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner nav a { text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }
.footer-inner p { margin: 0; }

/* Sticky mobile CTA (hidden on desktop) */
.mobile-cta { display: none; }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease; }
.reveal.visible { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .float-card, .dot, .aurora i, .marquee ul { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 580px; margin: 32px auto 0; width: 100%; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-big { grid-row: auto; grid-column: span 2; }
  .checklist { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .site-header { inset: 10px 0 auto; padding: 0 10px; }
  .header-pill { padding: 8px 8px 8px 20px; }
  .menu-toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.06); border: 1px solid var(--border); cursor: pointer;
  }
  .menu-toggle span { width: 20px; height: 2px; background: #fff; transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 4px); left: 10px; right: 10px; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(14,15,28,.95); backdrop-filter: blur(16px); padding: 14px; border-radius: 22px; border: 1px solid var(--border-2); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 12px 10px; font-size: 1.05rem; color: var(--text); }
  .nav-cta { margin-top: 8px; padding: 15px; }

  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; }
  .browser { transform: none; }
  .float-card { font-size: .78rem; padding: 9px 12px 9px 9px; }
  .fc-1 { left: -6px; bottom: 30px; }
  .fc-2 { right: -6px; }
  .fc-3 { display: none; }
  .aurora i { filter: blur(70px); }

  .work-grid, .bento, .tile-split, .process, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .tile-big, .tile-wide { grid-column: auto; }
  .about-grid { gap: 56px; }
  .photo-frame { max-width: 420px; width: calc(100% - 20px); margin-inline: auto; }
  .photo-badge { left: -10px; }
  .faq-grid { gap: 8px; }

  .mobile-cta {
    display: block; position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px;
    background: linear-gradient(180deg, #fff, #e9e5ff); color: #120f24; text-align: center; text-decoration: none; font-weight: 700;
    padding: 16px; border-radius: 999px; box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 0 30px -6px rgba(139,123,255,.6);
    transform: translateY(160%); transition: transform .35s ease;
  }
  .mobile-cta.show { transform: none; }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 560px) {
  .card-grid, .checklist { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-proof li { padding: 0 18px; }
  .marquee-label { display: none; }
  .mock-cards div { height: 40px; }
}
