/* =========================================================
   Pulcra · Home Care — demo
   1. Tokens  2. Reset  3. Type & layout  4. Components
   5. Sections  6. Effects (.fx)  7. Responsive
   ========================================================= */

/* 1. Tokens */
:root {
  --paper: #F6F5F0;
  --white: #FFFFFF;
  --stone: #E9E7DF;
  --ink: #141414;
  --ink-2: #3B3B37;
  --muted: #74736C;
  --line: rgba(20, 20, 20, .12);
  --line-2: rgba(20, 20, 20, .22);
  --lime: #D6F24C;
  --lime-d: #BCD82F;
  --f-display: "Gloock", "Times New Roman", serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1320px;
  --gut: clamp(1rem, 4vw, 2.6rem);
  --sec: clamp(5rem, 11vw, 9rem);
  --r: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; padding: .7rem 1rem; background: var(--ink); color: var(--paper); border-radius: 10px; }
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }

/* 3. Type & layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .02em; }
.label { display: inline-flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 500; color: var(--muted); }
.label .mono { color: var(--ink); background: var(--lime); padding: .2rem .5rem; border-radius: 6px; }
.sec-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.025em; margin-top: 1.1rem; }
.sec-title em { font-style: normal; color: var(--muted); }
.sec-lead { color: var(--ink-2); max-width: 32rem; font-size: 1.08rem; margin-top: 1.2rem; }
.sec-head { margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.sec-head--split { display: grid; gap: 1rem; align-items: end; }
.sec-head--split .sec-lead { margin-top: 0; }

/* 4. Components */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--ease-out); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { min-height: 56px; padding: 1rem 1.6rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2A27; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-d); }
.btn-line { border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); background: var(--white); }
.btn-ghost { border: 1px solid rgba(246, 245, 240, .35); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }

/* nav */
.nav { position: sticky; top: 0; z-index: 200; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 72px; }
.logo { font-family: var(--f-display); font-size: 2rem; line-height: 1; letter-spacing: -.03em; }
.logo-dot { color: var(--lime-d); text-shadow: 0 0 0 var(--ink); -webkit-text-stroke: .6px var(--ink); }
.nav-links { display: none; }
.nav-phone { display: none; }
.nav-cta { display: none; }
.nav-toggle { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-content: center; gap: 6px; }
.nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
.nav-links.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px; padding: 1rem var(--gut) 2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-links.is-open a { font-family: var(--f-display); font-size: 2rem; padding: .25rem 0; }
.nav-links.is-open .nav-cta-mobile { font-family: var(--f-body); font-size: 1rem; margin-top: 1rem; }

/* 5. Sections ---------------------------------------- */

/* hero */
.hero { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.6rem, 15vw, 11.5rem); line-height: .86; letter-spacing: -.045em; margin-top: 1.4rem; }
.hero-title em { font-style: normal; position: relative; display: inline-block; }
.hero-title em::after { content: ""; position: absolute; left: -.04em; right: -.06em; bottom: .08em; height: .26em; background: var(--lime); z-index: -1; border-radius: .08em; transform-origin: left; }
.hero-sub { margin-top: 1.6rem; max-width: 30rem; font-size: 1.15rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-proof { display: flex; gap: 2rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-proof li { display: grid; gap: .1rem; }
.hero-proof b { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.hero-proof span { font-size: .82rem; color: var(--muted); }

.wipe { position: relative; border-radius: var(--r); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3.4; box-shadow: 0 50px 90px -50px rgba(20, 20, 20, .45); isolation: isolate; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wipe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: none; touch-action: none; display: none; }
.wipe-hint { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: none; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(20, 20, 20, .82); color: var(--paper); font-size: .9rem; font-weight: 500; pointer-events: none; transition: opacity .5s ease; white-space: nowrap; }
.wipe-hand svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; animation: swipe 2.2s var(--ease-out) infinite; }
.wipe-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; gap: .8rem; padding: .55rem .7rem .55rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wipe-bar b { font-weight: 500; font-variant-numeric: tabular-nums; }
.wipe-meter { flex: 1; height: 6px; background: var(--stone); border-radius: 6px; overflow: hidden; }
.wipe-meter i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 6px; transition: width .25s ease; }
.wipe-reset { padding: .35rem .7rem; border-radius: 99px; background: var(--ink); color: var(--paper); }
.wipe-done { position: absolute; left: 50%; top: 18px; transform: translate(-50%, -12px); opacity: 0; padding: .55rem 1rem; border-radius: 999px; background: var(--lime); font-weight: 600; font-size: .92rem; transition: opacity .5s ease, transform .6s var(--ease-out); white-space: nowrap; pointer-events: none; }
.wipe.is-clean .wipe-done { opacity: 1; transform: translate(-50%, 0); }
.wipe-cursor { position: absolute; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(20,20,20,.15); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.wipe-cursor.on { opacity: 1; }
.sparkle { position: absolute; width: 14px; height: 14px; pointer-events: none; color: #fff; animation: twinkle 1s var(--ease-out) forwards; }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); }

/* strip */
.strip { background: var(--ink); color: var(--paper); overflow: hidden; padding: 1rem 0; }
.strip-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 40s linear infinite; font-size: .95rem; }
.strip-track span { white-space: nowrap; }

/* list */
.list { padding: var(--sec) 0; }
.list-grid { display: grid; gap: 2rem; }
.list-visual { display: none; }
.room { padding: 1.6rem 0 2rem; border-top: 1px solid var(--line-2); }
.room h3 { display: flex; align-items: baseline; gap: .8rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.room h3 .mono { color: var(--muted); }
.room h3 small { margin-left: auto; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.tasks { display: grid; gap: 0; margin-top: 1.2rem; }
.tasks li { position: relative; display: flex; align-items: center; gap: .9rem; padding: .62rem 0; border-bottom: 1px dashed var(--line); font-size: 1rem; color: var(--ink-2); transition: color .4s ease; }
.tasks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--white) no-repeat center / 12px; transition: background-color .3s ease, border-color .3s ease, transform .4s var(--ease-out); }
.tasks li.done { color: var(--muted); }
.tasks li.done::before { background-color: var(--lime); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); transform: scale(1.05); }

/* services: hotel tags */
.services { padding: var(--sec) 0; background: var(--white); border-block: 1px solid var(--line); }
.tags { display: grid; gap: 1rem; }
.tag-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 3.2rem 1.6rem 1.6rem; border-radius: 18px 18px 26px 26px; background: var(--paper); border: 1px solid var(--line); transform-origin: 50% 0; transition: transform .6s var(--ease-out), box-shadow .4s ease; min-height: 330px; }
.tag-card:hover { box-shadow: 0 30px 60px -36px rgba(20,20,20,.45); }
.tag-hole { position: absolute; top: 1.1rem; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-2); box-shadow: inset 0 2px 3px rgba(0,0,0,.08); }
.tag-card .mono { color: var(--muted); }
.tag-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.tag-card p:not(.mono):not(.tag-price) { color: var(--ink-2); font-size: .98rem; }
.tag-price { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.tag-price .mono { font-size: .72rem; vertical-align: middle; margin-right: .3rem; }
.tag-card--lime { background: var(--lime); border-color: var(--lime-d); }
.tag-card--lime .mono, .tag-card--lime p:not(.mono) { color: var(--ink) !important; }
.tag-card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag-card--ink .mono { color: rgba(246,245,240,.6); }
.tag-card--ink p:not(.mono):not(.tag-price) { color: rgba(246,245,240,.8); }
.tag-card--ink .tag-price { border-top-color: rgba(246,245,240,.25); }
.tag-card--ink .tag-hole { background: var(--white); border-color: transparent; }

/* quote */
.quote { padding: var(--sec) 0; }
.quote-grid { display: grid; gap: 2rem; }
.calc { display: grid; gap: 1.5rem; padding: clamp(1.3rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-field { display: grid; gap: .6rem; }
.calc-label { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.calc-label b { color: var(--ink); font-weight: 500; }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--line-2); border-radius: 14px; height: 52px; }
.stepper button { width: 52px; height: 100%; font-size: 1.4rem; border-radius: 14px; transition: background .2s ease; }
.stepper button:hover { background: var(--paper); }
.stepper output { font-family: var(--f-display); font-size: 1.8rem; min-width: 2.2rem; text-align: center; }
input[type=range] { width: 100%; height: 36px; accent-color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg label, .chips label, .days label { position: relative; }
.seg input, .chips input, .days input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span, .chips span { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .55rem .95rem; border-radius: 12px; border: 1px solid var(--line-2); font-size: .93rem; font-weight: 500; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.seg small, .chips small { font-family: var(--f-mono); font-size: .72rem; opacity: .7; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips input:checked + span { background: var(--lime); border-color: var(--ink); }
.seg input:focus-visible + span, .chips input:focus-visible + span, .days input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg label:hover span, .chips label:hover span { border-color: var(--ink); }

.receipt { position: relative; padding: 1.6rem 1.5rem 1.4rem; background: var(--white); border-radius: 6px; box-shadow: 0 30px 60px -36px rgba(20,20,20,.5); font-family: var(--f-mono); font-size: .86rem; align-self: start; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--white) 8.5px) 0 0 / 16px 12px repeat-x; }
.receipt-head { color: var(--muted); padding-bottom: .8rem; border-bottom: 1px dashed var(--line-2); display: flex; justify-content: space-between; }
.receipt-lines { padding: .8rem 0; display: grid; gap: .45rem; border-bottom: 1px dashed var(--line-2); min-height: 4rem; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 1rem; animation: pop .35s var(--ease-out) both; }
.receipt-lines li.neg { color: #3F7A1F; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .4rem; font-family: var(--f-body); }
.receipt-total span { font-weight: 500; }
.receipt-total b { font-family: var(--f-display); font-weight: 400; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.receipt-meta { color: var(--muted); margin-bottom: .6rem; }
.receipt-save { margin-bottom: .8rem; padding: .45rem .7rem; background: var(--lime); border-radius: 8px; color: var(--ink); }
.receipt .btn { margin-top: .6rem; font-family: var(--f-body); }
.receipt-fine { text-align: center; color: var(--muted); margin-top: .8rem; font-size: .7rem; }

/* booking */
.book { padding: 0 0 var(--sec); }
.book-grid { display: grid; gap: 2.5rem; align-items: center; }
.booker { display: grid; gap: 1.3rem; padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.book-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.days span { display: grid; place-items: center; gap: 0; min-height: 62px; padding: .4rem; border-radius: 12px; border: 1px solid var(--line-2); text-align: center; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.days b { font-weight: 600; font-size: .95rem; }
.days small { font-family: var(--f-mono); font-size: .7rem; opacity: .7; }
.days input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.field { display: block; }
.field input { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.field input.is-bad { border-color: #C2412D; }
.zip-hint { min-height: 1.2em; color: var(--muted); margin-top: -.6rem; }
.zip-hint.ok { color: #3F7A1F; }
.zip-hint.no { color: #A04A12; }
.book-status { min-height: 1.4em; font-size: .92rem; color: #A04A12; }
.hanger-wrap { display: grid; justify-items: center; padding: 2rem 0; perspective: 900px; }
.hanger { position: relative; width: min(100%, 320px); padding: 6.6rem 1.8rem 2rem; background: var(--ink); color: var(--paper); border-radius: 160px 160px 26px 26px; box-shadow: 0 40px 70px -36px rgba(20,20,20,.7); transform-origin: 50% 3.2rem; animation: sway 6s ease-in-out infinite; outline: none; }
.hanger-hole { position: absolute; top: 1.6rem; left: 50%; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 3px 8px rgba(0,0,0,.25); }
.hanger-kicker { color: var(--lime); }
.hanger-title { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; margin-top: .5rem; }
.hanger-title em { font-style: normal; color: var(--lime); }
.hanger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed rgba(246,245,240,.3); }
.hanger-grid dt { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; color: rgba(246,245,240,.55); }
.hanger-grid dd { font-weight: 600; font-size: .98rem; }
.hanger-team { margin-top: 1.2rem; font-size: .9rem; color: rgba(246,245,240,.8); }
.hanger-note { margin-top: 1rem; font-family: var(--f-mono); font-size: .72rem; color: rgba(246,245,240,.55); }
.hanger.is-booked { animation: swing 1.4s var(--ease-out), sway 6s ease-in-out 1.4s infinite; }

/* team */
.team { padding: var(--sec) 0; background: var(--white); border-block: 1px solid var(--line); }
.crew { display: grid; gap: 1rem; }
.mate { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); display: grid; gap: .25rem; align-content: start; }
.mate-av { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 1rem; }
.mate-av--lime { background: var(--lime); color: var(--ink); }
.mate h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1.05; }
.mate p { color: var(--ink-2); font-size: .95rem; }
.mate .mono { color: var(--muted); margin-top: .6rem; }
.mate--photo { padding: 0; overflow: hidden; }
.mate--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mate--photo .mono { padding: 1rem 1.3rem 1.3rem; margin: 0; }

/* quotes */
.quotes { padding: var(--sec) 0; }
.quotes-grid { display: grid; gap: 2rem; }
.big-quote blockquote { font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; }
.big-quote figcaption, .mini-quotes figcaption { color: var(--muted); margin-top: 1rem; }
.mini-quotes { display: grid; gap: 1rem; }
.mini-quotes figure { padding: 1.4rem; border-top: 1px solid var(--line-2); }
.mini-quotes blockquote { font-size: 1.15rem; }
.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: .8rem; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); aspect-ratio: 4 / 5; }

/* faq */
.faq { padding: var(--sec) 0; background: var(--white); border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 2.4rem; }
.zones { margin-top: 2rem; }
.zones .mono { color: var(--muted); margin-bottom: .6rem; }
.zones ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.zones li { padding: .35rem .8rem; border-radius: 99px; border: 1px solid var(--line-2); font-size: .9rem; }
.faq-list details { border-top: 1px solid var(--line-2); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--f-body); font-size: 1.3rem; transition: transform .4s var(--ease-out), background .3s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--lime); border-color: var(--ink); }
.faq-list details p { padding: 0 3rem 1.4rem 0; color: var(--ink-2); max-width: 40rem; }

/* end */
.end { background: var(--ink); color: var(--paper); padding: var(--sec) 0; }
.end-inner { display: grid; gap: 2rem; }
.end-title { font-family: var(--f-display); font-size: clamp(3.6rem, 12vw, 10rem); line-height: .88; letter-spacing: -.04em; }
.end-title em { font-style: normal; color: var(--lime); }
.end-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* footer */
.footer { padding: 2rem 0 6rem; font-size: .88rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.footer-row .logo { color: var(--ink); font-size: 1.6rem; margin-right: auto; }
.footer-row a:not(.logo), .demo-note a { text-decoration: underline; text-underline-offset: 3px; }
.demo-note { margin-top: 1rem; font-size: .82rem; }

.demo-pill { position: fixed; left: 1rem; bottom: 1rem; z-index: 210; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .75rem; border: 1px solid rgba(246,245,240,.2); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.demo-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.demo-pill:hover { background: #2A2A27; }

/* 6. Effects (.fx only) */
.fx .wipe-canvas, .fx .wipe-hint, .fx .wipe-bar { display: flex; }
.fx .wipe-canvas { display: block; }
.fx .wipe.is-touched .wipe-hint { opacity: 0; }
.fx [data-in] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.fx [data-in].is-in { opacity: 1; transform: none; }
.fx .hero-title em::after { transform: scaleX(0); transition: transform .9s var(--ease-out) .6s; }
.fx .hero-title.is-in em::after { transform: scaleX(1); }
.fx .tags [data-in]:nth-child(2), .fx .crew [data-in]:nth-child(2) { transition-delay: .08s; }
.fx .tags [data-in]:nth-child(3), .fx .crew [data-in]:nth-child(3) { transition-delay: .16s; }
.fx .tags [data-in]:nth-child(4), .fx .crew [data-in]:nth-child(4) { transition-delay: .24s; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes swipe { 0%, 100% { transform: translateX(-4px) rotate(-8deg); } 50% { transform: translateX(6px) rotate(8deg); } }
@keyframes twinkle { 0% { transform: scale(0) rotate(0); opacity: 0; } 40% { transform: scale(1.2) rotate(45deg); opacity: 1; } 100% { transform: scale(0) rotate(90deg); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes swing { 0% { transform: rotate(0); } 20% { transform: rotate(9deg); } 45% { transform: rotate(-6deg); } 70% { transform: rotate(3deg); } 100% { transform: rotate(-1.4deg); } }

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation-duration: 160s; }
  .hanger { animation: none; }
}

/* 7. Responsive */
@media (min-width: 640px) {
  .tags { grid-template-columns: repeat(2, 1fr); }
  .crew { grid-template-columns: repeat(2, 1fr); }
  .mini-quotes { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; gap: 1.6rem; margin-left: 2.6rem; font-size: .92rem; font-weight: 500; }
  .nav-links a { color: var(--ink-2); position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta-mobile { display: none; }
  .nav-phone { display: inline; margin-left: auto; color: var(--ink-2); }
  .nav-cta { display: inline-flex; min-height: 44px; padding: .6rem 1.2rem; }
  .nav-toggle { display: none; }

  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; }
  .wipe { aspect-ratio: 4 / 4.2; }
  .sec-head--split { grid-template-columns: 1fr minmax(0, 28rem); gap: 3rem; }

  .list-grid { grid-template-columns: .95fr 1.05fr; gap: 5rem; align-items: start; }
  .list-visual { display: block; position: sticky; top: 100px; }
  .list-frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r); overflow: hidden; background: var(--stone); }
  .list-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .7s ease, transform 1.4s var(--ease-out); }
  .list-frame img.is-on { opacity: 1; transform: none; }
  .list-counter { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: baseline; gap: .5rem; padding: .7rem 1.1rem; border-radius: 16px; background: var(--white); }
  .list-counter b { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
  .tasks { grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }

  .tags { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
  .quote-grid { grid-template-columns: .8fr 1.25fr .8fr; gap: 2rem; align-items: start; }
  .quote-copy { position: sticky; top: 110px; }
  .receipt { position: sticky; top: 110px; }
  .book-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
  .crew { grid-template-columns: repeat(4, 1fr); }
  .quotes-grid { grid-template-columns: 1.2fr .8fr; column-gap: 4rem; row-gap: 2.4rem; align-items: start; }
  .photo-pair { grid-column: 1 / -1; grid-template-columns: 1.6fr 1fr; }
  .photo-pair img { aspect-ratio: 16 / 10; }
  .photo-pair img:last-child { aspect-ratio: auto; height: 100%; }
  .mini-quotes { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .end-inner { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 960px) and (max-width: 1180px) {
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .quote-copy { grid-column: 1 / -1; position: static; }
}
@media (hover: hover) and (pointer: fine) {
  .tag-card:hover { transform: rotate(-1.8deg) translateY(-6px); }
  .tag-card:nth-child(even):hover { transform: rotate(1.8deg) translateY(-6px); }
}

/* ajustes de títulos en columnas estrechas */
.quote-copy .sec-title, .faq .sec-title { font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.end-title { font-size: clamp(3.2rem, 8.4vw, 7.6rem); max-width: 14ch; }
