/* =========================================================================
   Guxiang Sanitary Ware — minimalist premium B2B styles
   Neutral cream/beige palette, thin typography, large whitespace.
   ========================================================================= */
:root {
  --ink: #1c1b19;
  --ink-soft: #3a3733;
  --ink-muted: #6b675f;
  --cream: #f7f5f1;
  --sand: #efeae1;
  --beige: #e3dac9;
  --taupe: #9c9180;
  --gold: #b08d57;
  --line: rgba(28, 27, 25, 0.12);
  --maxw: 1280px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--cream); }

/* Typography helpers ----------------------------------------------------- */
.eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: #8a7c64; margin: 0 0 14px; white-space: nowrap; }
.lead { color: var(--ink-muted); font-size: 16px; line-height: 1.75; }
.muted { color: var(--ink-muted); }
.h-sec { font-size: clamp(28px, 4vw, 44px); }
.h-hero { font-size: clamp(34px, 6vw, 54px); line-height: 1.06; }
.maxw-2 { max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; padding: 14px 28px; cursor: pointer;
  border: 1px solid transparent; transition: all .3s var(--ease); white-space: nowrap; }
.btn-sm { padding: 11px 20px; font-size: 12px; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--beige); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.16em; color: #8a7c64; transition: color .3s var(--ease); flex-shrink: 0; }
.link-arrow:hover { color: var(--gold); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all .3s var(--ease); }
.site-header.scrolled { background: rgba(247, 245, 241, 0.95); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(28,27,25,.06), 0 8px 24px -18px rgba(28,27,25,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.logo span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--taupe); margin-top: 3px; }

/* Desktop primary nav (hidden on mobile, shown >=1024) */
.nav { display: none; align-items: center; gap: 22px; }
.nav a { font-size: 14px; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor; transition: width .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 16px; }
/* Header language switch (desktop only) */
.lang-switch { font-size: 12px; color: var(--ink-muted); display: none; align-items: center; }
.lang-switch a { padding: 2px 6px; transition: color .2s; }
.lang-switch a.on { color: var(--ink); font-weight: 500; }
.lang-switch a:not(.on):hover { color: var(--ink-soft); }
.lang-switch .sep { color: var(--beige); }
.btn-quote-head { display: none; }

/* Hamburger (mobile only) */
.hamburger { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; margin-right: -10px; }
.hamburger span { position: relative; width: 24px; height: 14px; display: block; }
.hamburger span i { position: absolute; left: 0; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: all .3s var(--ease); }
.hamburger span i:nth-child(1) { top: 0; }
.hamburger span i:nth-child(2) { top: 6px; }
.hamburger span i:nth-child(3) { top: 12px; }
.site-header.menu-open .hamburger span i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.site-header.menu-open .hamburger span i:nth-child(2) { opacity: 0; }
.site-header.menu-open .hamburger span i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile drawer — full-screen overlay (does not push page content).
   Uses dynamic viewport height so the bottom actions stay visible under the
   mobile browser URL bar, and scrolls if the device is very short. */
.mobile-nav { position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 40; background: var(--cream);
  display: flex; flex-direction: column; padding: 72px 20px max(20px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto; -webkit-overflow-scrolling: touch; }
.site-header.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav .m-links { display: flex; flex-direction: column; }
.mobile-nav .m-link { padding: 14px 2px; font-size: 17px; font-weight: 400; color: var(--ink);
  border-bottom: 1px solid rgba(227,218,201,.55); }
.mobile-nav .m-link.active { color: var(--gold); }
.mobile-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.mobile-foot .btn-quote { display: flex; width: 100%; background: var(--ink); color: #fff;
  padding: 16px; font-size: 15px; font-weight: 500; }
.mobile-foot .btn-quote:hover { background: var(--ink-soft); }
.m-lang { display: inline-flex; align-self: flex-start; border: 1px solid var(--beige); }
.m-lang a { padding: 9px 22px; font-size: 13px; color: var(--ink-muted); transition: all .2s; }
.m-lang a.on { background: var(--ink); color: #fff; }

/* Over a dark hero (home), the transparent header uses light text until scrolled */
.site-header.over-dark:not(.scrolled):not(.menu-open) .logo b,
.site-header.over-dark:not(.scrolled):not(.menu-open) .nav a,
.site-header.over-dark:not(.scrolled):not(.menu-open) .lang-switch a.on { color: #fff; }
.site-header.over-dark:not(.scrolled):not(.menu-open) .logo span,
.site-header.over-dark:not(.scrolled):not(.menu-open) .lang-switch { color: rgba(255,255,255,.72); }
.site-header.over-dark:not(.scrolled):not(.menu-open) .lang-switch .sep { color: rgba(255,255,255,.4); }
.site-header.over-dark:not(.scrolled):not(.menu-open) .nav a:hover { color: #fff; }
.site-header.over-dark:not(.scrolled):not(.menu-open) .hamburger span i { background: #fff; }

/* ===== Desktop overrides — must come after base rules ===== */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .lang-switch, .btn-quote-head { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-nav { display: none; }
}
@media (min-width: 1280px) { .nav { gap: 30px; } .header-right { gap: 20px; } }

/* Hero slider (full-width carousel) ------------------------------------- */
.hero-slider { position: relative; height: clamp(560px, 88vh, 860px); overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  transition: opacity 1.2s var(--ease), transform 6s var(--ease); background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; transform: scale(1); }
/* Readability overlay — darker on the left where the text sits */
.hero-slider::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,17,15,.72) 0%, rgba(18,17,15,.5) 38%, rgba(18,17,15,.18) 72%, rgba(18,17,15,.05) 100%); }
.hero-slide-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-slider .container { width: 100%; }
.hero-copy { max-width: 620px; color: #fff; }
.hero-copy .eyebrow { color: var(--beige); font-weight: 500; }
.hero-copy h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); line-height: 1.14; font-weight: 400;
  letter-spacing: -0.01em; text-wrap: balance; text-shadow: 0 1px 24px rgba(0,0,0,.28); }
.hero-copy .lead { color: rgba(255,255,255,.85); max-width: 540px; text-shadow: 0 1px 16px rgba(0,0,0,.25); }
.hero-copy .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.hero-copy .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-dots { position: absolute; z-index: 3; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.hero-dots button { width: 36px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.45);
  cursor: pointer; transition: background .3s, transform .3s; }
.hero-dots button:hover { background: rgba(255,255,255,.75); }
.hero-dots button.on { background: #fff; transform: scaleY(1.6); }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
/* Arrows grouped bottom-right so they never overlap the left-aligned hero copy */
.hero-arrow { position: absolute; z-index: 3; bottom: 36px; width: 52px; height: 52px;
  display: none; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.65);
  background: rgba(20,19,17,.28); color: #fff; cursor: pointer; transition: all .3s var(--ease); backdrop-filter: blur(2px); }
.hero-arrow:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-arrow.prev { right: 100px; } .hero-arrow.next { right: 36px; }
@media (min-width: 1024px) { .hero-arrow { display: inline-flex; } }
/* Stat bar under the slider */
.hero-statbar { background: var(--sand); border-bottom: 1px solid rgba(227,218,201,.6); }
.hero-statbar .row { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .hero-statbar .row { grid-template-columns: repeat(4, 1fr); } }
.hero-statbar .item { padding: 28px 8px; text-align: center; border-right: 1px solid rgba(227,218,201,.6); }
.hero-statbar .item:last-child { border-right: 0; }
.hero-statbar dt { font-size: clamp(24px, 3vw, 32px); font-weight: 300; }
.hero-statbar dd { margin: 4px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--taupe); }

/* Hero ------------------------------------------------------------------- */
.hero { padding-top: 72px; }
.hero-grid { display: grid; gap: 40px; align-items: center; padding: 64px 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; padding: 96px 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
  border-top: 1px solid rgba(227,218,201,.7); padding-top: 32px; }
.hero-stats dt { font-size: clamp(24px, 3vw, 30px); font-weight: 300; }
.hero-stats dd { margin: 4px 0 0; font-size: 12px; color: var(--ink-muted); }
.hero-media { position: relative; }
.hero-badge { position: absolute; bottom: -24px; left: -24px; background: var(--beige); padding: 20px 24px; display: none; }
@media (min-width: 640px) { .hero-badge { display: block; } }
.hero-badge p { margin: 0; }
.hero-badge .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-soft); }
.hero-badge .v { font-size: 14px; margin-top: 4px; }

/* Media / image ratios --------------------------------------------------- */
.ratio { position: relative; overflow: hidden; background: var(--sand); }
.ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.r-square { aspect-ratio: 1 / 1; }
.r-portrait { aspect-ratio: 4 / 5; }
.r-land { aspect-ratio: 5 / 4; }
.r-wide { aspect-ratio: 16 / 9; }
.r-32 { aspect-ratio: 3 / 2; }
.r-34 { aspect-ratio: 3 / 4; }
.shadow { box-shadow: 0 18px 40px -24px rgba(28,27,25,.25); }

/* Grids ------------------------------------------------------------------ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 48px; }
.grid-4 { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 48px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Cards ------------------------------------------------------------------ */
.card { display: block; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card:hover .ratio > img { transform: scale(1.04); }
.card .ratio { margin-bottom: 20px; }
.card h3 { font-size: 18px; font-weight: 400; }
.card .model { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--taupe); }
.card p { margin: 6px 0 0; font-size: 14px; color: var(--ink-muted); }
.spec-mini { margin: 14px 0 0; font-size: 13.5px; border-top: 1px solid rgba(227,218,201,.6); padding-top: 12px; }
.spec-mini div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 5px 0; align-items: baseline; }
.spec-mini dt { color: var(--taupe); font-size: 12px; }
.spec-mini dd { margin: 0; color: var(--ink-soft); text-align: left; }
@media (min-width: 640px) and (max-width: 1023px) { .spec-mini div { grid-template-columns: 72px 1fr; } }
.card .btn { width: 100%; margin-top: 20px; }

/* Why choose / feature grid (bordered cells) ----------------------------- */
.cells { display: grid; gap: 1px; background: rgba(227,218,201,.7); border: 1px solid rgba(227,218,201,.7); }
@media (min-width: 640px) { .cells { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cells-3 { grid-template-columns: repeat(3, 1fr); } .cells-5 { grid-template-columns: repeat(5, 1fr); } }
.cell { background: var(--cream); padding: 32px; }
.cell .no { font-size: 14px; color: var(--taupe); }
.cell h3 { font-size: 18px; font-weight: 400; margin-top: 16px; }
.cell p { margin: 8px 0 0; font-size: 14px; color: var(--ink-muted); }
.bg-ink .cells { background: rgba(247,245,241,.1); border-color: rgba(247,245,241,.1); }
.bg-ink .cell { background: var(--ink); }
.bg-ink .cell h3 { color: var(--cream); }
.bg-ink .cell .no { color: var(--taupe); }

/* QC steps --------------------------------------------------------------- */
.qc { display: grid; gap: 40px; margin-top: 64px; }
@media (min-width: 640px) { .qc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .qc { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.qc .item { text-align: center; padding: 0 8px; }
.qc .big { font-size: 32px; font-weight: 200; color: var(--beige); }
.qc h3 { font-size: 14px; font-weight: 500; margin-top: 12px; }
.qc p { font-size: 12px; color: var(--ink-muted); margin: 8px auto 0; max-width: 16rem; line-height: 1.6; }

/* Markets list ----------------------------------------------------------- */
.markets { margin-top: 48px; border-top: 1px solid rgba(227,218,201,.7); }
.market { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid rgba(227,218,201,.7); transition: color .3s; }
.market:hover { color: var(--gold); }
.market .l { display: flex; align-items: baseline; gap: 24px; }
.market .no { width: 32px; font-size: 14px; color: var(--taupe); }
.market h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 300; transition: color .3s; }
.market:hover h3 { color: var(--gold); }
.market .note { font-size: 14px; color: var(--ink-muted); display: none; }
@media (min-width: 640px) { .market .note { display: block; } }

/* Factory dark section list ---------------------------------------------- */
.proc { margin-top: 32px; }
.proc li { display: flex; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(247,245,241,.1); list-style: none; }
.proc { padding: 0; }
.proc .no { font-size: 12px; color: var(--taupe); }
.proc h3 { font-size: 14px; font-weight: 500; color: var(--cream); }
.proc p { margin: 4px 0 0; font-size: 14px; color: rgba(247,245,241,.6); }
.dark-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 40px; }
@media (min-width: 640px) { .dark-stats { grid-template-columns: repeat(4, 1fr); } }
.dark-stats dt { font-size: 26px; font-weight: 300; color: var(--cream); }
.dark-stats dd { margin: 4px 0 0; font-size: 12px; color: rgba(247,245,241,.6); }

/* Split (image + text) --------------------------------------------------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-narrow { grid-template-columns: 0.9fr 1.1fr; } }

/* CTA banner ------------------------------------------------------------- */
.cta-banner { position: relative; overflow: hidden; background: var(--ink); color: var(--cream);
  padding: 64px 24px; text-align: center; }
@media (min-width: 768px) { .cta-banner { padding: 96px 48px; } }
.cta-banner h2 { color: var(--cream); font-size: clamp(28px, 4vw, 40px); }
.cta-banner p { color: rgba(247,245,241,.7); max-width: 36rem; margin: 20px auto 0; }
.cta-banner .btn { margin-top: 36px; }
.cta-ring { position: absolute; border: 1px solid rgba(247,245,241,.1); border-radius: 50%; pointer-events: none; }
.cta-ring.a { width: 256px; height: 256px; top: -64px; right: -64px; }
.cta-ring.b { width: 288px; height: 288px; bottom: -96px; left: -40px; }

/* Breadcrumb ------------------------------------------------------------- */
.crumb { background: var(--sand); border-bottom: 1px solid rgba(227,218,201,.6); }
.crumb .container { display: flex; gap: 8px; padding-top: 16px; padding-bottom: 16px; font-size: 12px; color: var(--ink-muted); }
.crumb a:hover { color: var(--ink); }

/* Page hero (inner) ------------------------------------------------------ */
.page-hero { background: var(--sand); border-bottom: 1px solid rgba(227,218,201,.6); padding-top: 72px; }
.page-hero .container { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .page-hero .container { padding-top: 80px; padding-bottom: 80px; } }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; max-width: 56rem; }
.page-hero .lead { margin-top: 24px; max-width: 42rem; }

/* Product detail --------------------------------------------------------- */
.pd-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .pd-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.thumbs button.on { border-color: var(--ink); }
.spec-table { margin-top: 16px; border-top: 1px solid rgba(227,218,201,.7); }
.spec-table .row { display: flex; gap: 24px; padding: 12px 0; font-size: 14px; border-bottom: 1px solid rgba(227,218,201,.7); }
.spec-table dt { width: 160px; flex-shrink: 0; color: var(--taupe); margin: 0; }
.spec-table dd { margin: 0; color: var(--ink-soft); }

/* Forms ------------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .col-2 { grid-column: span 2; } }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--taupe); margin-bottom: 6px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--beige); background: var(--cream);
  padding: 12px 16px; font-size: 14px; color: var(--ink); font-family: inherit; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.field .err { margin: 4px 0 0; font-size: 12px; color: #b3261e; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d99; }
.form-success { border: 1px solid var(--beige); background: var(--cream); padding: 48px 32px; text-align: center; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.form-success h3 { font-size: 22px; font-weight: 400; }
.form-success p { color: var(--ink-muted); max-width: 28rem; margin: 12px auto 0; font-size: 14px; }

/* Filter chips ----------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.chip { border: 1px solid var(--beige); padding: 10px 20px; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ink-soft); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Timeline (quality) ----------------------------------------------------- */
.timeline { position: relative; border-left: 1px solid rgba(227,218,201,.8); margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 48px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--beige); background: var(--cream); }
.timeline .step { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--taupe); }
.timeline h3 { font-size: 20px; font-weight: 300; margin-top: 8px; }
.timeline p { margin: 8px 0 0; max-width: 28rem; font-size: 14px; color: var(--ink-muted); }

/* Footer ----------------------------------------------------------------- */
.site-footer { margin-top: 40px; border-top: 1px solid rgba(227,218,201,.6); background: var(--sand); }
.footer-grid { display: grid; gap: 48px; padding: 64px 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--taupe); margin: 0 0 20px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 12px; font-size: 14px; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--ink); }
.footer-brand p { font-size: 14px; color: var(--ink-muted); max-width: 20rem; margin-top: 20px; line-height: 1.7; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(227,218,201,.6);
  padding: 24px 0; font-size: 12px; color: var(--ink-muted); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.k-label { font-size: 11px; color: var(--taupe); display: block; }

/* Article body ----------------------------------------------------------- */
.article-body p { font-size: 16px; line-height: 1.85; color: var(--ink-soft); margin: 0 0 24px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--taupe); }
.post-meta .sep { width: 16px; height: 1px; background: var(--beige); }

.mt-sm { margin-top: 16px; } .mt-md { margin-top: 36px; } .mt-lg { margin-top: 56px; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Scroll reveal (home) — subtle fade + rise, applied via JS so content stays
   visible without JS / with reduced-motion. Cards fade only (no transform) to
   avoid clashing with their hover lift. */
.reveal { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal:not(.card) { transform: translateY(26px); }
.reveal.in { opacity: 1; }
.reveal:not(.card).in { transform: none; }
