@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f1ece3;
  --paper-2: #e6dfd3;
  --cream: #faf7f1;
  --ink: #1a1815;
  --muted: #5c574f;
  --line: #d4cdc0;
  --line-strong: #1a1815;
  --red: #c01720;
  --red-dark: #94141b;
  --white: #fffcf7;
  --max: 1120px;
  --measure: 40.5rem;
  --sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); line-height: 1.15; margin: 0 0 0.55em; font-weight: 700; }
h2 { font-size: clamp(1.28rem, 2.1vw, 1.7rem); line-height: 1.22; margin: 0 0 0.55em; }
h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 0.4em; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}
.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.55em;
}
.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: var(--measure);
}
.muted { color: var(--muted); }
.zh { font-weight: 600; }

/* ——— Header ——— */
.topbar { height: 4px; background: var(--red); }
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-en {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.18rem;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}
.site-nav .nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.48rem 0.9rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}
.site-nav .nav-cta:hover { background: var(--red-dark); }
.site-nav .nav-cta[aria-current="page"] { background: var(--red-dark); }

/* ——— Buttons ——— */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }

/* ——— Hero ——— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  min-height: 28rem;
  background: var(--ink);
  color: var(--cream);
}
.hero-copy {
  padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.4rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy .kicker { color: #f0a8a8; }
.hero-copy h1 { color: #fff; margin-bottom: 0.7em; }
.hero-copy .lede { color: #d4cfc4; }
.hero-copy .btn { color: #fff; border-color: #fff; }
.hero-copy .btn:hover { background: #fff; color: var(--ink); }
.hero-copy .btn-red { border-color: var(--red); }
.hero-copy .btn-red:hover { background: var(--red-dark); color: #fff; border-color: var(--red-dark); }
.hero-visual {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  background: #222;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  position: absolute;
  inset: 0;
}

/* ——— Stats ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 1.15rem 1.2rem 1.05rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.stat .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

/* ——— Sections ——— */
.section { padding: 3.4rem 0; }
.section-tight { padding: 2.4rem 0; }
.section h2 { max-width: 36rem; }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: start;
}
.split-wide { grid-template-columns: 0.9fr 1.1fr; }
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ——— Faces / galleries ——— */
.faces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 0.55rem;
}
.faces.four {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: none;
}
.faces figure, .gallery figure, .installs figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #1c1b18;
}
.faces img, .gallery img, .installs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.faces figcaption, .gallery figcaption, .installs figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 0.75rem 0.55rem;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.face-sq { aspect-ratio: 1 / 1; }
.face-wide { aspect-ratio: 2 / 1; }
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.gallery.three { grid-template-columns: 1.15fr 0.85fr; }
.gallery .tall { min-height: 22rem; }
.gallery .tall img { object-position: center 30%; }
.installs {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 0.55rem;
}
.installs figure { min-height: 18rem; }
.plant-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0.55rem;
}
.plant-grid .span { grid-column: 1 / -1; min-height: 16rem; }
.plant-grid figure { min-height: 14rem; }
.plant-grid .yard img { object-position: center 72%; }
.caption-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ——— Tables ——— */
.sheet {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: var(--cream);
}
.sheet th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-2);
}
.sheet th.r, .sheet td.r { text-align: right; }
.sheet td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.sheet td.size { font-weight: 700; }
.sheet tbody tr:hover { background: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.75rem;
  max-width: 46rem;
}

/* ——— Chips / lists ——— */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 1rem; }
.chip {
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--ink);
  padding: 0.28rem 0.7rem;
}
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.05rem;
  border-bottom: 1px solid var(--line);
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--red);
}
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-weight: 700;
  color: var(--red);
  font-size: 1.15rem;
  line-height: 1.2;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem 1.2rem;
}
.card h3 { margin-bottom: 0.35em; }
.card .big {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.35rem 0 0.5rem;
}
.card .big a { color: var(--ink); text-decoration: none; }
.card .big a:hover { color: var(--red); }

.callout {
  background: var(--cream);
  border-left: 3px solid var(--red);
  padding: 1.1rem 1.2rem;
}
.finish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.finish {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
}
.finish h3 { font-size: 1.02rem; }

/* page intro band */
.page-intro {
  padding: 2.4rem 0 2.1rem;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 { margin-bottom: 0.4em; }

/* form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.form-grid label, .field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 0;
  border-color: var(--red);
}
textarea { min-height: 7.5rem; resize: vertical; }

/* footer */
.site-footer {
  background: var(--ink);
  color: #d8d2c6;
  padding: 2.4rem 0 1.6rem;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr;
  gap: 2rem;
}
.site-footer .legal-zh {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.site-footer .legal-en { color: #fff; font-weight: 600; margin-bottom: 0.55rem; }
.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0a8a8;
  margin-bottom: 0.7em;
}
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.foot-note {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid #3a3732;
  font-size: 0.78rem;
  color: #9a948a;
}

/* page-specific helpers */
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.prose { max-width: var(--measure); }
.prose-wide { max-width: 46rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 1.2rem 1rem;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav .nav-cta {
    margin-top: 0.7rem;
    text-align: center;
    border-bottom: none;
  }
  .site-header { position: relative; }
  .hero, .split, .split-wide, .stats, .faces.four, .installs, .plant-grid,
  .cards, .finish-grid, .foot-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .hero-visual { min-height: 14rem; position: relative; }
  .hero-visual img { position: relative; height: 14rem; }
  .faces { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .tall { min-height: 16rem; }
  .installs figure, .plant-grid figure { min-height: 12rem; }
  .brand-en { font-size: 0.86rem; }
}

@media (max-width: 520px) {
  .faces { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 1.6rem)); }
}

button.btn {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans);
  line-height: inherit;
  border-radius: 0;
}
button.btn-red { color: #fff; }

.site-nav .nav-cta[aria-current="page"] {
  color: #fff !important;
}
