/* ==========================================================
   FIDELIO STUDIOS — mobile first
   ========================================================== */
:root {
  color-scheme: dark;
  --black: #020203;
  --wine: #410016;
  --wine-hi: #7a1036;
  --ivory: #f3efe9;
  --ivory-dim: #a9a49d;
  --line: rgba(243, 239, 233, .12);
  /* glass, iPhone-style */
  --glass: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .07));
  --glass-border: rgba(255, 255, 255, .16);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 18px 40px rgba(0, 0, 0, .45);
  --blur: blur(22px) saturate(170%);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --wordmark: "Fidelio Wordmark", "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--black); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--black); color: var(--ivory);
  font: 400 15px/1.55 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, canvas, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
mark { background: rgba(255, 196, 0, .18); color: inherit; padding: 0 4px; border-radius: 4px; }
::selection { background: var(--wine); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--ivory); color: #000; }
.skip:focus { top: 12px; }

.wrap { max-width: 1080px; margin: 0 auto; }
.eyebrow { font-size: 12px; color: var(--ivory-dim); margin-bottom: 10px; letter-spacing: .02em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; }
.note { color: var(--ivory-dim); font-size: 14px; margin-top: 10px; }

/* ---------- glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.glass::before { /* specular rim, brighter on the top-left like light on glass */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 60% at 10% 0%, rgba(255, 255, 255, .16), transparent 55%);
}

/* ---------- buttons: glass pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ivory);
  background: linear-gradient(180deg, rgba(150, 24, 70, .78), rgba(65, 0, 22, .82));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -8px 16px rgba(0, 0, 0, .25), 0 12px 30px rgba(65, 0, 22, .5);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  transition: transform .4s var(--ease), filter .4s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--ghost { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px rgba(0, 0, 0, .35); }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { filter: brightness(1.2); } }

/* ---------- nav pill ---------- */
.nav {
  position: fixed; z-index: 60; left: 50%; translate: -50% 0;
  top: max(12px, env(safe-area-inset-top));
  width: min(calc(100% - 32px), 400px);
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 34px rgba(0, 0, 0, .45);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.nav__bar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 24px; }
.logo { font-family: var(--wordmark); font-weight: 600; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; display: inline-flex; align-items: baseline; gap: 2px; }
.logo i { width: 5px; height: 5px; border-radius: 50%; background: #b0154a; }
.nav__links, .nav__cta { display: none; }
.nav__burger { width: 44px; height: 44px; position: relative; border-radius: 50%; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: var(--ivory); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.nav.is-open .nav__panel { grid-template-rows: 1fr; }
.nav__panel-in { overflow: hidden; display: grid; padding: 0 24px; visibility: hidden; transition: visibility .55s; }
.nav.is-open .nav__panel-in { visibility: visible; }
.nav__panel-in > a:not(.btn) { font-family: var(--serif); font-size: 28px; padding: 9px 0; border-top: 1px solid var(--line); }
.nav__panel-in .btn { margin: 12px 0 20px; }

/* ---------- hero ---------- */
.hero { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); z-index: 0; }
.hero__stage { position: absolute; inset: 0; will-change: opacity, transform; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { object-fit: cover; object-position: 50% 0; }
.hero__canvas { visibility: hidden; }
.is-3d .hero__canvas { visibility: visible; }
@media (max-width: 759px) { /* phones: the forearm dissolves before the screen edge */
  .hero__stage { -webkit-mask-image: linear-gradient(60deg, transparent 20%, #000 34%); mask-image: linear-gradient(60deg, transparent 20%, #000 34%); }
}
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--black) 6%, rgba(2, 2, 3, .86) 26%, transparent 52%); }
.hero__copy { position: absolute; inset: auto 0 0; padding: 0 var(--pad) max(40px, calc(env(safe-area-inset-bottom) + 28px)); display: grid; justify-items: center; text-align: center; gap: 10px; will-change: opacity, transform; }
.hero__title { display: grid; justify-items: center; gap: 8px; font-weight: 400; line-height: 1; }
.wordmark { font-family: var(--wordmark); font-weight: 600; font-size: 54px; letter-spacing: .12em; padding-left: .12em; text-transform: uppercase; }
.hero__sub { font-size: 11px; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--ivory-dim); }
.hero__lead { color: var(--ivory-dim); font-size: 14px; }
.hero__copy .btn { margin-top: 10px; width: 100%; max-width: 340px; }

/* ---------- page slides over the hero ---------- */
.page {
  position: relative; z-index: 2; background: var(--black); overflow: clip;
  border-radius: 26px 26px 0 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.page > :not(.aura) { position: relative; z-index: 1; }
/* soft coloured light behind the glass, so the blur has something to show */
.aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aura i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aura i:nth-child(1) { width: 320px; height: 320px; left: -120px; top: 140px; background: #7a1036; }
.aura i:nth-child(2) { width: 280px; height: 280px; right: -110px; top: 620px; background: #2a1d5c; animation-duration: 28s; }
.aura i:nth-child(3) { width: 300px; height: 300px; left: -80px; top: 46%; background: #5c0d2c; animation-duration: 26s; }
.aura i:nth-child(4) { width: 260px; height: 260px; right: -90px; bottom: 12%; background: #1f2a5c; animation-duration: 30s; }
@keyframes drift { to { transform: translate(60px, -80px) scale(1.15); } }

.section { padding: 56px var(--pad); position: relative; }
.section--wine { background: linear-gradient(170deg, rgba(90, 10, 37, .92) 0%, rgba(65, 0, 22, .94) 34%, rgba(30, 0, 11, .96) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.section--wine .eyebrow { color: rgba(243, 239, 233, .72); }

/* ---------- services ---------- */
.services { display: grid; gap: 12px; margin-top: 26px; }
.service { border-radius: 26px; padding: 22px 20px 20px; display: grid; gap: 8px; overflow: hidden; }
.service::after { /* light sweep driven by scroll */
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 46%; rotate: 18deg; pointer-events: none; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
  translate: calc(var(--sweep, 0) * 420%) 0;
}
.service__n { font-size: 12px; color: var(--ivory-dim); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.1; }
.service p { font-size: 14px; color: rgba(243, 239, 233, .78); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chips li { font-size: 12px; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }

/* ---------- concept websites ---------- */
.shots { margin-top: 26px; display: grid; gap: 34px; perspective: 1200px; }
.shot { display: grid; gap: 12px; }
.browser { border-radius: 16px; overflow: hidden; padding: 0 5px 5px; transform-origin: 50% 100%; will-change: transform; }
.browser__bar { height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 6px; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.browser__bar span { margin: 0 auto; translate: -12px 0; font-size: 10px; color: var(--ivory-dim); padding: 2px 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.shot figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px; }
.shot figcaption b { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.shot figcaption span { font-size: 12px; color: var(--ivory-dim); }

/* A concept site is laid out as a 800 x 460 desktop page; every size inside is in
   container units (1cqw = 8px at full size), so it scales cleanly to any width. */
.site { position: relative; aspect-ratio: 800 / 460; border-radius: 11px; overflow: hidden; container-type: inline-size; background: #000; }
.site__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site__ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 2.6cqw 3.6cqw 3.2cqw; color: #f6f1ea; }
.site__ui--dark { color: #2a1712; }
.s-nav { display: flex; align-items: center; gap: 2.6cqw; font-size: 1.45cqw; }
.s-nav span { opacity: .82; }
.s-logo { font-weight: 500; letter-spacing: .32em; font-size: 1.6cqw; margin-right: auto; }
.s-logo--serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0; font-size: 2.5cqw; }
.s-pill { padding: .7cqw 1.6cqw; border-radius: 99px; border: 1px solid currentColor; opacity: 1 !important; }
.s-copy { margin-top: auto; max-width: 48%; display: grid; gap: 1.2cqw; }
.s-copy--mid { margin-block: auto; }
.s-copy--narrow { max-width: 40%; margin-top: 6cqw; }
.s-eyebrow { font-size: 1.4cqw; display: flex; align-items: center; gap: .9cqw; opacity: .88; }
.s-eyebrow i { width: .8cqw; height: .8cqw; border-radius: 50%; background: currentColor; }
.s-title { font-family: var(--serif); font-weight: 400; font-size: 5.6cqw; line-height: 1; letter-spacing: -.01em; }
.s-text { font-size: 1.6cqw; line-height: 1.45; opacity: .82; max-width: 34cqw; }
.s-actions { display: flex; align-items: center; gap: 2cqw; margin-top: .6cqw; font-size: 1.6cqw; }
.s-actions b { font-weight: 500; padding: 1.2cqw 2.4cqw; border-radius: 99px; background: #f6f1ea; color: #160b07; }
.site__ui--dark .s-actions b { background: #2a1712; color: #fff6ef; }
.s-search {
  margin-top: 2.4cqw; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 1cqw; max-width: 66cqw;
  padding: 1cqw 1cqw 1cqw 2.2cqw; border-radius: 2cqw; font-size: 1.6cqw;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.s-search--short { margin-top: auto; max-width: 54cqw; }
.s-search span + span { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 1.6cqw; }
.s-search small { display: block; font-size: 1.15cqw; opacity: .7; }
.s-search b { font-weight: 500; padding: 1.3cqw 2.4cqw; border-radius: 1.4cqw; background: #f6f1ea; color: #160b07; }
.s-specs { display: flex; gap: 4cqw; font-size: 1.25cqw; opacity: .78; }
.s-specs b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6cqw; opacity: 1; }

/* ambient animation, running only while the concept is on screen */
.site * { animation-play-state: paused; }
.shot.is-live .site * { animation-play-state: running; }
.site .s-copy > *, .site .s-search, .site .s-specs, .site .s-nav { animation: rise 1.1s var(--ease) both; }
.site .s-copy > :nth-child(2) { animation-delay: .12s; }
.site .s-copy > :nth-child(3) { animation-delay: .24s; }
.site .s-copy > :nth-child(4), .site .s-search, .site .s-specs { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(2.4cqw); } }
.twinkle circle { animation: twinkle 3s ease-in-out infinite alternate; }
.twinkle circle:nth-child(2n) { animation-delay: 1.4s; }
@keyframes twinkle { to { opacity: .2; } }
.villa .lit { animation: lightup 1.6s ease both; }
.villa .l2 { animation-delay: .3s; } .villa .l3 { animation-delay: .6s; } .villa .l4 { animation-delay: .9s; } .villa .l5 { animation-delay: 1.2s; } .villa .l6 { animation-delay: 1.5s; }
@keyframes lightup { from { opacity: .05; } }
.ripple rect, .waves rect { animation: ripple 4s ease-in-out infinite alternate; }
.ripple rect:nth-child(2n), .waves rect:nth-child(2n) { animation-delay: -2s; }
@keyframes ripple { to { transform: translateX(26px); opacity: .3; } }
.site--estate .site__bg { animation: kenburns 18s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes kenburns { to { transform: scale(1.08); } }
.watch { transform-box: fill-box; transform-origin: center; animation: watchIn 1.6s var(--ease) both; }
@keyframes watchIn { from { transform: rotate(-24deg) scale(.86); opacity: 0; } }
.glint { animation: glint 5s ease-in-out infinite; }
@keyframes glint { 0%, 55% { transform: translateX(-60px) rotate(20deg); } 100% { transform: translateX(420px) rotate(20deg); } }
.bottle { animation: float 5s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-12px); } }
.bubbles circle { animation: bubble 7s linear infinite; }
.bubbles circle:nth-child(2) { animation-delay: -2s; } .bubbles circle:nth-child(3) { animation-delay: -4s; } .bubbles circle:nth-child(4) { animation-delay: -5.5s; } .bubbles circle:nth-child(5) { animation-delay: -1s; }
@keyframes bubble { 0% { transform: translateY(40px); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-260px); opacity: 0; } }
.sun { animation: sunglow 6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes sunglow { to { transform: scale(1.12); opacity: .85; } }

/* ---------- method ---------- */
.steps { list-style: none; position: relative; margin-top: 28px; display: grid; gap: 14px; padding-left: 30px; }
.steps__rail { position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: rgba(243, 239, 233, .16); }
.steps__rail b { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(var(--ivory), #e7a2b8); transform: scaleY(var(--p, 0)); transform-origin: top; box-shadow: 0 0 12px rgba(255, 210, 225, .6); }
.step { border-radius: 22px; padding: 18px 18px 20px; display: grid; gap: 6px; transition: opacity .6s var(--ease), transform .6s var(--ease), background .6s; }
.js .step { opacity: .45; transform: translateX(10px) scale(.98); }
.step::after { /* dot on the rail */
  content: ""; position: absolute; left: -30px; top: 24px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--wine); border: 2px solid rgba(243, 239, 233, .35); transition: background .5s, border-color .5s, box-shadow .5s;
}
.js .step.is-active { opacity: 1; transform: none; }
.step.is-active::after { background: var(--ivory); border-color: var(--ivory); box-shadow: 0 0 0 5px rgba(243, 239, 233, .15), 0 0 16px rgba(255, 210, 225, .8); }
.step__n { font-size: 12px; color: rgba(243, 239, 233, .7); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.step p { font-size: 14px; color: rgba(243, 239, 233, .8); }

/* ---------- faq ---------- */
.faq { margin-top: 24px; border-radius: 24px; padding: 4px 18px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font-size: 15px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 26px; height: 26px; border-radius: 50%; position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: rgba(243, 239, 233, .75); font-size: 14px; padding-bottom: 18px; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 22px; }
.form { display: grid; gap: 12px; padding: 18px; border-radius: 26px; }
.form__row { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 12px; color: var(--ivory-dim); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ivory); width: 100%; min-height: 50px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.form select option { background: #111; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255, 255, 255, .5); }
.form .check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-size: 13px; color: var(--ivory-dim); }
.form .check input { width: 20px; height: 20px; margin-top: 1px; accent-color: #b0154a; }
.form .check a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { margin-top: 4px; }
.form__status { font-size: 13px; color: var(--ivory-dim); min-height: 1em; text-align: center; }

/* ---------- footer ---------- */
.footer { padding: 48px var(--pad) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.footer__top { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.footer__brand p { color: var(--ivory-dim); font-size: 14px; max-width: 320px; }
.footer__col { display: grid; align-content: start; gap: 9px; font-size: 14px; }
.footer__col h3 { font-size: 12px; font-weight: 500; color: var(--ivory-dim); margin-bottom: 4px; }
.footer__col a, .footer__col span { color: rgba(243, 239, 233, .86); }
.footer__col:last-child { grid-column: 1 / -1; }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 12px; color: var(--ivory-dim); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__bottom a, .footer__bottom button { font-size: 12px; color: var(--ivory-dim); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover, .footer__bottom button:hover { color: var(--ivory); }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 460px; margin: 0 auto; border-radius: 26px; padding: 18px;
  background: linear-gradient(150deg, rgba(40, 40, 46, .78), rgba(12, 12, 16, .86));
  transform: translateY(calc(100% + 160px)); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.cookie.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.cookie h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin-bottom: 6px; }
.cookie p { font-size: 13px; color: rgba(243, 239, 233, .78); }
.cookie p a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.cookie__prefs { display: grid; gap: 8px; margin-top: 14px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.cookie__opt b { font-size: 14px; font-weight: 500; }
.cookie__opt small { grid-column: 1; font-size: 12px; color: var(--ivory-dim); }
.cookie__opt .switch { grid-row: 1 / span 2; grid-column: 2; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 99px; background: rgba(255, 255, 255, .16); transition: background .3s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] { background: #34c759; }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cookie__actions .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
.cookie__actions .btn--wide { grid-column: 1 / -1; }

/* ---------- legal pages ---------- */
.legal { padding: 110px var(--pad) 60px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; margin-bottom: 8px; }
.legal .updated { color: var(--ivory-dim); font-size: 13px; margin-bottom: 26px; }
.legal .notice { border-radius: 18px; padding: 14px 16px; font-size: 13px; margin-bottom: 26px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 30px 0 10px; }
.legal p, .legal li { color: rgba(243, 239, 233, .82); font-size: 15px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 500; color: var(--ivory-dim); font-size: 12px; }
.table-scroll { overflow-x: auto; }

.js .reveal { opacity: 0; transform: translateY(22px); }

/* ==========================================================
   LARGER SCREENS
   ========================================================== */
@media (min-width: 760px) {
  :root { --pad: 32px; }
  .h2 { font-size: 50px; }
  .wordmark { font-size: 88px; }
  .hero__sub { font-size: 13px; }
  .services { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .section { padding-block: 96px; }
  .shots { gap: 56px; }
  .browser { border-radius: 22px; padding: 0 8px 8px; }
  .browser__bar { height: 34px; padding: 0 10px; }
  .site { border-radius: 14px; }
  .steps { grid-template-columns: repeat(4, 1fr); padding: 34px 0 0; gap: 16px; margin-top: 44px; }
  .steps__rail { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .steps__rail b { transform: scaleX(var(--p, 0)); transform-origin: left; }
  .js .step { transform: translateY(10px) scale(.98); }
  .step::after { left: 18px; top: -35px; }
  .faq { padding: 6px 26px; }
  .contact { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .form { padding: 26px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
  .footer__col:last-child { grid-column: auto; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .cookie { left: auto; right: 24px; bottom: 24px; margin: 0; }
  .legal h1 { font-size: 56px; }
}

@media (min-width: 960px) {
  .nav { width: min(calc(100% - 48px), 720px); }
  .nav__bar { padding: 0 8px 0 26px; }
  .nav__links { display: flex; gap: 28px; font-size: 13px; color: var(--ivory-dim); }
  .nav__links a { transition: color .3s; }
  .nav__links a:hover { color: var(--ivory); }
  .nav__cta { display: inline-flex; }
  .nav__burger, .nav__panel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .step { opacity: 1; transform: none; }
}

/* Netlify adds its own badge at the bottom right: keep the cookie sheet clear of it */
.cookie.has-badge { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 64px); }
