/* ==========================================================================
   Lighthouse Studio 1.0 — 灯塔MC工作室
   Deep-sea night + lighthouse amber. Dark cinematic sections, warm paper
   reading surfaces, one gold accent.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink-0: #05080f;
  --ink-1: #0a1020;
  --ink-2: #0f1729;
  --ink-3: #162036;
  --ink-4: #1f2b45;
  --fg: #eef1f7;
  --fg-2: rgba(238, 241, 247, .74);
  --fg-3: rgba(238, 241, 247, .52);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);

  --paper: #f5f3ee;
  --paper-2: #ece8e0;
  --white: #ffffff;
  --text: #0e1424;
  --text-2: #4b5468;
  --text-3: #7d8598;
  --line-l: rgba(14, 20, 36, .09);
  --line-l2: rgba(14, 20, 36, .16);

  --gold: #f0b54a;
  --gold-2: #ffd88f;
  --gold-3: #c98a1f;
  --gold-soft: rgba(240, 181, 74, .12);
  --gold-glow: rgba(240, 181, 74, .38);
  --sea: #4c8bc9;
  --ok: #3ccf91;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --font-ko: "Manrope", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-l: 0 1px 2px rgba(14, 20, 36, .04), 0 12px 32px -18px rgba(14, 20, 36, .22);
  --shadow-l2: 0 2px 4px rgba(14, 20, 36, .05), 0 28px 56px -28px rgba(14, 20, 36, .38);
  --shadow-d: 0 30px 60px -30px rgba(0, 0, 0, .7);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.7; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:lang(ko) body, body:lang(ko) { font-family: var(--font-ko); word-break: keep-all; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
::selection { background: var(--gold); color: #1a1204; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #1a1204; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus-visible { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(860px + var(--gutter) * 2); }
.pd > *, .faq-wrap > *, .infra > *, .svc-row > *, .story > *, .hero-inner > *, .sec-head > *, .shop-bar-inner > * { min-width: 0; }

/* ── Type helpers ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12.5px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.eyebrow-dot { width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft), 0 0 16px var(--gold); flex: none; }
.eyebrow--dark { color: var(--gold-3); }
.eyebrow--dark .eyebrow-dot { background: var(--gold-3); box-shadow: 0 0 0 4px rgba(201, 138, 31, .12); }
.eyebrow--pill { padding: 8px 14px 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 8, 15, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); letter-spacing: .08em; text-transform: none; font-size: 13.5px; color: var(--fg); }
.eyebrow--pill .eyebrow-dot { border-radius: 50%; animation: pulse 2.6s var(--ease) infinite; }
h1 em, h2 em, .hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ffe7b0 0%, var(--gold) 45%, #e8962a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-lead { font-size: 17px; line-height: 1.8; color: var(--text-2); max-width: 560px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line-l2); padding-bottom: 3px; transition: gap .25s var(--ease), border-color .25s; }
.text-link:hover { gap: 12px; border-color: var(--text); }
.text-link .ico { width: 16px; height: 16px; }

/* ── Buttons ── */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-size: 15px; font-weight: 750; letter-spacing: .01em; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, #ffd27d 0%, var(--gold) 55%, #e9a434 100%); color: #1c1304; box-shadow: 0 12px 30px -12px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 72, 0, .25); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(240, 181, 74, .55), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--fg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn-dark { background: var(--text); color: #fff; box-shadow: 0 12px 26px -14px rgba(14, 20, 36, .7); }
.btn-dark:hover { background: #1b2540; transform: translateY(-2px); }
.btn-line { background: transparent; border-color: var(--line-l2); color: var(--text); }
.btn-line:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.round-arrow { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); color: var(--fg); transition: background .25s, color .25s, transform .25s var(--ease), border-color .25s; }
.round-arrow .ico { width: 18px; height: 18px; }
.round-arrow--dark { border-color: var(--line-l2); color: var(--text); }

/* ── Badges, chips, tags ── */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .02em; white-space: nowrap; }
.badge-ver { background: rgba(5, 8, 15, .62); color: #fff; font-family: var(--mono); font-weight: 600; font-size: 11.5px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.badge-gold { background: linear-gradient(180deg, #ffd889, var(--gold)); color: #1c1304; }
.badge-ink { background: var(--text); color: #fff; font-family: var(--mono); font-weight: 600; font-size: 11.5px; }
.badge-line { border: 1px solid var(--line-l2); color: var(--text); background: var(--white); }
.badge-line:hover { border-color: var(--text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-l2); background: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 650; color: var(--text-2); white-space: nowrap; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--text); background: #fff; }
.chip.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span, .tags a { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 650; color: var(--fg-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.tags--light span, .tags--light a { color: var(--text-2); background: var(--white); border-color: var(--line-l); }
.mini-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(240, 181, 74, .22); }
.mini-icon .ico { width: 22px; height: 22px; }
.mini-icon--dark { color: var(--gold-3); background: rgba(201, 138, 31, .08); border-color: rgba(201, 138, 31, .2); }

/* ── Top bar & header ── */
.topbar { background: var(--ink-0); color: var(--fg-3); font-size: 12.5px; border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; text-align: center; }
.topbar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; animation: pulse 2.6s infinite; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 11, 20, .82); color: var(--fg);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s;
}
.lh-has-hero .site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(5, 8, 15, .55), rgba(5, 8, 15, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 18px -6px rgba(76, 139, 201, .6); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.brand-text small { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: var(--fg-3); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 650; color: var(--fg-2); border-radius: 10px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.main-nav a.is-active { color: var(--fg); }
.main-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.icon-btn .ico { width: 20px; height: 20px; }
.lh-cart-count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #1c1304; font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--ink-1); }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

/* Dropdowns */
.lh-drop { position: relative; }
.lh-drop summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 13.5px; font-weight: 700; cursor: pointer; user-select: none; transition: background .2s, border-color .2s; }
.lh-drop summary::-webkit-details-marker { display: none; }
.lh-drop summary:hover, .lh-drop[open] summary { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.lh-drop summary .ico { width: 17px; height: 17px; }
.lh-drop summary .ico:last-child { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.lh-drop[open] summary .ico:last-child { transform: rotate(180deg); }
.lh-cur-sym { color: var(--gold); font-weight: 800; }
.lh-drop-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 14px; background: rgba(15, 23, 41, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow-d); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: dropIn .18s var(--ease); z-index: 70; }
.lh-drop-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.lh-drop-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--fg); }
.lh-drop-menu a.is-active { color: var(--fg); }
.lh-drop-menu a .ico { margin-left: auto; width: 16px; height: 16px; color: var(--gold); }

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 45; padding: calc(var(--header-h) + 34px) var(--gutter) 32px; background: rgba(5, 8, 15, .97); color: var(--fg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.mnav-inner { max-width: 560px; margin: 0 auto; display: grid; gap: 28px; }
.mnav-links { display: grid; }
.mnav-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 750; }
.mnav-links a.is-active { color: var(--gold); }
.mnav-links .ico { color: var(--fg-3); }
.mnav-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; font-weight: 700; }
.mnav-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mnav-pills a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 650; color: var(--fg-2); }
.mnav-pills a.is-active { background: var(--fg); color: var(--ink-0); border-color: var(--fg); }

/* ── Hero ── */
.hero { position: relative; min-height: max(700px, min(100svh, 1000px)); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 90px) 0 88px; display: flex; align-items: flex-end; background: var(--ink-0); color: var(--fg); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.06); animation: heroZoom 22s var(--ease) forwards; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(5, 8, 15, .94) 0%, rgba(5, 8, 15, .74) 34%, rgba(5, 8, 15, .25) 66%, rgba(5, 8, 15, .12) 100%),
  linear-gradient(0deg, var(--ink-0) 0%, rgba(5, 8, 15, .55) 22%, rgba(5, 8, 15, 0) 48%),
  linear-gradient(180deg, rgba(5, 8, 15, .65) 0%, rgba(5, 8, 15, 0) 26%); }
.hero-beam { --x: 80%; --y: 22%; position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.hero-beam span { position: absolute; left: var(--x); top: var(--y); width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 221, 150, 0) 0deg, rgba(255, 221, 150, .16) 5deg, rgba(255, 221, 150, .04) 13deg, rgba(255, 221, 150, 0) 20deg, rgba(255, 221, 150, 0) 180deg, rgba(255, 221, 150, .09) 185deg, rgba(255, 221, 150, 0) 196deg, rgba(255, 221, 150, 0) 360deg);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .7) 18%, transparent 40%); mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .7) 18%, transparent 40%);
  animation: sweep 18s linear infinite; }
.hero-lamp { position: absolute; left: 80%; top: 22%; width: 340px; height: 340px; margin: -170px 0 0 -170px; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 226, 160, .55) 0%, rgba(255, 200, 110, .16) 16%, rgba(255, 200, 110, 0) 60%); filter: blur(2px); animation: lamp 6s ease-in-out infinite; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: end; gap: 48px; }
.hero-copy { max-width: 920px; }
.hero-title { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -.03em; margin: 6px 0 26px; text-wrap: balance; }
:lang(zh) .hero-title, :lang(ko) .hero-title { letter-spacing: -.01em; line-height: 1.14; font-size: clamp(36px, 5.2vw, 74px); }
.hero-lead { max-width: 620px; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.85; color: var(--fg-2); margin-bottom: 36px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 40px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.hero-facts dt { font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.hero-facts dd { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
.hero-feature { display: block; padding: 12px; border-radius: 22px; background: rgba(15, 23, 41, .55); border: 1px solid var(--line-2); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow-d); transition: transform .35s var(--ease), border-color .35s; }
.hero-feature:hover { transform: translateY(-6px); border-color: rgba(240, 181, 74, .45); }
.hero-feature:hover .round-arrow { background: var(--gold); color: #1c1304; border-color: var(--gold); }
.hero-feature-label { display: inline-flex; align-items: center; gap: 6px; margin: 4px 6px 10px; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hero-feature-label .ico { width: 14px; height: 14px; }
.hero-feature-media { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.hero-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-feature-body { display: grid; gap: 4px; padding: 14px 8px 6px; }
.hero-feature-meta { font-size: 12px; font-family: var(--mono); color: var(--fg-3); }
.hero-feature-body strong { font-size: 18px; font-weight: 800; line-height: 1.3; }
.hero-feature-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.hero-feature-price { font-size: 18px; font-weight: 800; color: var(--gold-2); }
.hero-feature-price del { opacity: .5; font-size: .8em; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollDot 2s var(--ease) infinite; }

/* ── Sections ── */
.section { position: relative; padding: clamp(80px, 10vw, 136px) 0; }
.section-tight-top { padding-top: clamp(48px, 6vw, 72px); }
.section-ink { background: var(--ink-1); color: var(--fg); }
.section-night { background: var(--ink-0); color: var(--fg); }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-ink .sec-lead, .section-night .sec-lead { color: var(--fg-2); }
.section-ink::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; pointer-events: none; background: radial-gradient(60% 100% at 50% 0%, rgba(240, 181, 74, .07), transparent 70%); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2, .faq-side h2, .infra-copy h2, .story-copy h2 { font-size: clamp(30px, 3.7vw, 52px); text-wrap: balance; }
.sec-head > .sec-lead { justify-self: end; }
.sec-head--center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head--center .sec-lead { margin: 18px auto 0; }
.sec-head > a { justify-self: end; }
.sec-head--solo { grid-template-columns: 1fr; }
.sec-foot { display: flex; justify-content: center; margin-top: 52px; }

/* ── Services grid ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 100%; padding: 32px 30px 28px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(120% 70% at 50% -10%, rgba(240, 181, 74, .16), transparent 60%); }
.svc-card::after { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .4s; }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(240, 181, 74, .3); box-shadow: var(--shadow-d); }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }
.svc-num { position: absolute; top: 28px; right: 28px; font-family: var(--mono); font-size: 13px; color: var(--fg-3); }
.svc-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--gold); background: linear-gradient(180deg, rgba(240, 181, 74, .16), rgba(240, 181, 74, .05)); border: 1px solid rgba(240, 181, 74, .25); margin-bottom: 8px; }
.svc-icon .ico { width: 28px; height: 28px; }
.svc-card h3 { font-size: 21px; }
.svc-card p { font-size: 15px; line-height: 1.75; color: var(--fg-2); flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 750; color: var(--gold); }
.svc-more .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .ico { transform: translateX(4px); }

/* ── Product cards ── */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-l2); border-color: var(--line-l2); }
.pcard-media { position: relative; aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(5, 8, 15, .38), transparent); pointer-events: none; }
.pcard-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--fg-3); }
.pcard-ph .ico { width: 40px; height: 40px; }
.pcard-badges { position: absolute; left: 12px; top: 12px; right: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard-genre { font-size: 12px; font-weight: 750; letter-spacing: .06em; color: var(--gold-3); margin-bottom: 6px; }
.pcard-title { font-size: 17.5px; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pcard-desc { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; }
.pcard-price { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.pcard-price del { color: var(--text-3); font-weight: 600; font-size: .78em; margin-right: 4px; }
.pcard-price ins { text-decoration: none; }
.price-from { font-size: 12.5px; font-weight: 650; color: var(--text-3); }
.pcard-stock { font-size: 12px; font-weight: 700; color: #c0392b; }
.pcard-go { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line-l2); color: var(--text); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.pcard-go .ico { width: 17px; height: 17px; }
.pcard:hover .pcard-go { background: var(--text); color: #fff; border-color: var(--text); transform: rotate(45deg); }
.pcard--service { background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); border-color: rgba(240, 181, 74, .22); color: var(--fg); }
.pcard--service .pcard-desc { color: var(--fg-2); }
.pcard--service .pcard-price { color: var(--gold-2); }
.pcard--service .price-from { color: var(--fg-3); }
.pcard--service .pcard-go { border-color: var(--line-2); color: var(--fg); }
.pcard--service:hover .pcard-go { background: var(--gold); color: #1c1304; border-color: var(--gold); }

/* ── Mosaic ── */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 11vw, 150px); gap: 14px; }
.mosaic-tile { position: relative; overflow: hidden; border-radius: 18px; background: var(--ink-3); isolation: isolate; }
.mosaic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(1.05); }
.mosaic-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 15, .78) 0%, rgba(5, 8, 15, 0) 52%); transition: opacity .4s; }
.mosaic-tile:hover img { transform: scale(1.06); }
.mt-1 { grid-column: 1 / 8; grid-row: span 4; }
.mt-2 { grid-column: 8 / 13; grid-row: span 2; }
.mt-3 { grid-column: 8 / 13; grid-row: span 2; }
.mt-4 { grid-column: 1 / 5; grid-row: span 2; }
.mt-5 { grid-column: 5 / 9; grid-row: span 2; }
.mt-6 { grid-column: 9 / 13; grid-row: span 2; }
.mosaic-cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; display: grid; gap: 2px; }
.mosaic-cap small { font-family: var(--mono); font-size: 12px; color: var(--gold-2); }
.mosaic-cap strong { font-size: 18px; font-weight: 800; }
.mt-1 .mosaic-cap strong { font-size: 26px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: linear-gradient(90deg, transparent, var(--line-l2) 12%, var(--line-l2) 88%, transparent); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-l2); font-size: 22px; font-weight: 800; color: var(--text); box-shadow: 0 0 0 8px var(--paper), var(--shadow-l); transition: background .3s, color .3s, transform .3s var(--ease); }
.step:hover .step-num { background: var(--gold); border-color: var(--gold); color: #1c1304; transform: scale(1.06); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.steps--dark::before { background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent); }
.steps--dark .step-num { background: var(--ink-2); border-color: var(--line-2); color: var(--fg); box-shadow: 0 0 0 8px var(--ink-1); }
.steps--dark .step p { color: var(--fg-2); }

/* ── Infra / architecture ── */
.infra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.infra-copy .sec-lead { margin: 18px 0 36px; }
.infra-points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-bottom: 36px; }
.infra-point { display: flex; gap: 14px; }
.infra-point h3 { font-size: 16px; margin-bottom: 4px; }
.infra-point p { font-size: 14px; line-height: 1.65; color: var(--fg-2); }
.arch { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(22, 32, 54, .9), rgba(10, 16, 32, .95)); border: 1px solid var(--line-2); box-shadow: var(--shadow-d), 0 0 0 1px rgba(0, 0, 0, .4); overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; mask: linear-gradient(180deg, #000, transparent 90%); -webkit-mask: linear-gradient(180deg, #000, transparent 90%); opacity: .55; }
.arch-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.arch-dots { display: flex; gap: 6px; }
.arch-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.arch-dots i:first-child { background: #ff6a5f; } .arch-dots i:nth-child(2) { background: #febc2e; } .arch-dots i:nth-child(3) { background: #2bc840; }
.arch-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 700; }
.arch-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
.arch-body { position: relative; padding: 30px 28px 26px; display: grid; justify-items: center; }
.arch-row { display: flex; justify-content: center; width: 100%; }
.arch-row--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.arch-node { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--fg); }
.arch-node .ico { width: 20px; height: 20px; color: var(--gold); }
.arch-node small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--fg-3); }
.arch-row--3 .arch-node { flex-direction: column; text-align: center; gap: 6px; padding: 16px 10px; }
.arch-node--wide { min-width: 62%; justify-content: center; }
.arch-node--hl { background: linear-gradient(180deg, rgba(240, 181, 74, .2), rgba(240, 181, 74, .06)); border-color: rgba(240, 181, 74, .4); }
.arch-node--hot { border-color: rgba(240, 181, 74, .45); box-shadow: 0 0 0 4px rgba(240, 181, 74, .08), 0 0 30px -8px rgba(240, 181, 74, .5); }
.arch-link { position: relative; width: 2px; height: 34px; background: linear-gradient(180deg, var(--line-2), rgba(240, 181, 74, .5)); overflow: hidden; }
.arch-link::after { content: ""; position: absolute; left: -2px; top: -10px; width: 6px; height: 10px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: flow 1.8s linear infinite; }
.arch-link--fork, .arch-link--join { width: 68%; height: 30px; background: none; border: 2px solid rgba(240, 181, 74, .35); border-bottom: 0; border-radius: 12px 12px 0 0; margin-top: 16px; overflow: visible; }
.arch-link--fork::after { left: 50%; top: -18px; margin-left: -1px; width: 2px; height: 16px; border-radius: 0; background: rgba(240, 181, 74, .45); box-shadow: none; animation: none; }
.arch-link--join { border-top: 0; border-bottom: 2px solid rgba(240, 181, 74, .35); border-radius: 0 0 12px 12px; margin: 0 0 16px; }
.arch-link--join::after { left: 50%; top: auto; bottom: -18px; margin-left: -1px; width: 2px; height: 16px; border-radius: 0; background: rgba(240, 181, 74, .45); box-shadow: none; animation: none; }
.arch-rail { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.arch-rail span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--fg-2); background: rgba(255, 255, 255, .04); border: 1px dashed var(--line-2); }
.arch-rail .ico { width: 16px; height: 16px; color: var(--gold); }

/* ── Why + quote ── */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.why-card { padding: 30px 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-l); transition: transform .35s var(--ease), box-shadow .35s, background .35s; }
.section-paper .why-card { background: var(--white); }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l2); background: var(--white); }
.why-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 22px; color: var(--gold-3); background: rgba(240, 181, 74, .14); }
.why-icon .ico { width: 26px; height: 26px; }
.why-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.why-card p { font-size: 15px; line-height: 1.75; color: var(--text-2); }
.quote { position: relative; margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(40px, 5vw, 64px) clamp(24px, 6vw, 88px); border-radius: 28px; text-align: center; background: var(--ink-1); color: var(--fg); overflow: hidden; isolation: isolate; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(240, 181, 74, .2), transparent 70%); }
.quote-mark { display: block; font-size: 120px; line-height: .6; font-weight: 800; color: var(--gold); opacity: .9; font-family: Georgia, serif; height: 50px; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 750; line-height: 1.5; letter-spacing: -.01em; text-wrap: balance; }
.quote figcaption { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; font-weight: 700; color: var(--fg-3); letter-spacing: .06em; }
.quote figcaption .ico { color: var(--gold); }

/* ── FAQ ── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side .sec-lead { margin: 18px 0 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; background: var(--white); border: 1px solid var(--line-l); transition: box-shadow .3s, border-color .3s; }
.section-white .faq-item { background: var(--paper); }
.faq-item[open] { box-shadow: var(--shadow-l); border-color: var(--line-l2); }
.faq-item summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; font-size: 16.5px; font-weight: 750; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-plus { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--paper-2); transition: background .3s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--gold); transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-body { padding: 0 24px 24px; }
.faq-body p { font-size: 15px; line-height: 1.85; color: var(--text-2); max-width: 640px; }

/* ── CTA band ── */
.cta-band { position: relative; padding: clamp(96px, 12vw, 160px) 0; background: var(--ink-0); color: var(--fg); overflow: hidden; isolation: isolate; text-align: center; }
.cta-media { position: absolute; inset: 0; z-index: -3; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 90% at 50% 45%, rgba(5, 8, 15, .5), rgba(5, 8, 15, .82)), linear-gradient(180deg, var(--ink-0) 0%, rgba(5, 8, 15, .2) 26%, rgba(5, 8, 15, .2) 74%, var(--ink-0) 100%); }
.hero-beam--cta { --x: 50%; --y: 6%; }
.cta-inner { max-width: 860px; }
.cta-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border-radius: 20px; color: var(--gold); background: rgba(240, 181, 74, .12); border: 1px solid rgba(240, 181, 74, .3); box-shadow: 0 0 40px -10px var(--gold-glow); }
.cta-icon .ico { width: 32px; height: 32px; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 62px); text-wrap: balance; }
.cta-band p { margin: 20px auto 38px; max-width: 560px; font-size: 18px; color: var(--fg-2); }

/* ── Footer ── */
.site-footer { position: relative; background: var(--ink-0); color: var(--fg-2); padding-top: 88px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-beam { position: absolute; left: 50%; top: -300px; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(240, 181, 74, .1), transparent); pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; }
.footer-brand .brand { color: var(--fg); }
.footer-brand .brand-mark { width: 48px; height: 48px; }
.footer-desc { margin: 22px 0 18px; font-size: 14.5px; line-height: 1.85; max-width: 380px; color: var(--fg-3); }
.footer-slogan { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--gold-2); }
.footer-slogan .ico { color: var(--gold); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin-bottom: 8px; }
.footer-col a { font-size: 14.5px; color: var(--fg-3); transition: color .2s; width: fit-content; }
.footer-col a:hover { color: var(--fg); }
.footer-contact { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .ico { width: 17px; height: 17px; color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 26px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.footer-legal { flex: 1; text-align: center; }
.footer-langs { display: flex; gap: 14px; }
.footer-langs a:hover, .footer-langs a.is-active { color: var(--fg); }

/* ── Inner page hero ── */
.page-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(80px, 9vw, 120px)) 0 clamp(64px, 7vw, 96px); background: var(--ink-0); color: var(--fg); overflow: hidden; isolation: isolate; }
.page-hero--tall { min-height: min(86svh, 760px); display: flex; align-items: flex-end; }
.page-hero--short { padding-bottom: clamp(52px, 6vw, 76px); }
.page-hero--center { text-align: center; align-items: center; }
.page-hero--center .page-hero-inner { display: grid; justify-items: center; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 22s var(--ease) forwards; }
.page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 8, 15, .92) 0%, rgba(5, 8, 15, .62) 50%, rgba(5, 8, 15, .3) 100%), linear-gradient(0deg, rgba(5, 8, 15, .9) 0%, rgba(5, 8, 15, 0) 55%), linear-gradient(180deg, rgba(5, 8, 15, .6), transparent 30%); }
.page-hero--center .page-hero-shade { background: radial-gradient(70% 80% at 50% 50%, rgba(5, 8, 15, .5), rgba(5, 8, 15, .92)); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.1; max-width: 900px; text-wrap: balance; }
.page-hero--center h1 { margin: 0 auto; }
.page-hero-lead { max-width: 640px; margin-top: 22px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.85; color: var(--fg-2); }
.page-hero--center .page-hero-lead { margin-left: auto; margin-right: auto; }
.page-hero .btn-row { margin-top: 34px; }
.nf-code { font-size: clamp(90px, 16vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(180deg, #ffe2a0, rgba(240, 181, 74, .1)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }

/* ── Custom page ── */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(245, 243, 238, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-l); }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-2); transition: background .2s, color .2s; }
.subnav a span { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.subnav a:hover { background: rgba(14, 20, 36, .05); color: var(--text); }
.subnav a.is-active { background: var(--text); color: #fff; }
.subnav a.is-active span { color: var(--gold-2); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-l); scroll-margin-top: calc(var(--header-h) + 72px); }
.svc-row:last-child { border-bottom: 0; }
.svc-row.is-flip .svc-row-media { order: 2; }
.svc-row-media { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--ink-3); box-shadow: var(--shadow-l2); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-row:hover .svc-row-media img { transform: scale(1.04); }
.svc-row-badge { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--gold); background: rgba(5, 8, 15, .72); border: 1px solid rgba(240, 181, 74, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.svc-row-badge .ico { width: 30px; height: 30px; }
.svc-row-num { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--gold-3); margin-bottom: 14px; }
.svc-row-num span { color: var(--text-3); }
.svc-row-copy h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 18px; }
.svc-row-lead { font-size: 17px; line-height: 1.85; color: var(--text-2); margin-bottom: 26px; }
.svc-row-label { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.6; }
.check-list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #1c1304; background: var(--gold); flex: none; margin-top: 1px; stroke-width: 2.4; }
.check-list--sm li { font-size: 14.5px; }
.svc-row-fit { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-l); font-size: 14px; color: var(--text-2); }
.svc-row-fit .ico { width: 18px; height: 18px; color: var(--gold-3); margin-top: 3px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.plan-card:hover { transform: translateY(-6px); border-color: rgba(240, 181, 74, .4); box-shadow: var(--shadow-d); }
.plan-card:hover .round-arrow { background: var(--gold); border-color: var(--gold); color: #1c1304; }
.plan-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.plan-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.plan-card:hover .plan-media img { transform: scale(1.06); }
.plan-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 22px 22px; }
.plan-index { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.plan-body strong { font-size: 18px; line-height: 1.35; }
.plan-desc { font-size: 14px; line-height: 1.7; color: var(--fg-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plan-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-price { font-size: 20px; font-weight: 800; color: var(--gold-2); }
.plan-price .price-from { color: var(--fg-3); }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 0%, rgba(240, 181, 74, .1), transparent 70%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { position: relative; display: grid; gap: 6px; padding: 30px 28px 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.contact-card:hover { transform: translateY(-5px); border-color: rgba(240, 181, 74, .45); background: rgba(255, 255, 255, .07); }
.contact-card:hover .round-arrow { background: var(--gold); border-color: var(--gold); color: #1c1304; }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 15px; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(240, 181, 74, .25); }
.contact-icon .ico { width: 26px; height: 26px; }
.contact-card small { font-size: 13px; font-weight: 700; color: var(--fg-3); letter-spacing: .04em; }
.contact-card strong { font-size: 18px; line-height: 1.45; padding-right: 48px; word-break: break-word; }
.contact-card .round-arrow { position: absolute; right: 24px; top: 28px; }

/* ── Studio page ── */
.story { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.story-card { display: grid; justify-items: center; gap: 6px; padding: 48px 32px; border-radius: 28px; text-align: center; background: linear-gradient(180deg, #e9f1fa, #fff); border: 1px solid var(--line-l); box-shadow: var(--shadow-l2); }
.story-card img { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 24px 48px -20px rgba(31, 75, 125, .55); margin-bottom: 18px; }
.story-card strong { font-size: 22px; }
.story-card span { font-size: 12px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.story-copy h2 { margin-bottom: 24px; }
.story-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.95; color: var(--text-2); }
.story-copy > p:not(.eyebrow) + p { margin-top: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 24px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
.stat-row > div { padding: 32px 28px; }
.stat-row > div + div { border-left: 1px solid var(--line-l); }
.stat-row dt { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.stat-row dd { font-size: 14px; color: var(--text-3); margin-top: 4px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.principle { padding: 34px 28px; background: var(--ink-1); transition: background .3s; }
.principle:hover { background: var(--ink-2); }
.principle-num { display: block; font-family: var(--mono); font-size: 14px; color: var(--gold); margin-bottom: 40px; }
.principle h3 { font-size: 19px; margin-bottom: 10px; }
.principle p { font-size: 14.5px; line-height: 1.75; color: var(--fg-2); }
.stack-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stack-tile { display: grid; gap: 4px; padding: 22px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-l); transition: transform .3s var(--ease), box-shadow .3s; }
.stack-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.stack-mono { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--text); color: var(--gold-2); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.stack-tile strong { font-size: 15.5px; }
.stack-tile small { font-size: 13px; color: var(--text-3); }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.channel { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-l); transition: transform .3s var(--ease), box-shadow .3s; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-l2); }
.channel:hover .round-arrow { background: var(--text); color: #fff; border-color: var(--text); }
.channel > span:nth-child(2) { display: grid; flex: 1; }
.channel strong { font-size: 16.5px; }
.channel small { font-size: 13.5px; color: var(--text-3); }

/* ── Help page ── */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide { padding: 30px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
.guide-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.guide-num { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.guide h2 { font-size: 20px; margin-bottom: 18px; }
.help-card { display: grid; justify-items: start; gap: 10px; margin-top: 28px; padding: 26px; border-radius: 20px; background: var(--ink-1); color: var(--fg); }
.help-card a:not(.btn) { color: var(--gold-2); font-weight: 700; }
.help-card .btn { margin-top: 6px; }

/* ── Factory / status / doc ── */
.status-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 64px; padding: 24px 28px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.status-card p { flex: 1; min-width: 240px; color: var(--fg-2); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px var(--gold-soft), 0 0 18px var(--gold); animation: pulse 2s infinite; }
.doc { display: grid; gap: 16px; }
.doc-section { display: flex; gap: 22px; padding: 30px; border-radius: 20px; background: var(--white); border: 1px solid var(--line-l); }
.doc-num { font-family: var(--mono); font-size: 14px; color: var(--gold-3); padding-top: 4px; }
.doc-section h2 { font-size: 20px; margin-bottom: 10px; }
.doc-section p { color: var(--text-2); line-height: 1.9; }
.doc-contact { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 700; }
.doc-contact .ico { color: var(--gold-3); }

/* ── Journal ── */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.jcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
.jcard-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.jcard-media img { width: 100%; height: 100%; object-fit: cover; }
.jcard-body { display: grid; gap: 10px; padding: 24px; }
.jcard time { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.jcard h2 { font-size: 20px; }
.jcard p { color: var(--text-2); font-size: 15px; }
.article-main { padding: calc(56px) 0 96px; background: var(--paper); }
.article { max-width: calc(820px + var(--gutter) * 2); }
.article-head { display: grid; gap: 16px; margin-bottom: 40px; }
.article-head .text-link { width: fit-content; }
.article-head h1 { font-size: clamp(32px, 4vw, 52px); }
.article-lead { font-size: 19px; color: var(--text-2); }
.article-cover { margin: 0 0 40px; border-radius: 22px; overflow: hidden; }
.empty-state { display: grid; justify-items: center; gap: 18px; padding: 80px 24px; text-align: center; border-radius: 24px; background: var(--white); border: 1px dashed var(--line-l2); color: var(--text-2); }
.empty-state > .ico { width: 44px; height: 44px; color: var(--gold-3); }

/* ── Prose ── */
.prose { font-size: 16.5px; line-height: 1.9; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.8em; }
.prose a { color: var(--text); border-bottom: 1px solid var(--gold); }
.prose img { border-radius: 14px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--text); }

/* ── Shop ── */
.shop-main { background: var(--paper); }
.shop-bar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(245, 243, 238, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-l); }
.shop-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 14px; padding-bottom: 14px; }
.shop-bar .chip-row { margin: 0; }
.chip-row--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; }
.chip-row--scroll::-webkit-scrollbar { display: none; }
.shop-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field { position: relative; display: inline-flex; align-items: center; height: 42px; border-radius: 12px; border: 1px solid var(--line-l2); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px rgba(14, 20, 36, .06); }
.field input, .field select { height: 100%; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--text); outline: none; }
.field-search { padding-left: 12px; }
.field-search .ico { width: 18px; height: 18px; color: var(--text-3); }
.field-search input { width: 220px; padding: 0 12px 0 8px; }
.field-select select { appearance: none; -webkit-appearance: none; padding: 0 34px 0 14px; font-weight: 650; cursor: pointer; }
.field-select .ico { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--text-3); }
.shop-body { padding-top: 32px; padding-bottom: clamp(72px, 8vw, 112px); }
.shop-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 14px; font-weight: 650; color: var(--text-3); }
.pager { display: flex; justify-content: center; margin-top: 56px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; margin: 0 3px; border-radius: 12px; border: 1px solid var(--line-l2); background: var(--white); font-weight: 700; font-size: 14.5px; transition: all .2s; }
.pager a.page-numbers:hover { border-color: var(--text); }
.pager .page-numbers.current { background: var(--text); border-color: var(--text); color: #fff; }
.pager .page-numbers.dots { border: 0; background: none; }

/* ── Product page ── */
.product-main { background: var(--paper); }
.pd-top { padding-top: 28px; padding-bottom: 64px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 13.5px; color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); font-weight: 650; }
.pd { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-stage { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--ink-2); cursor: zoom-in; box-shadow: var(--shadow-l2); }
.pd-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .8s var(--ease); }
.pd-stage img.is-swapping { opacity: .35; }
.pd-stage:hover img { transform: scale(1.02); }
.pd-stage--empty { display: grid; place-items: center; color: var(--fg-3); cursor: default; }
.pd-stage--empty .ico { width: 56px; height: 56px; }
.pd-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(5, 8, 15, .6); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.pd-zoom .ico { width: 15px; height: 15px; }
.pd-stage:hover .pd-zoom, .pd-stage:focus-visible .pd-zoom { opacity: 1; transform: none; }
.pd-count { position: absolute; left: 14px; bottom: 14px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(5, 8, 15, .6); color: #fff; font-family: var(--mono); font-size: 12px; line-height: 30px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.pd-thumb { flex: none; width: 96px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--ink-3); cursor: pointer; opacity: .62; transition: opacity .2s, border-color .2s, transform .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.is-active { opacity: 1; border-color: var(--gold); }
.pd-card { padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l2); }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-title { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2; }
.pd-sub { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.pd-price { margin: 22px 0 20px; padding: 18px 0; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pd-price del { font-size: .55em; color: var(--text-3); font-weight: 600; }
.pd-price ins { text-decoration: none; }
.pd-price .price-from { font-size: 15px; }
.pd-buy form.cart { display: grid; gap: 14px; margin: 0; }
.pd-buy form.cart:not(.variations_form), .pd-buy .woocommerce-variation-add-to-cart { display: flex; gap: 10px; }
.pd-buy .single_add_to_cart_button { flex: 1; width: 100%; height: 58px; border-radius: 999px; border: 0; cursor: pointer; font-size: 16.5px; font-weight: 800; color: #1c1304; background: linear-gradient(180deg, #ffd27d 0%, var(--gold) 55%, #e9a434 100%); box-shadow: 0 14px 30px -12px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .25s var(--ease), box-shadow .25s, opacity .2s; }
.pd-buy .single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(240, 181, 74, .6); }
.pd-buy .single_add_to_cart_button:disabled, .pd-buy .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pd-buy .single_add_to_cart_button.loading { opacity: .7; }
.pd-buy .lh-buy-now { color: #fff; background: linear-gradient(180deg, #1f2b45 0%, var(--text) 100%); box-shadow: 0 14px 30px -14px rgba(14, 20, 36, .55), inset 0 1px 0 rgba(255, 255, 255, .12); }
.pd-buy .lh-buy-now:hover { box-shadow: 0 20px 40px -16px rgba(14, 20, 36, .6), inset 0 1px 0 rgba(255, 255, 255, .12); }
.pd-usd { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 13.5px; font-weight: 650; letter-spacing: 0; color: var(--text-3); }
.pd-usd .ico { width: 15px; height: 15px; color: var(--sea); }
.pd-usd .amount { color: var(--text); font-weight: 800; }
.pd-buy-note { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 16px; list-style: none; border-radius: 14px; background: rgba(60, 207, 145, .07); border: 1px solid rgba(60, 207, 145, .2); font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.pd-buy-note li { display: flex; align-items: flex-start; gap: 9px; }
.pd-buy-note .ico { width: 16px; height: 16px; margin-top: 2px; flex: none; color: #1f9e6b; }
.cf-usd-note { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.pd-buy .stock { font-size: 13.5px; font-weight: 700; color: var(--ok); }
.pd-buy .stock.out-of-stock { color: #c0392b; }
.quantity { display: inline-flex; }
.quantity .qty { width: 76px; height: 58px; border-radius: 16px; border: 1px solid var(--line-l2); text-align: center; font: inherit; font-weight: 700; font-size: 16px; background: var(--paper); }
table.variations { width: 100%; border-collapse: collapse; }
table.variations tr { display: grid; gap: 8px; }
table.variations th, table.variations td { padding: 0; text-align: left; }
table.variations th label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
table.variations select { width: 100%; height: 54px; padding: 0 44px 0 16px; border-radius: 14px; border: 1px solid var(--line-l2); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8598' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; appearance: none; -webkit-appearance: none; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--text); cursor: pointer; }
table.variations select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(14, 20, 36, .06); }
.reset_variations { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--text-3); text-decoration: underline; }
.single_variation_wrap { display: grid; gap: 14px; }
.woocommerce-variation-price .price { font-size: 22px; font-weight: 800; color: var(--gold-3); }
.woocommerce-variation-description p { font-size: 14px; color: var(--text-2); }
.pd-info { display: grid; gap: 0; margin-top: 24px; }
.pd-info > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-l); font-size: 14.5px; }
.pd-info > div:last-child { border-bottom: 0; }
.pd-info dt { display: inline-flex; align-items: center; gap: 10px; color: var(--text-3); font-weight: 600; white-space: nowrap; }
.pd-info dt .ico { width: 18px; height: 18px; color: var(--gold-3); }
.pd-info dd { text-align: right; font-weight: 700; color: var(--text); }
.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.pd-trust li { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; background: var(--paper); font-size: 12.5px; font-weight: 700; text-align: center; color: var(--text-2); }
.pd-trust .ico { width: 20px; height: 20px; color: var(--gold-3); }
.pd-help { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line-l2); font-size: 14px; color: var(--text-2); transition: border-color .2s; }
.pd-help:hover { border-color: var(--text); }
.pd-help .ico { width: 18px; height: 18px; color: var(--gold-3); }
.pd-help strong { margin-left: auto; color: var(--text); }
.pd-sections { background: var(--white); border-top: 1px solid var(--line-l); padding-bottom: clamp(64px, 8vw, 104px); }
.pd-shell { max-width: calc(1040px + var(--gutter) * 2); }
.pd-tabs { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 8px; padding: 12px var(--gutter); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-l); scrollbar-width: none; }
.pd-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--text-2); }
.pd-tabs a:hover { background: var(--paper); color: var(--text); }
.pd-tabs small { font-family: var(--mono); font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--paper-2); color: var(--text-3); }
.pd-block { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 72px); }
.pd-block > h2 { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-bottom: 22px; }
.pd-block > h2::before { content: ""; width: 10px; height: 10px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shots figure { aspect-ratio: 16 / 9; }
.shots figure img { height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shots figure:hover img { transform: scale(1.03); }
.shots-more { display: grid; gap: 14px; max-width: 760px; margin: 28px auto 0; }
.shots-more figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.shots-more img { width: 100%; cursor: zoom-in; }
.pd-subhead { margin: 40px 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.shots figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.shots img { width: 100%; cursor: zoom-in; }
.pd-videos { display: grid; gap: 16px; }
.pd-videos video { width: 100%; border-radius: 16px; background: #000; }
.section-related { padding-top: clamp(64px, 8vw, 96px); }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 64px 72px; background: rgba(3, 5, 10, .94); opacity: 0; transition: opacity .2s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .16); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 16px; top: 50%; margin-top: -25px; }
.lightbox-next { right: 16px; top: 50%; margin-top: -25px; }
.lightbox.is-single .lightbox-nav { display: none; }
.lightbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .7); }
.lb-open { overflow: hidden; }

/* ── Commerce pages (cart / checkout / account) ── */
.commerce-main { padding: 40px 0 clamp(72px, 8vw, 112px); background: var(--paper); min-height: 60vh; }
.commerce-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.commerce-head .crumbs { width: 100%; margin-bottom: 4px; }
.commerce-head h1 { font-size: clamp(30px, 3.4vw, 46px); }
.checkout-steps { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-3); }
.checkout-steps li { display: inline-flex; align-items: center; gap: 8px; }
.checkout-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--line-l2); margin-right: 4px; }
.checkout-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-l2); font-size: 13px; }
.checkout-steps .is-current { color: var(--text); }
.checkout-steps .is-current span { background: var(--text); border-color: var(--text); color: #fff; }
.checkout-steps .is-done span { background: var(--gold); border-color: var(--gold); color: #1c1304; }
.wc-surface { color: var(--text); }
.wc-surface a:not(.button):not(.btn):not(.remove) { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 22px; padding: 16px 20px 16px 52px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); font-size: 15px; font-weight: 600; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 0 0 4px rgba(60, 207, 145, .15); }
.woocommerce-info::before { background-color: var(--sea); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7v.01'/%3E%3C/svg%3E"); box-shadow: 0 0 0 4px rgba(76, 139, 201, .15); }
/* Error lists can run to several lines, so their mark stays beside the first one. */
.woocommerce-error::before { top: 17px; margin-top: 0; background-color: #e5484d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17v.01'/%3E%3C/svg%3E"); box-shadow: 0 0 0 4px rgba(229, 72, 77, .15); }
.woocommerce-error li { width: 100%; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }

/* Generic WooCommerce buttons */
.wc-surface .button, .wc-surface button.button, .wc-surface input.button, .woocommerce-message .button, .woocommerce-info .button, .return-to-shop .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--text); color: #fff; font: inherit; font-size: 14.5px; font-weight: 750; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.wc-surface .button:hover, .woocommerce-message .button:hover { background: #1b2540; transform: translateY(-1px); }
.wc-surface .button.alt, .wc-surface #place_order, .wc-surface .checkout-button { height: 56px; padding: 0 30px; font-size: 16px; color: #1c1304; background: linear-gradient(180deg, #ffd27d 0%, var(--gold) 55%, #e9a434 100%); box-shadow: 0 14px 30px -12px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55); }
.wc-surface .button.alt:hover, .wc-surface #place_order:hover, .wc-surface .checkout-button:hover { background: linear-gradient(180deg, #ffdb92 0%, #f3bd5a 55%, #eaa83e 100%); }
.wc-surface .button:disabled, .wc-surface .button.disabled { opacity: .45; cursor: not-allowed; }

/* Tables */
.wc-surface table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line-l); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-l); font-size: 15px; }
.wc-surface table.shop_table th { padding: 16px 20px; text-align: left; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: var(--paper); border-bottom: 1px solid var(--line-l); }
.wc-surface table.shop_table td { padding: 18px 20px; border-bottom: 1px solid var(--line-l); vertical-align: middle; }
.wc-surface table.shop_table tr:last-child td, .wc-surface table.shop_table tfoot tr:last-child th { border-bottom: 0; }
.wc-surface table.shop_table tfoot th, .wc-surface table.shop_table tfoot td { background: var(--white); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text); border-top: 1px solid var(--line-l); border-bottom: 0; }
.wc-surface table.shop_table .order-total td, .wc-surface table.shop_table .order-total th { font-size: 18px; font-weight: 800; }
.wc-surface .product-thumbnail img { width: 112px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.wc-surface .product-name a { font-weight: 750; text-decoration: none !important; }
.wc-surface .product-name .variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0; font-size: 13px; color: var(--text-3); }
.wc-surface .product-name .variation dd, .wc-surface .product-name .variation p { margin: 0; }
.wc-surface a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--text-3) !important; font-size: 20px; line-height: 1; text-decoration: none; transition: background .2s, color .2s; }
.wc-surface a.remove:hover { background: #e5484d; color: #fff !important; }
.wc-surface td.actions { background: var(--paper); text-align: right; }
.wc-surface td.actions .coupon { display: none; }
.lh-qty-one { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: 10px; background: var(--paper); font-weight: 700; }

/* Cart layout */
.wc-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.wc-cart .woocommerce > .woocommerce-notices-wrapper, .wc-cart .woocommerce > .cart-empty, .wc-cart .woocommerce > .return-to-shop, .wc-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.wc-cart .cart-collaterals { position: sticky; top: calc(var(--header-h) + 24px); }
.wc-cart .cart_totals { padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l2); }
.wc-cart .cart_totals h2 { font-size: 20px; margin-bottom: 16px; }
.wc-cart .cart_totals table.shop_table { box-shadow: none; border: 0; border-radius: 0; }
.wc-cart .cart_totals table.shop_table th, .wc-cart .cart_totals table.shop_table td { padding: 14px 0; background: none; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line-l); }
.wc-cart .cart_totals table.shop_table tr:last-child th, .wc-cart .cart_totals table.shop_table tr:last-child td { border-bottom: 0; }
.wc-cart .cart_totals table.shop_table td { text-align: right; }
.wc-cart .wc-proceed-to-checkout { margin-top: 18px; }
.wc-cart .checkout-button { width: 100%; }
.cart-empty.woocommerce-info { justify-content: center; padding: 56px 24px; font-size: 17px; text-align: center; }
.cart-empty.woocommerce-info::before { display: none; }
.return-to-shop { text-align: center; margin-top: 4px; }

/* Forms */
.wc-surface .form-row { display: grid; gap: 8px; margin: 0 0 18px; }
.wc-surface .form-row label { font-size: 14px; font-weight: 700; color: var(--text); }
.wc-surface .form-row .required { color: #e5484d; text-decoration: none; border: 0; }
.wc-surface .form-row .optional { color: var(--text-3); font-weight: 500; }
.wc-surface input.input-text, .wc-surface textarea, .wc-surface select, .wc-surface input[type="email"], .wc-surface input[type="password"], .wc-surface input[type="text"], .wc-surface input[type="tel"] {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-l2); background: var(--white); font: inherit; font-size: 15.5px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.wc-surface textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.wc-surface input.input-text:focus, .wc-surface textarea:focus, .wc-surface select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(14, 20, 36, .06); }
.wc-surface .woocommerce-invalid input.input-text { border-color: #e5484d; }
.select2-container .select2-selection--single { height: 52px !important; border-radius: 14px !important; border: 1px solid var(--line-l2) !important; display: flex !important; align-items: center; }
.select2-container .select2-selection--single .select2-selection__rendered { padding-left: 16px !important; line-height: 50px !important; color: var(--text) !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 50px !important; right: 10px !important; }
.select2-dropdown { border-radius: 14px !important; border-color: var(--line-l2) !important; overflow: hidden; box-shadow: var(--shadow-l2); }
.select2-results__option--highlighted { background: var(--text) !important; }
.wc-surface fieldset { border: 0; padding: 0; margin: 0; }

/* Checkout layout */
.wc-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 18px 32px; align-items: start; }
.wc-checkout form.checkout > .woocommerce-NoticeGroup, .wc-checkout form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.wc-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
.wc-checkout #customer_details .col-1, .wc-checkout #customer_details .col-2 { width: 100%; }
.wc-checkout #customer_details h3 { font-size: 20px; margin: 0 0 20px; }
.wc-checkout #customer_details .col-2 { margin-top: 12px; }
.wc-checkout #order_review_heading { grid-column: 2; grid-row: 1; font-size: 20px; margin: 0; align-self: end; }
.wc-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.wc-checkout #order_review table.shop_table td.product-name { font-weight: 650; }
.wc-checkout #order_review .product-quantity { color: var(--text-3); font-weight: 600; }
.wc-checkout .woocommerce-billing-fields__field-wrapper, .wc-checkout .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wc-checkout .form-row-wide, .wc-checkout .notes, .wc-checkout #cf_project_brief_field, .wc-checkout #cf_minecraft_version_field, .wc-checkout #billing_country_field, .wc-checkout #billing_email_field { grid-column: 1 / -1; }
.wc-checkout .form-row-first { grid-column: 1; }
.wc-checkout .form-row-last { grid-column: 2; }
#payment { padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
#payment ul.payment_methods { display: grid; gap: 10px; margin-bottom: 18px; }
#payment ul.payment_methods li { padding: 16px; border-radius: 14px; border: 1px solid var(--gold); background: rgba(240, 181, 74, .06); }
#payment ul.payment_methods li label { font-weight: 750; cursor: pointer; }
#payment ul.payment_methods li input { margin-right: 8px; accent-color: var(--gold-3); }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--text-2); }
#payment .payment_box p { margin: 0; }
#payment .place-order { display: grid; gap: 14px; }
#payment #place_order { width: 100%; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.woocommerce-form-login-toggle .woocommerce-info, .woocommerce-form-coupon-toggle .woocommerce-info { grid-column: 1 / -1; }
.wc-checkout .woocommerce > .woocommerce-form-login-toggle, .wc-checkout .woocommerce > form.login { margin-bottom: 18px; }

/* Order received */
.woocommerce-order { display: grid; gap: 24px; }
.woocommerce-thankyou-order-received { padding: 28px 30px; border-radius: 22px; background: var(--ink-1); color: var(--fg); font-size: 20px; font-weight: 800; }
ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line-l); border: 1px solid var(--line-l); }
ul.woocommerce-order-overview li { padding: 18px 20px; background: var(--white); font-size: 13px; color: var(--text-3); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; color: var(--text); }
.woocommerce-order-details h2, .woocommerce-customer-details h2, .cf-order-brief h3 { font-size: 20px; margin-bottom: 14px; }
.woocommerce-customer-details address { padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-l); font-style: normal; line-height: 1.8; }
.cf-order-brief { padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-l); }

/* Account */
.wc-my-account .woocommerce { display: block; }
.logged-in .wc-my-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.logged-in .wc-my-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body:not(.logged-in) .wc-my-account .woocommerce { max-width: 560px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l2); }
body:not(.logged-in) .wc-my-account .woocommerce > h2 { font-size: 24px; margin-bottom: 22px; }
.wc-my-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
body:not(.logged-in) .wc-my-account .woocommerce:has(#customer_login) { max-width: none; }
.wc-my-account #customer_login h2 { font-size: 22px; margin-bottom: 18px; }
.wc-my-account form.login, .wc-my-account form.register, .wc-my-account form.lost_reset_password { margin: 0; }
.wc-my-account .woocommerce-form-login__submit, .wc-my-account .woocommerce-form-register__submit { width: 100%; height: 52px !important; margin-top: 6px; }
.wc-my-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: grid; gap: 14px; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; padding: 10px; border-radius: 20px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--text-2); text-decoration: none !important; }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper); color: var(--text); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--text); color: #fff; }
.woocommerce-MyAccount-content { padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--white); border: 1px solid var(--line-l); box-shadow: var(--shadow-l); }
.woocommerce-MyAccount-content p + p { margin-top: 12px; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 600 !important; cursor: pointer; }
.woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; accent-color: var(--gold-3); }
.lost_password { margin-top: 16px; font-size: 14px; }
.password-input { position: relative; display: block; }
.password-input input { padding-right: 52px !important; }
.show-password-input { position: absolute; right: 8px; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8598' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat; }
.show-password-input:hover { background-color: var(--paper); }
.show-password-input.display-password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }

/* ── Motion ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes lamp { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes flow { from { transform: translateY(0); } to { transform: translateY(54px); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1280px) {
  .main-nav a { padding: 10px 10px; font-size: 14px; }
  .hide-lg { display: none !important; }
}
@media (max-width: 1200px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .main-nav, .hide-md { display: none !important; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-feature { display: none; }
  .svc-grid, .why-grid, .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .wc-checkout form.checkout { grid-template-columns: 1fr; }
  .wc-checkout #customer_details, .wc-checkout #order_review_heading, .wc-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
  .wc-cart .woocommerce { grid-template-columns: 1fr; }
  .wc-cart .cart-collaterals { position: static; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 15.5px; }
  .brand-text small { font-size: 9.5px; letter-spacing: .16em; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > .sec-lead, .sec-head > a { justify-self: start; }
  .infra, .faq-wrap, .story { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .mt-1 { grid-column: 1 / -1; grid-row: span 2; }
  .mt-2, .mt-3, .mt-4, .mt-5, .mt-6 { grid-column: auto; grid-row: span 1; }
  .steps, .steps--4 { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 31px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--line-l2) 6%, var(--line-l2) 94%, transparent); }
  .steps--dark::before { background: linear-gradient(180deg, transparent, var(--line-2) 6%, var(--line-2) 94%, transparent); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding: 0 0 26px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin: 6px 0 4px; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.is-flip .svc-row-media { order: 0; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > div:nth-child(3) { border-left: 0; }
  .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid, .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid, .channel-grid { grid-template-columns: 1fr; }
  .shop-tools { width: 100%; }
  .field-search { flex: 1; }
  .field-search input { width: 100%; }
  .logged-in .wc-my-account .woocommerce { grid-template-columns: 1fr; }
  .wc-my-account #customer_login { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 12px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  /* The notice button drops to its own row, so the status mark follows the first line of text. */
  .woocommerce-message .button, .woocommerce-info .button { width: 100%; margin-left: 0; }
  .woocommerce-message::before, .woocommerce-info::before { top: 17px; margin-top: 0; }
  .topbar { font-size: 11.5px; }
  .hero { min-height: 640px; padding-bottom: 64px; }
  .hero-media img { object-position: 62% 40%; }
  .hero-shade { background: linear-gradient(0deg, var(--ink-0) 0%, rgba(5, 8, 15, .75) 45%, rgba(5, 8, 15, .45) 100%); }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 40px; }
  .hero-facts dt { font-size: 15.5px; white-space: normal; }
  .hero-scroll { display: none; }
  .btn-lg { --h: 52px; padding: 0 22px; font-size: 15px; }
  .hero .btn-row .btn, .cta-band .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 auto; }
  .svc-grid, .why-grid, .principle-grid, .plan-grid, .guide-grid, .journal-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 26px 22px 22px; }
  .pgrid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .mt-1 { grid-row: span 1; }
  .infra-points { grid-template-columns: 1fr; }
  .arch-body { padding: 24px 14px 20px; }
  .arch-row--3 { gap: 8px; }
  .arch-node { font-size: 13px; padding: 12px 14px; }
  .arch-row--3 .arch-node small { font-size: 10px; }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > div { padding: 22px 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { text-align: left; }
  .faq-item summary { padding: 18px 18px; font-size: 15.5px; }
  .faq-body { padding: 0 18px 20px; }
  .pd-price { font-size: 28px; }
  .pd-trust li { font-size: 11.5px; }
  .pd-thumb { width: 78px; }
  .shots { grid-template-columns: 1fr; }
  .wc-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
  .wc-checkout .form-row-first, .wc-checkout .form-row-last { grid-column: 1; }
  .wc-surface table.shop_table.cart thead { display: none; }
  .wc-surface table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 96px 1fr auto; gap: 4px 14px; padding: 16px; border-bottom: 1px solid var(--line-l); }
  .wc-surface table.shop_table.cart tr.cart_item td { padding: 0; border: 0; }
  .wc-surface table.shop_table.cart td.product-thumbnail { grid-row: span 3; }
  .wc-surface table.shop_table.cart td.product-thumbnail img { width: 96px; }
  .wc-surface table.shop_table.cart td.product-remove { grid-column: 3; grid-row: 1; }
  .wc-surface table.shop_table.cart td.product-name { grid-column: 2; grid-row: 1; }
  .wc-surface table.shop_table.cart td.product-price, .wc-surface table.shop_table.cart td.product-quantity { display: none; }
  .wc-surface table.shop_table.cart td.product-subtotal { grid-column: 2; font-weight: 800; }
  .wc-surface table.shop_table.cart td.product-subtotal::before { content: none; }
  .wc-surface table.shop_table.cart tr:not(.cart_item) { display: block; }
  .wc-surface table.shop_table.cart tr:not(.cart_item) td { display: block; }
  .checkout-steps li + li::before { width: 14px; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}
