/* ReflexWebs — dark editorial theme */
:root {
  --bg: #0b0a09;
  --bg-2: #12100f;
  --surface: rgba(var(--ink), 0.035);
  --surface-2: rgba(var(--ink), 0.06);
  --line: rgba(var(--ink), 0.08);
  --line-2: rgba(var(--ink), 0.14);
  --text: #f6f3f1;
  --muted: #aaa29d;
  --dim: #77706b;
  --ink: 255, 255, 255;               /* base colour for translucent lines and surfaces */
  --text-soft: #d9d3cf;
  --icon: #ffb59f;
  --glass: rgba(18, 16, 15, .66);
  --glass-strong: rgba(22, 19, 18, .94);
  --coral: #ff6d4d;   /* brand colour, from the RW mark */
  --peach: #ffa68a;
  --ember: #e8472a;
  --grad: linear-gradient(110deg, #ff6d4d 0%, #ff8f6b 55%, #ffc2ad 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Light theme: chosen with the toggle in the nav, remembered per browser */
:root[data-theme="light"] {
  --bg: #fbf8f5;
  --bg-2: #f3ede8;
  --ink: 40, 26, 20;
  --surface: rgba(var(--ink), .035);
  --surface-2: rgba(var(--ink), .06);
  --line: rgba(var(--ink), .1);
  --line-2: rgba(var(--ink), .17);
  --text: #1c1512;
  --text-soft: #3f3530;
  --muted: #62574f;
  --dim: #8d8079;
  --icon: #e2502f;
  --peach: #d9472a;
  --glass: rgba(251, 248, 245, .78);
  --glass-strong: rgba(255, 252, 249, .96);
  --grad: linear-gradient(110deg, #f0532f 0%, #ff7a52 55%, #e8743f 100%);
}
:root[data-theme="light"] body::after { opacity: .025; }
:root[data-theme="light"] .aurora i { mix-blend-mode: multiply; opacity: .16; }
:root[data-theme="light"] .page-hero .aurora i { opacity: .12; }
:root[data-theme="light"] .card { background: rgba(255, 255, 255, .7); box-shadow: 0 1px 2px rgba(40, 26, 20, .04); }
:root[data-theme="light"] .plan.featured { background: linear-gradient(180deg, rgba(255, 109, 77, .1), rgba(255, 255, 255, .8) 45%); }
:root[data-theme="light"] .consent, :root[data-theme="light"] .nav-links { box-shadow: 0 20px 60px -20px rgba(40, 26, 20, .25); }
:root[data-theme="light"] .alert-ok { color: #166534; }
:root[data-theme="light"] .alert-err { color: #991b1b; }
:root[data-theme="light"] .count.pass, :root[data-theme="light"] .audit-item.pass .audit-status { color: #15803d; }
:root[data-theme="light"] .count.warn, :root[data-theme="light"] .audit-item.warn .audit-status { color: #b45309; }
:root[data-theme="light"] .count.fail, :root[data-theme="light"] .audit-item.fail .audit-status { color: #b91c1c; }
:root[data-theme="light"] .cta::before { background: radial-gradient(80% 120% at 50% 120%, rgba(255, 109, 77, .28), transparent 60%), radial-gradient(50% 80% at 90% 0%, rgba(255, 170, 120, .2), transparent 60%), var(--bg-2); }
:root[data-theme="light"] .hero-icon svg { color: var(--coral); }
.logo .logo-on-light { display: none; }
:root[data-theme="light"] .logo .logo-on-dark { display: none; }
:root[data-theme="light"] .logo .logo-on-light { display: block; }

/* Theme toggle button */
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: background .25s, transform .4s var(--ease);
}
.theme-toggle:hover { background: var(--surface-2); transform: rotate(-15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }

/* film grain */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.8vw, 4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--grad); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s;
  font-family: inherit; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(255, 143, 107, .7); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(var(--ink), .02); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(var(--ink), .35); background: var(--surface-2); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: .88rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none;
}
.nav-inner {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px; padding: 0 10px 0 22px; border-radius: 999px;
  border: 1px solid transparent; transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled .nav-inner { background: var(--glass); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 36px; width: auto; }
.footer .logo img { height: 52px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 16px; border-radius: 999px; font-size: .92rem; color: var(--muted); font-weight: 500;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-mobile-only { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .35s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: #d9452a; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -6vw; top: 10vh; background: #7c2d12; animation-duration: 26s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 35vw; bottom: -14vw; background: #ff9a76; opacity: .28; animation-duration: 30s; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.15); } }
.grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(var(--ink), .03); backdrop-filter: blur(10px);
  font-size: .85rem; color: var(--muted); margin-bottom: 28px;
}
.hero-badge svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hero-badge:hover { border-color: rgba(255, 109, 77, .5); color: var(--text); }
.hero-badge:hover svg { transform: translateX(3px); }
.hero-badge b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #0b0a09; font-size: .75rem; font-weight: 700; }
.hero h1 { max-width: 15ch; }
.hero h1 .serif { font-size: 1.08em; }
.hero-lede { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); margin: 30px 0 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 90px; border-top: 1px solid var(--line); }
.hero-stats div { padding: 26px 22px 0 0; }
.hero-stats strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; }
.hero-stats span { font-size: .88rem; color: var(--dim); }

.orbit {
  position: absolute; right: max(-120px, calc((100vw - var(--max)) / 2 - 140px)); top: 50%; translate: 0 -50%;
  width: min(620px, 52vw); aspect-ratio: 1; z-index: -1; opacity: .9;
}
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); animation: spin 60s linear infinite; }
.orbit .ring:nth-child(2) { inset: 14%; animation-duration: 40s; animation-direction: reverse; border-style: dashed; border-color: rgba(var(--ink), .07); }
.orbit .ring:nth-child(3) { inset: 30%; animation-duration: 28s; }
.orbit .ring::before {
  content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--peach); box-shadow: 0 0 20px var(--peach);
}
.orbit .ring:nth-child(2)::before { background: var(--ember); box-shadow: 0 0 20px var(--ember); top: 50%; left: -5px; }
.orbit .ring:nth-child(3)::before { background: #ff8f6b; box-shadow: 0 0 20px #ff8f6b; }
.orbit .core {
  position: absolute; inset: 41%; border-radius: 50%; background: var(--grad);
  filter: blur(2px); box-shadow: 0 0 120px 30px rgba(255, 109, 77, .35); animation: pulse 6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.12); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; color: var(--muted); white-space: nowrap;
}
.marquee-track span:nth-child(even) { font-family: var(--serif); font-style: italic; color: var(--text); }
.marquee-track span::after { content: '✦'; font-size: .6em; color: var(--coral); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(90px, 12vw, 160px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head h2 { max-width: 16ch; margin-top: 18px; }
.section-head p { max-width: 420px; color: var(--muted); margin: 0; }

/* intro statement */
.statement { font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.2; letter-spacing: -0.035em; font-weight: 500; max-width: 24ch; }
.statement .w { opacity: .18; transition: opacity .5s; }
.statement .w.on { opacity: 1; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }

/* ---------- Cards / services ---------- */
.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease);
}
.card::before { /* cursor spotlight */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 109, 77, .16), transparent 45%);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc { grid-column: span 2; padding: 30px; display: flex; flex-direction: column; min-height: 280px; }
.svc:nth-child(1), .svc:nth-child(2) { grid-column: span 3; min-height: 320px; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto;
  background: linear-gradient(145deg, rgba(255, 109, 77, .22), rgba(255, 170, 120, .1)); border: 1px solid var(--line-2);
}
.svc-icon svg { width: 24px; height: 24px; color: var(--icon); }
.svc h3 { margin: 40px 0 10px; }
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc .go {
  position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: background .35s, transform .5s var(--ease), color .35s;
}
.svc .go svg { width: 16px; height: 16px; }
.svc:hover .go { background: var(--text); color: var(--bg); transform: rotate(45deg); }

/* ---------- Service detail ---------- */
.hero-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-top: 26px;
  background: linear-gradient(145deg, rgba(255, 109, 77, .28), rgba(255, 170, 120, .08)); border: 1px solid rgba(255, 109, 77, .35);
  box-shadow: 0 18px 50px -18px rgba(255, 109, 77, .7);
}
.hero-icon svg { width: 30px; height: 30px; color: var(--icon); }
.svc-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.svc-lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--text); letter-spacing: -0.02em; }
.svc-outcomes { padding: 30px; }
.svc-outcomes h3 { margin-bottom: 20px; }
.svc-outcomes .checklist li { background: none; border: 0; padding: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 30px; }
.feature .svc-icon { margin-bottom: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
.tools { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding: 30px 0; border-block: 1px solid var(--line); }
.tools-list { display: flex; flex-wrap: wrap; gap: 10px; }

/* Tool logo chip: brand logo on a soft tint of its brand colour */
.tool {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 7px 16px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: .9rem; font-weight: 500; color: var(--text); white-space: nowrap; transition: border-color .3s, transform .4s var(--ease);
}
.tool:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tool-logo {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--c, #888) 26%, var(--bg-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #888) 50%, transparent);
}
.tool-logo svg { width: 19px; height: 19px; filter: saturate(1.15) brightness(1.15); }
.tool-logo.mono { font-size: .8rem; font-weight: 700; letter-spacing: -0.02em; box-shadow: none; }

/* Homepage / services: two rows of logos drifting in opposite directions */
.logo-marquee {
  display: grid; gap: 14px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; width: max-content; animation: scroll 55s linear infinite; }
.logo-track.reverse { animation-direction: reverse; animation-duration: 65s; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; gap: 12px; padding-right: 12px; }
.logo-set .tool { padding: 10px 20px 10px 10px; font-size: .95rem; }
.logo-set .tool-logo { width: 40px; height: 40px; }
.logo-set .tool-logo svg { width: 21px; height: 21px; }
.bento.related .svc { grid-column: span 2; min-height: 260px; }

/* ---------- Projects ---------- */
.projects { display: grid; gap: 22px; }
.project-card { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 440px; }
.project-card:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
.project-card:nth-child(even) .project-info { order: 2; }
.project-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.project-num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--dim); }
.project-info h3 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.04em; margin: auto 0 14px; line-height: 1; }
.project-info p { color: var(--muted); max-width: 40ch; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag { padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; color: var(--muted); }

/* project screenshots: laptop mockups on a light backdrop, 1170×600 */
.project-art {
  position: relative; margin: 14px; border-radius: calc(var(--radius) - 8px); overflow: hidden;
  background: #e9e9ec; min-height: 280px;
}
.project-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.project-card:hover .project-art img { transform: scale(1.05); }
.project-hero-art { min-height: 0; margin: 0 0 30px; border-radius: 28px; border: 1px solid var(--line); }
.project-hero-art img { position: static; height: auto; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-grid .project-card { grid-template-columns: 1fr; min-height: 0; }
.work-grid .project-card .project-info { order: 2; padding: 10px 30px 32px; }
.work-grid .project-art { aspect-ratio: 1170 / 600; min-height: 0; }
.work-grid .project-info h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 18px; }

/* ---------- Case study metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { padding: 26px 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 6px; }
.metric span { color: var(--muted); font-size: .9rem; }
.metrics-note { color: var(--dim); font-size: .8rem; margin: 12px 0 0; }
.project-body { margin-top: 70px; }

/* ---------- Free audit ---------- */
.audit-points { display: grid; gap: 14px; }
.audit-point { display: flex; gap: 16px; align-items: flex-start; }
.audit-point .svc-icon { margin: 0; flex: none; }
.audit-point p { color: var(--muted); font-size: .92rem; margin: 2px 0 0; }
.audit-summary { display: grid; grid-template-columns: auto 1fr minmax(240px, 320px); gap: 36px; align-items: center; padding: clamp(24px, 4vw, 40px); margin-bottom: 40px; }
.score-ring { position: relative; width: 150px; height: 150px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: var(--surface-2); }
.ring-fg { stroke: var(--coral); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.score-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-ring strong { font-size: 2.8rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.score-ring span { color: var(--dim); font-size: .85rem; }
.audit-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.count { padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.count.pass { background: rgba(74, 222, 128, .12); color: #4ade80; }
.count.warn { background: rgba(251, 191, 36, .12); color: #fbbf24; }
.count.fail { background: rgba(248, 113, 113, .12); color: #f87171; }
.audit-cta p { color: var(--muted); font-size: .92rem; }
.audit-group { margin-bottom: 34px; }
.audit-group h3 { font-size: 1.2rem; margin-bottom: 14px; }
.audit-item { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 8px; }
.audit-item p { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.audit-status { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; font-weight: 700; font-size: .95rem; }
.audit-status svg { width: 15px; height: 15px; }
.audit-item.pass .audit-status { background: rgba(74, 222, 128, .14); color: #4ade80; }
.audit-item.warn .audit-status { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.audit-item.fail .audit-status { background: rgba(248, 113, 113, .14); color: #f87171; }
.audit-item.fail { border-color: rgba(248, 113, 113, .3); }
p.audit-fix { display: flex; gap: 8px; align-items: flex-start; color: var(--text); margin-top: 8px; }
.audit-fix svg { width: 15px; height: 15px; color: var(--coral); flex: none; margin-top: 4px; }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.book-picker { padding: clamp(24px, 4vw, 40px); }
.book-picker h3 { font-size: 1.15rem; margin: 0 0 16px; }
.book-picker h3:not(:first-child) { margin-top: 34px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.day {
  flex: none; display: grid; justify-items: center; gap: 2px; width: 70px; padding: 12px 6px; border-radius: 14px;
  border: 1px solid var(--line-2); transition: border-color .2s, background .2s;
}
.day small { color: var(--dim); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.day strong { font-size: 1.4rem; font-weight: 600; }
.day:hover { border-color: var(--coral); }
.day.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.day.active small { color: rgba(var(--ink), .85); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slots input { position: absolute; opacity: 0; pointer-events: none; }
.slot { text-align: center; padding: 11px 6px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; font-size: .92rem; font-weight: 500; transition: all .2s; }
.slot:hover { border-color: var(--coral); }
.slots input:checked + .slot { background: var(--coral); border-color: var(--coral); color: #fff; }
.slots input:focus-visible + .slot { outline: 2px solid var(--peach); outline-offset: 2px; }
.slot.taken { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.checklist.book-list li { background: none; border: 0; padding: 0; }
.booked { padding: clamp(24px, 4vw, 40px); }
.booked-when { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.booked-when .svc-icon { margin: 0; flex: none; }
.booked-when strong { display: block; font-size: 1.3rem; }
.booked-when span { color: var(--muted); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.loading { opacity: .8; pointer-events: none; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plan { padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured {
  border-color: rgba(255, 109, 77, .55);
  background: linear-gradient(180deg, rgba(255, 109, 77, .12), rgba(255, 109, 77, .02) 45%), var(--surface);
  box-shadow: 0 30px 80px -40px rgba(255, 109, 77, .6);
}
.plan-badge {
  position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px;
  background: var(--grad); color: #0b0a09; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 8px; padding-right: 90px; }
.plan-tagline { color: var(--muted); font-size: .92rem; min-height: 3em; margin-bottom: 22px; }
.plan-price { margin-bottom: 22px; min-height: 92px; }
.plan-price small { display: block; color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.plan-price strong { display: block; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.plan-price span { color: var(--dim); font-size: .85rem; }
.plan .btn { justify-content: center; margin-bottom: 26px; }
.plan-features { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan-features li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-soft); }
.plan-features svg { width: 17px; height: 17px; color: var(--coral); flex: none; margin-top: 3px; }
.plan-delivery { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--dim); font-size: .84rem; }
.plan-delivery svg { width: 15px; height: 15px; }

.included { padding: clamp(26px, 4vw, 44px); }
.included h3 { margin-bottom: 26px; }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.included-item { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.included-item .svc-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.included-item .svc-icon svg { width: 20px; height: 20px; }

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.addon .svc-icon { margin: 0; flex: none; }
.addon h3 { font-size: 1.02rem; margin-bottom: 4px; }
.addon p { margin: 0; color: var(--muted); font-size: .9rem; }
.addon p strong { color: var(--text); font-weight: 600; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 30px 26px 34px; }
.step::after {
  counter-increment: step; content: '0' counter(step);
  position: absolute; right: 20px; top: 14px; font-family: var(--serif); font-style: italic; font-size: 3.6rem; color: rgba(var(--ink), .06);
}
.step h3 { margin: 50px 0 10px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.step .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px rgba(255, 143, 107, .8); }

/* ---------- Testimonial ---------- */
.quote-block { text-align: center; max-width: 980px; margin: 0 auto; }
.quote-block blockquote { margin: 34px 0 40px; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; letter-spacing: -0.03em; font-weight: 500; }
.quote-block blockquote::before { content: '“'; display: block; font-family: var(--serif); font-size: 6rem; line-height: .6; height: 50px; color: var(--coral); }
.author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #0b0a09; }
.author small { display: block; color: var(--dim); font-size: .85rem; }

/* ---------- Certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cert { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.cert:hover { background: var(--surface); }
.cert svg { width: 26px; height: 26px; color: var(--peach); margin-bottom: 26px; }
.cert h3 { font-size: 1.08rem; margin-bottom: 8px; }
.cert p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { padding: 12px 12px 26px; display: flex; flex-direction: column; }
.post-img { aspect-ratio: 16 / 10; border-radius: calc(var(--radius) - 8px); overflow: hidden; margin-bottom: 22px; background: var(--surface-2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-card .post-meta, .post-card h3, .post-card p { padding-inline: 14px; }
.post-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.post-card h3 { margin: 14px 0 10px; font-size: 1.25rem; }
.post-hero-img { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); margin: 0 auto 60px; max-width: 980px; }
.post-hero-img img { width: 100%; height: auto; }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: 34px; padding: clamp(60px, 9vw, 120px) clamp(24px, 6vw, 80px); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); text-align: center;
}
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 120% at 50% 120%, rgba(255, 109, 77, .55), transparent 60%), radial-gradient(50% 80% at 90% 0%, rgba(255, 170, 120, .25), transparent 60%), var(--bg-2);
}
.cta h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); max-width: 14ch; margin: 18px auto 24px; }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Page header ---------- */
.page-hero { position: relative; padding: 190px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero .aurora i { opacity: .35; }
/* fade the hero glow into the page instead of ending on a hard edge */
.page-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); }
/* gap between the hero and the page content */
.page-hero + .section { padding-top: clamp(56px, 7vw, 104px); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 18ch; margin-top: 20px; }
.page-hero p.lede { max-width: 600px; color: var(--muted); font-size: 1.15rem; margin-top: 26px; }
.crumbs { font-size: .85rem; color: var(--dim); }
.crumbs a:hover { color: var(--text); }

/* detail pages */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.prose { font-size: 1.08rem; color: var(--text-soft); max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 48px 0 18px; color: var(--text); }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--text); }
.prose p { margin-bottom: 1.3em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .55em; padding-left: .3em; }
.prose li::marker { color: var(--coral); }
.prose a { color: var(--peach); text-decoration: underline; text-decoration-color: rgba(255, 166, 138, .4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--text); font-weight: 600; }

.legal { display: grid; grid-template-columns: 1fr 260px; gap: 60px; align-items: start; }
.legal .prose > h2:first-of-type { margin-top: 40px; }
.legal-nav h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-size: .94rem; transition: background .2s, color .2s; }
.legal-nav a:hover { color: var(--text); background: var(--surface-2); }
.legal-nav a[aria-current] { color: var(--text); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--coral); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.checklist svg { width: 20px; height: 20px; color: var(--peach); flex: none; margin-top: 3px; }
.aside { position: sticky; top: 110px; padding: 28px; }
.aside dl { margin: 0; display: grid; gap: 18px; }
.aside dt { font-size: .78rem; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.aside dd { margin: 4px 0 0; font-weight: 600; }
.aside .btn { width: 100%; justify-content: center; margin-top: 26px; }
.next-link { display: block; padding: 60px 0; border-top: 1px solid var(--line); }
.next-link small { color: var(--dim); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.next-link strong { display: flex; align-items: center; gap: 20px; font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -0.045em; font-weight: 600; transition: gap .5s var(--ease); }
.next-link strong svg { width: .6em; height: .6em; }
.next-link:hover strong { gap: 34px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; font-weight: 300; line-height: 1; transition: transform .4s var(--ease); color: var(--muted); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 70ch; padding-bottom: 28px; margin: 0; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.contact-item svg { width: 22px; height: 22px; color: var(--peach); flex: none; }
.contact-item small { display: block; color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.form { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.input {
  width: 100%; font: inherit; color: var(--text); background: rgba(var(--ink), .03); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 14px 16px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: #ff8f6b; background: rgba(var(--ink), .05); box-shadow: 0 0 0 4px rgba(255, 109, 77, .15); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a09eb2' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.input option { background: var(--bg-2); }
textarea.input { min-height: 150px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: .88rem; color: var(--muted); transition: all .25s; }
.chips input:checked + label { background: var(--text); color: var(--bg); border-color: var(--text); }
.chips input:focus-visible + label { outline: 2px solid var(--peach); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.alert { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; font-size: .95rem; }
.alert-ok { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); color: #bbf7d0; }
.alert-err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 90px 0 30px; margin-top: 40px; background: linear-gradient(180deg, transparent, var(--bg-2)); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); font-weight: 600; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 18px; }
.subscribe { display: flex; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(var(--ink), .03); }
.subscribe input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; padding: 0 16px; }
.subscribe input:focus { outline: none; }
.footer-word span { color: var(--coral); -webkit-text-fill-color: var(--coral); opacity: .6; }
.footer-word {
  font-size: clamp(4rem, 17vw, 15rem); font-weight: 700; letter-spacing: -0.07em; line-height: .8; margin: 80px 0 30px;
  background: linear-gradient(180deg, rgba(var(--ink), .14), rgba(var(--ink), 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; text-align: center;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--dim); padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 17px; border-radius: 999px; background: #25D366; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .65); transition: transform .4s var(--ease), box-shadow .3s;
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .92rem; transition: max-width .45s var(--ease); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .8); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 140px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: wa-ping 2.6s var(--ease) infinite; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 760px) { .wa-float { right: 16px; bottom: 16px; height: 54px; padding: 0 14px; } }

/* ---------- First-visit audit popup ---------- */
.audit-popup {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 28px;
  background: var(--bg-2); color: var(--text); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8); overflow: auto;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s, transform .45s var(--ease);
}
.audit-popup.show { opacity: 1; transform: none; }
.audit-popup::backdrop { background: rgba(8, 6, 5, .6); backdrop-filter: blur(6px); }
.popup-inner { position: relative; padding: 34px 30px 22px; overflow: hidden; isolation: isolate; text-align: center; }
.popup-inner::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 260px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 109, 77, .35), transparent);
}
.popup-art { display: grid; place-items: center; margin-bottom: 18px; }
.popup-score { position: relative; display: grid; place-content: center; text-align: center; width: 96px; height: 96px; }
.popup-score::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 6px solid var(--surface-2); border-top-color: var(--coral); border-right-color: var(--coral);
  animation: spin 6s linear infinite;
}
.popup-score strong { font-size: 2rem; line-height: 1; }
.popup-score span { font-size: .75rem; color: var(--dim); }
.audit-popup .eyebrow { justify-content: center; }
.audit-popup h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 12px 0 12px; }
.audit-popup p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.popup-form { display: grid; gap: 10px; text-align: left; }
.popup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.popup-form .btn { justify-content: center; margin-top: 4px; }
.popup-skip { margin-top: 10px; }
.popup-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); cursor: pointer; display: grid; place-items: center;
}
.popup-close span { position: absolute; width: 14px; height: 1.5px; background: var(--text); transform: rotate(45deg); }
.popup-close span + span { transform: rotate(-45deg); }
.popup-close:hover { background: var(--surface-2); }
@media (max-width: 480px) { .popup-row { grid-template-columns: 1fr; } .popup-inner { padding: 30px 20px 18px; } }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(440px, calc(100% - 32px));
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: var(--glass-strong); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .45s var(--ease);
}
.consent.open { opacity: 1; transform: none; }
.consent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.consent-head h2 { font-size: 1.1rem; letter-spacing: -0.02em; }
.consent-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 109, 77, .15); flex: none; }
.consent-icon svg { width: 20px; height: 20px; color: var(--coral); }
.consent-text { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.consent-text a { color: var(--peach); text-decoration: underline; text-underline-offset: 3px; }
.consent-prefs { display: grid; gap: 8px; margin-bottom: 18px; }
.consent-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.consent-row strong { display: block; font-size: .92rem; }
.consent-row small { display: block; color: var(--dim); font-size: .8rem; }
.consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--ease), background .25s; }
.consent-row input:checked + .switch { background: var(--coral); border-color: var(--coral); }
.consent-row input:checked + .switch::after { transform: translateX(18px); background: #fff; }
.consent-row input:disabled + .switch { opacity: .55; }
.consent-row input:focus-visible + .switch { outline: 2px solid var(--peach); outline-offset: 2px; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.consent-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; padding: 8px 6px; text-decoration: underline; text-underline-offset: 3px; }
.consent-link:hover { color: var(--text); }
@media (max-width: 760px) {
  .consent { left: 16px; bottom: 16px; padding: 20px; }
  .consent-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Admin ---------- */
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.admin-row:last-child { border-bottom: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.admin-stats .card { padding: 26px; }
.admin-stats strong { font-size: 2.6rem; letter-spacing: -0.04em; display: block; }
.msg { padding: 24px 26px; margin-bottom: 12px; }
.msg.unread { border-color: rgba(255, 109, 77, .5); }
.msg header { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.msg header small { color: var(--dim); }
.msg p { color: var(--text-soft); white-space: pre-wrap; margin: 12px 0 16px; }
.msg-actions { display: flex; gap: 8px; }
.msg-actions form { margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 1; min-height: 260px; }
  .project-card, .project-card:nth-child(even) { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-info { order: 0; }
  .project-art { aspect-ratio: 1170 / 600; min-height: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .certs, .posts { grid-template-columns: repeat(2, 1fr); }
  .detail, .contact-grid, .intro-grid, .legal, .svc-intro { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-summary { grid-template-columns: auto 1fr; }
  .audit-cta { grid-column: 1 / -1; }
  .book { grid-template-columns: 1fr; }
  .plans-4, .plans-3 { grid-template-columns: repeat(2, 1fr); }
  .included-grid, .addons { grid-template-columns: repeat(2, 1fr); }
  .bento.related .svc { grid-column: span 1; }
  .legal-nav { order: -1; padding: 10px; }
  .legal-nav h4 { display: none; }
  .legal-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .legal-nav a { padding: 7px 12px; font-size: .86rem; }
  .legal-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--coral); }
  .aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .orbit { opacity: .4; }
}
/* Hamburger menu on tablets and phones */
@media (max-width: 1020px) {
  .nav { inset: 10px 0 auto; }
  .nav-inner { background: var(--glass); border-color: var(--line); backdrop-filter: blur(18px); padding-left: 18px; height: 58px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-mobile-only { display: block; }
  .nav-links {
    position: fixed; inset: 78px 16px auto; flex-direction: column; padding: 12px; border-radius: 22px;
    background: var(--glass-strong); border: 1px solid var(--line); backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
  }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-links { left: auto; width: min(360px, calc(100% - 32px)); }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { left: 16px; width: auto; }
  .hero { padding-top: 120px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .orbit { width: 120vw; right: -60vw; opacity: .3; }
  .bento, .process, .certs, .posts, .footer-top, .admin-stats, .work-grid, .feature-grid, .plans-4, .plans-3, .included-grid, .addons { grid-template-columns: 1fr; }
  .plan-tagline, .plan-price { min-height: 0; }
  .audit-summary { grid-template-columns: 1fr; justify-items: start; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .logo img { height: 34px; }
  .form { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 60px; }
  .section-head { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}
