/* World of Dreads — palette taken from the logo: charcoal, forest-green gradient, sage highlight. */
:root {
  --bg: #161a15;
  --surface: #1f251d;
  --surface-2: #283026;
  --line: rgba(233, 238, 225, .09);
  --ink: #eef0e8;
  --muted: #a3ab9b;
  --green-900: #2b3a27;
  --green-700: #3e5435;
  --green-500: #5e7c52;
  --sage: #b4c6a2;
  --accent: #b4c6a2;
  --accent-ink: #18200f;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 16px;
  --max: 1160px;
  --font-display: "Unbounded", "Noto Sans KR", system-ui, sans-serif;
  --font-body: "Manrope", "Noto Sans KR", system-ui, sans-serif;
  --tabbar-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font-body);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
:lang(ko) body, html:lang(ko) { word-break: keep-all; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, .h2, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 6vw, 52px); }
h2, .h2 { font-size: clamp(22px, 4vw, 32px); }
h3, .h3 { font-size: 17px; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sub { color: var(--muted); margin-bottom: 20px; max-width: 60ch; }
.lead { font-size: 17px; color: #d6dacd; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 12px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(22, 26, 21, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; }
.logo-mark {
  display: block; width: 108px; height: 67px;
  background: var(--ink);
  -webkit-mask: url(../img/logo-horizontal.svg) center / contain no-repeat;
  mask: url(../img/logo-horizontal.svg) center / contain no-repeat;
}
.topbar .logo-mark { width: 92px; height: 57px; }
.topnav { display: none; gap: 4px; margin-left: auto; }
.topnav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; }
.topnav a:hover, .topnav a.is-on { color: var(--ink); background: var(--surface-2); }
.lang { margin-left: auto; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lang button.is-on { background: var(--sage); color: var(--accent-ink); }

/* ---------- bottom tab bar (mobile) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(22, 26, 21, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tabbar a.is-on { color: var(--ink); }
.tabbar .tab-accent svg { width: 40px; height: 40px; padding: 9px; margin-top: -14px; border-radius: 50%; background: var(--sage); color: var(--accent-ink); stroke: var(--accent-ink); box-shadow: 0 6px 20px rgba(180, 198, 162, .25); }
.tabbar .tab-accent { color: var(--ink); }

/* ---------- layout ---------- */
#app { outline: none; }
.section { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); }
.section--top { padding-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.more { color: var(--sage); text-decoration: none; font-weight: 600; white-space: nowrap; font-size: 15px; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btns--stack { flex-direction: column; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid rgba(233, 238, 225, .2);
  background: transparent; color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 15px; text-align: center;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--sage); color: var(--accent-ink); border-color: var(--sage); }
.btn--primary:hover { background: #c6d6b5; }
.btn--ghost { border-color: transparent; color: var(--muted); padding-left: 0; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn--wide { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) 12px;
  display: grid;
  position: relative;
}
/* Photo bleeds edge to edge on phones and melts into the page colour at the bottom. */
.hero-media {
  position: relative; overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  height: min(64svh, 620px);
  --gx: 50%; --gy: 35%;
}
.hero-media picture { position: absolute; inset: 0; animation: hero-in 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-media img {
  position: absolute; left: 0; top: -140px; width: 100%; height: calc(100% + 160px);
  object-fit: cover; object-position: 58% 30%; will-change: transform;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0 0 -2px; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(22, 26, 21, .55), transparent 18%),
    linear-gradient(to top, var(--bg) 8%, rgba(22, 26, 21, .78) 32%, transparent 62%);
}
/* Tablets and narrow windows: wide frame of a portrait photo, so aim lower to keep the face. */
@media (min-width: 600px) and (max-width: 959px) {
  .hero-media { height: min(72svh, 680px); }
  .hero-media img { object-position: 50% 46%; }
}
.hero-glint {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at var(--gx) var(--gy), rgba(255, 244, 226, .75), rgba(255, 244, 226, 0) 34%),
    radial-gradient(circle at calc(100% - var(--gx)) calc(var(--gy) + 25%), rgba(180, 198, 162, .35), rgba(180, 198, 162, 0) 40%);
  animation: glint-in 2s 0.6s ease-out both;
}
.hero-text { position: relative; z-index: 1; margin-top: -170px; }
.hero-text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(1) { animation-delay: .35s; }
.hero-text > :nth-child(2) { animation-delay: .5s; }
.hero-text > :nth-child(3) { animation-delay: .7s; }
.hero-text > :nth-child(4) { animation-delay: .9s; }
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero h1 br { display: none; }
@keyframes hero-in { from { transform: scale(1.12); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glint-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-media picture, .hero-glint, .hero-text > * { animation: none; }
  .hero-glint { display: none; }
}

/* ---------- placeholders (until real photos) ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 90%, hsl(var(--h) 22% 62% / .55), transparent 40%),
    linear-gradient(150deg, hsl(var(--h) 26% 15%), hsl(var(--h) 22% 32%));
}
.ph::after {
  content: ""; position: absolute; inset: 12% 18% 0;
  background: rgba(255, 255, 255, .1);
  -webkit-mask: url(../img/logo-horizontal.svg) 0 50% / 220% auto no-repeat;
  mask: url(../img/logo-horizontal.svg) 0 50% / 220% auto no-repeat;
}
.ph-label { position: absolute; left: 10px; top: 10px; z-index: 1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ph--card { aspect-ratio: 4 / 5; }
.ph--tile { position: absolute; inset: 0; }
.ph--hero { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.ph--thumb { aspect-ratio: 1; border-radius: var(--radius-sm); }

/* ---------- tiles (category picker) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile {
  position: relative; display: flex; align-items: flex-end;
  aspect-ratio: 1 / 1.05; padding: 14px;
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; border: 2px solid transparent; background: var(--surface); text-align: left;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 45%, rgba(10, 12, 9, .75)); }
.tile-name { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.tile--text { align-items: center; justify-content: center; text-align: center; background: var(--surface-2); }
.tile--text::before { display: none; }
.tile--text .tile-name { font-size: 15px; font-family: var(--font-body); }
.tile .tick { position: absolute; z-index: 2; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--accent-ink); font-weight: 800; opacity: 0; transform: scale(.6); transition: .15s; }
.tile.is-on { border-color: var(--sage); }
.tile.is-on .tick { opacity: 1; transform: none; }

/* ---------- banners ---------- */
.banner {
  display: grid; gap: 16px; align-items: center;
  padding: 24px; border-radius: 24px; text-decoration: none;
  background: linear-gradient(135deg, var(--green-700), var(--green-900) 70%);
  border: 1px solid rgba(180, 198, 162, .2);
  position: relative; overflow: hidden;
}
.banner::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(180, 198, 162, .45), transparent 70%); }
.banner p { color: #d3dccb; margin: 0; }
.banner .btn { position: relative; z-index: 1; justify-self: start; }
.banner--shop { background: var(--surface); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: rgba(180, 198, 162, .35); }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 15px; margin: 0; }
.card-price { margin: 0; font-weight: 700; color: var(--sage); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); text-decoration: none; }
.chip--accent { background: rgba(180, 198, 162, .15); color: var(--sage); }
.chip--big { font-size: 15px; padding: 10px 16px; color: var(--ink); }
.care-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- why / team / reviews ---------- */
.why { display: grid; gap: 10px; }
.why-item { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-item p { color: var(--muted); margin: 0; }
.why-num { font-family: var(--font-display); color: var(--sage); font-size: 14px; display: block; margin-bottom: 10px; }
.team { display: grid; gap: 12px; }
.member { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.member > :not(img, .avatar) { grid-column: 2; }
.member img, .avatar { grid-row: 1 / span 4; width: 72px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(28px, 8vw, 48px); background: linear-gradient(150deg, var(--green-900), var(--green-500)); color: var(--sage); }
.member h3 { margin: 0; font-size: 15px; }
.member p { color: var(--muted); font-size: 13px; margin: 2px 0 0; }
.member .member-bio { color: var(--ink); font-size: 14px; line-height: 1.5; margin: 10px 0 8px; }
.about { max-width: 720px; }
.about p { margin: 0 0 12px; line-height: 1.6; }
.more-text summary { cursor: pointer; color: var(--sage); font-weight: 600; margin-bottom: 8px; }
.more-text p { color: var(--muted); }
.variants { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.pill--sm { padding: 6px 12px; font-size: 13px; cursor: pointer; white-space: normal; }
.pill--sm input { position: absolute; opacity: 0; pointer-events: none; }
.pill--sm:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill--sm:has(input:focus-visible) { outline: 2px solid var(--sage); outline-offset: 2px; }
.card--shop .chips { margin-bottom: 8px; }
.reviews { display: grid; gap: 10px; }
.review { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px dashed rgba(233, 238, 225, .18); }
.stars { color: #e3c56b; letter-spacing: 2px; margin-bottom: 6px; }

/* ---------- contacts ---------- */
.contacts { display: grid; gap: 16px; }
.contacts .phone { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 17px; }
.contacts .big { font-family: var(--font-display); font-size: 20px; margin-bottom: 4px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: grayscale(.4) brightness(.9); }

/* ---------- catalog filters ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 10px; padding: 2px var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.pill, .toggle { flex: none; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); }
.pill.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toggle.is-on { background: var(--sage); color: var(--accent-ink); border-color: var(--sage); }
.toggle.is-on::after { content: " ✕"; font-weight: 700; }
.empty { padding: 32px 20px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line); text-align: center; }
.empty p { color: var(--muted); margin: 0 0 14px; }
.filters--toggles { margin-bottom: 18px; }

/* ---------- style detail ---------- */
.crumb { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 14px; font-weight: 600; }
.detail { display: grid; gap: 20px; }
.gallery { display: grid; gap: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.detail-price { font-family: var(--font-display); font-size: 22px; color: var(--sage); margin-bottom: 12px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 22px; }
.specs div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.specs dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.specs dd { margin: 4px 0 0; font-weight: 700; }
.tiers { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.tiers td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tiers td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.tiers a { text-decoration: none; }
.note { font-size: 14px; color: var(--muted); background: var(--surface); border-left: 3px solid var(--sage); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- quiz ---------- */
.quiz { max-width: 720px; }
.want { display: inline-block; background: rgba(180, 198, 162, .15); color: var(--sage); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin: 10px 0 8px; }
.progress span { display: block; height: 100%; background: var(--sage); transition: width .25s; }
.opts { display: grid; gap: 10px; margin-top: 18px; }
.opt { text-align: left; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 2px solid var(--line); font-weight: 600; font-size: 16px; }
.opt:hover { border-color: rgba(180, 198, 162, .4); }
.opt.is-on { border-color: var(--sage); background: rgba(180, 198, 162, .1); }
.tiles--quiz { margin-top: 6px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.field { display: block; margin: 16px 0; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(233, 238, 225, .18); background: var(--surface); color: var(--ink); font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.preview { white-space: pre-wrap; font: 14px/1.5 var(--font-body); background: var(--surface); border: 1px dashed rgba(233, 238, 225, .18); padding: 14px 16px; border-radius: var(--radius-sm); color: #cfd5c6; }

/* ---------- prices / care ---------- */
.price-cols { display: grid; gap: 14px; }
.price-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; }
.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; scroll-margin-top: 90px; }
.accordion summary { padding: 18px 20px; font-family: var(--font-display); font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--sage); font-size: 22px; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.acc-body { padding: 0 20px 18px; }
.acc-body ol { padding-left: 20px; margin: 14px 0 0; }
.acc-body li { margin-bottom: 8px; color: #d6dacd; }
.acc-body video { width: 100%; border-radius: var(--radius-sm); }
.video-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); background: linear-gradient(150deg, var(--green-900), var(--surface-2)); }

/* ---------- footer / toast ---------- */
.footer { text-align: center; padding: 40px var(--gutter) 30px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 30px; }
.logo-mark--footer { margin: 0 auto 12px; width: 140px; height: 87px; background: var(--muted); }
.footer a { color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: .2s; z-index: 30; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .banner { grid-template-columns: 1fr auto; padding: 32px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .hero h1 br { display: inline; }
  .card h3 { font-size: 16px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  .lang { margin-left: 8px; }
  .topbar { padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
  /* Photo becomes the backdrop of the whole first screen, running to the window edge. */
  .hero { max-width: none; padding: 0; min-height: min(90vh, 880px); align-items: center; }
  .hero-media {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(64vw, 1040px);
    height: auto; margin: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 22%, #000 46%);
    mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 22%, #000 46%);
  }
  .hero-media img { object-position: 62% 28%; }
  .hero-media::after {
    background:
      linear-gradient(to bottom, var(--bg), transparent 14%),
      linear-gradient(to top, var(--bg) 0, rgba(22, 26, 21, .6) 16%, transparent 38%),
      radial-gradient(120% 90% at 85% 40%, transparent 55%, rgba(43, 58, 39, .45));
  }
  .hero::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    left: -10%; top: 10%; width: 60%; height: 80%;
    background: radial-gradient(closest-side, rgba(94, 124, 82, .22), transparent);
  }
  .hero-text {
    position: relative; z-index: 1; margin: 0;
    width: 100%; max-width: var(--max); margin-inline: auto;
    padding: 64px var(--gutter) 56px;
  }
  .hero-text > * { max-width: 520px; }
  .hero-text > h1 { max-width: 800px; font-size: clamp(36px, 3.5vw, 52px); }
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .tiles--quiz { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid--shop { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: repeat(4, 1fr); }
  .detail { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .gallery { position: sticky; top: 100px; }
  .contacts { grid-template-columns: 1fr 1.6fr; align-items: start; }
  .price-cols { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .member { grid-template-columns: 1fr; }
  .member img, .member .avatar { grid-row: auto; width: 96px; margin-bottom: 10px; }
  .member > :not(img, .avatar) { grid-column: 1; }
  .toast { bottom: 24px; }
}

/* ---------- photos & lightbox ---------- */
.photo { display: block; width: 100%; object-fit: cover; background: var(--surface-2); }
.photo.ph--tile { height: 100%; }
.photo-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.gallery .photo-btn { border-radius: var(--radius); overflow: hidden; }
.thumbs .photo-btn { border-radius: var(--radius-sm); overflow: hidden; }
.photo-count { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(10, 12, 9, .65); color: #fff; }
.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 10, 7, .94); padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox .lb-nav[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox button { position: absolute; border: 0; padding: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button svg, .car-nav svg { display: block; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 13px; }

/* ---------- carousel ---------- */
.carousel { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; }
.car-slide img { display: block; width: 100%; height: 100%; }
.carousel--hero { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.carousel--hero .car-track { aspect-ratio: 3 / 4; }
.carousel--hero .car-slide img { object-fit: contain; }
.carousel--card .car-track { aspect-ratio: 4 / 5; }
.carousel--card .car-slide img { object-fit: cover; background: var(--surface-2); }
.car-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(10, 12, 9, .55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.car-nav:hover { background: rgba(10, 12, 9, .8); }
.car-nav[hidden] { display: none; }
.car-prev { left: 8px; }
.car-next { right: 8px; }
.carousel--card .car-nav { width: 32px; height: 32px; font-size: 20px; }
.car-count { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(10, 12, 9, .65); color: #fff; pointer-events: none; }
.thumbs--strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.thumbs--strip::-webkit-scrollbar { display: none; }
.thumb-btn { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); cursor: pointer; opacity: .6; transition: opacity .15s, border-color .15s; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn.is-on, .thumb-btn:hover { opacity: 1; border-color: var(--sage); }
@media (min-width: 960px) {
  .carousel--hero { width: min(100%, calc((100vh - 200px) * .75)); margin: 0 auto; }
  .thumbs--strip { justify-content: center; flex-wrap: wrap; }
}

/* ---------- photo strips ---------- */
.strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 14px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); }
.strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 auto; width: 150px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); cursor: zoom-in; scroll-snap-align: start; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.strip-item:hover img { transform: scale(1.04); }
.contacts .strip { margin-top: 6px; margin-bottom: 12px; }
.contacts .strip-item { width: 120px; }
@media (min-width: 960px) { .strip { margin-left: 0; margin-right: 0; padding: 0; } .strip-item { width: 190px; } }

/* ---------- line icons ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.chip { display: inline-flex; align-items: center; gap: 5px; }
.chip .ic { width: 14px; height: 14px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; }
.toggle .ic { width: 16px; height: 16px; }
.stars { display: inline-flex; gap: 2px; vertical-align: -0.15em; }
.stars .ic { width: 15px; height: 15px; }
.video-ph { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- cover picker ---------- */
.covers h2 { margin-top: 36px; }
.covers-actions { margin: 6px 0 12px; }
.cover-row { margin: 18px 0 26px; }
.cover-row h3 { font-size: 16px; margin-bottom: 10px; }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.cover-opt { position: relative; padding: 0; border: 3px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); cursor: pointer; aspect-ratio: 3 / 4; }
.cover-opt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-opt span { position: absolute; left: 6px; top: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(10, 12, 9, .7); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cover-opt.is-on { border-color: var(--sage); }
.cover-opt.is-on span { background: var(--sage); color: var(--accent-ink); }

/* ---------- reviews ---------- */
.reviews-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 10px; padding: 2px var(--gutter) 4px; align-items: stretch; }
.reviews-strip::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 min(84%, 340px); scroll-snap-align: start; margin: 0; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; flex: 1; }
.review-card figcaption { color: var(--muted); font-size: 13px; font-weight: 600; }
.review-card .stars { margin: 0; }
@media (min-width: 960px) { .reviews-strip { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } .review-card { flex-basis: calc((100% - 24px) / 3); } }
