/* Nexora demo website. Style tokens come from html[data-style]; layouts from html[data-type]. */
:root {
  --bg: #F6D13A; --ink: #4B0F16; --accent: #2043D0; --accent2: #E5533D; --on-accent: #FBF8F2;
  --card: rgb(255 255 255 / .5); --line: rgb(75 15 22 / .16);
  --display: "Big Shoulders Display", Impact, sans-serif; --d-weight: 900; --d-case: uppercase; --d-track: 0; --d-lh: .88;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --r-btn: 999px; --r-card: 18px;
  --wa: #1FAF5A;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nx-ink: #16173A; --nx-paper: #FBF8F2; --nx-cobalt: #2043D0; --nx-yellow: #F6D13A;
}
[data-style="premium"] {
  --bg: #F4EFE6; --ink: #1D1B18; --accent: #B08A4A; --accent2: #6E5B3F; --on-accent: #FFFDF8;
  --card: #FBF8F1; --line: rgb(29 27 24 / .16);
  --display: "Cormorant Garamond", Georgia, serif; --d-weight: 500; --d-case: none; --d-track: -.01em; --d-lh: .98;
  --r-btn: 0; --r-card: 2px;
}
[data-style="rooted"] {
  --bg: #FFFCF5; --ink: #3A0D0F; --accent: #B3121F; --accent2: #D99A1E; --on-accent: #FFFCF5;
  --card: #FFF4E2; --line: rgb(179 18 31 / .2);
  --display: "Fraunces", Georgia, serif; --d-weight: 800; --d-case: none; --d-track: -.02em; --d-lh: .95;
  --r-btn: 10px; --r-card: 14px;
}
[data-style="fresh"] {
  --bg: #EAF7F1; --ink: #0E2A47; --accent: #1D4ED8; --accent2: #10B981; --on-accent: #fff;
  --card: #fff; --line: rgb(14 42 71 / .12);
  --display: "Hanken Grotesk", system-ui, sans-serif; --d-weight: 800; --d-case: none; --d-track: -.045em; --d-lh: .95;
  --r-btn: 14px; --r-card: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
html.embed { scrollbar-width: none; }
html.embed::-webkit-scrollbar { display: none; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: var(--bg); }
body { margin: 0; font-synthesis: none; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background .4s; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site { min-height: 100vh; padding-bottom: 90px; }
.embed .site { padding-bottom: 0; }
.s { padding: 44px 20px; }
.d-h1 { margin: 0; font: var(--d-weight) clamp(48px, 13vw, 132px)/var(--d-lh) var(--display); text-transform: var(--d-case); letter-spacing: var(--d-track); overflow-wrap: anywhere; }
.d-h2 { margin: 0 0 20px; font: var(--d-weight) clamp(30px, 6vw, 56px)/1 var(--display); text-transform: var(--d-case); letter-spacing: var(--d-track); }
.d-tag { margin: 0 0 14px; font-weight: 700; font-size: 14px; color: var(--accent); }
.d-as { margin: 14px 0 0; font: 700 clamp(20px, 3.4vw, 30px)/1.35 "Noto Sans Bengali", var(--body); color: var(--accent); }
.d-lead { margin: 18px 0 24px; font-size: 17px; max-width: 32em; opacity: .85; }
.d-ctas { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), filter .2s; }
.d-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.d-btn:active { transform: scale(.97); }
.d-btn-sm { padding: 9px 14px; font-size: 14px; }
.d-btn-alt { background: var(--ink); color: var(--bg); }
.d-link { font-weight: 700; text-underline-offset: 4px; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: var(--d-weight) 24px/1 var(--display); }

/* nav */
.d-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.d-logo { font: var(--d-weight) 22px/1 var(--display); text-transform: var(--d-case); letter-spacing: var(--d-track); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.d-links { display: none; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.d-links a { text-decoration: none; opacity: .8; }
.d-links a:hover { opacity: 1; }
.d-tools { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.d-links + .d-tools { margin-left: 0; }
.d-lang, .d-cart { border: 1px solid var(--line); background: none; padding: 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.d-cart b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 11px; margin-left: 2px; }
@media (max-width: 520px) { .d-nav .d-btn-sm { display: none; } .embed .d-nav { padding-top: 46px; } }

.gamosa { height: 14px; background: repeating-linear-gradient(90deg, #B3121F 0 14px, transparent 14px 18px, #B3121F 18px 22px, transparent 22px 34px), #FFFCF5; border-block: 3px solid #B3121F; }
[data-style="rooted"] .d-foot { border-top: 10px solid; border-image: repeating-linear-gradient(90deg, #B3121F 0 14px, #FFFCF5 14px 18px) 10; }
[data-style="premium"] .s + .s { border-top: 1px solid var(--line); }
[data-style="premium"] .d-tag { color: var(--accent2); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* shared pieces */
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.slot { padding: 14px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.slot:hover { background: var(--accent); color: var(--on-accent); }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.g { aspect-ratio: 1; border-radius: var(--r-card); background: var(--accent); }
.g1 { background: var(--accent2); } .g2 { background: var(--ink); } .g3 { background: color-mix(in srgb, var(--accent) 45%, var(--bg)); }
.g4 { background: repeating-linear-gradient(45deg, var(--accent2) 0 8px, transparent 8px 16px), var(--card); } .g5 { background: radial-gradient(circle at 30% 30%, var(--accent2) 0 22%, var(--accent) 23%); }
.d-foot { display: grid; gap: 16px; background: var(--ink); color: var(--bg); padding-block: 36px 56px; }
.d-foot p { margin: 6px 0 0; opacity: .75; font-size: 14px; }
.d-foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; }
.d-wa { position: fixed; right: 18px; bottom: 92px; z-index: 20; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -6px rgb(0 0 0 / .4); }
.embed .d-wa { bottom: 18px; }
.d-wa svg { width: 30px; height: 30px; fill: currentColor; }
.d-quotes { display: grid; gap: 16px; }
.d-quotes blockquote { margin: 0; padding: 22px; border-radius: var(--r-card); background: var(--card); font: var(--d-weight) 22px/1.2 var(--display); text-transform: var(--d-case); }
.d-quotes cite { display: block; margin-top: 10px; font: 600 13px/1 var(--body); font-style: normal; opacity: .65; text-transform: none; }

/* ---------- café ---------- */
.hero { display: grid; gap: 28px; align-items: center; padding-top: 36px; }
.hero-art svg { width: min(100%, 360px); margin: 0 auto; }
.steam path { animation: steam 3s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .5s; } .steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0%, 100% { transform: translateY(6px); opacity: .2; } 50% { transform: translateY(-6px); opacity: .55; } }
.menu-cols { display: grid; gap: 28px; }
.menu-cols h3 { margin: 0 0 8px; font: var(--d-weight) 24px/1 var(--display); text-transform: var(--d-case); color: var(--accent); }
.m-row { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; text-decoration: none; font-size: 17px; }
.m-row i { flex: 1; border-bottom: 2px dotted var(--line); }
.m-row:hover span { color: var(--accent); }
.special { margin-top: 26px; display: grid; gap: 6px; justify-items: start; padding: 22px; border-radius: var(--r-card); background: var(--ink); color: var(--bg); }
.special span { font-size: 13px; font-weight: 700; color: var(--accent2); }
.special strong { font: var(--d-weight) 28px/1.05 var(--display); text-transform: var(--d-case); margin-bottom: 8px; }
.d-visit { display: grid; gap: 18px; }
.d-visit p { margin: 4px 0; }
.map { position: relative; display: block; height: 200px; border-radius: var(--r-card); background:
  linear-gradient(115deg, transparent 46%, color-mix(in srgb, var(--accent) 35%, transparent) 46% 50%, transparent 50%),
  linear-gradient(20deg, transparent 60%, var(--line) 60% 62%, transparent 62%),
  repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 34px), var(--card); }
.pin { position: absolute; left: 52%; top: 42%; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent2); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent2) 25%, transparent); animation: ping 2s ease-out infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 16px transparent; } }

/* ---------- boutique: woven textile patterns ---------- */
.hero-boutique { text-align: center; justify-items: center; }
.hero-boutique .d-lead { margin-inline: auto; }
.hero-boutique .d-ctas { justify-content: center; }
.weave { display: block; background-color: var(--accent); }
.w1 { background: repeating-linear-gradient(90deg, transparent 0 18px, #E7B53A 18px 22px, transparent 22px 26px, #E7B53A 26px 28px), repeating-linear-gradient(0deg, #C9963A 0 3px, #E8C46A 3px 6px); }
.w2 { background: radial-gradient(circle at 50% 50%, #fff 0 3px, transparent 4px) 0 0/22px 22px, repeating-linear-gradient(45deg, #9C1B32 0 6px, #B3243F 6px 12px); }
.w3 { background: repeating-linear-gradient(90deg, #B3121F 0 10px, #FFFCF5 10px 14px, #B3121F 14px 18px, #FFFCF5 18px 60px), #FFFCF5; }
.w4 { background: conic-gradient(from 45deg, #E7B53A 0 25%, #2C2416 0 50%, #E7B53A 0 75%, #2C2416 0) 0 0/18px 18px; }
.weaves { display: flex; justify-content: center; gap: 0; width: 100%; padding: 10px 0 20px; }
.weaves .weave { position: relative; width: 34%; max-width: 220px; aspect-ratio: 3 / 4.4; border-radius: var(--r-card); box-shadow: 0 24px 40px -18px rgb(0 0 0 / .45); text-decoration: none; transition: transform .35s var(--ease); }
.weaves .weave span { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 700; }
.weaves .w1 { transform: rotate(-8deg) translateX(14%); } .weaves .w2 { z-index: 1; transform: translateY(-14px); } .weaves .w3 { transform: rotate(8deg) translateX(-14%); }
.weaves .weave:hover { transform: translateY(-20px) rotate(0); z-index: 2; }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p-card { display: grid; gap: 6px; text-decoration: none; font-weight: 600; }
.p-card .weave { aspect-ratio: 4 / 5; border-radius: var(--r-card); transition: transform .3s var(--ease); }
.p-card:hover .weave { transform: scale(1.03); }
.p-card b { color: var(--accent); }
.d-story { display: grid; gap: 22px; background: var(--ink); color: var(--bg); }
.d-story p { opacity: .85; max-width: 34em; margin: 0 0 20px; }
.loom { min-height: 180px; border-radius: var(--r-card); background: repeating-linear-gradient(90deg, var(--accent2) 0 2px, transparent 2px 10px), repeating-linear-gradient(0deg, var(--accent) 0 6px, color-mix(in srgb, var(--accent) 60%, var(--ink)) 6px 12px); }

/* ---------- store ---------- */
.hero-store { background: var(--accent); color: var(--on-accent); }
.hero-store .d-tag { color: inherit; opacity: .85; }
.search { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; border-radius: var(--r-btn); background: #fff; color: #333; text-decoration: none; box-shadow: 0 18px 30px -16px rgb(0 0 0 / .5); max-width: 520px; }
[data-style="premium"] .search { border-radius: 0; }
.search span { opacity: .55; }
.search b { padding: 10px 16px; border-radius: var(--r-btn); background: var(--ink); color: var(--bg); font-size: 14px; }
.crate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.crate-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-card); background: rgb(255 255 255 / .16); }
.crate-cell svg { width: 66%; }
.crate-cell:nth-child(1) svg { animation: bob 3s ease-in-out infinite; } .crate-cell:nth-child(4) svg { animation: bob 3s ease-in-out 1.5s infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.d-cats { padding-block: 18px; }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.cat { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; text-decoration: none; }
.cat:first-child { background: var(--ink); color: var(--bg); }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.item { display: grid; gap: 8px; padding: 12px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.item-art { display: grid; place-items: center; aspect-ratio: 1.2; border-radius: calc(var(--r-card) - 6px); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.item-art svg { width: 58%; }
.item-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.item-row { display: flex; align-items: center; justify-content: space-between; }
.add { padding: 6px 14px; border-radius: var(--r-btn); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 13px; text-decoration: none; }
.add:hover { background: var(--accent); color: var(--on-accent); }
.d-promise { display: grid; gap: 10px; }
.promise { display: grid; padding: 18px; border-radius: var(--r-card); background: var(--ink); color: var(--bg); }
.promise strong { font: var(--d-weight) 24px/1.1 var(--display); text-transform: var(--d-case); }
.promise span { opacity: .75; font-size: 14px; }

/* ---------- clinic ---------- */
.art-plus { width: min(100%, 300px); margin: 0 auto; }
.pulse { stroke-dasharray: 400; animation: trace 2.6s linear infinite; }
@keyframes trace { from { stroke-dashoffset: 400; } to { stroke-dashoffset: -400; } }
.d-appt { padding-top: 0; }
.appt { padding: 24px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 40px -26px rgb(0 0 0 / .45); }
.docs { display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-card); background: var(--card); text-decoration: none; }
.doc .avatar { grid-row: span 2; }
.doc span:last-child { opacity: .7; font-size: 14px; }
.times { display: grid; gap: 0; margin: 0; }
.times div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.times dt { font-weight: 700; } .times dd { margin: 0; }

/* ---------- coaching ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.results div { display: grid; align-content: end; padding: 16px 12px; min-height: 130px; border-radius: var(--r-card); background: var(--ink); color: var(--bg); }
.results div:nth-child(2) { background: var(--accent); color: var(--on-accent); transform: translateY(-14px); }
.results strong { font: var(--d-weight) clamp(34px, 9vw, 64px)/1 var(--display); }
.results span { font-size: 12.5px; line-height: 1.3; opacity: .85; }
.timetable { display: grid; border-top: 2px solid var(--ink); }
.tt-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.tt-row strong { font-size: 18px; } .tt-row span { opacity: .7; font-size: 14px; } .tt-row b { grid-row: 1; grid-column: 2; color: var(--accent); }
.tt-row em { grid-column: 2; font-style: normal; font-weight: 800; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.toppers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.topper { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; border-radius: var(--r-card); background: var(--card); }
.topper b { font: var(--d-weight) 26px/1 var(--display); color: var(--accent); }

/* ---------- portfolio ---------- */
.hero-portfolio { padding-block: 60px 30px; }
.d-h1-huge { font-size: clamp(64px, 19vw, 220px); line-height: .85; }
.covers { display: grid; gap: 12px; }
.cover { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; text-decoration: none; background: var(--accent); }
.cover span { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: 14px; }
.cover::before { content: ""; position: absolute; inset: 0; transition: transform .6s var(--ease); }
.cover:hover::before { transform: scale(1.06); }
.c1::before { background: radial-gradient(circle at 70% 35%, var(--accent2) 0 18%, transparent 19%), linear-gradient(160deg, #2F6B3A, #173D22); }
.c2::before { background: radial-gradient(ellipse at 50% 120%, #F3C9A8 0 45%, transparent 46%), linear-gradient(#5A3A52, #2A1B28); }
.c3::before { background: repeating-linear-gradient(0deg, var(--bg) 0 3px, transparent 3px 26px) 30% 40%/50% 46% no-repeat, var(--accent2); }
.c4::before { background: linear-gradient(var(--bg), var(--bg)) 20% 50%/24% 70% no-repeat, linear-gradient(var(--bg), var(--bg)) 56% 50%/24% 70% no-repeat, var(--accent); }
.d-about { display: grid; gap: 20px; }
.d-about p { max-width: 34em; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clients li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.d-hire { display: grid; gap: 22px; justify-items: start; background: var(--accent); color: var(--on-accent); }
.d-hire .d-btn { background: var(--bg); color: var(--ink); }

/* ---------- apps ---------- */
.app { background: var(--ink); color: var(--bg); padding-bottom: 30px; }
.app .d-tag { color: var(--accent2); }
.d-h1-app { font-size: clamp(40px, 10vw, 84px); margin-bottom: 22px; }
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; color: var(--ink); }
.kpi { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-card); background: var(--bg); }
.kpi span, .chart > span, .tx > span { font-size: 12.5px; font-weight: 700; opacity: .65; }
.kpi strong { font: var(--d-weight) 26px/1.05 var(--display); }
.kpi small { font-size: 12.5px; color: #127A3C; font-weight: 700; }
.kpi-main { grid-column: 1 / -1; background: var(--accent); color: var(--on-accent); }
.kpi-main strong { font-size: 50px; } .kpi-main small { color: inherit; opacity: .9; }
.pos { color: #127A3C; } .neg { color: #B3261E; }
.chart, .tx { grid-column: 1 / -1; padding: 16px; border-radius: var(--r-card); background: var(--bg); }
.chart svg { width: 100%; margin-top: 8px; }
.bar { fill: var(--accent); transform-box: fill-box; transform-origin: bottom; animation: grow .8s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .3s); }
.bar:nth-child(odd) { fill: var(--accent2); }
@keyframes grow { from { transform: scaleY(0); } }
.tx { display: grid; gap: 2px; }
.tx-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.tx-row:last-child { border: 0; }
.app-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--bg); padding-top: 6px; }
.dash-bill .app-actions { color: var(--ink); }
.dash .d-btn-alt { background: var(--bg); color: var(--ink); }
.dash-bill .d-btn-alt { background: var(--ink); color: var(--bg); }
.invoice { grid-column: 1 / -1; padding: 20px; border-radius: var(--r-card); background: #fff; color: #1d1d1d; box-shadow: 0 30px 50px -30px rgb(0 0 0 / .6); }
.inv-head { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.invoice table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 16px; }
.invoice td { padding: 9px 0; border-bottom: 1px dashed #ddd; }
.invoice td:nth-child(2) { opacity: .6; } .invoice td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.invoice tfoot td { border: 0; }
.invoice .total td { font-weight: 800; font-size: 19px; border-top: 2px solid #1d1d1d; }
.d-feats { display: grid; gap: 10px; }
.feat { display: grid; gap: 4px; padding: 18px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.feat strong { font: var(--d-weight) 22px/1.1 var(--display); text-transform: var(--d-case); }
.feat span { opacity: .75; font-size: 14px; }

/* ---------- wider screens (the laptop frame is 1280 wide) ---------- */
@media (min-width: 760px) {
  .s { padding: 72px 6vw; }
  .d-nav { padding: 16px 6vw; }
  .d-links { display: flex; }
  .hero { grid-template-columns: 1.15fr .85fr; gap: 40px; min-height: 76vh; }
  .hero-boutique { grid-template-columns: 1fr; min-height: 0; }
  .hero-boutique .d-h1 { font-size: clamp(64px, 9vw, 140px); }
  .weaves { max-width: 760px; }
  .hero-portfolio { min-height: 0; grid-template-columns: 1fr; }
  .menu-cols { grid-template-columns: 1fr 1fr; gap: 60px; }
  .special { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .special strong { margin: 0; }
  .d-visit, .d-story, .d-about { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .map { height: 280px; }
  .d-quotes { grid-template-columns: 1fr 1fr; }
  .p-grid, .shop-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .shop-grid { grid-template-columns: repeat(6, 1fr); }
  .g-grid { grid-template-columns: repeat(6, 1fr); }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .d-promise, .d-feats { grid-template-columns: repeat(3, 1fr); }
  .crate { gap: 16px; }
  .d-appt { margin-top: -70px; position: relative; padding-inline: 12vw; }
  .docs { grid-template-columns: repeat(3, 1fr); }
  .times { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
  .results { align-self: stretch; align-content: center; }
  .results div { min-height: 200px; padding: 22px; }
  .timetable { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .covers { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cover:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
  .app { padding-bottom: 60px; }
  .dash { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .kpi-main { grid-column: span 2; grid-row: span 2; align-content: end; }
  .kpi-main strong { font-size: 76px; }
  .chart { grid-column: span 2; grid-row: span 2; }
  .tx { grid-column: span 2; }
  .dash .chart { grid-column: 3 / 5; grid-row: 1 / 3; }
  .dash .kpi:not(.kpi-main) { grid-row: 3; }
  .dash .tx { grid-column: 3 / 5; grid-row: 3 / 5; }
  .dash > .app-actions { grid-column: 1 / 3; grid-row: 4; }
  .dash-bill { grid-template-columns: 1.3fr 1fr; }
  .dash-bill .invoice { grid-column: 1; grid-row: 1 / 5; }
  .dash-bill .kpi { grid-column: 2; grid-row: auto; }
  .dash-bill .kpi-main { grid-row: auto; }
  .dash-bill .kpi-main strong { font-size: 60px; }
  .d-foot { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- entrances (sections, as the film builds them) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim .s:not(.in) .rv, .anim .s:not(.in).rv { opacity: 0; transform: translateY(36px); }
  .anim .s .rv { transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .anim .s .rv:nth-child(2) { transition-delay: .08s; } .anim .s .rv:nth-child(3) { transition-delay: .16s; }
  .anim .s .rv:nth-child(4) { transition-delay: .24s; } .anim .s .rv:nth-child(5) { transition-delay: .32s; }
  .anim .hero .d-h1.rv { transform-origin: left bottom; }
  .anim .hero:not(.in) .d-h1.rv { transform: translateY(60px) skewY(4deg); }
  .site.swap { animation: swap .5s var(--ease); }
}
@keyframes swap { from { opacity: 0; transform: translateY(18px) scale(.985); } }

/* ---------- the Nexora layer: bar, film, sheet, toast ---------- */
.embed .nx-bar, .embed .film, .embed .nx-take { display: none !important; }
.nx-bar {
  position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; overflow: hidden;
  background: var(--nx-ink); color: var(--nx-paper); font: 600 14px/1 "Hanken Grotesk", sans-serif;
  box-shadow: 0 18px 40px -14px rgb(0 0 0 / .55); width: max-content; max-width: calc(100% - 20px);
}
.nx-made { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; text-decoration: none; white-space: nowrap; }
.nx-made svg { width: 26px; height: 26px; fill: var(--nx-yellow); }
.nx-ghost, .nx-real { border: 0; border-radius: 999px; padding: 10px 14px; white-space: nowrap; font-weight: 700; }
.nx-ghost { background: rgb(255 255 255 / .08); color: inherit; }
.nx-ghost:hover { background: rgb(255 255 255 / .16); }
.nx-real { background: var(--nx-yellow); color: var(--nx-ink); }
.nx-real:hover { background: #fff; }
.nx-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.nx-progress i { display: block; height: 100%; width: 0; background: var(--nx-yellow); }
@media (max-width: 560px) { .nx-made span, #nxShare { display: none; } .nx-made { padding-right: 4px; } }

.film { position: fixed; inset: 0; z-index: 70; display: none; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: var(--nx-cobalt); color: var(--nx-paper); }
.film.show { display: grid; }
.film-pre { margin: 0; font: 500 13px/1 "IBM Plex Mono", monospace; letter-spacing: .12em; opacity: .7; animation: film-in .6s var(--ease) both; }
.film-name { margin: 0; min-height: 1em; font: 900 clamp(54px, 14vw, 160px)/.9 "Big Shoulders Display", Impact, sans-serif; text-transform: uppercase; overflow-wrap: anywhere; }
.film-name::after { content: ""; display: inline-block; width: .08em; height: .8em; margin-left: .06em; background: var(--nx-yellow); vertical-align: -.04em; animation: caret .8s steps(1) infinite; }
.film-post { margin: 0; font-size: 17px; opacity: .85; animation: film-in .6s var(--ease) .5s both; }
.film.leave { animation: film-out .6s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes film-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes film-out { to { clip-path: inset(0 0 100% 0); } }
@keyframes caret { 50% { opacity: 0; } }
.film { clip-path: inset(0 0 0 0); }

.nx-take { position: fixed; z-index: 61; left: 50%; bottom: 86px; transform: translateX(-50%); border: 0; padding: 9px 16px; border-radius: 999px; background: rgb(22 23 58 / .78); color: #fff; font: 600 13px/1 "Hanken Grotesk", sans-serif; backdrop-filter: blur(8px); animation: film-in .5s var(--ease) both; white-space: nowrap; }
.nx-take[hidden] { display: none; }

.nx-sheet { width: min(440px, calc(100% - 24px)); border: 0; border-radius: 26px; padding: 28px; background: var(--nx-paper); color: var(--nx-ink); font-family: "Hanken Grotesk", sans-serif; box-shadow: 0 40px 80px -20px rgb(0 0 0 / .5); }
.nx-sheet::backdrop { background: rgb(22 23 58 / .55); backdrop-filter: blur(4px); }
.nx-sheet[open] { animation: sheet-in .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes sheet-in { from { transform: translateY(40px) scale(.96); opacity: 0; } }
.nx-sheet h2 { margin: 0 0 8px; font: 900 44px/.9 "Big Shoulders Display", Impact, sans-serif; text-transform: uppercase; color: var(--nx-cobalt); }
.nx-sheet p { margin: 0 0 20px; line-height: 1.5; }
.nx-sheet-actions { display: grid; gap: 10px; }
.nx-wa, .nx-call, .nx-keep { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; font-size: 16px; }
.nx-wa { background: var(--wa); color: #fff; }
.nx-wa svg { width: 22px; height: 22px; fill: currentColor; }
.nx-call { background: var(--nx-ink); color: var(--nx-paper); }
.nx-keep { background: none; color: var(--nx-ink); text-decoration: underline; text-underline-offset: 4px; }

.d-toast { position: fixed; z-index: 80; left: 50%; transform: translate(-50%, 8px) scale(.96); opacity: 0; pointer-events: none; display: grid; gap: 2px; padding: 12px 18px; border-radius: 16px; background: var(--nx-ink); color: var(--nx-paper); font: 500 14px/1.3 "Hanken Grotesk", sans-serif; text-align: center; box-shadow: 0 16px 30px -10px rgb(0 0 0 / .5); transition: opacity .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); white-space: nowrap; }
.d-toast strong { color: var(--nx-yellow); font-size: 15px; }
.d-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* expired link */
.gone { min-height: 100vh; display: grid; align-content: center; gap: 18px; padding: 40px 24px; max-width: 900px; margin: 0 auto; background: var(--nx-yellow); color: var(--nx-ink); font-family: "Hanken Grotesk", sans-serif; }
body:has(.gone) { background: var(--nx-yellow); }
.gone-k { margin: 0; font: 500 13px/1 "IBM Plex Mono", monospace; letter-spacing: .1em; }
.gone-h { margin: 0; font: 900 clamp(60px, 12vw, 140px)/.85 "Big Shoulders Display", Impact, sans-serif; text-transform: uppercase; }
.gone-h span { display: block; color: var(--nx-cobalt); }
.gone p:not(.gone-k) { margin: 0; font-size: 19px; font-weight: 600; max-width: 30em; }
.gone-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.gone-btn, .gone-wa { padding: 15px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.gone-btn { background: var(--nx-ink); color: var(--nx-paper); } .gone-wa { background: var(--wa); color: #fff; }
