/* Carvinyl Shop — layout and motion language rebuilt after the approved reference (Capsules®). */
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #181717;
  --panel: #2a2725;
  --panel-2: #34302d;
  --cream: #f4efe7;
  --taupe: #b1a696;
  --dim: rgba(177, 166, 150, .3);
  --line: rgba(244, 239, 231, .16);
  --pad: 30px;
  --inset: 8px;
  --r: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fs-xl: clamp(46px, 10.4vw, 220px);
  --fs-l: clamp(30px, 4.65vw, 96px);
  --fs-m: clamp(20px, 2.57vw, 54px);
  --fs-c: clamp(26px, 3.06vw, 64px);
  --fs-card: clamp(34px, 4.44vw, 92px);
  --fs-s: 13.5px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--cream); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

.small { font-size: var(--fs-s); font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.muted { color: var(--taupe); }
.lines .line { display: block; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- pills (Get a quote / Menu) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 4px 0 22px;
  border: 0; border-radius: 999px;
  background: var(--cream); color: var(--bg);
  font-size: 16px; font-weight: 400; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .4s var(--ease);
}
.pill__ico {
  position: relative; display: grid; place-items: center; flex: none;
  width: 39px; height: 39px; border-radius: 50%;
  background: var(--bg); color: var(--cream);
  transition: transform .5s var(--ease);
  overflow: hidden;
}
.pill__ico svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.pill__label { position: relative; display: block; overflow: hidden; height: 1.2em; line-height: 1.2; }
.pill__label span { display: block; transition: transform .5s var(--ease); }
.pill__label span + span { position: absolute; left: 0; top: 100%; }
.pill:hover .pill__label span { transform: translateY(-100%); }
.pill:hover .pill__ico { transform: scale(1.08); }
.pill--quote:hover .pill__ico svg { transform: rotate(45deg); }
.pill--dark { background: var(--panel); color: var(--cream); }
.pill--dark .pill__ico { background: var(--cream); color: var(--bg); }
.pill--line { background: transparent; color: var(--cream); border: 1px solid var(--cream); }
.pill--line .pill__ico { background: var(--cream); color: var(--bg); }

.ui-top {
  position: fixed; z-index: 60; top: 30px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
  transition: transform .6s var(--ease);
}
.ui-top > * { pointer-events: auto; }
.ui-top.is-hidden { transform: translateY(calc(-100% - 40px)); }
.brand-mini { display: block; width: 46px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; border-radius: 6px; }
.brand-mini img { width: 46px; height: auto; }
.ui-top.is-scrolled .brand-mini, .page-legal .brand-mini { opacity: 1; visibility: visible; }
.page-legal .brand-mini { width: 150px; }
.page-legal .brand-mini img { width: 150px; }
.ui-top .pill--quote { margin-left: auto; }

.menu-btn {
  position: fixed; z-index: 95; left: 50%; bottom: 38px; transform: translateX(-50%);
  padding: 0 4px 0 26px; gap: 13px;
  transition: bottom .5s var(--ease), background-color .4s;
}
.menu-btn .bars { display: grid; gap: 3px; }
.menu-btn .bars i { display: block; width: 14px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), opacity .3s; }
.menu-btn:hover .bars i:nth-child(1) { transform: translateX(-2px); }
.menu-btn:hover .bars i:nth-child(3) { transform: translateX(2px); }
.menu-open .menu-btn .bars i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn .bars i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
html.has-cookie .menu-btn { bottom: calc(38px + var(--cookie-h, 0px)); }

/* ---------- preloader ---------- */
.loader { display: none; }
.js .loader.is-on {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--bg);
}
.loader__pill {
  position: relative; width: 240px; height: 68px; border-radius: 999px; background: var(--panel); overflow: hidden;
}
.loader__fill { position: absolute; inset: 0; background: var(--cream); transform-origin: left; transform: scaleX(0); }
.loader__word { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__word img { width: 86px; height: auto; }
.loader__word .ink { position: absolute; clip-path: inset(0 100% 0 0); }
.loader__caption { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); text-align: center; color: var(--taupe); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; padding: var(--inset); }
.hero__frame { position: relative; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 60%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 9, 9, .35) 0%, rgba(10, 9, 9, 0) 30%, rgba(10, 9, 9, 0) 62%, rgba(10, 9, 9, .55) 100%);
}
.hero__word { position: absolute; left: calc(var(--pad) - var(--inset) - 2px); top: 24px; width: min(53vw, 1100px); }
.hero__word .mask { padding-bottom: 0; margin: 0; }
.hero__word img { width: 100%; height: auto; }
.hero__title {
  position: absolute; left: calc(var(--pad) - var(--inset)); bottom: 32px;
  max-width: 340px; font-size: clamp(26px, 2.23vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.005em;
}
.hero__note { position: absolute; right: calc(var(--pad) - var(--inset)); bottom: 50px; width: 265px; }

/* ---------- generic sections ---------- */
.section { position: relative; padding: 0 var(--pad); }
.label { display: block; }

/* intro */
.intro { padding-top: 180px; padding-bottom: 170px; }
.intro__text { font-size: var(--fs-l); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; max-width: 1380px; }
.intro__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 130px; align-items: start; }
.ovals { display: flex; gap: 2px; }
.oval { width: min(17.7vw, 340px); aspect-ratio: 255 / 175; border-radius: 999px; overflow: hidden; background: var(--panel); }
.oval img { width: 100%; height: 100%; object-fit: cover; }
.intro__para { font-size: var(--fs-m); line-height: 1.02; color: var(--taupe); margin-top: 16px; max-width: 640px; }
.intro__label { margin-top: 210px; color: var(--taupe); text-decoration: none; display: inline-block; }
.intro__label:hover { color: var(--cream); }

/* choose */
.choose { padding-bottom: 300px; background: linear-gradient(180deg, var(--bg) 0%, #24211f 30%, #2a2624 100%); }
.h-xl { font-size: var(--fs-xl); font-weight: 400; line-height: .95; letter-spacing: -.035em; }
.choose__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; }
.choose__para { font-size: var(--fs-m); line-height: 1.02; color: var(--taupe); max-width: 600px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 46px; max-width: 690px; }
.tag {
  display: inline-block; padding: .2em .6em .26em; border: 1px solid var(--taupe); border-radius: 999px;
  font-size: var(--fs-m); line-height: 1.2; color: var(--taupe);
}
.tag:nth-child(3n+2), .tag:nth-child(4) { color: var(--cream); border-color: var(--cream); }

/* marquee */
.marquee { overflow: hidden; white-space: nowrap; pointer-events: none; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item { font-size: var(--fs-xl); font-weight: 400; letter-spacing: -.035em; line-height: 1; padding-right: .25em; display: inline-flex; align-items: baseline; gap: .12em; }
.marquee__item img { height: .6em; width: auto; display: inline-block; }

/* stack of wrap cards */
.stack { position: relative; background: linear-gradient(180deg, #2a2624 0%, #312d2a 40%, #2a2624 100%); }
.grow__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.grow__spacer { height: 100svh; }
.grow__marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.card {
  position: sticky; top: 0; height: 100svh; padding: var(--inset);
}
.grow__sticky .card { position: absolute; inset: 0; }
.card__inner { position: relative; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; transform-origin: 50% 0; }
.card__media { position: absolute; inset: 0; z-index: -1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__inner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,9,9,.1), rgba(10,9,9,.05) 50%, rgba(10,9,9,.5)); }
.card__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 2; }
.card__title { position: absolute; left: calc(var(--pad) - var(--inset)); top: 50%; transform: translateY(-50%); font-size: var(--fs-card); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.card__scroll { position: absolute; right: calc(var(--pad) - var(--inset) - 4px); top: 50%; transform: translateY(-40%); font-size: clamp(22px, 2.5vw, 52px); line-height: 1; color: var(--cream); opacity: .85; }
.card__foot { position: absolute; left: calc(var(--pad) - var(--inset) - 8px); right: calc(var(--pad) - var(--inset)); bottom: 32px; display: flex; align-items: center; gap: 22px; }
.plus {
  flex: none; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%;
  border: 0; background: rgba(244, 239, 231, .25); color: var(--cream);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.plus svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.plus:hover { background: var(--cream); color: var(--bg); }
.plus:hover svg { transform: rotate(90deg); }
.card__desc { max-width: 380px; }
.card__progress { margin-left: auto; width: min(330px, 24vw); height: 1px; background: rgba(244,239,231,.3); position: relative; }
.card__progress i { position: absolute; top: 0; height: 1px; width: 33.33%; background: var(--cream); }
.card__cta { display: none; }

/* located / based in London */
.based { padding-top: 220px; padding-bottom: 80px; text-align: center; }
.based__text { margin: 18px auto 0; max-width: 860px; font-size: var(--fs-c); line-height: 1.1; letter-spacing: -.01em; }
.based__text a, .based__text button.link {
  color: var(--taupe); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em;
  background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; transition: color .3s;
}
.based__text a:hover, .based__text button.link:hover { color: var(--cream); }
.based__map { position: relative; margin: 100px calc(var(--inset) - var(--pad)) 0; height: 86svh; border-radius: var(--r); overflow: hidden; }
.based__map img { width: 100%; height: 118%; object-fit: cover; }
.based__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--cream); color: var(--bg); text-align: left; max-width: calc(100% - 32px);
}
.based__pin .dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.based__pin .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }

/* why / finishes split */
.why { padding-top: 160px; }
.why__label { padding: 0 var(--pad); }
.why__marquee { margin-top: 18px; }
.split { position: relative; height: 100svh; padding: var(--inset); }
.split__slide { position: absolute; inset: var(--inset); display: grid; grid-template-columns: 1fr 1fr; gap: var(--inset); }
.split__slide.is-rev .split__panel { order: 2; }
.split__panel { position: relative; border-radius: var(--r); background: var(--panel); padding: 22px calc(var(--pad) - var(--inset)); display: flex; flex-direction: column; justify-content: space-between; }
.split__title { font-size: var(--fs-m); line-height: 1.02; color: var(--taupe); max-width: 330px; font-weight: 400; }
.split__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.split__foot .small { max-width: 300px; }
.dots { display: flex; gap: 4px; }
.dots span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 10px; font-weight: 600; color: var(--taupe); }
.dots span.is-on { border-color: var(--cream); color: var(--cream); }
.split__media { border-radius: var(--r); overflow: hidden; background: var(--panel); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* how a quote works */
.how { padding-top: 220px; background: linear-gradient(180deg, var(--bg) 0%, #292624 22%, #292624 80%, var(--bg) 100%); }
.how__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.steps { max-width: 470px; }
.steps li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0 12px; }
.steps li::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line); }
.steps li::before { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: var(--w, 25%); background: var(--taupe); }
.steps .t { font-size: 16px; color: var(--taupe); }
.steps .d { font-size: 11px; font-weight: 600; color: var(--taupe); }
.steps .lead { color: var(--cream); font-size: var(--fs-s); font-weight: 600; padding-bottom: 6px; }
.how__para { font-size: clamp(18px, 1.53vw, 30px); line-height: 1.12; color: var(--taupe); max-width: 560px; }
.hscroll { position: relative; margin-top: 120px; }
.hscroll__viewport { height: 100svh; padding: var(--inset) 0; overflow: hidden; }
.hscroll__track { display: flex; gap: var(--inset); height: 100%; padding: 0 var(--inset); will-change: transform; }
.hcard { position: relative; flex: none; width: 80vw; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; }
.hcard img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,9,9,.45), rgba(10,9,9,0) 30%, rgba(10,9,9,0) 70%, rgba(10,9,9,.55)); }
.hcard__title { position: absolute; left: 22px; top: 18px; font-size: clamp(20px, 1.8vw, 36px); line-height: 1.05; font-weight: 400; max-width: 300px; }
.hcard__tag { position: absolute; right: 18px; top: 18px; padding: 4px 10px; border-radius: 999px; background: rgba(244,239,231,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; font-weight: 600; }
.hcard__foot { position: absolute; left: 22px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hcard__foot .small { max-width: 380px; }
.hcard__idx { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(244,239,231,.5); display: grid; place-items: center; font-size: 10px; font-weight: 600; flex: none; }

/* good to know slider */
.know { padding-top: 220px; padding-bottom: 200px; }
.know__stage { position: relative; margin-top: 22px; max-width: 980px; min-height: 5.6em; font-size: var(--fs-c); line-height: 1.12; letter-spacing: -.01em; }
.know__item { display: none; }
.know__item.is-on { display: block; }
.know__q { display: block; color: var(--taupe); }
.know__who { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.know__who .mk { width: 34px; height: 34px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; }
.know__who .mk img { width: 20px; }
.know__ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.arrows { display: flex; gap: 6px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cream); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.arrow svg { width: 16px; height: 16px; }
.arrow:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.know__bar { width: min(330px, 40vw); height: 1px; background: var(--line); position: relative; }
.know__bar i { position: absolute; left: 0; top: 0; height: 1px; width: 25%; background: var(--cream); transition: transform .6s var(--ease); }

/* cta card */
.cta { padding: 0 var(--inset); }
.cta__card { position: relative; height: 100svh; border-radius: var(--r); overflow: hidden; background: var(--panel); isolation: isolate; cursor: none; }
.cta__card img.bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cta__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,9,9,.05) 40%, rgba(10,9,9,.55)); }
.cta__word { position: absolute; left: 50%; bottom: -1.5vw; transform: translateX(-50%); width: min(78vw, 1500px); }
.cta__word img { width: 100%; height: auto; }
.cta__pill { position: absolute; left: 0; top: 0; z-index: 3; }
.cta__card.no-follow { cursor: auto; }
.cta__card.no-follow .cta__pill { left: calc(var(--pad) - var(--inset)); top: 26px; }

/* closing marquee */
.closing { padding-top: 120px; padding-bottom: 80px; }
.closing .label { padding: 0 var(--pad); }
.closing__marquee { margin-top: 18px; }

/* footer */
.footer { position: relative; padding: 26px var(--pad) 0; border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, #24201f 55%, #322d2a 100%); }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; }
.footer__lead { font-size: clamp(18px, 1.53vw, 28px); line-height: 1.15; color: var(--taupe); max-width: 470px; }
.footer__lead a, .footer__lead button { color: var(--cream); text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer__lead a:hover, .footer__lead button:hover { color: var(--taupe); }
.icons { display: flex; gap: 6px; margin-top: 40px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--cream); color: var(--bg); }
.company { font-size: var(--fs-s); font-weight: 600; line-height: 1.5; color: var(--taupe); }
.company strong { color: var(--cream); font-weight: 600; }
.company a { color: var(--cream); text-decoration: none; }
.company a:hover { text-decoration: underline; }
.company dt { color: var(--cream); margin-top: 10px; }
.company dd { margin: 0; }
.footer__nav { text-align: right; }
.footer__nav a { display: block; text-decoration: none; line-height: 1.75; transition: color .3s; }
.footer__nav a:hover { color: var(--taupe); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 70px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--taupe); }
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__bar a { color: var(--taupe); text-decoration: none; transition: color .3s; }
.footer__bar a:hover { color: var(--cream); text-decoration: underline; }
.footer__giant { margin: 14px calc(-1 * var(--pad) + 14px) -2.6vw; }
.footer__giant svg { width: 100%; height: auto; }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 90; padding: var(--inset); visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__panel { position: relative; height: 100%; border-radius: var(--r); background: var(--panel); display: grid; grid-template-columns: 1fr minmax(260px, 30vw); gap: var(--inset); padding: 0; overflow: hidden; }
.menu__left { position: relative; padding: 26px calc(var(--pad) + 4px) 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; overflow: auto; }
.menu__links a, .menu__links button {
  display: block; font-size: clamp(38px, 5.9vw, 124px); line-height: 1.02; letter-spacing: -.015em; text-decoration: none; color: var(--taupe);
  background: none; border: 0; padding: 0; text-align: left; transition: color .3s;
}
.menu__links li { overflow: hidden; }
.menu__links a:hover, .menu__links button:hover, .menu__links a:focus-visible, .menu__links button:focus-visible { color: var(--cream); }
.menu__foot { display: flex; align-items: center; gap: 30px; margin-top: 30px; }
.menu__foot .icons { margin-top: 0; }
.menu__card { position: relative; margin: var(--inset) var(--inset) var(--inset) 0; border-radius: calc(var(--r) - 6px); overflow: hidden; }
.menu__card img { width: 100%; height: 100%; object-fit: cover; }
.menu__card .marquee { position: absolute; left: 0; right: 0; top: 52%; }
.menu__card .marquee__item { font-size: clamp(60px, 8vw, 160px); }
.menu__card .marquee__item img { height: .32em; }

/* ---------- quote panel ---------- */
.qp { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.qp.is-open { visibility: visible; }
.qp__shade { position: absolute; inset: 0; background: rgba(12, 11, 11, .72); opacity: 0; transition: opacity .6s var(--ease); }
.qp.is-open .qp__shade { opacity: 1; }
.qp__panel {
  position: absolute; top: var(--inset); right: var(--inset); bottom: var(--inset);
  width: min(432px, calc(100vw - 2 * var(--inset)));
  border-radius: var(--r); background: var(--panel); color: var(--cream);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(100% + 20px)); transition: transform .75s var(--ease);
}
.qp.is-open .qp__panel { transform: none; }
.qp__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 15px 30px 24px; }
.qp__close { width: 39px; height: 39px; border-radius: 50%; border: 0; background: var(--bg); color: var(--cream); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s; }
.qp__close svg { width: 14px; height: 14px; }
.qp__close:hover { transform: rotate(90deg); background: #000; }
.qp__title { margin-top: 32px; font-size: 30px; line-height: 1.07; font-weight: 400; letter-spacing: -.01em; max-width: 320px; }
.qp__intro { margin-top: 26px; color: var(--taupe); }
.qp__steps { display: flex; gap: 6px; margin-top: 22px; }
.qp__steps span { flex: 1; height: 2px; border-radius: 2px; background: var(--line); transition: background-color .4s; }
.qp__steps span.is-on { background: var(--cream); }
.qp__screen { display: none; }
.qp__screen.is-on { display: block; }
.qp fieldset { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
.qp legend { padding: 0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.tile { position: relative; display: block; }
.tile input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile__box { display: flex; flex-direction: column; gap: 8px; padding: 4px 4px 10px; border-radius: 16px; background: #1f1d1c; transition: background-color .35s, color .35s; text-align: center; }
.tile__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile__name { font-size: 14px; line-height: 1.2; }
.tile__sub { display: block; font-size: 11px; font-weight: 600; color: var(--taupe); margin-top: 2px; transition: color .35s; }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile input:checked + .tile__box { background: var(--cream); color: var(--bg); }
.tile input:checked + .tile__box .tile__sub { color: #5e574f; }
.tile input:focus-visible + .tile__box { outline: 2px solid var(--cream); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; margin-top: 8px; }
.field { position: relative; display: block; padding-top: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--taupe); }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 0 10px; border: 0; border-bottom: 1px solid rgba(244,239,231,.35); border-radius: 0;
  background: transparent; color: var(--cream); font-size: 16px; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: rgba(177,166,150,.6); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--cream); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--cream); }
.field [aria-invalid="true"] { border-bottom-color: #ff9b85; }
.err { display: block; min-height: 0; margin-top: 4px; font-size: 12px; font-weight: 600; color: #ffb3a3; }
.err:empty { display: none; }
.qp__hint { margin-top: 12px; color: var(--taupe); }
.review { margin-top: 18px; border-top: 1px solid var(--line); }
.review div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--taupe); font-size: 12px; font-weight: 600; padding-top: 2px; }
.review dd { margin: 0; font-size: 15px; word-break: break-word; white-space: pre-line; }
.qp__edit { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.textbtn { background: none; border: 0; padding: 6px 0; color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; font-weight: 600; min-height: 44px; }
.textbtn:hover { color: var(--cream); }
.qp__done { margin-top: 30px; font-size: 22px; line-height: 1.2; }
.qp__bar {
  flex: none; margin: 0 var(--inset) var(--inset); padding: 8px 8px 8px 22px; border-radius: 22px; background: var(--bg);
  display: flex; align-items: center; gap: 14px;
}
.qp__sum { flex: 1; min-width: 0; display: flex; gap: 14px; }
.qp__sum div { min-width: 0; }
.qp__sum div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.qp__sum dt { font-size: 12px; color: var(--taupe); }
.qp__sum dd { margin: 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp__back { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cream); display: grid; place-items: center; }
.qp__back[hidden] { display: none; }
.qp__back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.qp__back:hover { background: var(--cream); color: var(--bg); }
.qp__next { flex: none; }
.qp__next .pill__ico svg { transform: none; }
.qp__next:hover .pill__ico svg { transform: translateX(2px); }

/* ---------- send dialog (order-send.js) ---------- */
.sd { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.6); }
.sd__card { position: relative; width: 100%; max-width: 520px; max-height: calc(100svh - 32px); overflow: auto; background: var(--cream); color: var(--bg); border-radius: 22px; padding: 26px 24px 22px; }
.sd__card h2 { font-size: 24px; font-weight: 500; line-height: 1.15; margin-right: 44px; }
.sd__card p { margin-top: 8px; font-size: 14px; color: #4f4943; }
.sd__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--bg); font-size: 24px; line-height: 1; }
.sd__x:hover { background: rgba(0,0,0,.08); }
.sd__row { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.12); }
.sd__k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6b645c; font-weight: 600; }
.sd__v { margin-top: 4px; font-size: 16px; word-break: break-word; user-select: all; }
.sd__pre { margin: 6px 0 0; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.05); font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; max-height: 210px; overflow: auto; user-select: text; }
.sd__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sd__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--bg); background: transparent; color: var(--bg); text-decoration: none; font-size: 14px; white-space: nowrap; transition: background-color .3s, color .3s; }
.sd__btn--dark, .sd__btn:hover { background: var(--bg); color: var(--cream); }
.sd__btn:focus-visible, .sd__x:focus-visible { outline-color: var(--bg); }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; z-index: 80; right: var(--pad); top: 90px; width: max-content; max-width: min(380px, calc(47vw - 70px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 22px;
  background: var(--panel); color: var(--cream); box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--taupe); }
.cookie a { color: var(--cream); }
.cookie button { flex: none; height: 44px; min-width: 56px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--cream); color: var(--bg); font-size: 14px; }
.cookie button:hover { background: #fff; }

/* ---------- legal pages ---------- */
.legal { padding: 170px var(--pad) 140px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 5vw, 84px); font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.legal .updated { margin-top: 18px; color: var(--taupe); }
.legal h2 { margin-top: 48px; font-size: 24px; font-weight: 500; line-height: 1.2; }
.legal p, .legal li, .legal dd, .legal dt { font-size: 17px; line-height: 1.6; color: #ddd6cb; }
.legal p, .legal ul, .legal dl { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--cream); text-underline-offset: 3px; }
.legal a:hover { color: var(--taupe); }
.legal dl { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 24px; }
.legal dt { color: var(--taupe); }
.legal dd { margin: 0; }
.notfound { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; }
.notfound .pill { margin-top: 36px; align-self: flex-start; }

/* ---------- JS-only hidden starting states (no-JS / reduced motion: all visible) ---------- */
.js.motion .hero__word .mask > img { transform: translateY(105%); }
.js.motion .ui-top .pill, .js.motion .menu-btn { opacity: 0; }
.js.motion .hero__note { opacity: 0; }

/* ---------- tablet / mobile ---------- */
@media (max-width: 1024px) {
  :root { --pad: 22px; }
  .intro__row, .choose__row, .how__row { grid-template-columns: 1fr; gap: 40px; }
  .oval { width: min(40vw, 300px); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__nav { text-align: left; }
  .menu__panel { grid-template-columns: 1fr; }
  .menu__card { display: none; }
}
@media (max-width: 767px) {
  :root { --pad: 16px; --inset: 6px; --r: 22px; --fs-l: 8.6vw; --fs-xl: 12.6vw; --fs-m: 20px; --fs-c: 7.6vw; }
  .ui-top { top: 14px; }
  .ui-top .pill { height: 40px; padding-left: 16px; gap: 10px; font-size: 14px; }
  .ui-top .pill__ico { width: 32px; height: 32px; }
  .menu-btn { bottom: 22px; }
  html.has-cookie .menu-btn { bottom: calc(22px + var(--cookie-h, 0px)); }
  .hero { height: auto; min-height: 0; padding: 0; }
  .hero__frame { height: auto; border-radius: 0; background: transparent; overflow: visible; padding: 66px var(--inset) var(--inset); display: flex; flex-direction: column; }
  .hero__frame::after { display: none; }
  .hero__word { position: relative; left: auto; top: auto; width: calc(100% - 2 * (var(--pad) - var(--inset))); margin: 0 calc(var(--pad) - var(--inset)); }
  .hero__title { position: relative; left: auto; bottom: auto; margin: 26px calc(var(--pad) - var(--inset)) 0; font-size: 22px; max-width: 260px; }
  .hero__note { position: relative; right: auto; bottom: auto; width: auto; margin: 26px calc(var(--pad) - var(--inset)) 0; max-width: 300px; }
  .hero__media { position: relative; inset: auto; z-index: 0; order: 9; margin-top: 30px; height: 62svh; min-height: 380px; border-radius: var(--r); overflow: hidden; }
  .intro { padding-top: 110px; padding-bottom: 110px; }
  .intro__row { margin-top: 70px; }
  .oval { width: 43vw; }
  .intro__label { margin-top: 100px; }
  .choose { padding-bottom: 160px; }
  .choose__row { margin-top: 40px; }
  .tags { margin-top: 26px; gap: 6px; }
  .grow__spacer { display: none; }
  .grow__sticky { position: relative; height: auto; overflow: visible; display: block; place-items: normal; padding: 20px 0 0; }
  .grow__marquee { position: relative; top: auto; transform: none; margin-bottom: 20px; }
  .grow__sticky .card, .card { position: relative; inset: auto; height: auto; padding: 0 var(--inset) 40px; }
  .card__inner { height: auto; border-radius: 0; overflow: visible; background: transparent; }
  .card__inner::after, .card__shade, .card__scroll, .card__progress { display: none; }
  .card__media { position: relative; inset: auto; z-index: 0; height: 52svh; min-height: 300px; border-radius: var(--r); overflow: hidden; }
  .card__title { position: relative; left: auto; top: auto; transform: none; margin: 18px 10px 0; font-size: 34px; }
  .card__foot { position: relative; left: auto; right: auto; bottom: auto; margin: 10px 10px 0; display: block; }
  .card__foot .plus { position: absolute; right: 4px; top: calc(-52svh + 2px); top: auto; bottom: auto; }
  .card .plus { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; }
  .card__desc { max-width: none; color: var(--taupe); }
  .based { padding-top: 120px; }
  .based__map { margin-top: 60px; height: 62svh; }
  .based__pin { font-size: 12px; }
  .why { padding-top: 110px; }
  .split { height: auto; padding: var(--inset); }
  .split__slide { position: relative; inset: auto; grid-template-columns: 1fr; margin-bottom: var(--inset); }
  .split__slide.is-rev .split__panel { order: 0; }
  .split__panel { min-height: 320px; gap: 60px; }
  .split__media { height: 46svh; min-height: 280px; }
  .how { padding-top: 130px; }
  .hscroll { margin-top: 70px; }
  .hscroll__viewport { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0; }
  .hscroll__viewport::-webkit-scrollbar { display: none; }
  .hscroll__track { height: 74svh; min-height: 440px; padding: 0 var(--inset); }
  .hcard { width: 86vw; scroll-snap-align: center; }
  .hcard:last-child { margin-right: var(--inset); }
  .know { padding-top: 130px; padding-bottom: 130px; }
  .know__stage { min-height: 9.5em; }
  .cta__card { height: 82svh; cursor: auto; }
  .cta__word { width: 92vw; bottom: -2vw; }
  .closing { padding-top: 80px; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__bar { flex-direction: column; margin-top: 40px; }
  .footer__giant { margin-bottom: 70px; }
  .menu__left { padding: 22px 18px 100px; }
  .menu__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-width: none; }
  .qp__scroll { padding: 14px 18px 20px; }
  .qp__title { font-size: 26px; margin-top: 22px; }
  .qp__bar { padding-left: 16px; gap: 8px; }
  .qp__sum div:nth-child(2) { display: none; }
  .legal { padding-top: 110px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .page-legal .brand-mini, .page-legal .brand-mini img { width: 120px; }
  .brand-mini { min-height: 44px; display: flex; align-items: center; }
  .footer__nav a { padding: 8px 0; line-height: 28px; }
  .footer__bar a { display: inline-flex; align-items: center; min-height: 44px; }
  .company a { display: inline-flex; align-items: center; min-height: 44px; }
  .intro__label { padding: 13px 0; margin-top: 87px; }
  .ui-top .pill { height: 44px; }
  .ui-top .pill__ico { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.legal a.pill { color: var(--bg); text-decoration: none; }
.legal a.pill:hover { color: var(--bg); }
