/* ==========================================================================
   FaciloHome — front-end design system (v2)
   Layout language: editorial B2B millwork site — cream paper, deep-brown
   panels, Cormorant display type, hairline rules, numbered sections.
   Covers: homepage components + all inner-page components.
   ========================================================================== */

:root {
  --cream: #F7F4EE;
  --cream-2: #E6DCC8;
  --cream-3: #DED2BA;
  --paper: #FFFDF9;
  --ink: #2C2621;
  --ink-2: #6C6258;
  --muted: #6C6258;
  --brown: #2C2621;
  --brown-2: #221E1A;
  --line: #DCD2C2;
  --line-soft: #E8E0D2;
  --wood: #9A7850;
  --wood-soft: #C6A47A;
  --sand: #D8BE9C;
  --white: #FFFDF9;
  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, "Songti SC", serif;
  --sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22,.85,.25,1);
  --shell: 1320px;
  --pad: clamp(20px, 4vw, 52px);
}

html.lang-zh body,
body.lang-zh {
  --serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--wood); color: #fff; }

/* ---------- 全局滚动条：细窄、圆角、悬停加深 ---------- */
html {
  scrollbar-width: thin;                                   /* Firefox / 新版 Chromium */
  scrollbar-color: rgba(154, 120, 80, .45) transparent;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(154, 120, 80, .45);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(154, 120, 80, .7); }
::-webkit-scrollbar-thumb:active { background: var(--wood); }
::-webkit-scrollbar-corner { background: transparent; }

.fh-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brown); color: var(--white); padding: 12px 18px;
}
.fh-skip:focus { left: 12px; top: 12px; }

/* ---------- layout ---------- */
.fh-shell { width: min(var(--shell), calc(100% - 2 * var(--pad))); margin: 0 auto; }
.fh-section { padding: clamp(4.5rem, 8vw, 8.5rem) 0; position: relative; }
.fh-section--tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.fh-section--alt { background: var(--cream-2); }
.fh-section--paper { background: var(--paper); }
.fh-section--brown { background: var(--brown); color: var(--cream); }
.fh-section--brown .fh-h1,
.fh-section--brown .fh-h2,
.fh-section--brown .fh-h3 { color: var(--white); }
.fh-section--brown .fh-lead,
.fh-section--brown .fh-body,
.fh-section--brown .fh-small { color: #D6CCBE; }

/* ---------- typography ---------- */
.fh-eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 0.2rem;
}
.fh-eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; flex: none;
}
.fh-eyebrow i { font-style: normal; color: var(--wood); letter-spacing: 0.16em; }
.fh-section--brown .fh-eyebrow,
.fh-cta .fh-eyebrow { color: var(--wood-soft); }

.fh-h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.06; letter-spacing: -0.02em;
  margin: 1.2rem 0 0; color: var(--ink);
}
.fh-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.12; letter-spacing: -0.015em;
  margin: 1.1rem 0 0; color: var(--ink);
}
.fh-h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.25; margin: 0 0 10px;
}
.fh-h4 {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: .01em; margin: 0 0 8px;
}
.fh-lead {
  font-size: clamp(0.98rem, 1.05vw, 1.08rem); line-height: 1.9;
  color: var(--ink-2); font-weight: 300;
  max-width: 56ch; margin: 1.4rem 0 0;
}
.fh-body { max-width: 66ch; color: #3d352e; font-weight: 300; }
.fh-body p { margin: 0 0 1.1em; }
.fh-small { font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.fh-muted { color: var(--muted); }
.fh-serif { font-family: var(--serif); }

.fh-rule {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 0 0 34px;
  font-size: 0.68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
.fh-rule b { font-weight: 500; color: var(--ink); letter-spacing: .18em; }
.fh-rule span { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* section head: heading block + right index */
.fh-sechead {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 3rem; margin-bottom: clamp(2.4rem, 5vw, 4.2rem);
}
.fh-sechead__main { min-width: 0; }
.fh-sechead__main .fh-h2 { max-width: 22ch; }
html[lang^="zh"] .fh-sechead__main .fh-h2 { max-width: 16em; }
.fh-sechead__main .fh-lead { max-width: 46ch; }
.fh-index {
  flex: none; min-width: 110px; text-align: right;
  border-top: 1px solid var(--line); padding-top: 0.7rem;
  font-size: 0.68rem; letter-spacing: 0.16em; color: var(--ink-2); white-space: nowrap;
}
.fh-section--brown .fh-index { border-color: rgba(247,244,238,.2); color: #C6BCAE; }

/* ---------- buttons & links ---------- */
.fh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.fh-btn:hover { background: var(--ink); color: var(--cream); }
.fh-btn--solid { background: var(--ink); color: var(--cream); }
.fh-btn--solid:hover { background: var(--wood); border-color: var(--wood); color: #fff; }
.fh-btn--light { border-color: rgba(247,244,238,.55); color: var(--cream); background: transparent; }
.fh-btn--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.fh-btn--ghost { background: transparent; color: var(--cream); border-color: rgba(247,244,238,.55); }
.fh-btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.fh-btn--sm { padding: 0.62rem 1.05rem; font-size: 0.7rem; }
.fh-btn--block { width: 100%; }
.fh-arrow { font-family: var(--sans); transition: transform .32s var(--ease); }

.fh-link {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 0.4rem;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.fh-link:hover { color: var(--wood); border-color: var(--wood); }
.fh-link:hover .fh-arrow,
a:hover .fh-arrow { transform: translateX(5px); }

/* ---------- header ---------- */
.fh-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,244,238,.8);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.fh-head-inner {
  width: min(var(--shell), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  height: 84px; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem);
  transition: height .4s var(--ease);
}
.fh-brand { display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.fh-brand b {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 400;
  letter-spacing: .19em; color: var(--ink); text-transform: uppercase;
}
.fh-brand span {
  font-size: 0.55rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
  margin-top: 0.35rem;
}
.fh-brand-logo {
  display: block; height: 44px; width: auto; max-width: 220px;
  object-fit: contain;
}
.fh-nav { margin-left: auto; }
.fh-nav > ul { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.75rem); }
.fh-nav > ul > li { position: relative; }
.fh-nav a {
  display: block; padding: 0.5rem 0; position: relative;
  font-size: 0.76rem; font-weight: 400; letter-spacing: .045em; color: var(--ink-2);
  transition: color .3s ease;
}
.fh-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .35s var(--ease);
}
.fh-nav > ul > li > a:hover,
.fh-nav > ul > li > a.on { color: var(--ink); }
.fh-nav > ul > li > a:hover::after,
.fh-nav > ul > li > a.on::after { width: 100%; }
.fh-sub {
  position: absolute; top: 100%; left: -18px; min-width: 252px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .25s var(--ease), visibility .2s;
  box-shadow: 0 24px 50px rgba(44,38,33,.10);
}
.fh-nav li:hover > .fh-sub,
.fh-nav li:focus-within > .fh-sub { opacity: 1; visibility: visible; transform: none; }
.fh-sub a { padding: 9px 20px; font-size: 0.78rem; color: var(--ink-2); }
.fh-sub a::after { display: none; }
.fh-sub a:hover { background: var(--cream-2); color: var(--ink); }

.fh-actions { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; margin-left: 0.5rem; }
.fh-lang {
  display: flex; border: 1px solid var(--line);
  font-size: 0.68rem; letter-spacing: .08em;
}
.fh-lang a { padding: 0.42rem 0.6rem; color: var(--ink-2); transition: background .25s ease, color .25s ease; }
.fh-lang a.on { background: var(--ink); color: var(--cream); }
.fh-lang a:hover { color: var(--ink); }
.fh-lang a.on:hover { color: var(--cream); }

.fh-burger {
  display: none; width: 38px; height: 38px; border: 1px solid var(--line);
  background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.fh-burger span { display: block; width: 16px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }

.fh-drawer { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.fh-drawer.open { display: block; }
.fh-drawer ul { padding: 0.5rem var(--pad) 1.6rem; }
.fh-drawer li { border-bottom: 1px solid var(--line-soft); }
.fh-drawer a { display: block; padding: 0.85rem 0; font-size: 0.95rem; }
.fh-drawer .fh-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.5rem 14px; min-width: 0; background: transparent; }
.fh-drawer .fh-sub a { padding: 0.5rem 0; font-size: 0.82rem; color: var(--muted); }

/* ---------- hero (homepage) ---------- */
.hero {
  display: grid; grid-template-columns: 46% 54%;
  min-height: calc(100vh - 84px);
  background: var(--brown); color: var(--cream);
  overflow: hidden;
}
.hero__copy {
  padding: clamp(3rem, 5.5vw, 6rem) clamp(1.6rem, 4vw, 5rem) clamp(2.5rem, 4vw, 4rem) max(var(--pad), calc((100vw - var(--shell)) / 2));
  display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2;
}
.hero__kicker {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--wood-soft);
  margin: 0;
}
.hero__kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero h1, .hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.9rem, 5.2vw, 6rem); line-height: 1.03; letter-spacing: -0.025em;
  margin: 1.6rem 0 1.4rem; color: var(--white);
}
.hero__title em { font-style: italic; color: var(--sand); }
.hero__lede {
  font-size: clamp(0.98rem, 1.1vw, 1.06rem); line-height: 1.9;
  color: #D6CCBE; font-weight: 300; max-width: 46ch; margin: 0;
}
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2.3rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(247,244,238,.18);
  font-size: 0.72rem; letter-spacing: .04em; color: #D3C9BC;
}
.hero__trust li::before { content: "+"; color: var(--wood-soft); margin-right: 0.55rem; }
.hero__media { position: relative; overflow: hidden; min-height: 420px; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 52% center;
  transform: scale(1.06); will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(34,30,26,.34), transparent 26%),
    linear-gradient(0deg, rgba(34,30,26,.24), transparent 32%);
}
.hero__caption {
  position: absolute; left: clamp(1rem, 2.5vw, 2.5rem); bottom: clamp(1.2rem, 2.5vw, 2.4rem);
  z-index: 2; font-size: 0.68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #F0E9DE; text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hero__card {
  position: absolute; right: clamp(1rem, 2.5vw, 2.4rem); bottom: clamp(1.2rem, 2.5vw, 2.4rem);
  z-index: 3; background: var(--paper); color: var(--ink);
  padding: 1.3rem 1.6rem; min-width: 215px;
  box-shadow: 0 24px 60px rgba(20,16,12,.22);
}
.hero__card b { display: block; font-family: var(--serif); font-weight: 500; letter-spacing: .16em; font-size: 1rem; }
.hero__card p { margin: 0.5rem 0 0.9rem; font-size: 0.74rem; color: var(--ink-2); letter-spacing: .04em; line-height: 1.6; }
.hero__card small { display: block; border-top: 1px solid var(--line); padding-top: 0.7rem; font-size: 0.62rem; letter-spacing: .2em; color: var(--wood); }
.hero__scroll {
  position: absolute; left: max(var(--pad), calc((100vw - var(--shell)) / 2)); bottom: 1.5rem;
  z-index: 3; display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.62rem; letter-spacing: .22em; text-transform: uppercase; color: #A99E90;
}
.hero__scroll::before {
  content: ""; width: 34px; height: 1px; background: currentColor;
  animation: fhScrollLine 2.2s infinite var(--ease);
}
@keyframes fhScrollLine {
  0% { transform: scaleX(.2); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(.2); transform-origin: right; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--cream); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 1.05rem 0; display: flex;
}
.marquee__track {
  display: flex; flex: none; gap: 2.6rem; white-space: nowrap;
  animation: fhMarquee 36s linear infinite; padding-left: 2.6rem;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: 0.72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.marquee__track span::after { content: "✦"; color: var(--wood); margin-left: 2.6rem; font-size: 0.6rem; }
@keyframes fhMarquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { padding: clamp(3rem, 5vw, 4.6rem) 0; background: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0.4rem clamp(1rem, 2.6vw, 2.8rem); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 0.8rem; font-size: 0.7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- horizontal accordion (capabilities) ---------- */
.hacc { display: flex; gap: 10px; height: min(560px, 64vh); }
.hpanel {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  background: var(--brown-2); color: var(--cream); cursor: pointer;
  transition: flex .8s var(--ease);
}
.hpanel.active { flex: 2.8; }
.hpanel > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .4; filter: saturate(.75);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.hpanel.active > img { opacity: .64; transform: scale(1.05); }
.hpanel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(24,20,16,.92), rgba(24,20,16,.12) 72%);
}
.hpanel__inner {
  position: relative; z-index: 2; height: 100%;
  padding: clamp(1.4rem, 2vw, 2.2rem);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hpanel__num { font-size: 0.68rem; letter-spacing: .2em; color: var(--sand); }
.hpanel__title {
  font-family: var(--serif); font-weight: 400; line-height: 1.12;
  font-size: clamp(1.25rem, 1.75vw, 1.75rem); margin: 0.6rem 0 0;
}
.hpanel.active .hpanel__title { font-size: clamp(1.6rem, 2.4vw, 2.5rem); }
.hpanel__short { font-size: 0.74rem; letter-spacing: .05em; color: #CFC4B5; margin-top: 0.5rem; }
.hpanel__detail {
  max-height: 0; opacity: 0; overflow: hidden; max-width: 46ch;
  font-size: 0.84rem; line-height: 1.85; color: #DDD3C6;
  transition: max-height .7s var(--ease), opacity .6s var(--ease), margin .7s var(--ease);
}
.hpanel.active .hpanel__detail { max-height: 260px; opacity: 1; margin-top: 1.1rem; }
.hpanel__detail ul { margin: 0.8rem 0 1rem; font-size: 0.76rem; color: #C6BCAE; }
.hpanel__detail li { padding: 0.22rem 0 0.22rem 1.1rem; position: relative; }
.hpanel__detail li::before { content: "—"; position: absolute; left: 0; color: var(--wood-soft); }
.hpanel__detail .fh-link { color: var(--cream); border-color: rgba(247,244,238,.5); font-size: 0.68rem; }
.hpanel__plus {
  position: absolute; top: 1.4rem; right: 1.5rem; z-index: 3;
  width: 30px; height: 30px; border: 1px solid rgba(247,244,238,.5); border-radius: 50%;
  display: grid; place-items: center; font-size: 1rem; font-weight: 300;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.hpanel.active .hpanel__plus { transform: rotate(45deg); background: var(--wood); border-color: var(--wood); }

/* ---------- vertical accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); cursor: pointer; }
.acc-head {
  display: grid; grid-template-columns: 56px 1fr 26px; align-items: center; gap: 0.6rem;
  padding: 1.3rem 0; transition: padding-left .35s var(--ease);
}
.acc-item:hover .acc-head { padding-left: 0.5rem; }
.acc-num { font-size: 0.7rem; letter-spacing: .16em; color: var(--wood); }
.acc-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.2; }
.acc-plus { justify-self: end; width: 24px; height: 24px; position: relative; transition: transform .45s var(--ease); }
.acc-plus::before, .acc-plus::after {
  content: ""; position: absolute; top: 11px; left: 3px; width: 18px; height: 1px; background: var(--ink);
}
.acc-plus::after { transform: rotate(90deg); }
.acc-item.open .acc-plus { transform: rotate(45deg); }
.acc-body {
  max-height: 0; opacity: 0; overflow: hidden; padding-left: 56px;
  transition: max-height .65s var(--ease), opacity .5s var(--ease), padding .65s var(--ease);
}
.acc-item.open .acc-body { max-height: 320px; opacity: 1; padding-bottom: 1.6rem; }
.acc-body p { margin: 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.9; max-width: 52ch; font-weight: 300; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.acc-tags span {
  font-size: 0.64rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 0.35rem 0.65rem; color: var(--ink-2);
}

/* ---------- process (sticky visual + accordion) ---------- */
.process__wrap { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2.2rem, 5vw, 5.5rem); align-items: start; }
.process__visual { position: sticky; top: 96px; height: min(620px, 70vh); overflow: hidden; background: var(--cream-2); margin: 0; }
.process__visual img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform 1.2s var(--ease); }
.process__visual img.switching { opacity: 0; transform: scale(1.04); }
.process__visual figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--paper);
  padding: 0.7rem 1.1rem; font-size: 0.64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.process__note { margin-top: 2rem; font-size: 0.75rem; color: var(--ink-2); letter-spacing: .03em; }

/* ---------- materials split ---------- */
.materials__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 5vw, 5.5rem); align-items: center; }
.materials__media { position: relative; overflow: hidden; height: min(600px, 66vh); margin: 0; }
.materials__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.materials__media:hover img { transform: scale(1.05); }
.materials__badge {
  position: absolute; left: 0; top: 2rem; background: var(--brown); color: var(--cream);
  padding: 1.1rem 1.4rem; min-width: 150px;
}
.materials__badge b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.materials__badge span { font-size: 0.62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wood-soft); }
.materials__copy .fh-h2 { max-width: 20ch; }
.spec-note { margin-top: 1.4rem; font-size: 0.78rem; color: var(--ink-2); }

/* ---------- solutions cards ---------- */
.solutions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.sol-card {
  background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.sol-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(44,38,33,.09); }
.sol-card__media { height: 230px; overflow: hidden; }
.sol-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sol-card:hover .sol-card__media img { transform: scale(1.07); }
.sol-card__body { padding: 2rem clamp(1.4rem, 2.5vw, 2.3rem) 2.3rem; display: flex; flex-direction: column; flex: 1; }
.sol-card__kicker { font-size: 0.66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.sol-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0.9rem 0; }
.sol-card p { font-size: 0.88rem; color: var(--ink-2); line-height: 1.85; margin: 0 0 1.9rem; font-weight: 300; }
.sol-card .fh-link { margin-top: auto; align-self: flex-start; }

/* ---------- timeline ---------- */
.timeline__line {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
  margin-top: 3.2rem; padding-top: 2.4rem; border-top: 1px solid var(--line);
}
.timeline__line::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0;
  background: var(--wood); transition: width 1.6s var(--ease);
}
.timeline__line.lit::before { width: 100%; }
.tl-node { position: relative; padding-right: 1rem; opacity: .4; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tl-node.lit { opacity: 1; transform: none; }
.tl-node::before {
  content: ""; position: absolute; top: -2.9rem; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream-2); border: 1px solid var(--wood); transition: background .5s ease;
}
.tl-node.lit::before { background: var(--wood); }
.tl-node small { font-size: 0.68rem; letter-spacing: .16em; color: var(--wood); }
.tl-node h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.4rem); margin: 0.6rem 0 0.5rem; }
.tl-node p { font-size: 0.76rem; color: var(--ink-2); line-height: 1.7; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: .5s var(--ease); }
.tl-node.lit p { max-height: 100px; opacity: 1; }
.timeline__foot { margin-top: 2.4rem; font-size: 0.74rem; color: var(--ink-2); letter-spacing: .04em; }

/* ---------- projects ---------- */
.projects__stage { position: relative; height: min(560px, 60vh); overflow: hidden; background: var(--brown-2); margin: 0; }
.projects__stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .55s ease, transform 1.2s var(--ease); }
.projects__stage img.switching { opacity: 0; }
.projects__stage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(24,20,16,.85), transparent);
  color: var(--cream); padding: 3.5rem 2rem 1.5rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
}
.projects__stage figcaption b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.projects__stage figcaption span { font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.proj-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 0; }
.proj-tab { background: var(--cream); text-align: left; padding: 1.3rem 1.5rem; transition: background .35s ease, color .35s ease; }
.proj-tab:hover { background: var(--paper); }
.proj-tab.on { background: var(--brown); color: var(--cream); }
.proj-tab small { display: block; font-size: 0.66rem; letter-spacing: .16em; color: var(--wood); margin-bottom: 0.5rem; }
.proj-tab.on small { color: var(--sand); }
.proj-tab b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; line-height: 1.28; }
.projects__quote {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end;
  margin-top: 3.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line);
}
.projects__quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; line-height: 1.35; font-size: clamp(1.5rem, 2.8vw, 2.5rem); max-width: 30ch; }
.projects__quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- factory (full-bleed) ---------- */
.factory {
  position: relative; min-height: clamp(560px, 76vh, 740px);
  display: flex; align-items: center; overflow: hidden;
  background: var(--brown-2); color: var(--cream);
}
.factory__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; will-change: transform; }
.factory::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,24,20,.94) 0%, rgba(28,24,20,.72) 42%, rgba(28,24,20,.18) 100%);
}
.factory .fh-shell { position: relative; z-index: 2; padding: clamp(4rem, 7vw, 6rem) 0; }
.factory__inner { max-width: 620px; }
.factory__metric { display: flex; align-items: baseline; gap: 1.1rem; margin: 2rem 0 1.6rem; }
.factory__metric b { font-family: var(--serif); font-weight: 300; line-height: 1; color: #E6D4BA; font-size: clamp(3.2rem, 6vw, 5.4rem); }
.factory__metric span { font-size: 0.7rem; letter-spacing: .18em; text-transform: uppercase; color: #C6BCAE; }
.factory__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2.2rem 0; }
.factory__chips span {
  border: 1px solid rgba(247,244,238,.32); padding: 0.6rem 1rem;
  font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: #E5DBCD;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.factory__chips span:hover { background: #E6D4BA; color: var(--brown); border-color: #E6D4BA; }

/* ---------- why grid ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--paper); padding: clamp(1.5rem, 2.5vw, 2.3rem); min-height: 235px; transition: background .4s ease; }
.why-item:hover { background: var(--cream-2); }
.why-item small { font-size: 0.68rem; letter-spacing: .18em; color: var(--wood); }
.why-item h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  margin: 1.5rem 0 0.9rem; position: relative; display: inline-block;
}
.why-item h3::after {
  content: ""; position: absolute; left: 0; bottom: -0.5rem; width: 0; height: 1px;
  background: var(--wood); transition: width .5s var(--ease);
}
.why-item:hover h3::after { width: 100%; }
.why-item p { font-size: 0.83rem; color: var(--ink-2); line-height: 1.85; margin: 0.5rem 0 0; font-weight: 300; }

/* ---------- legacy page hero ---------- */
.fh-pagehead { background: var(--cream); padding: clamp(2.4rem, 4vw, 3.6rem) 0 0; }
.fh-section.fh-pagehead { padding-top: clamp(2.4rem, 4vw, 3.6rem); padding-bottom: 0; }
.fh-pagehead .fh-filter { margin-top: 1.6rem; margin-bottom: 0; }
.fh-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 2rem;
}
.fh-crumbs a { color: var(--ink-2); }
.fh-crumbs a:hover { color: var(--wood); }
.fh-crumbs i { font-style: normal; color: var(--line); }
.fh-pagehead__grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; padding-bottom: clamp(2rem, 3.4vw, 3rem); }
.fh-pagehead .fh-h1 { max-width: 22ch; margin: 0; }
.fh-pagehead .fh-lead { margin: 1.2rem 0 0; }
.fh-pagehead--brown { background: var(--brown); }
.fh-pagehead--brown .fh-h1 { color: var(--white); }
.fh-pagehead--brown .fh-lead { color: #D6CCBE; }
.fh-pagehead--brown .fh-crumbs,
.fh-pagehead--brown .fh-crumbs a { color: rgba(247,244,238,.6); }

/* ---------- cards / grids (inner pages) ---------- */
.fh-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fh-grid--2 { grid-template-columns: repeat(2, 1fr); }
.fh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fh-grid--4 { grid-template-columns: repeat(4, 1fr); }

.fh-card { background: var(--paper); padding: clamp(1.6rem, 2.4vw, 2.2rem); transition: background .4s ease; }
.fh-card:hover { background: var(--cream-2); }
.fh-card-num {
  display: block; font-size: 0.68rem; letter-spacing: .18em; color: var(--wood);
  margin-bottom: 1.2rem; font-variant-numeric: tabular-nums;
}
.fh-card h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); margin-bottom: 0.9rem; }
.fh-card p { font-size: 0.85rem; line-height: 1.85; color: var(--ink-2); margin: 0 0 1.1rem; font-weight: 300; }
.fh-card p:last-child { margin-bottom: 0; }

/* role strip */
.fh-role {
  display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: start;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
}
.fh-role-label { font-size: 0.68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); padding-top: 6px; }
.fh-role-text { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.45; color: var(--ink); font-weight: 300; }

/* ---------- figures ---------- */
.fh-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.fh-figs--4 { grid-template-columns: repeat(4, 1fr); }
.fh-fig { margin: 0; }
.fh-fig .fh-fig-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-3); }
.fh-fig .fh-fig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fh-fig:hover .fh-fig-img img { transform: scale(1.04); }
.fh-fig figcaption { padding: 0.9rem 0 0; }
.fh-fig figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; color: var(--ink); margin-bottom: 0.25rem; transition: color .3s ease; }
.fh-fig:hover figcaption b { color: var(--wood); }
.fh-fig figcaption span { font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.6; display: block; }
.fh-case-quote { max-width: 780px; margin: 2.6rem 0 0; }

/* ---------- steps / flow ---------- */
.fh-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fh-step { padding: 1.5rem 1.4rem 0.5rem 0; border-right: 1px solid var(--line-soft); }
.fh-step:last-child { border-right: 0; }
.fh-step-num { display: block; font-family: var(--serif); font-size: 0.82rem; color: var(--wood); letter-spacing: .1em; margin-bottom: 0.9rem; }
.fh-step h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.5rem; }
.fh-step p { font-size: 0.83rem; line-height: 1.75; color: var(--ink-2); margin: 0; font-weight: 300; }

.fh-flow { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--paper); }
.fh-flow-item { padding: 1.4rem 1.2rem; border-right: 1px solid var(--line); }
.fh-flow-item:last-child { border-right: 0; }
.fh-flow-item b { display: block; font-size: 0.68rem; letter-spacing: .16em; color: var(--wood); margin-bottom: 0.6rem; }
.fh-flow-item span { font-size: 0.84rem; line-height: 1.65; color: var(--ink); }

/* ---------- lists ---------- */
.fh-list { display: grid; gap: 0.7rem; }
.fh-list li { position: relative; padding-left: 1.3rem; font-size: 0.88rem; line-height: 1.8; color: #3d352e; font-weight: 300; }
.fh-list li::before { content: "—"; position: absolute; left: 0; color: var(--wood); }
.fh-cols { columns: 2; column-gap: 2.2rem; }

/* ---------- product cards ---------- */
.fh-prod { display: block; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fh-prod:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(44,38,33,.09); }
.fh-prod-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-3); }
.fh-prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fh-prod:hover .fh-prod-img img { transform: scale(1.05); }
.fh-prod-body { padding: 1.3rem 1.4rem 1.5rem; }
.fh-prod-body .fh-prod-kicker { font-size: 0.64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.fh-prod-body h3 { font-family: var(--serif); font-size: 1.45rem; margin: 0.7rem 0 0.4rem; transition: color .3s ease; }
.fh-prod:hover .fh-prod-body h3 { color: var(--wood); }
.fh-prod-body p { font-size: 0.82rem; line-height: 1.75; color: var(--ink-2); margin: 0; font-weight: 300; }

/* ---------- filter chips ---------- */
.fh-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.2rem; }
.fh-chip {
  display: inline-block; padding: 0.6rem 1.1rem; border: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  background: transparent; transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.fh-chip:hover { border-color: var(--wood); color: var(--wood); }
.fh-chip.on { background: var(--brown); border-color: var(--brown); color: var(--cream); }

/* ---------- quote ---------- */
.fh-quote { border-left: 1px solid var(--wood); padding: 0.3rem 0 0.3rem 1.6rem; margin: 0; }
.fh-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 2.1rem); line-height: 1.45; color: var(--ink); margin-bottom: 0.9rem; font-weight: 300; }
.fh-quote cite { font-style: normal; font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- CTA ---------- */
.fh-cta { position: relative; background: var(--brown); color: var(--cream); overflow: hidden; }
.fh-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 440px at 88% -6%, rgba(154,120,80,.20), transparent 62%),
    radial-gradient(520px 320px at -8% 108%, rgba(198,164,122,.10), transparent 58%);
}
.fh-cta-inner {
  position: relative; z-index: 1;
  width: min(var(--shell), calc(100% - 2 * var(--pad))); margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 5vw, 5.5rem); align-items: center;
}
.fh-cta .fh-h2 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3.4rem); }
.fh-cta .fh-lead { color: #D6CCBE; margin-bottom: 0; }
.fh-assure { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 2.2rem; font-size: 0.72rem; color: #C6BCAE; letter-spacing: .04em; }
.fh-assure li::before { content: "✓"; color: var(--wood-soft); margin-right: 0.5rem; }
.fh-cta-form { background: var(--paper); padding: clamp(1.4rem, 2.4vw, 2.2rem); color: var(--ink); }

/* ---------- forms ---------- */
.fh-form { display: block; }
.fh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.fh-field { display: flex; flex-direction: column; gap: 0.4rem; }
.fh-field--wide { grid-column: 1 / -1; }
.fh-label { font-size: 0.64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.fh-input, .fh-select, .fh-textarea {
  width: 100%; padding: 0.8rem 0.1rem;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  font-family: var(--sans); font-size: 0.94rem; color: var(--ink);
  border-radius: 0; outline: none; transition: border-color .3s ease;
}
.fh-input:focus, .fh-select:focus, .fh-textarea:focus { border-bottom-color: var(--wood); }
.fh-textarea { resize: vertical; min-height: 82px; }
.fh-file { font-size: 0.78rem; color: var(--ink-2); }
.fh-file::file-selector-button {
  margin-right: 0.7rem; padding: 0.5rem 0.9rem; border: 1px solid var(--line);
  background: var(--cream-2); color: var(--ink); font-family: var(--sans); font-size: 0.68rem;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.fh-captcha-row { display: flex; align-items: center; gap: 0.6rem; }
.fh-captcha-row .fh-input { flex: 1; }
.fh-captcha-img { border: 1px solid var(--line); background: var(--cream-2); cursor: pointer; }
.fh-form .fh-btn { margin-top: 1.1rem; }
.fh-msg { font-size: 0.8rem; margin: 0.7rem 0 0; min-height: 20px; }
.fh-msg.ok { color: #3f6b45; }
.fh-msg.err { color: #a33b2b; }
.fh-privacy { font-size: 0.68rem; line-height: 1.65; color: var(--ink-2); margin: 0.7rem 0 0; }

/* ---------- FAQ ---------- */
.fh-faq { border-top: 1px solid var(--line); }
.fh-faq details { border-bottom: 1px solid var(--line); }
.fh-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.25rem 2.6rem 1.25rem 0;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--ink);
  transition: color .25s ease;
}
.fh-faq summary::-webkit-details-marker { display: none; }
.fh-faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 1.1rem;
  font-family: var(--sans); font-size: 1.25rem; color: var(--wood); line-height: 1;
}
.fh-faq details[open] summary::after { content: "−"; }
.fh-faq summary:hover { color: var(--wood); }
.fh-faq .fh-faq-a { padding: 0 2.6rem 1.4rem 0; font-size: 0.9rem; line-height: 1.9; color: var(--ink-2); font-weight: 300; }
.fh-faq .fh-faq-a p { margin: 0; }
@keyframes fhFaqIn { from { opacity: 0; transform: translateY(-6px); } }
.fh-faq details[open] .fh-faq-a { animation: fhFaqIn .3s ease both; }

/* ---------- prose (rich text) ---------- */
.fh-prose { max-width: 74ch; font-size: 1rem; line-height: 1.9; color: #3d352e; font-weight: 300; }
.fh-prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.25; margin: 2.8rem 0 0.9rem; color: var(--ink); }
.fh-prose h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 2rem 0 0.6rem; color: var(--ink); }
.fh-prose p { margin: 0 0 1.15em; }
.fh-prose ul, .fh-prose ol { margin: 0 0 1.2em; padding-left: 1.2rem; list-style: disc; }
.fh-prose ol { list-style: decimal; }
.fh-prose li { margin-bottom: 0.5em; }
.fh-prose a { color: var(--wood); border-bottom: 1px solid var(--wood-soft); }
.fh-prose strong { font-weight: 600; color: var(--ink); }
.fh-prose blockquote {
  margin: 2rem 0; padding: 0.2rem 0 0.2rem 1.5rem; border-left: 1px solid var(--wood);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--ink); font-style: italic;
}
.fh-prose img { margin: 1.6rem 0; }
.fh-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.88rem; }
.fh-prose th, .fh-prose td { border: 1px solid var(--line); padding: 0.65rem 0.8rem; text-align: left; }
.fh-prose th { background: var(--cream-2); font-weight: 500; }
.fh-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }

/* ---------- table ---------- */
.fh-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.fh-table th, .fh-table td { border: 1px solid var(--line); padding: 0.75rem 0.85rem; text-align: left; vertical-align: top; }
.fh-table th { background: var(--cream-2); font-weight: 500; font-size: 0.78rem; letter-spacing: .04em; }
.fh-table-wrap { overflow-x: auto; }

/* ---------- detail layout ---------- */
.fh-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(2.4rem, 5vw, 5rem); align-items: start; }
.fh-aside { border: 1px solid var(--line); background: var(--paper); padding: 1.6rem; position: sticky; top: 96px; }
.fh-aside .fh-h3 { font-size: 1.3rem; }
.fh-meta { display: grid; gap: 0.85rem; margin: 0 0 1.1rem; }
.fh-meta div { display: grid; grid-template-columns: 92px 1fr; gap: 0.6rem; font-size: 0.82rem; }
.fh-meta dt, .fh-meta .k { color: var(--ink-2); font-size: 0.64rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.fh-meta .v { color: var(--ink); }

/* ---------- footer ---------- */
.fh-footer { background: var(--brown-2); color: #CFC6B9; padding: clamp(3.5rem, 6vw, 5.5rem) 0 0; font-size: 0.82rem; }
.fh-foot-grid {
  width: min(var(--shell), calc(100% - 2 * var(--pad))); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4.5vw, 4.5rem);
}
.fh-foot-brand b {
  display: block; font-family: var(--serif); font-weight: 400; font-size: 1.32rem;
  letter-spacing: .19em; color: var(--white); text-transform: uppercase; margin-bottom: 1.2rem;
}
.fh-foot-brand p { font-size: 0.82rem; line-height: 1.9; color: #9E958A; max-width: 30ch; font-weight: 300; }
.fh-foot-col h4 { font-size: 0.68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin: 0.3rem 0 1.2rem; font-weight: 500; }
.fh-foot-col a, .fh-foot-col p { display: block; font-size: 0.82rem; line-height: 1.7; color: #A79E92; margin: 0 0 0.6rem; }
.fh-foot-col a:hover { color: #E6D4BA; }
.fh-foot-bottom {
  width: min(var(--shell), calc(100% - 2 * var(--pad))); margin: clamp(2.6rem, 4vw, 4rem) auto 0;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(247,244,238,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.6rem;
  font-size: 0.7rem; letter-spacing: .06em; color: #857D72;
}
.fh-foot-bottom a { color: #A79E92; }
.fh-foot-bottom a:hover { color: #E6D4BA; }

/* ---------- whatsapp float + progress ---------- */
.fh-wa {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.35);
  transition: transform .3s var(--ease), background .3s ease;
}
.fh-wa:hover { background: #1eb257; color: #fff; transform: translateY(-2px); }
.fh-wa svg { width: 27px; height: 27px; }

.fh-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 90; pointer-events: none; }
.fh-progress i { display: block; height: 100%; background: var(--wood); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- split / media ---------- */
.fh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 5vw, 5.5rem); align-items: center; }
.fh-split--media { grid-template-columns: 1.1fr .9fr; }

/* legacy stats block (about page) */
.fh-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.fh-stat { padding: 1.3rem 1.2rem; border-left: 1px solid var(--line); }
.fh-stat:first-child { border-left: 0; }
.fh-stat b {
  display: block; font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em;
}
.fh-stat span {
  display: block; margin-top: 0.5rem; font-size: 0.66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.fh-media-full { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-3); margin: 0; }
.fh-media-full img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- misc ---------- */
.fh-tag {
  display: inline-block; padding: 0.3rem 0.65rem; border: 1px solid var(--line);
  font-size: 0.64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  background: var(--paper); margin: 0 6px 6px 0;
}
.fh-empty { padding: 4.5rem 0; text-align: center; color: var(--ink-2); }
.fh-center { text-align: center; }
.fh-center .fh-lead { margin-left: auto; margin-right: auto; }
.fh-mt-0 { margin-top: 0; }
.fh-mt-24 { margin-top: 1.5rem; }
.fh-mt-40 { margin-top: 2.5rem; }
.fh-mt-56 { margin-top: 3.5rem; }
.fh-mb-0 { margin-bottom: 0; }

/* reveal: only hidden once JS adds the class, so content stays visible without JS */
.fh-reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.fh-reveal.in { opacity: 1; transform: none; }

/* header shrink */
.fh-header--scrolled { background: rgba(247,244,238,.95); border-bottom-color: var(--line); box-shadow: 0 12px 40px rgba(44,38,33,.06); }
.fh-header--scrolled .fh-head-inner { height: 64px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .fh-nav > ul { gap: 1.05rem; }
  .hero { grid-template-columns: 50% 50%; }
  .hacc { height: min(520px, 58vh); }
  .fh-cta-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .fh-detail { grid-template-columns: 1fr; gap: 2.6rem; }
  .fh-aside { position: static; }
  .fh-flow { grid-template-columns: repeat(3, 1fr); }
  .fh-flow-item:nth-child(3n) { border-right: 0; }
  .fh-foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .fh-foot-grid > div:last-child { grid-column: 1 / -1; }
  .fh-figs--4 { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .fh-nav, .fh-header .fh-actions .fh-btn { display: none; }
  .fh-burger { display: inline-flex; margin-left: auto; }
  .fh-actions { margin-left: 0; }
  .fh-head-inner { height: 68px; gap: 0.8rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__copy { padding: clamp(2.4rem, 7vw, 3.6rem) 6vw clamp(2.2rem, 6vw, 3rem); }
  .hero__media { height: 62vw; min-height: 340px; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 3.6rem); }
  .hero__scroll { display: none; }
  .hero__card { padding: 1rem 1.2rem; min-width: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hacc { flex-direction: column; height: auto; }
  .hpanel { min-height: 190px; flex: none !important; }
  .hpanel.active { min-height: 430px; }
  .process__wrap, .materials__wrap, .solutions__grid { grid-template-columns: 1fr; }
  .process__visual { position: relative; top: 0; height: 48vw; min-height: 280px; margin-bottom: 0.6rem; }
  .materials__media { height: 62vw; order: -1; }
  .fh-sechead { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .fh-index { text-align: left; }
  .timeline__line { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .timeline__line::before { display: none; }
  .tl-node::before { top: -2.4rem; }
  .factory__inner { max-width: none; }
  .projects__quote { display: block; }
  .projects__quote .fh-link { margin-top: 1.6rem; }
  .fh-foot-grid { grid-template-columns: 1fr 1fr; }
  .fh-foot-grid > div:last-child { grid-column: auto; }
  .fh-grid--3, .fh-grid--4, .fh-grid--2 { grid-template-columns: 1fr; }
  .fh-steps { grid-template-columns: 1fr 1fr; }
  .fh-step:nth-child(2) { border-right: 0; }
  .fh-step { border-bottom: 1px solid var(--line-soft); padding-bottom: 1.4rem; }
  .fh-split, .fh-split--media { grid-template-columns: 1fr; gap: 2rem; }
  .fh-role { grid-template-columns: 1fr; gap: 0.6rem; }
  .fh-figs, .fh-figs--4 { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .fh-flow { grid-template-columns: 1fr 1fr; }
  .fh-flow-item:nth-child(2n) { border-right: 0; }
  .fh-flow-item { border-bottom: 1px solid var(--line); }
  .fh-cols { columns: 1; }
}

@media (max-width: 600px) {
  .fh-head-inner { height: 62px; }
  .fh-brand b { font-size: 1.05rem; letter-spacing: .14em; }
  .fh-brand span { font-size: 0.48rem; letter-spacing: .2em; }
  .fh-brand-logo { height: 36px; max-width: 170px; }
  .fh-pagehead__grid { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__media { min-height: 300px; }
  .hero__trust { margin-top: 2.2rem; font-size: 0.66rem; }
  .stats__grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .stat { border-left: 0; padding: 0 0 1.1rem; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .why__grid { grid-template-columns: 1fr; }
  .proj-tabs { grid-template-columns: 1fr; }
  .timeline__line { grid-template-columns: 1fr; }
  .fh-figs, .fh-figs--4 { grid-template-columns: 1fr; }
  .fh-form-grid { grid-template-columns: 1fr; }
  .fh-cta-form { padding: 1.3rem 1.1rem; }
  .fh-foot-grid { grid-template-columns: 1fr; }
  .fh-wa { right: 0.9rem; bottom: 0.9rem; width: 48px; height: 48px; }
  .projects__stage figcaption { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ---------- motion & texture layer ---------- */
@view-transition { navigation: auto; }

body {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes fhRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: fhRise 0.9s var(--ease) both; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .14s; }
.hero__copy > *:nth-child(3) { animation-delay: .24s; }
.hero__copy > *:nth-child(4) { animation-delay: .34s; }
.hero__copy > *:nth-child(5) { animation-delay: .44s; }
.hero__copy > *:nth-child(6) { animation-delay: .54s; }
.hero__caption, .hero__card { animation: fhRise 0.9s .5s var(--ease) both; }

.fh-pagehead .fh-crumbs,
.fh-pagehead .fh-h1,
.fh-pagehead .fh-lead { animation: fhRise .7s var(--ease) both; }
.fh-pagehead .fh-h1 { animation-delay: .07s; }
.fh-pagehead .fh-lead { animation-delay: .14s; }

.fh-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(44,38,33,.14); }
.fh-btn:active { transform: translateY(0); box-shadow: none; }
.fh-stat b { font-variant-numeric: tabular-nums; }

@keyframes fhWaPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.fh-wa { animation: fhWaPulse 2.8s ease-out infinite; }

section[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fh-reveal, .hero__copy > *, .hero__caption, .hero__card,
  .fh-pagehead .fh-crumbs, .fh-pagehead .fh-h1, .fh-pagehead .fh-lead {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .marquee__track { animation: none !important; }
  .tl-node { opacity: 1; transform: none; }
  .tl-node p { max-height: none; opacity: 1; }
  .fh-wa, .hero__scroll::before { animation: none !important; }
  .fh-progress { display: none; }
}

/* ==========================================================================
   Homepage v3 — PPT-driven sections
   company / product scope / quality & delivery / process / partners / contact
   ========================================================================== */

.hero--v3 .hero__title { font-size: clamp(2.7rem, 4.6vw, 5rem); margin: 1.4rem 0 1.2rem; }
.hero--v3 .hero__lede { max-width: 44ch; }

.hero__cats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem;
  margin-top: 2.1rem; border-top: 1px solid rgba(247,244,238,.18);
}
.hero__cat {
  position: relative; display: flex; align-items: baseline; gap: .6rem;
  padding: .85rem 0; border: 0; border-bottom: 1px solid rgba(247,244,238,.12);
  background: none; text-align: left;
  font-size: .74rem; letter-spacing: .05em; color: #B9AFA2;
  transition: color .3s ease;
}
.hero__cat small { font-size: .58rem; letter-spacing: .16em; color: #8A8073; transition: color .3s ease; }
.hero__cat::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--sand); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.hero__cat:hover, .hero__cat.on { color: var(--white); }
.hero__cat.on small { color: var(--sand); }
.hero__cat.on::after { transform: scaleX(1); }
.hero__loc {
  margin: 2.2rem 0 0; font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: #9C9285;
}
.hero__media img { transition: opacity .5s ease; }
.hero__media img.switching { opacity: 0; }

.hero__cat,
.hm-case,
.hm-tab,
.hm-step { cursor: pointer; }

.hero__cat:focus-visible,
.hm-case:focus-visible,
.hm-tab:focus-visible,
.hm-step:focus-visible { outline: 2px solid var(--wood); outline-offset: 4px; }

/* ---------- 01 company ---------- */
.hm-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.4vw, 1.3rem); }
.hm-fact {
  position: relative; display: flex; align-items: flex-end; isolation: isolate;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--brown-2);
}
.hm-fact img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.hm-fact::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(24,20,16,0) 20%, rgba(24,20,16,.45) 55%, rgba(24,20,16,.93) 100%);
}
.hm-fact__body { position: relative; z-index: 2; width: 100%; padding: clamp(1.1rem, 1.7vw, 1.7rem); }
.hm-fact small { font-size: .62rem; letter-spacing: .2em; color: rgba(255,255,255,.66); }
.hm-fact h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.22; color: #fff;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); margin: .7rem 0 .55rem;
}
.hm-fact p { margin: 0; font-size: .84rem; line-height: 1.8; color: rgba(255,255,255,.76); font-weight: 300; }
.hm-fact:hover img { transform: scale(1.055); filter: saturate(1); }

.hm-role {
  display: grid; grid-template-columns: 170px 1fr; gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center; margin-top: 2.6rem;
  padding: 1.8rem clamp(1.4rem, 2.6vw, 2.4rem);
  background: var(--cream-2); border-left: 3px solid var(--wood);
}
.hm-role__label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wood); }
.hm-role p {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink);
}

/* ---------- 02 recent projects（横排手风琴） ---------- */
.hm-cases {
  display: flex; gap: 10px;
  height: clamp(420px, 58vh, 560px);
}
.hm-case {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  background: var(--brown-2); color: var(--cream);
  cursor: pointer; transition: flex .8s var(--ease);
}
.hm-case.is-open { flex: 2.7; }
.hm-case:focus-visible { outline: 2px solid var(--wood); outline-offset: -4px; }
.hm-case__media { position: absolute; inset: 0; margin: 0; }
.hm-case__media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .46; filter: saturate(.8);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.hm-case.is-open .hm-case__media img { opacity: .7; transform: scale(1.04); }
.hm-case::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(24,20,16,.93), rgba(24,20,16,.16) 76%);
}
.hm-case__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.2rem, 1.8vw, 1.9rem);
}
.hm-case__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
}
.hm-case__num { font-size: .64rem; letter-spacing: .18em; color: var(--sand); }
.hm-case__meta {
  display: none; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.58); text-align: right;
}
.hm-case.is-open .hm-case__meta { display: block; }
.hm-case__title {
  font-family: var(--serif); font-weight: 400; line-height: 1.18;
  font-size: clamp(1rem, 1.25vw, 1.18rem); color: #fff;
  margin: .7rem 0 0; transition: font-size .6s var(--ease), color .3s ease;
}
.hm-case.is-open .hm-case__title { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.hm-case:hover .hm-case__title { color: var(--sand); }
.hm-case__desc {
  margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  max-width: 46ch; font-size: .84rem; line-height: 1.8;
  color: rgba(247,244,238,.82); font-weight: 300;
  transition: max-height .7s var(--ease), opacity .55s var(--ease), margin .7s var(--ease);
}
.hm-case.is-open .hm-case__desc { max-height: 200px; opacity: 1; margin-top: .85rem; }
.hm-case__more {
  display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  padding-bottom: .3rem; border-bottom: 1px solid rgba(247,244,238,.5);
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream);
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease),
              color .3s ease, border-color .3s ease;
}
.hm-case.is-open .hm-case__more { max-height: 3em; opacity: 1; margin-top: 1rem; }
.hm-case__more:hover { color: var(--sand); border-color: var(--sand); }
.hm-case__more span { transition: transform .32s var(--ease); }
.hm-case__more:hover span { transform: translateX(4px); }
.hm-case__plus {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 3;
  width: 30px; height: 30px; border: 1px solid rgba(247,244,238,.45); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.hm-case__plus::before, .hm-case__plus::after {
  content: ""; position: absolute; background: var(--cream);
}
.hm-case__plus::before { width: 12px; height: 1px; }
.hm-case__plus::after { width: 1px; height: 12px; }
.hm-case.is-open .hm-case__plus {
  transform: rotate(45deg); background: var(--wood); border-color: var(--wood);
}
.hm-cases__more { margin-top: 2.2rem; }
.fh-empty { color: var(--ink-2); font-size: .9rem; }

/* ---------- 03 quality & delivery ---------- */
.hm-tabs__bar { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.4rem; }
.hm-tab {
  position: relative; padding: 0 0 1rem; border: 0; background: none;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  transition: color .3s ease;
}
.hm-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.hm-tab:hover, .hm-tab.on { color: var(--ink); }
.hm-tab.on::after { transform: scaleX(1); }
.hm-panel { display: none; }
.hm-panel.on { display: block; animation: hmFade .5s var(--ease) both; }
@keyframes hmFade { from { opacity: 0; transform: translateY(10px); } }

.hm-qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hm-qa__item {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(320px, 26vw, 400px);
  background: var(--brown-2); color: var(--cream);
}
.hm-qa__item img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.hm-qa__item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(24,20,16,.12) 0%, rgba(24,20,16,.5) 52%, rgba(24,20,16,.93) 100%);
}
.hm-qa__body { position: relative; z-index: 2; width: 100%; padding: clamp(1.4rem, 2.3vw, 2rem); }
.hm-qa__item small { font-size: .64rem; letter-spacing: .18em; color: var(--sand); }
.hm-qa__item h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.3;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem); margin: 1.1rem 0 .7rem; color: #fff;
}
.hm-qa__item p { margin: 0; font-size: .82rem; line-height: 1.8; color: rgba(247,244,238,.8); font-weight: 300; }
.hm-qa__item:hover img { transform: scale(1.05); filter: saturate(1); }
.hm-note { margin: 1.6rem 0 0; font-size: .74rem; line-height: 1.75; color: var(--ink-2); max-width: 82ch; }

.hm-pack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hm-pack__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.hm-pack__media img { width: 100%; height: 100%; object-fit: cover; }
.hm-pack__copy small { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.hm-pack__copy h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.25;
  font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 1rem 0 .8rem;
}
.hm-pack__copy > p { margin: 0; font-size: .88rem; line-height: 1.85; color: var(--ink-2); font-weight: 300; }
.hm-checks { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 0; }
.hm-checks li {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); padding: .45rem .75rem; color: var(--ink-2); background: var(--cream);
}

/* ---------- 04 process ---------- */
.hm-flow__track {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); --p: 0%;
}
.hm-flow__track::after {
  content: ""; position: absolute; top: -1px; left: 0; height: 1px;
  width: var(--p); background: var(--wood); transition: width .6s var(--ease);
}
.hm-step {
  position: relative; padding: 1.5rem 1rem 1.2rem 0; border: 0; background: none;
  text-align: left; color: var(--ink-2);
}
.hm-step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px;
  border-radius: 50%; background: var(--cream-2); border: 1px solid var(--wood);
  transition: background .4s ease, transform .4s var(--ease);
}
.hm-step.done::before { background: var(--wood); }
.hm-step.on::before { background: var(--wood); transform: scale(1.5); }
.hm-step small { display: block; font-size: .64rem; letter-spacing: .18em; color: var(--wood); }
.hm-step__title {
  display: block; margin-top: .5rem; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.3; color: var(--ink);
  opacity: .55; transition: opacity .3s ease;
}
.hm-step:hover .hm-step__title,
.hm-step.on .hm-step__title { opacity: 1; }
.hm-flow__detail {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 110px 1fr auto; gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center; margin-top: 1.6rem; padding: clamp(1.8rem, 3vw, 2.8rem);
  min-height: clamp(200px, 22vw, 260px);
  background: var(--brown-2); border: 1px solid var(--line); color: var(--cream);
}
.hm-flow__img {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.85);
  transition: opacity .5s ease, transform 1.4s var(--ease);
}
.hm-flow__detail::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(24,20,16,.9) 0%, rgba(24,20,16,.72) 55%, rgba(24,20,16,.4) 100%);
}
.hm-flow__detail.switching .hm-flow__img { opacity: .35; }
.hm-flow__detail > *:not(.hm-flow__img) { position: relative; z-index: 2; }
.hm-flow__num {
  font-family: var(--serif); font-weight: 300; line-height: 1;
  font-size: clamp(3rem, 4.5vw, 4.2rem); color: var(--sand);
}
.hm-flow__text { transition: opacity .3s ease, transform .3s var(--ease); }
.hm-flow__detail.switching .hm-flow__text { opacity: 0; transform: translateY(6px); }
.hm-flow__text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 0 0 .6rem; color: #fff; }
.hm-flow__text p { margin: 0; max-width: 60ch; font-size: .9rem; line-height: 1.85; color: rgba(247,244,238,.82); font-weight: 300; }
.hm-flow__count { font-size: .64rem; letter-spacing: .16em; color: rgba(247,244,238,.8); white-space: nowrap; }

/* ---------- 05 partners ---------- */
.hm-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hm-partner {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(230px, 22vw, 300px);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  background: var(--brown-2); color: var(--cream);
}
.hm-partner img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.hm-partner::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(24,20,16,.12) 0%, rgba(24,20,16,.58) 45%, rgba(24,20,16,.95) 100%);
}
.hm-partner__body { position: relative; z-index: 2; width: 100%; }
.hm-partner small { display: block; font-size: .64rem; letter-spacing: .18em; color: #F0DCC3; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hm-partner h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.3;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); margin: 1.3rem 0 .7rem; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
  position: relative; display: inline-block;
}
.hm-partner h3::after {
  content: ""; position: absolute; left: 0; bottom: -.4rem; height: 1px; width: 0;
  background: var(--sand); transition: width .5s var(--ease);
}
.hm-partner:hover h3::after { width: 100%; }
.hm-partner p { margin: .5rem 0 0; font-size: .82rem; line-height: 1.8; color: rgba(247,244,238,.85); font-weight: 300; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hm-partner:hover img { transform: scale(1.05); filter: saturate(1); }

/* ---------- 06 contact ---------- */
.hm-cta .fh-h2 { max-width: 16ch; }
.hm-contact { margin-top: 2.2rem; border-top: 1px solid rgba(247,244,238,.16); }
.hm-contact > a,
.hm-contact > p {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  margin: 0; padding: 1rem 0; border-bottom: 1px solid rgba(247,244,238,.12);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9C9285;
  transition: color .3s ease;
}
.hm-contact b {
  font-family: var(--serif); font-weight: 400; text-transform: none; text-align: right;
  font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: .02em; color: #F0E9DE;
}
.hm-contact > a:hover { color: var(--sand); }
.hm-cta__btn { margin-top: 2.2rem; }

@media (max-width: 1100px) {
  .hm-qa { grid-template-columns: repeat(2, 1fr); }
  .hm-partners { grid-template-columns: repeat(2, 1fr); }
  .hm-flow__detail { grid-template-columns: 90px 1fr; }
  .hm-flow__count { display: none; }
}

@media (max-width: 900px) {
  .hero__cats { grid-template-columns: 1fr; }
  .hm-facts { grid-template-columns: 1fr; }
  .hm-fact { aspect-ratio: 4 / 3; }
  .hm-role { grid-template-columns: 1fr; gap: .6rem; align-items: start; }
  .hm-cases { flex-direction: column; height: auto; gap: 8px; }
  .hm-case { flex: none !important; min-height: 210px; }
  .hm-case.is-open { min-height: 430px; }
  .hm-case__title { font-size: 1.15rem; }
  .hm-case.is-open .hm-case__title { font-size: 1.5rem; }
  .hm-pack { grid-template-columns: 1fr; }
  .hm-flow__track { overflow-x: auto; grid-template-columns: repeat(5, minmax(150px, 1fr)); }
  .hm-flow__detail { grid-template-columns: 1fr; gap: .8rem; }
  .hm-flow__num { font-size: 2.4rem; }
  .hm-flow__count { display: block; justify-self: start; }
}

@media (max-width: 600px) {
  .hm-qa, .hm-partners { grid-template-columns: 1fr; }
  .hm-tabs__bar { gap: 1.2rem; }
  .hm-contact > a, .hm-contact > p { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .hm-contact b { text-align: left; }
}
