/* ==========================================================================
   何苑盆景园 · HE YUAN BONSAI GARDEN
   侘寂美学 · 生活即美
   ========================================================================== */

:root {
  --ink: #26241f;
  --ink-2: #57534a;
  --ink-3: #8b867a;
  --paper: #f5f2eb;
  --paper-2: #ede8dd;
  --card: #faf8f3;
  --moss: #5c6b4c;
  --moss-deep: #3e4a35;
  --seal: #9e3f2c;
  --line: rgba(38, 36, 31, 0.14);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --latin: "Cormorant Garamond", "Noto Serif SC", serif;
  --shadow: 0 18px 40px -22px rgba(38, 36, 31, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--moss); color: #fff; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.wrap-narrow { width: min(880px, 92vw); margin: 0 auto; }

/* --------------------------------------------------------------------------
   头部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), padding 0.45s var(--ease);
  padding: 22px 0;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 242, 235, 0.94);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.site-header.scrolled { padding: 12px 0; }
.site-header.scrolled::before { opacity: 1; border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(38,36,31,.5); }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; position: relative; }
.brand-seal {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 4px;
  background: var(--seal);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.brand-seal span {
  font-family: var(--serif);
  color: #f7f2e8;
  writing-mode: vertical-rl;
  font-size: 15px; line-height: 1.05;
  letter-spacing: 1px;
  font-weight: 500;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; font-weight: 500; letter-spacing: 0.22em; }
.brand-text em { font-style: normal; font-family: var(--latin); font-size: 11px; letter-spacing: 0.3em; color: var(--ink-3); }
.site-header:not(.scrolled) .brand-text strong { color: #f7f4ec; }
.site-header:not(.scrolled) .brand-text em { color: rgba(247,244,236,.65); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.nav-cta {
  border: 1px solid var(--line);
  padding: 8px 18px;
  color: var(--ink);
  transition: 0.35s var(--ease);
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-header:not(.scrolled) .main-nav a { color: rgba(247,244,236,.85); }
.site-header:not(.scrolled) .main-nav a:hover, .site-header:not(.scrolled) .main-nav a.active { color: #fff; }
.site-header:not(.scrolled) .main-nav a.nav-cta { border-color: rgba(247,244,236,.5); color: #f7f4ec; }
.site-header:not(.scrolled) .main-nav a.nav-cta:hover { background: #f7f4ec; color: var(--ink); }

.nav-toggle {
  position: relative; z-index: 120;
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav-toggle i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: 0.4s var(--ease); }
.nav-open .nav-toggle i:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-open .nav-toggle i:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,14,0.32) 0%, rgba(18,20,14,0.12) 45%, rgba(18,20,14,0.62) 100%);
  z-index: -1;
}
.hero-inner { width: min(1180px, 92vw); margin: 0 auto; padding: 140px 0 110px; position: relative; }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: rgba(247,244,236,.85);
  margin-bottom: 22px;
}
.hero-title {
  writing-mode: vertical-rl;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 500;
  letter-spacing: 0.34em;
  color: #f7f4ec;
  line-height: 1.5;
  max-height: 60vh;
  position: absolute;
  right: 0; top: 130px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-title small { display: block; font-size: 0.42em; letter-spacing: 0.5em; color: rgba(247,244,236,.72); margin-top: 26px; }
.hero-sub {
  max-width: 560px;
  color: rgba(247,244,236,.92);
  font-size: 16.5px;
  line-height: 2.1;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.26em;
  padding: 14px 30px;
  border: 1px solid rgba(247,244,236,.55);
  color: #f7f4ec;
  background: rgba(18,20,14,0.18);
  backdrop-filter: blur(3px);
  transition: 0.4s var(--ease);
  cursor: pointer;
}
.btn:hover { background: #f7f4ec; color: var(--ink); border-color: #f7f4ec; }
.btn-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-solid:hover { background: var(--moss-deep); color: #f7f4ec; border-color: var(--moss-deep); }
.btn-dark { border-color: rgba(38,36,31,.4); color: var(--ink); background: transparent; }
.btn-dark:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.42em;
  color: rgba(247,244,236,.7);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(rgba(247,244,236,.7), transparent);
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   内页 Banner
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  min-height: 52svh;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,20,14,0.38), rgba(18,20,14,0.66));
  z-index: -1;
}
.page-banner .wrap { padding: 150px 0 64px; }
.page-banner .eyebrow-light { color: rgba(247,244,236,.75); margin-bottom: 14px; }
.page-banner h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #f7f4ec;
}
.page-banner .lede { color: rgba(247,244,236,.85); max-width: 620px; margin-top: 14px; }

/* --------------------------------------------------------------------------
   通用版块
   -------------------------------------------------------------------------- */
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section.tight { padding-top: clamp(46px, 6vw, 80px); }
.section-alt { background: var(--paper-2); }
.section-dark { background: #211f1a; color: #ece7da; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--moss);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--moss); opacity: .6; }
.eyebrow-light { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.42em; color: rgba(247,244,236,.8); margin-bottom: 20px; }
.eyebrow-light::before { content: ""; width: 34px; height: 1px; background: rgba(247,244,236,.6); }

.sec-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--moss); opacity: .6; }
.sec-head h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.6;
  margin-bottom: 18px;
}
.sec-head .lede { color: var(--ink-2); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   理念版块
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.rev { grid-template-columns: 6fr 5fr; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; }
.split-media .media-cap {
  position: absolute;
  right: -14px; bottom: -18px;
  writing-mode: vertical-rl;
  font-size: 12.5px;
  letter-spacing: 0.34em;
  color: var(--ink-3);
  background: var(--paper);
  padding: 14px 8px;
  border: 1px solid var(--line);
}
.split-body h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: 0.14em; line-height: 1.65; margin-bottom: 24px; }
.split-body p { color: var(--ink-2); margin-bottom: 18px; }
.split-body p strong { color: var(--ink); font-weight: 500; }

.pull-quote {
  border-left: 2px solid var(--seal);
  padding: 6px 0 6px 24px;
  margin: 30px 0 6px;
  font-size: 17.5px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.pull-quote footer { margin-top: 12px; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.3em; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   业务卡片
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 34px); }

.biz-card {
  background: var(--card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.biz-card figure { overflow: hidden; aspect-ratio: 4 / 3; }
.biz-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.biz-card:hover figure img { transform: scale(1.05); }
.biz-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.biz-body .no { font-family: var(--latin); font-size: 13px; letter-spacing: 0.3em; color: var(--ink-3); margin-bottom: 10px; }
.biz-body h3 { font-size: 20px; font-weight: 500; letter-spacing: 0.16em; margin-bottom: 12px; }
.biz-body p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; flex: 1; }
.biz-body .more { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.28em; color: var(--moss-deep); display: inline-flex; align-items: center; gap: 8px; }
.biz-body .more::after { content: "→"; transition: transform 0.4s var(--ease); }
.biz-card:hover .more::after { transform: translateX(6px); }

/* --------------------------------------------------------------------------
   作品画廊
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.gallery figure { position: relative; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 42px 22px 16px;
  background: linear-gradient(transparent, rgba(18,20,14,.66));
  color: #f2eee2;
  font-size: 13.5px;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.55s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.g-w7 { grid-column: span 7; aspect-ratio: 16 / 11; }
.g-w5 { grid-column: span 5; aspect-ratio: 4 / 3.4; }
.g-w4 { grid-column: span 4; aspect-ratio: 4 / 3.2; }
.g-w6 { grid-column: span 6; aspect-ratio: 16 / 11; }
.g-w12 { grid-column: span 12; aspect-ratio: 21 / 8; }

/* --------------------------------------------------------------------------
   流程步骤
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 24px; position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--latin);
  font-size: 30px;
  color: var(--ink-3);
  display: block;
  margin-bottom: 14px;
}
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 38px; height: 1px; background: var(--seal); }
.step h3 { font-size: 17.5px; font-weight: 500; letter-spacing: 0.18em; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   树种卡片
   -------------------------------------------------------------------------- */
.tree-card { border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.tree-card figure { aspect-ratio: 1 / 0.9; overflow: hidden; }
.tree-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tree-card:hover figure img { transform: scale(1.05); }
.tree-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.tree-body h3 { font-size: 21px; font-weight: 500; letter-spacing: 0.16em; }
.tree-body .latin { font-family: var(--latin); font-style: italic; font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; margin: 4px 0 14px; }
.tree-body p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--moss-deep);
  border: 1px solid rgba(92,107,76,.35);
  padding: 4px 12px;
}

/* --------------------------------------------------------------------------
   盆景作品
   -------------------------------------------------------------------------- */
.work-card { background: var(--card); border: 1px solid var(--line); }
.work-card figure { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.work-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-card:hover figure img { transform: scale(1.05); }
.work-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(245,242,235,.92);
  color: var(--moss-deep);
  font-family: var(--sans);
  font-size: 11.5px; letter-spacing: 0.2em;
  padding: 5px 12px;
}
.work-body { padding: 22px 24px 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.work-body h3 { font-size: 18px; font-weight: 500; letter-spacing: 0.2em; }
.work-body .meta { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); margin-top: 6px; }
.work-body .price { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--seal); white-space: nowrap; }

/* --------------------------------------------------------------------------
   数据 / 事实
   -------------------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.facts b { display: block; font-family: var(--latin); font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; color: var(--moss); line-height: 1.2; }
.facts b i { font-style: normal; font-size: 0.5em; margin-left: 2px; }
.facts span { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.24em; color: var(--ink-3); }
.section-dark .facts b { color: #b9c4a5; }
.section-dark .facts span { color: rgba(236,231,218,.6); }

/* --------------------------------------------------------------------------
   联系
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 5vw, 72px); }
.contact-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-family: var(--sans); font-size: 12px; letter-spacing: 0.3em; color: var(--ink-3); min-width: 76px; padding-top: 3px; }
.contact-list .v { color: var(--ink); font-size: 15px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: span 2; }
.form label { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.26em; color: var(--ink-3); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  appearance: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--moss); }
.form textarea { min-height: 120px; resize: vertical; }
.form .form-note { font-family: var(--sans); font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; align-self: center; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer { background: #1d1b17; color: rgba(236,231,218,.82); padding: clamp(56px, 7vw, 90px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: clamp(30px, 5vw, 70px); padding-bottom: 54px; }
.footer-brand strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: 0.24em; color: #f2eee2; margin-bottom: 8px; }
.footer-brand em { font-style: normal; font-family: var(--latin); font-size: 11.5px; letter-spacing: 0.32em; color: rgba(236,231,218,.5); }
.footer-brand p { font-size: 14px; line-height: 2.1; color: rgba(236,231,218,.66); margin-top: 20px; max-width: 360px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: 0.36em; color: rgba(236,231,218,.5); margin-bottom: 20px; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { font-size: 14px; letter-spacing: 0.14em; color: rgba(236,231,218,.82); transition: color .3s; }
.footer-nav a:hover { color: #b9c4a5; }
.footer-contact li { font-size: 14px; letter-spacing: 0.08em; color: rgba(236,231,218,.82); margin-bottom: 12px; line-height: 1.8; }
.footer-bar { border-top: 1px solid rgba(236,231,218,.14); padding: 22px 0; }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.18em; color: rgba(236,231,218,.42); }

/* --------------------------------------------------------------------------
   滚动显现 & 灯箱 & Toast
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,19,16,.92);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
  cursor: zoom-out;
  padding: 4vmin;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }

.toast {
  position: fixed; left: 50%; bottom: 34px;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em;
  padding: 13px 26px;
  opacity: 0; pointer-events: none;
  transition: 0.45s var(--ease);
  z-index: 400;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 340px);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 90px 44px;
    transform: translateX(100%);
    transition: transform 0.55s var(--ease);
    box-shadow: -30px 0 60px rgba(38,36,31,.15);
    z-index: 110;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav a { font-size: 16px; padding: 12px 0; color: var(--ink-2) !important; letter-spacing: 0.3em; }
  .main-nav a.nav-cta { border: 1px solid var(--line); padding: 12px 22px; margin-top: 18px; color: var(--ink) !important; }
  .nav-toggle { display: flex; }
  .site-header:not(.scrolled) .nav-toggle { border-color: rgba(247,244,236,.4); }
  .site-header:not(.scrolled) .nav-toggle i { background: #f7f4ec; }
  .nav-open .nav-toggle { border-color: var(--line); }
  .nav-open .nav-toggle i { background: var(--ink); }

  .hero-title { position: static; writing-mode: horizontal-tb; max-height: none; margin-bottom: 26px; font-size: clamp(30px, 8vw, 42px); letter-spacing: 0.2em; }
  .hero-title small { margin-top: 12px; }
  .split, .split.rev, .contact-grid { grid-template-columns: 1fr; }
  .split-media .media-cap { right: 8px; bottom: -14px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .g-w7, .g-w5, .g-w4, .g-w6, .g-w12 { grid-column: span 12; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid-3, .grid-2, .steps, .form { grid-template-columns: 1fr; }
  .form .full { grid-column: span 1; }
  .hero-inner { padding: 120px 0 90px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .work-body { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
}
