/* spacekatcompany.com: layout trên nền Giấy & Kính (tokens.css + giay-kinh.css).
   Màu, khoảng cách, bo góc, bóng đều lấy từ token. Ngoại lệ duy nhất: màu vỏ iPhone (phần cứng), khai báo ở .iphone. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/26px var(--font-sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:lang(ko), .ko { font-family: var(--font-hangul); }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 2 * var(--space-6)); margin-inline: auto; }
.eyebrow { font: 500 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.serif { font-family: var(--font-serif); }
.numeral { font-family: var(--font-display); font-weight: 400; line-height: 1; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; padding: var(--space-3) var(--space-4); background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: var(--space-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease-out;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); min-height: var(--tap-min); }
.brand__mark { width: 34px; height: 34px; color: var(--accent); flex: none; }
.brand__name { font: 500 18px/22px var(--font-serif); }
.brand__name small { display: block; font: 500 11px/14px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-1); }
.nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 var(--space-3); border-radius: var(--radius-sm); text-decoration: none; font: 500 15px/20px var(--font-sans); color: var(--ink); }
.nav a:hover { background: var(--surface-solar); }
.nav a[aria-current="page"] { color: var(--accent); }
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-solar); }
.theme-switch button {
  min-height: 36px; min-width: 44px; padding: 0 var(--space-3); border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--ink-muted); font: 500 13px/18px var(--font-sans); cursor: pointer;
}
.theme-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-paper); }
.menu-toggle { display: none; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-3) var(--space-6) var(--space-6); background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-float); display: none; }
  .nav.is-open { display: flex; }
  .nav a { min-height: var(--control-md); font-size: 17px; }
  .nav .theme-switch { align-self: flex-start; margin-top: var(--space-3); }
}

/* ---------- Buttons extra ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.gk-btn { text-decoration: none; }
.gk-btn svg { width: 20px; height: 20px; flex: none; }
.store-btn { gap: var(--space-3); padding-inline: var(--space-5) var(--space-6); }
.store-btn small { display: block; font: 500 11px/14px var(--font-sans); opacity: .85; }
.store-btn span { text-align: left; line-height: 20px; }
.gk-tag--neutral { background: var(--surface-lunar); color: var(--ink); }
.gk-tag { white-space: nowrap; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.status-dot--pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- Ornament + stars ---------- */
.ornament { color: var(--ornament); pointer-events: none; }
.ornament svg { width: 100%; height: 100%; overflow: visible; }
.spin { animation: spin 240s linear infinite; transform-origin: 50% 50%; }
.spin--rev { animation-direction: reverse; animation-duration: 320s; }
@keyframes spin { to { transform: rotate(360deg); } }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 600ms ease-out; color: var(--accent); }
.stars circle { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
:root[data-theme="dark"] .stars { opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stars { opacity: 1; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.hero__title { font: 500 clamp(40px, 6.2vw, 76px)/1.06 var(--font-serif); letter-spacing: -.015em; margin: var(--space-4) 0 var(--space-5); }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ink-muted); max-width: 34em; }
.hero .btn-row { margin-top: var(--space-8); }
.hero__ring { position: absolute; z-index: -1; width: min(980px, 120vw); aspect-ratio: 1; right: -18%; top: 50%; translate: 0 -50%; opacity: .55; }
.hero__visual { position: relative; height: clamp(460px, 52vw, 620px); }
.fan { position: absolute; inset: 0; }
.fan .phone { position: absolute; top: 50%; left: 50%; width: clamp(170px, 18vw, 236px); transition: transform 600ms cubic-bezier(.22,.7,.18,1); }
.fan .phone:nth-child(1) { transform: translate(-128%, -46%) rotate(-11deg); }
.fan .phone:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.fan .phone:nth-child(3) { transform: translate(28%, -46%) rotate(11deg); }
.fan:hover .phone:nth-child(1) { transform: translate(-140%, -47%) rotate(-14deg); }
.fan:hover .phone:nth-child(3) { transform: translate(40%, -47%) rotate(14deg); }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); border-radius: var(--radius-pill); font: 600 14px/18px var(--font-sans); text-decoration: none; color: var(--ink); }
.chip img { width: 34px; height: 34px; border-radius: 10px; }
.chip--a { left: -2%; bottom: 14%; }
.chip--b { right: 0; top: 10%; }
.float { animation: float 7s ease-in-out infinite; }
.float--late { animation-delay: -3.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 520px; margin-top: var(--space-4); }
  .hero__ring { right: auto; left: 50%; top: 72%; translate: -50% -50%; }
}
@media (max-width: 520px) {
  .hero__visual { height: 420px; }
  .fan .phone { width: 150px; }
  .chip--b { right: -2%; top: 2%; }
}

/* ---------- Generic phone (ảnh tĩnh) ---------- */
.phone { position: relative; border-radius: 15% / 7%; padding: 3.2%; background: linear-gradient(145deg, #3b3d44, #16171b 45%, #2b2d33); box-shadow: var(--shadow-dialog), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.phone::after { content: ""; position: absolute; top: 4.4%; left: 50%; width: 24%; height: 2.6%; translate: -50% 0; border-radius: var(--radius-pill); background: #050506; }
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 12.5% / 5.8%; background: var(--paper-deep); }
.phone--wide { border-radius: 7% / 15%; padding: 1.6%; }
.phone--wide::after { top: 50%; left: 3.2%; width: 1.2%; height: 22%; translate: 0 -50%; }
.phone--wide img { aspect-ratio: 19.5 / 9; border-radius: 5.8% / 12.5%; object-position: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section__head { display: grid; gap: var(--space-3); max-width: 46em; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title { font: 500 clamp(30px, 4vw, 46px)/1.15 var(--font-serif); }
.section__lead { color: var(--ink-muted); font-size: 18px; line-height: 1.65; }
.divider { height: 28px; color: var(--ornament); }
.divider svg { width: 100%; height: 100%; }

/* ---------- Project rows ---------- */
.projects { display: grid; gap: clamp(28px, 4vw, 48px); }
.project {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px); padding: clamp(24px, 4vw, 56px); border-radius: var(--radius-xl);
  background: var(--surface-solar); box-shadow: var(--shadow-paper); overflow: hidden; isolation: isolate;
}
.project--lunar { background: var(--surface-lunar); }
.project--wash { background: linear-gradient(135deg, var(--wash-1), var(--wash-2) 38%, var(--wash-3) 68%, var(--wash-4)); }
.project--night { background: var(--paper-deep); }
.project:nth-child(even) .project__media { order: -1; }
.project__index { position: absolute; right: var(--space-6); top: var(--space-2); z-index: -1; font: 400 clamp(120px, 16vw, 220px)/1 var(--font-display); color: var(--ink); opacity: .06; }
.project__head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.project__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-float); flex: none; }
.project__name { font: 500 clamp(28px, 3.2vw, 38px)/1.15 var(--font-serif); }
.project__kind { color: var(--ink-muted); font-size: 15px; margin-top: 2px; }
.project__tagline { font: 500 21px/28px var(--font-serif); color: var(--accent); margin-bottom: var(--space-3); }
.project__summary { color: var(--ink); font-size: 17px; line-height: 1.7; }
.project__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-5) 0 var(--space-6); }
.project__media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.project__media .phone { width: clamp(160px, 17vw, 220px); }
.project__media .phone + .phone { position: absolute; width: clamp(130px, 13vw, 170px); transform: translate(70%, 10%) rotate(8deg); opacity: .96; }
.project__media .phone--wide { width: min(100%, 520px); }
.project__media .phone--wide + .phone--wide { width: min(70%, 340px); transform: translate(30%, 70%) rotate(-4deg); }
.project__media .katto { position: absolute; left: 0; bottom: -6%; width: 120px; border-radius: 24px; box-shadow: var(--shadow-float); rotate: -8deg; }
@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project .project__media { order: -1; min-height: 300px; }
  .project__media .phone + .phone { transform: translate(55%, 8%) rotate(8deg); }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.stat { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-solar); box-shadow: var(--shadow-paper); }
.stat .numeral { font-size: clamp(52px, 6vw, 76px); color: var(--accent); }
.stat p { margin-top: var(--space-3); color: var(--ink-muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Values / about ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.value { padding: var(--space-6); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }
.value h3 { font: 500 21px/28px var(--font-serif); margin-bottom: var(--space-2); }
.value p { color: var(--ink-muted); }
.value__num { font: 400 40px/1 var(--font-display); color: var(--accent); margin-bottom: var(--space-4); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.wash-band { background: linear-gradient(135deg, var(--wash-1), var(--wash-2) 38%, var(--wash-3) 68%, var(--wash-4)); }
.cta { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-6); align-items: center; }
.cta img { width: 140px; }
.cta h2 { font: 500 clamp(26px, 3vw, 36px)/1.2 var(--font-serif); margin-bottom: var(--space-2); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; text-align: left; } .cta img { width: 110px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-8) 0 calc(var(--space-8) + env(safe-area-inset-bottom)); background: var(--paper-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-6); }
.footer-grid h2 { font: 600 13px/18px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.footer-grid a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Project detail ---------- */
.p-hero { position: relative; padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.p-hero--wash { background: linear-gradient(135deg, var(--wash-1), var(--wash-2) 38%, var(--wash-3) 68%, var(--wash-4)); }
.p-hero--lunar { background: var(--surface-solar); }
.p-hero--night { background: var(--paper-deep); }
.p-hero--solar { background: var(--surface-lunar); }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-8); align-items: center; }
.crumbs { display: flex; gap: var(--space-2); font-size: 14px; color: var(--ink-muted); margin-bottom: var(--space-6); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.p-hero__icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow-float); margin-bottom: var(--space-5); }
.p-hero h1 { font: 500 clamp(38px, 5.4vw, 64px)/1.08 var(--font-serif); }
.p-hero .codename { font: 500 13px/18px var(--font-sans); color: var(--ink-muted); letter-spacing: .06em; margin-top: var(--space-2); }
.p-hero .tagline { font: 500 clamp(20px, 2.2vw, 24px)/1.4 var(--font-serif); color: var(--accent); margin: var(--space-4) 0 var(--space-3); }
.p-hero .summary { font-size: 18px; line-height: 1.7; max-width: 36em; }
.p-hero .project__meta { margin-bottom: var(--space-4); }
.p-hero .status-note { color: var(--ink-muted); font-size: 15px; margin-bottom: var(--space-6); }
.p-hero__media { position: relative; display: flex; justify-content: center; min-height: 420px; align-items: center; }
.p-hero__media .phone { width: clamp(200px, 22vw, 280px); }
.p-hero__media .phone + .phone { position: absolute; width: clamp(150px, 16vw, 210px); transform: translate(62%, 12%) rotate(8deg); }
.p-hero__media .phone:first-child:not(:only-child) { transform: translateX(-18%); }
.p-hero__media .phone--wide { width: 100%; }
.p-hero__media .phone--wide + .phone--wide { width: 62%; transform: translate(28%, 62%) rotate(-4deg); }
@media (max-width: 900px) { .p-hero__grid { grid-template-columns: 1fr; } }

.feature-banner { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-float); }
.feature-banner img { width: 100%; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.features .gk-glass { padding: var(--space-6); }
.features h3 { font: 500 20px/28px var(--font-serif); margin-bottom: var(--space-2); }
.features p { color: var(--ink); font-size: 15px; line-height: 1.65; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.gallery { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-2) var(--space-6) var(--space-6); margin-inline: calc(-1 * var(--space-6)); scrollbar-width: thin; }
.gallery button { flex: none; width: clamp(180px, 22vw, 240px); padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: start; border-radius: var(--radius-lg); }
.gallery--wide button { width: clamp(300px, 46vw, 560px); }
.gallery img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-paper); }
.gallery figcaption { margin-top: var(--space-2); font-size: 14px; color: var(--ink-muted); text-align: left; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.facts div { padding: var(--space-5) var(--space-6); border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font: 500 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-2); }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.stat-row .stat { background: var(--paper); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }

.try-band { border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-6); align-items: center; }
.try-band img { width: 120px; }
@media (max-width: 760px) { .try-band { grid-template-columns: 1fr; } }

.next-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.next-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-solar); text-decoration: none; box-shadow: var(--shadow-paper); transition: transform 200ms cubic-bezier(.22,.7,.18,1); }
.next-card:hover { transform: translateY(-3px); }
.next-card img { width: 52px; height: 52px; border-radius: 13px; }
.next-card strong { display: block; font: 500 18px/24px var(--font-serif); }
.next-card span { color: var(--ink-muted); font-size: 14px; }
@media (max-width: 860px) { .next-projects { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; }
.lightbox::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__inner { display: grid; place-items: center; height: 100%; padding: var(--space-8) var(--space-4); }
.lightbox img { max-height: calc(100dvh - 96px); width: auto; max-width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-dialog); }
.lightbox .gk-btn { position: fixed; top: var(--space-4); right: var(--space-4); }

/* ---------- Prose (chính sách) ---------- */
.prose { max-width: 760px; margin-inline: auto; padding: clamp(32px, 6vw, 72px) 0 96px; }
.prose h1 { font: 500 clamp(30px, 4vw, 42px)/1.2 var(--font-serif); margin-bottom: var(--space-4); }
.prose h2 { font: 500 22px/31px var(--font-serif); margin: var(--space-8) 0 var(--space-3); color: var(--accent); }
.prose h3 { font: 600 17px/26px var(--font-sans); margin: var(--space-6) 0 var(--space-2); }
.prose p, .prose li { font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.3em; margin: var(--space-3) 0; }
.prose a { color: var(--accent); }
.prose nav { display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-solar); margin-bottom: var(--space-6); font-weight: 500; }
.prose section + section { margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-note { margin-bottom: var(--space-6); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface-solar); font-size: 15px; color: var(--ink-muted); }

.policy-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.policy-list a { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; background: var(--paper); }
.policy-list a:hover { background: var(--surface-solar); }
.policy-list img { width: 48px; height: 48px; border-radius: 12px; }
.policy-list strong { display: block; font: 500 18px/24px var(--font-serif); }
.policy-list span { color: var(--ink-muted); font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(.22,.7,.18,1), transform 700ms cubic-bezier(.22,.7,.18,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
