/* =========================================================
   GREA — Denim Manufacturing
   Hunan Grea Garment Co., Ltd.
   ========================================================= */

:root {
  --ink: #0d1620;
  --indigo-900: #0a1727;
  --indigo-800: #102740;
  --indigo-700: #17395c;
  --indigo-500: #35597f;
  --indigo-200: #c8d5e2;

  --paper: #f4f4ef;
  --paper-2: #eaeae1;
  --line: #d8d8cd;

  /* denim indigo: the "fabric" colour used for actions, bands and the CTA */
  --brand: #2f5680;
  --brand-deep: #142945;
  --brand-hover: #24466c;

  /* copper thread — the contrast stitching that sits on indigo */
  --stitch: #c8873c;
  --stitch-light: var(--stitch-light);

  /* selvedge: faint woven texture for dark cloth surfaces */
  --weave:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.10) 0 1px, transparent 1px 4px);

  --muted: #64696d;
  --white: #fff;

  --f-display: "Barlow Condensed", "Oswald", "Impact", "Haettenschweiler",
    "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--brand); color: #fff; }

/* ---------- utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stitch);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--stitch);
  display: block;
}
.eyebrow.light { color: var(--stitch-light); }
.eyebrow.light::before { background: var(--stitch-light); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  letter-spacing: 0.005em;
}
.h3 {
  font-size: clamp(20px, 2vw, 26px);
}

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: #33322e;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--indigo-900); background-image: var(--weave); color: #e8eaee; }
.section--dark .lead { color: #b9c2d0; }
.section--dark .rule { background: rgba(255, 255, 255, 0.12); }

.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: clamp(34px, 5vw, 62px);
}
@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 60px;
  }
  .sec-head .lead { margin: 0 0 4px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn--red { background: var(--brand); color: #fff; }
.btn--red:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--indigo-900); border-color: #fff; }
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.header__logo img { height: 42px; width: auto; }
.header__logo .logo-dark { display: none; }

.nav {
  display: none;
  gap: 30px;
  align-items: center;
}
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang button {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 600;
  transition: 0.25s;
}
.lang button.is-on { background: #fff; color: var(--indigo-900); }

.header__cta { display: none; }

/* scrolled / solid state */
.header.is-solid {
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.header.is-solid .header__logo .logo-light { display: none; }
.header.is-solid .header__logo .logo-dark { display: block; }
.header.is-solid .nav a { color: #33322e; }
.header.is-solid .nav a:hover { color: var(--ink); }
.header.is-solid .lang { border-color: var(--line); }
.header.is-solid .lang button { color: var(--muted); }
.header.is-solid .lang button.is-on { background: var(--ink); color: #fff; }

.burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}
.header.is-solid .burger { border-color: var(--line); color: var(--ink); }
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

@media (min-width: 1080px) {
  .header__logo img { height: 50px; }
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: var(--indigo-900);
  color: #fff;
  padding: 100px var(--pad) 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer.open { transform: translateY(0); }
.drawer a {
  font-family: var(--f-display);
  font-size: 30px;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.drawer .btn { margin-top: 26px; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--indigo-900);
  color: #fff;
  overflow: hidden;
  padding-top: 120px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero-wash.jpg");
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(8, 14, 24, 0.82) 0%,
      rgba(8, 14, 24, 0.5) 34%,
      rgba(8, 14, 24, 0.72) 72%,
      rgba(8, 14, 24, 0.95) 100%
    ),
    linear-gradient(90deg, rgba(8, 14, 24, 0.7), rgba(8, 14, 24, 0.1) 70%);
}
.hero__in {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad) clamp(30px, 4vw, 52px);
}
.hero__kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.hero__kicker i {
  width: 6px;
  height: 6px;
  background: var(--stitch);
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 4px rgba(229, 0, 18, 0.18);
}
.hero h1 {
  font-size: clamp(40px, 7.4vw, 96px);
  letter-spacing: -0.005em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--stitch-light);
}
.hero__sub {
  margin: 26px 0 0;
  max-width: 54ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 12, 21, 0.35);
  backdrop-filter: blur(6px);
}
.hero__stats-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  padding: 22px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
/* odd count (5 stats): let the capacity figure close the row on small screens */
@media (max-width: 859px) {
  .stat:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}
.stat b {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  display: block;
  line-height: 1;
  letter-spacing: 0.01em;
}
.stat b span:last-child { font-size: 0.52em; margin-left: 1px; color: var(--stitch-light); letter-spacing: 0; }
.stat small {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
@media (min-width: 860px) {
  .hero__stats-in { grid-template-columns: repeat(5, 1fr); }
  .stat { border-top: 0; padding: 30px 20px 32px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:nth-child(2n) { padding-left: 20px; }
  /* five columns are narrower — tighten the caption so it stays on one line */
  .stat small { font-size: 10px; letter-spacing: 0.11em; }
}
@media (min-width: 860px) and (max-width: 1080px) {
  .stat b { font-size: clamp(22px, 2.6vw, 30px); }
  .stat small { font-size: 9.5px; letter-spacing: 0.08em; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--brand-deep);
  background-image: var(--weave);
  color: #f2e7d8;
  overflow: hidden;
  padding: 11px 0;
  white-space: nowrap;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.marquee__track {
  display: inline-flex;
  gap: 44px;
  animation: slide 42s linear infinite;
  will-change: transform;
}
.marquee span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 44px;
}
.marquee span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--stitch);
  border-radius: 50%;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.about-copy p { margin: 0 0 18px; color: #3a3934; }
.about-copy p:last-child { margin-bottom: 0; }

.about-figures { position: relative; }
.figure-stack { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.figure-stack figure { margin: 0; position: relative; overflow: hidden; }
.figure-stack figure:first-child { grid-column: 1 / -1; }
.figure-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 1s var(--ease);
}
.figure-stack figure:first-child img { aspect-ratio: 16 / 10; }
.figure-stack img:hover { transform: scale(1.04); }
.figure-stack figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(11, 22, 38, 0.78);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.side-fact {
  margin-top: 18px;
  border-left: 2px solid var(--brand);
  padding: 4px 0 4px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
   CAMPUS / FACILITIES
   ========================================================= */
.campus {
  display: grid;
  gap: 28px;
  margin-bottom: 46px;
}
@media (min-width: 960px) {
  .campus { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
}
.campus__diagram {
  background: #0f1a2b;
  padding: clamp(18px, 3vw, 32px);
  position: relative;
  overflow: hidden;
}
.campus__diagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(120, 160, 220, 0.12), transparent 60%);
  pointer-events: none;
}
.campus__legend { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.campus__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.campus__legend i { width: 10px; height: 10px; flex: 0 0 10px; display: block; }

.fac-grid {
  display: grid;
  gap: 2px;
  background: var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .fac-grid { grid-template-columns: 1fr 1fr; } }

.fac {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fac__media { overflow: hidden; position: relative; }
.fac__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
}
.fac:hover .fac__media img { transform: scale(1.05); }
.fac__no {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 22, 38, 0.85);
  color: #fff;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
}
.fac__body { padding: 22px clamp(18px, 2vw, 28px) 28px; }
.fac__body h3 { font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 10px; }
.fac__body p { margin: 0; font-size: 14.5px; color: #4a4944; line-height: 1.65; }
.fac__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.fac__tags span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 4px 8px;
  color: var(--muted);
}

/* =========================================================
   PROCESS
   ========================================================= */
.proc {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.proc__row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  align-items: baseline;
  transition: background 0.4s, padding-left 0.4s;
}
.proc__row:hover { background: rgba(255, 255, 255, 0.035); padding-left: 10px; }
.proc__no {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--stitch-light);
  opacity: 1;
}
.proc__row h4 {
  font-family: var(--f-display);
  font-size: clamp(19px, 2.2vw, 27px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}
.proc__row p { margin: 0; font-size: 14.5px; color: #b6c0cf; max-width: 62ch; }
.proc__meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8ba1;
  margin-top: 8px;
}
@media (min-width: 900px) {
  .proc__row { grid-template-columns: 60px 1fr 240px; gap: 28px; align-items: center; }
  .proc__meta { margin: 0; text-align: right; }
}

/* ---------- wash capability ---------- */
.wash-grid {
  display: grid;
  gap: 2px;
  background: var(--line);
  grid-template-columns: 1fr;
  margin-top: 44px;
}
@media (min-width: 760px) { .wash-grid { grid-template-columns: repeat(3, 1fr); } }
.wash-card { background: var(--paper); padding: 0; overflow: hidden; }
.wash-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wash-card h4 {
  font-family: var(--f-display);
  font-size: 19px;
  text-transform: uppercase;
  padding: 18px 20px 0;
  margin: 0;
}
.wash-card p { font-size: 13.5px; color: var(--muted); padding: 6px 20px 22px; margin: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pill {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 15px;
  font-size: 12.5px;
  color: #3a3934;
  letter-spacing: 0.02em;
}
.section--paper2 .pill { background: var(--paper); }

/* =========================================================
   PRODUCTS
   ========================================================= */
.prod-grid {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.prod { position: relative; }
.prod__img {
  overflow: hidden;
  background: #e8e3d9;
  position: relative;
}
.prod__img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.prod:hover .prod__img img { transform: scale(1.05); }
.prod__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; align-items: baseline; }
.prod__meta h4 {
  font-family: var(--f-display);
  font-size: 17px;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}
.prod__meta span { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.prod__desc { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* =========================================================
   QUALITY
   ========================================================= */
.q-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
}
@media (min-width: 700px) { .q-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .q-grid { grid-template-columns: repeat(4, 1fr); } }
.q-item { background: var(--paper); padding: 26px 24px 30px; }
.q-item b {
  display: block;
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1;
  color: var(--indigo-700);
  margin-bottom: 12px;
}
.q-item h5 { margin: 0 0 6px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; }
.q-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   WHY
   ========================================================= */
.why-grid {
  display: grid;
  gap: 34px 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why__item { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; }
.why__item .ico {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--stitch-light);
}
.why__item h4 { font-size: 19px; margin: 0 0 8px; letter-spacing: 0.02em; }
.why__item p { margin: 0; font-size: 14px; color: #b6c0cf; line-height: 1.7; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: var(--indigo-700);
  background-image: var(--weave);
  color: #fff;
  padding: clamp(52px, 7vw, 88px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "GREA";
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: 30vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--stitch) 0 12px,
    transparent 12px 24px
  );
  opacity: 0.9;
}
.cta__in {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta__in { grid-template-columns: 1.4fr 0.6fr; }
  .cta__actions { justify-self: end; }
}
.cta h2 { font-size: clamp(28px, 4vw, 50px); max-width: 18ch; }
.cta p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 15.5px; max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white:hover { background: var(--indigo-900); color: #fff; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; }
}
.info-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.info-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.info-list h5 {
  margin: 0 0 3px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.info-list p { margin: 0; font-size: 15px; color: #26251f; line-height: 1.6; }
.info-list a:hover { color: var(--brand); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo-700);
  box-shadow: 0 0 0 3px rgba(22, 48, 90, 0.08);
}
.form__note { font-size: 12px; color: var(--muted); margin: 0; }
.form__ok {
  display: none;
  background: #e8f2e8;
  border: 1px solid #bcd9bc;
  color: #255c25;
  padding: 12px 14px;
  font-size: 13.5px;
}
.form__ok.show { display: block; }
.form__fallback {
  display: none;
  background: #fbf3e6;
  border: 1px solid #e3cfa8;
  color: #6b4a17;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.6;
}
.form__fallback.show { display: block; }
.btn[disabled] { pointer-events: none; }


/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--indigo-900); background-image: var(--weave); color: #939dae; padding: 64px 0 26px; font-size: 13.5px; }
.footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; } }
.footer__brand img { height: 40px; margin-bottom: 18px; }
.footer__brand p { margin: 0; max-width: 34ch; line-height: 1.75; }
.footer h6 {
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12px;
  color: #6c788c;
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* floating back to top */
.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: var(--indigo-900);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
  z-index: 80;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--brand); }

/* ---------- two equal figures ---------- */
.two-figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.two-figs figure { margin: 0; position: relative; overflow: hidden; }
.two-figs img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.two-figs figure:hover img { transform: scale(1.04); }
.two-figs figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(11, 22, 38, 0.78);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}

/* ---------- campus diagram sizing ---------- */
.campus__diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

/* QA / print mode: no entrance animation */
html.qa .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* =========================================================
   Chinese typography adjustments
   ========================================================= */
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] h5,
html[lang="zh-CN"] .fac__body h3,
html[lang="zh-CN"] .prod__meta h4 {
  letter-spacing: 0.02em;
  line-height: 1.32;
  text-transform: none;
}
html[lang="zh-CN"] .hero h1 {
  max-width: 15em;
  font-size: clamp(30px, 5.4vw, 68px);
  line-height: 1.28;
  letter-spacing: 0.03em;
}
html[lang="zh-CN"] .hero__sub { max-width: 40em; }
html[lang="zh-CN"] .h2 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; }
html[lang="zh-CN"] .cta h2 { max-width: 22em; line-height: 1.35; }
html[lang="zh-CN"] .proc__row h4 { letter-spacing: 0.03em; }
html[lang="zh-CN"] .eyebrow { letter-spacing: 0.16em; }

/* keep the campus diagram from blowing out the grid */
.campus > * { min-width: 0; }
.campus__diagram { min-width: 0; }
.campus__diagram svg { max-width: 520px; margin: 0 auto; }

/* CTA: keep the action anchored to the baseline of the statement */
@media (min-width: 900px) {
  .cta__in { align-items: end; }
  .cta__actions .btn { padding: 18px 34px; font-size: 13px; }
}
