/* ==========================================================================
   HAOBOYOU — haoboyou.com
   Palette: paper / ink / clay / sand / hairline
   Display: Instrument Serif (high-contrast serif)
   Body: Inter (sans)
   Grid: 1440 desktop / 96 gutter / 104 section gap / 1px radius
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f7f4ef;
  --ink: #111317;
  --clay: #b4543a;
  --sand: #f0ece3;
  --line: #dcd5c8;
  --line-soft: #e1dacc;
  --field: #fdfbf7;

  --ink-70: #4c4841;
  --ink-60: #5a564e;
  --ink-50: #6f6a62;
  --ink-40: #8a8378;
  --ink-30: #a8a29a;
  --ink-25: #c9c4bb;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pad: clamp(20px, 6.6vw, 96px);
  --sec: clamp(56px, 7.2vw, 104px);
  --radius: 1px;
  --maxw: 1440px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
::selection {
  background: var(--clay);
  color: var(--paper);
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.sec {
  padding-top: var(--sec);
}
.sec--tight {
  padding-top: clamp(40px, 4.4vw, 64px);
}
.sec--band {
  background: var(--sand);
  padding-block: clamp(48px, 5.6vw, 80px);
  margin-top: var(--sec);
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* Section head: title left + note right */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
.sec-head__note {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-50);
}
.sec-head h2 {
  margin-top: 14px;
}

/* ---------- 4. Type ---------- */
.eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 6.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-page {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.012em;
}
.h-sec {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.008em;
}
.h-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.2;
}
.h-card {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
}
.lead {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 500px;
}
.body-sm {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-60);
}
.micro {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-40);
}
.num {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  background: #26292c;
  transform: translateY(-1px);
}
.btn--ghost {
  border-color: #c9c1b2;
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(20, 22, 26, 0.04);
}
.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover {
  background: #fff;
  transform: translateY(-1px);
}
.btn--block {
  width: 100%;
  padding-block: 17px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.arrow-link span[aria-hidden] {
  transition: transform 0.25s var(--ease);
}
.arrow-link:hover span[aria-hidden] {
  transform: translateX(4px);
}

/* ---------- 6. Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(247, 244, 239, 0.97);
  box-shadow: 0 1px 20px rgba(20, 22, 26, 0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand__mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.brand__mark path {
  stroke: var(--ink);
}
.brand__mark .clay {
  stroke: var(--clay);
}
.brand__word {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 38px);
}
.nav__links a {
  position: relative;
  font-size: 13.5px;
  color: var(--ink);
  padding-block: 4px;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.nav__cta {
  padding: 12px 22px;
  font-size: 13px;
}
.nav__burger {
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  position: relative;
}
.nav__burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.4px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__burger i:nth-child(1) {
  top: 7px;
}
.nav__burger i:nth-child(2) {
  top: 12px;
  width: 66%;
}
.nav__burger i:nth-child(3) {
  top: 17px;
}
body.menu-open .nav__burger i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
body.menu-open .nav__burger i:nth-child(2) {
  opacity: 0;
}
body.menu-open .nav__burger i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px var(--pad) 26px;
}
.nav__drawer a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.nav__drawer .btn {
  margin-top: 20px;
  width: 100%;
  padding-block: 16px;
}
body.menu-open .nav__drawer {
  display: block;
}

/* ---------- 7. Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 48px);
  padding-block: clamp(36px, 4.2vw, 64px);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 600px;
}
.hero__title {
  display: flex;
  flex-direction: column;
}
.hero__sub {
  max-width: 470px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.hero__specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 2.4vw, 28px);
}
.hero__specs-row span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-50);
}
.hero__visual {
  position: relative;
  aspect-ratio: 672 / 800;
  min-height: 360px;
}

/* ---------- 8. Media / placeholder ---------- */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #ece6da;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(20, 22, 26, 0.035) 0,
    rgba(20, 22, 26, 0.035) 1px,
    transparent 1px,
    transparent 9px
  );
}
.ph span {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9b948a;
  text-align: center;
  padding: 0 16px;
  line-height: 1.6;
}
.ph--dark {
  background: #2a2c2f;
}
.ph--dark::before {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(247, 244, 239, 0.06) 0,
    rgba(247, 244, 239, 0.06) 1px,
    transparent 1px,
    transparent 9px
  );
}
.ph--dark span {
  color: #8b857c;
}
/* Once real photography lands: <img class="media"> */
.media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 9. Two-line business cards ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 24px);
}
.biz-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.biz-card__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 24px;
}
.biz-card__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.biz-card__no {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--clay);
}
.biz-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-70);
  max-width: 480px;
}

/* ---------- 10. Metric band ---------- */
.metrics {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(36px, 4.4vw, 62px);
  margin-top: var(--sec);
}
.metrics .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}
.metric__value {
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.06;
  font-variant-numeric: tabular-nums;
}
.metric__label {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e8880;
}

/* ---------- 11. Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 22px) clamp(18px, 1.8vw, 20px);
}
.cat__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.cat__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
}
.cat__spec {
  font-size: 12px;
  color: var(--ink-50);
}

/* ---------- 12. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;
}
.step__rule {
  height: 1px;
  background: #cfc7b7;
  margin-bottom: 6px;
}
.step__no {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--clay);
}
.step__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}
.step__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-60);
}

/* ---------- 13. Materials ---------- */
.materials {
  display: grid;
  grid-template-columns: 410px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: var(--sec);
}
.materials__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.materials__title {
  max-width: 340px;
}
.mat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 1.8vw, 20px);
}
.mat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mat__swatch {
  height: clamp(84px, 8vw, 108px);
  position: relative;
  overflow: hidden;
}
.mat__swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.09) 0,
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px,
    transparent 7px
  );
}
.mat__name {
  font-size: 15px;
  font-weight: 500;
}
.mat__spec {
  font-size: 11.5px;
  color: var(--ink-50);
}

/* ---------- 16. CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(48px, 6.4vw, 92px);
  margin-top: var(--sec);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
}
.cta-band__copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 720px;
}
.cta-band__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.16;
}
.cta-band__desc {
  font-size: 14px;
  line-height: 1.65;
  color: #a8a29a;
  max-width: 560px;
}
.cta-band .btn {
  flex-shrink: 0;
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr minmax(0, 1fr) minmax(0, 1fr) 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 340px;
}
.footer__brand .brand__word {
  color: var(--paper);
}
.footer__brand .brand__mark path {
  stroke: var(--paper);
}
.footer__brand .brand__mark .clay {
  stroke: var(--clay);
}
.footer__blurb {
  font-size: 12.5px;
  line-height: 1.7;
  color: #8e8880;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col h3 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 2px;
}
.footer__col a,
.footer__col p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-25);
}
.footer__col a:hover {
  color: var(--paper);
}
.footer__word {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(48px, 10.2vw, 146px);
  line-height: 0.86;
  letter-spacing: 0.06em;
  color: #26292c;
  user-select: none;
  margin-block: 8px 22px;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #24262a;
  font-size: 11px;
  color: var(--ink-50);
}
.footer__bottom a:hover {
  color: var(--paper);
}

/* ---------- 18. Page header ---------- */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: clamp(40px, 5vw, 72px);
}
.page-head__intro {
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(40px, 6vw, 80px);
  align-items: flex-start;
  justify-content: space-between;
}
.page-head__intro > p {
  max-width: 520px;
}
.micro-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(36px, 4vw, 56px);
}
.micro-spec__value {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.micro-spec__label {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* ---------- 19. Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: clamp(28px, 3.4vw, 44px);
  padding-bottom: clamp(28px, 3.4vw, 40px);
}
.pill {
  padding: 9px 18px;
  font-size: 12.5px;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid #cfc7b7;
  color: var(--ink);
  background: transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.pill:hover {
  border-color: var(--ink);
}
.pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- 20. Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 44px) clamp(20px, 2vw, 24px);
}
.product__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2eee6;
}
.product__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
}
.product__spec {
  font-size: 12px;
  color: var(--ink-60);
}
.product__moq {
  font-size: 11.5px;
  color: var(--ink-40);
}
.product.is-hidden {
  display: none;
}

/* ---------- 21. Use-case grid ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 20px);
}
.usecase__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.usecase__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
}
.usecase__desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-60);
}

/* ---------- 22. Anatomy list ---------- */
.anatomy {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
  padding-block: var(--sec);
}
.anatomy__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.anatomy__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.anatomy__list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.anatomy__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.anatomy__row + .anatomy__row {
  margin-top: 18px;
}
.anatomy__name {
  font-size: 17px;
  font-weight: 500;
}
.anatomy__spec {
  font-size: 12px;
  color: var(--ink-40);
  text-align: right;
}

/* ---------- 23. Technique grid ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 22px);
}
.tech {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tech__name {
  font-size: 16px;
  font-weight: 500;
}
.tech__desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-60);
}

/* ---------- 25. Bespoke compare ---------- */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding-top: clamp(32px, 3.6vw, 52px);
}
.compare__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid #cfc7b7;
  border-radius: var(--radius);
}
.compare__label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}
.compare__title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}
.compare__desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-60);
  padding-bottom: 6px;
}
.compare__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.compare__list li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.55;
}
.compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 1px;
  background: var(--clay);
}

/* ---------- 25. Timeline table ---------- */
.tl {
  display: flex;
  flex-direction: column;
  margin-top: clamp(24px, 2.6vw, 34px);
}
.tl__head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 130px;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #cfc7b7;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.tl__row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 130px;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.tl__stage {
  font-size: 15px;
  font-weight: 500;
}
.tl__what {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-60);
}
.tl__when {
  font-size: 13px;
  font-weight: 500;
}

/* ---------- 26. Capability row ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 40px);
  margin-top: clamp(24px, 2.8vw, 34px);
}
.cap {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cap__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}
.cap__item {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-60);
  padding-left: 16px;
  position: relative;
}
.cap__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 1px;
  background: var(--line);
}

/* ---------- 27. About ---------- */
.setup {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(36px, 4.4vw, 56px);
}
.setup__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.setup__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px 24px;
  padding-top: 8px;
}
.stat__value {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 30px);
  line-height: 1.1;
}
.stat__label {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.year-list {
  display: flex;
  flex-direction: column;
  margin-top: clamp(22px, 2.4vw, 28px);
}
.year {
  display: grid;
  grid-template-columns: 120px 300px minmax(0, 1fr);
  gap: 40px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.year__no {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--clay);
  line-height: 1.2;
}
.year__title {
  font-size: 17px;
  font-weight: 500;
}
.year__desc {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-60);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(22px, 2.4vw, 28px);
}
.gallery__item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

/* ---------- 28. Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(36px, 4.4vw, 56px);
  padding-bottom: var(--sec);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0 14px;
  height: 46px;
  background: var(--field);
  border: 1px solid #d8d1c3;
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  appearance: none;
}
.field textarea {
  height: auto;
  min-height: 132px;
  padding: 14px;
  resize: vertical;
  line-height: 1.6;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a8a29a;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field.has-error input,
.field.has-error textarea {
  border-color: var(--clay);
}
.field__error {
  font-size: 11.5px;
  color: var(--clay);
  display: none;
}
.field.has-error .field__error {
  display: block;
}
.form__note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-40);
}
.form__success {
  display: none;
  padding: 18px 20px;
  border: 1px solid var(--ink);
  background: rgba(20, 22, 26, 0.03);
  font-size: 13px;
  line-height: 1.6;
}
.form__success.is-visible {
  display: block;
}
.form__success.is-error {
  border-color: var(--clay);
  background: rgba(180, 84, 58, 0.06);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-item__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.info-item__value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.info-item__value--sm {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.contact-info hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2px 0;
}
.contact-promise {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-promise strong {
  font-size: 13px;
  font-weight: 600;
}
.contact-promise p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-50);
}
.map {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  overflow: hidden;
}

/* ---------- 29. Narrow-CTA strip ---------- */
.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(36px, 4.4vw, 48px);
}
.strip__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.strip__title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
}
.strip__desc {
  font-size: 13.5px;
  color: var(--ink-60);
}

/* ---------- 30. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}


/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet / small laptop */
@media (max-width: 1180px) {
  .materials {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .materials__title {
    max-width: none;
  }
  .anatomy {
    grid-template-columns: minmax(0, 1fr);
  }
  .anatomy__media {
    max-width: 560px;
  }
  .setup {
    grid-template-columns: minmax(0, 1fr);
  }
  .setup__media {
    max-width: 620px;
  }
  .form-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
  }
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }
}

/* Mobile */
@media (max-width: 860px) {
  .nav__links,
  .nav__actions .nav__cta {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .nav__inner {
    height: 64px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 8px;
  }
  /* Copy first on mobile — the headline must be above the fold. */
  .hero__visual {
    order: 0;
    aspect-ratio: 1 / 1;
    margin-inline: calc(-1 * var(--pad));
    width: auto;
  }
  .hero__copy {
    padding-top: 0;
    gap: 18px;
  }

  .biz-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .biz-card__media {
    aspect-ratio: 4 / 3;
  }

  .metrics,
  .metrics .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .metric__value {
    font-size: 34px;
  }

  .cat-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .usecase-grid,
  .tech-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cap-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .compare {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .mat-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .cta-band .btn {
    width: 100%;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Timeline becomes cards */
  .tl__head {
    display: none;
  }
  .tl__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 18px;
  }
  .tl__when {
    order: -1;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
  }

  .year {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 20px;
  }
  .year__no {
    font-size: 20px;
  }
  .year__title {
    font-size: 16px;
  }

  .page-head__intro {
    gap: 22px;
  }
  .form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .strip .btn {
    width: 100%;
  }
}

/* Small phones */
@media (max-width: 520px) {
  .cat-grid,
  .product-grid,
  .usecase-grid,
  .tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .mat-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .anatomy__row {
    flex-direction: column;
    gap: 3px;
  }
  .anatomy__spec {
    text-align: left;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
}

/* Print */
@media print {
  .nav,
  .cta-band,
  .form__success {
    display: none;
  }
  body {
    background: #fff;
  }
}

