@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("../assets/fonts/noto-serif-sc-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("../assets/fonts/noto-serif-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3efe5;
  --paper-2: #ece7d8;
  --surface: #fbf9f3;
  --ink: #0f241f;
  --ink-soft: #1b3630;
  --petrol: #0d3a33;
  --petrol-deep: #082824;
  --orange: #de4e22;
  --orange-ink: #bc3e17;
  --sage: #c9d9c9;
  --sage-light: #e4ecdf;
  --line: rgba(15, 36, 31, 0.14);
  --line-strong: rgba(15, 36, 31, 0.3);
  --muted: #58675e;
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Instrument Serif", "Noto Serif SC", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 80px;
}

*,
*::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: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 44px;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.mono-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(222, 78, 34, 0.38); }
  50% { box-shadow: 0 0 0 6px rgba(222, 78, 34, 0); }
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--petrol); color: var(--surface); }
.btn-dark:hover { background: var(--orange); color: #fff; }
.btn-sm { padding: 12px 18px; font-size: 12.5px; }
.btn-arrow { font-size: 15px; transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.3s, border-color 0.3s;
}
.text-link span { transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--orange-ink); border-color: var(--orange); }
.text-link:hover span { transform: translate(2px, -2px); }
.text-link-light { color: rgba(243, 239, 229, 0.9); border-color: rgba(243, 239, 229, 0.35); }
.text-link-light:hover { color: #fff; border-color: var(--orange); }

/* ---------- topbar ---------- */
.topbar {
  background: var(--petrol);
  color: rgba(243, 239, 229, 0.72);
  font-size: 12px;
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
}
.topbar-brand { letter-spacing: 0.04em; }
.topbar .sep { margin: 0 10px; color: rgba(243, 239, 229, 0.3); }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a { transition: color 0.3s; }
.topbar-links a:hover { color: var(--surface); }
.topbar .mono-label { color: rgba(243, 239, 229, 0.4); margin-right: 6px; }
.topbar-sep { width: 1px; height: 10px; background: rgba(243, 239, 229, 0.2); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(243, 239, 229, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.4s;
}
.site-header.is-scrolled { box-shadow: 0 18px 40px -32px rgba(8, 40, 36, 0.55); }

.header-in {
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--petrol); }
.brand-text strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
}
.brand-text em {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 1px; }
.nav-list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li > a.is-current::after { transform: scaleX(1); }
.nav-list > li > a:hover { color: var(--orange-ink); }
.has-mega > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
}
.chev { width: 9px; height: 6px; transition: transform 0.3s; }
.has-mega:hover .chev { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-search { width: 240px; flex: none; }
.header-search-field {
  display: flex;
  align-items: center;
  height: 42px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s;
}
.header-search-field:focus-within { border-color: var(--orange); }
.header-search input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 0 8px 0 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { outline: none; }
.header-search button {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--orange-ink);
  transition: color 0.3s, transform 0.3s;
}
.header-search button:hover { color: var(--orange); transform: translateX(2px); }
.header-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.menu-btn span { display: block; height: 1.5px; background: var(--ink); transition: width 0.3s; }
.menu-btn span:nth-child(1) { width: 26px; }
.menu-btn span:nth-child(2) { width: 18px; }
.menu-btn span:nth-child(3) { width: 22px; }
.menu-btn:hover span { width: 26px; }

/* ---------- mega menu ---------- */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -40px rgba(8, 40, 36, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.mega-in {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding-top: 42px;
  padding-bottom: 42px;
}
.mega-intro h2 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}
.mega-intro p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.mega-intro .text-link { margin-top: 18px; font-size: 12.5px; }
.mega-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 34px;
  align-content: start;
}
.mega-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: color 0.3s, padding 0.3s;
}
.mega-list a:hover { color: var(--orange-ink); padding-left: 4px; }
.mega-list a:hover .mono { color: var(--orange-ink); }
.mega-all a { color: var(--orange-ink); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 36px;
  background: var(--paper);
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-close {
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line-strong);
}
.mobile-nav { display: flex; flex-direction: column; margin-top: 26px; border-top: 1px solid var(--line); }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mobile-nav span { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--orange-ink); letter-spacing: 0.1em; }
.mobile-menu-foot { margin-top: auto; padding-top: 40px; }
.mobile-menu-foot a { font-family: var(--display); font-size: 30px; }
.mobile-menu-foot p { margin-top: 8px; font-size: 12px; color: var(--muted); }

.mobile-search {
  display: flex;
  align-items: center;
  margin-top: 26px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s;
}
.mobile-search:focus-within { border-color: var(--orange); }
.mobile-search input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.mobile-search input::placeholder { color: var(--muted); }
.mobile-search input:focus { outline: none; }
.mobile-search button {
  flex: none;
  display: grid;
  place-items: center;
  padding: 8px 0 8px 12px;
  color: var(--orange-ink);
}
.mobile-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 64px; overflow: hidden; }
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
  padding-bottom: 76px;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.3vw, 80px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
}
.hero h1 > span { display: block; }
.mark { position: relative; display: inline-block; }
.scribble {
  position: absolute;
  left: -1%;
  bottom: -0.05em;
  width: 102%;
  height: 0.13em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw 1.3s 0.55s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}
.hero-actions { display: flex; align-items: center; gap: 30px; margin-bottom: 42px; }
.hero-tags { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: rgba(251, 249, 243, 0.55);
  font-size: 12px;
  color: var(--ink-soft);
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-left: auto;
  isolation: isolate;
}
.stage-disc {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #eaf0e2 0%, var(--sage) 56%, #aec4ad 100%);
}
.stage-ring {
  position: absolute;
  inset: 1%;
  border: 1px dashed rgba(15, 36, 31, 0.26);
  border-radius: 50%;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage-product {
  position: absolute;
  left: 8%;
  bottom: 9%;
  width: 84%;
  opacity: 0;
  visibility: hidden;
  filter: drop-shadow(0 30px 26px rgba(9, 42, 37, 0.22));
  animation: floaty 8s ease-in-out infinite;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.stage-product.is-active { opacity: 1; visibility: visible; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.stage-fig {
  position: absolute;
  top: 2.5%;
  left: 3%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.stage-fig::before { content: ""; width: 22px; height: 1px; background: var(--line-strong); }
.stage-side {
  position: absolute;
  right: -1%;
  top: 50%;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--muted);
  white-space: nowrap;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}
.stage-swatch {
  position: absolute;
  top: 4%;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stage-swatch .mono {
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.2em;
}
.stage-swatch i {
  display: block;
  width: 8px;
  height: 32px;
  border-radius: 99px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(8, 40, 36, 0.12);
}
.stage-scale {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2.5%;
  height: 7px;
  border-bottom: 1px solid rgba(15, 36, 31, 0.3);
  background-image: repeating-linear-gradient(90deg, rgba(15, 36, 31, 0.32) 0 1px, transparent 1px 14px);
  opacity: 0.55;
}
.stage-dots {
  position: absolute;
  right: 6%;
  bottom: 5.5%;
  z-index: 4;
  display: flex;
  gap: 7px;
}
.stage-dots button {
  position: relative;
  width: 22px;
  height: 18px;
  padding: 0;
  background: none;
}
.stage-dots button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  background: rgba(15, 36, 31, 0.25);
  transition: background 0.3s;
}
.stage-dots button.is-active::after { background: var(--orange); }
.stage-dots button:hover::after { background: var(--orange-ink); }
.spec-card {
  position: absolute;
  left: -3%;
  bottom: 11%;
  z-index: 3;
  width: 218px;
  padding: 18px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(8, 40, 36, 0.5);
}
.spec-card .mono { display: block; font-size: 8.5px; letter-spacing: 0.2em; }
.spec-card strong {
  display: block;
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}
.spec-card p { margin-bottom: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.spec-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  color: var(--orange-ink);
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 0.3s;
}
.spec-card a:hover { border-color: var(--orange); }

.hero-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
}
.meta-item { display: flex; align-items: baseline; gap: 10px; }
.meta-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}
.meta-label { font-size: 12px; color: var(--muted); }
.meta-note { margin-left: auto; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--petrol);
  color: var(--surface);
  border-top: 1px solid var(--petrol-deep);
  border-bottom: 1px solid var(--petrol-deep);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 34px; padding: 15px 17px; flex: none; }
.ticker-group span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0.9;
}
.ticker-group i { color: var(--orange); font-style: normal; font-size: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 118px 0; }
.section-products { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: end;
  gap: 30px 48px;
  margin-bottom: 58px;
}
.sec-index {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-index::before { content: ""; width: 26px; height: 1px; background: var(--orange); }
.sec-index span { color: var(--orange-ink); }
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 53px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.sec-side {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 400px;
}
.sec-side p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.sec-side .text-link { font-size: 13px; }

/* ---------- test grid ---------- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.test-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 154px;
  padding: 20px;
  background: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tile-top .mono { font-size: 9.5px; transition: color 0.4s; }
.tile-arrow {
  font-size: 14px;
  color: var(--muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.35s, transform 0.35s, color 0.35s;
}
.tile-name { font-size: 15px; font-weight: 600; line-height: 1.5; }
.test-tile:hover { background: var(--petrol); color: var(--surface); }
.test-tile:hover .mono { color: rgba(243, 239, 229, 0.55); }
.test-tile:hover .tile-arrow { opacity: 1; transform: none; color: var(--orange); }
.tile-all { background: var(--petrol); color: var(--surface); grid-column: span 2; }
.tile-all .mono { color: rgba(243, 239, 229, 0.5); }
.tile-all .tile-arrow { opacity: 1; transform: none; color: var(--orange); }
.tile-all:hover { background: var(--orange); color: #fff; }
.tile-all:hover .mono { color: rgba(255, 255, 255, 0.72); }
.tile-all:hover .tile-arrow { color: #fff; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: product-card; }
.product-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  counter-increment: product-card;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s;
}
.product-card:hover { background: var(--petrol); color: var(--surface); border-color: var(--petrol); }
.p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.p-index { font-size: 0; }
.p-index::before {
  content: counter(product-card, decimal-leading-zero);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}
.p-tag {
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: border-color 0.45s, color 0.45s;
}
.p-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.45s;
}
.p-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 58, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 58, 51, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.p-media img {
  position: relative;
  width: 80%;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .p-media img { transform: scale(1.06); }
.p-body { display: flex; flex: 1; flex-direction: column; padding-top: 16px; }
.p-body h3 {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.p-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  transition: border-color 0.45s, color 0.45s;
}
.p-foot .mono { font-size: 9.5px; }
.p-arrow { font-size: 16px; color: var(--muted); transition: transform 0.35s, color 0.35s; }
.product-card:hover .p-index,
.product-card:hover .p-foot .mono { color: rgba(243, 239, 229, 0.58); }
.product-card:hover .p-tag { border-color: rgba(243, 239, 229, 0.25); color: rgba(243, 239, 229, 0.7); }
.product-card:hover .p-media { border-color: rgba(243, 239, 229, 0.15); }
.product-card:hover .p-foot { border-color: rgba(243, 239, 229, 0.18); }
.product-card:hover .p-arrow { color: var(--orange); transform: translate(3px, -3px); }

/* ---------- services ---------- */
.services {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--petrol);
  color: var(--surface);
}
.services::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(222, 78, 34, 0.16), transparent 62%);
  pointer-events: none;
}
.services-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 84px;
}
.services .sec-index { color: rgba(243, 239, 229, 0.55); }
.services .sec-index span { color: var(--orange); }
.services-lead h2 {
  margin: 26px 0 26px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--surface);
}
.services-lead p {
  max-width: 470px;
  margin-bottom: 30px;
  color: rgba(243, 239, 229, 0.68);
  font-size: 15px;
  line-height: 1.95;
}
.service-list { border-top: 1px solid rgba(243, 239, 229, 0.24); align-self: start; }
.service-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(243, 239, 229, 0.16);
}
.service-list .mono { padding-top: 5px; color: var(--orange); font-size: 9.5px; }
.service-list h3 { margin-bottom: 6px; font-size: 18px; font-weight: 600; letter-spacing: 0.03em; }
.service-list p { color: rgba(243, 239, 229, 0.6); font-size: 13.5px; line-height: 1.75; }
.services-num {
  position: absolute;
  right: -1%;
  bottom: -14%;
  font-family: var(--display);
  font-size: clamp(180px, 24vw, 340px);
  line-height: 0.7;
  letter-spacing: -0.04em;
  color: rgba(243, 239, 229, 0.045);
  pointer-events: none;
}

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; }
.news-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 2px;
}
.mono-heading {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.news-col-head .text-link { font-size: 12px; border-bottom: 0; padding-bottom: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid;
  grid-template-columns: 84px 1fr 24px;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
}
.news-date { font-size: 9.5px; letter-spacing: 0.08em; }
.news-title { font-size: 15.5px; line-height: 1.65; transition: color 0.3s; }
.news-arrow {
  font-size: 13px;
  color: var(--orange-ink);
  opacity: 0;
  transform: translate(-4px, 3px);
  text-align: right;
  transition: opacity 0.3s, transform 0.3s;
}
.news-list a:hover .news-title { color: var(--orange-ink); }
.news-list a:hover .news-arrow { opacity: 1; transform: none; }
.news-list-lg .news-title { font-size: 16px; }
.news-col:nth-child(2) .news-title { font-size: 16px; }
.news-note {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  padding: 24px 26px;
  background: var(--sage);
  border: 1px solid rgba(15, 36, 31, 0.12);
}
.news-note::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(15, 36, 31, 0.16);
  border-radius: 50%;
}
.news-note .mono { font-size: 8.5px; letter-spacing: 0.16em; color: var(--ink-soft); }
.news-note p { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.65; }
.news-note a {
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: 122px 0;
  background: var(--ink);
  color: var(--surface);
}
.contact::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(222, 78, 34, 0.16), transparent 62%);
  pointer-events: none;
}
.contact-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 80px;
}
.contact .sec-index { color: rgba(243, 239, 229, 0.55); }
.contact .sec-index span { color: var(--orange); }
.contact h2 {
  margin: 24px 0 22px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.4vw, 82px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--surface);
}
.contact-lead {
  max-width: 480px;
  margin-bottom: 34px;
  color: rgba(243, 239, 229, 0.65);
  font-size: 15px;
  line-height: 1.95;
}
.contact-phone-label {
  margin-bottom: 8px;
  color: rgba(243, 239, 229, 0.5);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.contact-phone {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(243, 239, 229, 0.25);
  font-family: var(--display);
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--surface);
  transition: color 0.3s, border-color 0.3s;
}
.contact-phone:hover { color: var(--orange); border-color: var(--orange); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 14px 38px; margin-top: 34px; }
.contact-lines li { display: flex; flex-direction: column; gap: 4px; }
.contact-lines .mono { font-size: 8.5px; letter-spacing: 0.16em; color: rgba(243, 239, 229, 0.45); }
.contact-lines a { font-size: 13.5px; color: rgba(243, 239, 229, 0.9); transition: color 0.3s; }
.contact-lines a:hover { color: var(--orange); }

.qr-card {
  position: relative;
  justify-self: end;
  width: min(100%, 330px);
  padding: 30px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 44px 80px -34px rgba(0, 0, 0, 0.55);
  transform: rotate(-1.6deg);
}
.qr-tag { position: absolute; top: 16px; right: 18px; font-size: 8px; letter-spacing: 0.2em; }
.qr-img {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.qr-img img { width: 150px; height: 150px; object-fit: cover; mix-blend-mode: multiply; }
.qr-card h3 { margin-bottom: 6px; font-family: var(--serif); font-size: 22px; font-weight: 700; text-align: center; }
.qr-card p { margin-bottom: 16px; color: var(--muted); font-size: 12.5px; line-height: 1.75; text-align: center; }
.qr-card .text-link { display: flex; justify-content: center; font-size: 12px; }

/* ---------- footer ---------- */
.site-footer { padding: 78px 0 30px; background: var(--petrol-deep); color: rgba(243, 239, 229, 0.75); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.14);
}
.brand-light .brand-mark { color: rgba(243, 239, 229, 0.14); }
.brand-light .brand-text strong { color: var(--surface); }
.brand-light .brand-text em { color: rgba(243, 239, 229, 0.45); }
.footer-brand p { margin-top: 20px; color: rgba(243, 239, 229, 0.46); font-size: 12.5px; line-height: 1.85; }
.footer-search { max-width: 290px; margin-top: 26px; }
.footer-search label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(243, 239, 229, 0.4);
}
.footer-search-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(243, 239, 229, 0.26);
  transition: border-color 0.3s;
}
.footer-search-field:focus-within { border-color: var(--orange); }
.footer-search-field input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--surface);
  font: inherit;
  font-size: 13px;
}
.footer-search-field input::placeholder { color: rgba(243, 239, 229, 0.34); }
.footer-search-field input:focus { outline: none; }
.footer-search-field button {
  padding: 0 4px;
  color: var(--orange);
  font-size: 16px;
  line-height: 1;
}
.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 239, 229, 0.4);
}
.footer-col a { display: block; padding: 6px 0; color: rgba(243, 239, 229, 0.78); font-size: 13.5px; transition: color 0.3s; }
.footer-col a:hover { color: var(--orange); }
.footer-contact p { padding: 6px 0; font-size: 13.5px; color: rgba(243, 239, 229, 0.55); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(243, 239, 229, 0.1);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(243, 239, 229, 0.42);
}
.footer-bottom a:hover { color: var(--orange); }
.friend-links { margin-top: 20px; }
.friend-links summary {
  width: fit-content;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(243, 239, 229, 0.4);
  cursor: pointer;
  list-style: none;
}
.friend-links summary::-webkit-details-marker { display: none; }
.friend-links summary::after { content: " +"; color: var(--orange); }
.friend-links[open] summary::after { content: " −"; }
.friend-links div { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.friend-links a { color: rgba(243, 239, 229, 0.34); font-size: 11.5px; transition: color 0.3s; }
.friend-links a:hover { color: rgba(243, 239, 229, 0.8); }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .product-card:nth-child(2),
.js .service-list li:nth-child(2) { transition-delay: 0.07s; }
.js .product-card:nth-child(3),
.js .service-list li:nth-child(3) { transition-delay: 0.14s; }
.js .product-card:nth-child(4),
.js .service-list li:nth-child(4) { transition-delay: 0.21s; }
.js .product-card:nth-child(6) { transition-delay: 0.07s; }
.js .product-card:nth-child(7) { transition-delay: 0.14s; }
.js .product-card:nth-child(8) { transition-delay: 0.21s; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .header-search { width: 210px; }
  .nav-list > li > a { padding: 10px 10px; font-size: 13.5px; }
  .hero h1 { font-size: clamp(42px, 5vw, 68px); }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-btn { display: flex; }
  .header-actions { margin-left: auto; }
  .mega { display: none; }
  .test-grid { grid-template-columns: repeat(4, 1fr); }
  .tile-all { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  :root { --header-h: 70px; }
  .hero { padding-top: 46px; }
  .hero-in { grid-template-columns: 1fr; gap: 52px; }
  .hero-stage { margin: 0 auto; max-width: 470px; }
  .hero-meta { flex-wrap: wrap; gap: 22px 40px; }
  .meta-note { width: 100%; margin-left: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-index { grid-column: auto; }
  .sec-side { justify-self: start; max-width: 560px; }
  .sec-head h2 br { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .services-in { grid-template-columns: 1fr; gap: 48px; }
  .news-grid { grid-template-columns: 1fr; gap: 54px; }
  .contact-in { grid-template-columns: 1fr; gap: 56px; }
  .qr-card { justify-self: start; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px; }
  .section { padding: 86px 0; }
  .services, .contact { padding: 86px 0; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .header-in { height: 68px; gap: 16px; }
  .header-actions { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text strong { font-size: 16px; }
  .brand-text em { font-size: 7px; }
  .hero h1 { font-size: clamp(38px, 9.4vw, 54px); }
  .hero-lead { font-size: 14.5px; }
  .hero-actions { flex-wrap: wrap; gap: 20px; }
  .hero-stage { max-width: 400px; }
  .stage-side { display: none; }
  .stage-swatch { top: 2%; right: 2%; }
  .stage-swatch i { height: 24px; }
  .spec-card { left: -1%; bottom: 8%; width: 188px; padding: 14px 16px; }
  .spec-card strong { font-size: 34px; }
  .hero-meta .meta-num { font-size: 30px; }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .test-tile { min-height: 126px; padding: 16px; }
  .tile-name { font-size: 14px; }
  .product-grid { gap: 12px; }
  .product-card { padding: 12px 12px 14px; }
  .p-body h3 { font-size: 14px; }
  .p-tag { font-size: 8px; padding: 3px 7px; }
  .news-list a { grid-template-columns: 72px 1fr 18px; gap: 12px; }
  .news-title { font-size: 14.5px; }
  .news-list-lg .news-title { font-size: 15px; }
  .contact h2 { font-size: clamp(40px, 11vw, 56px); }
  .contact-phone { font-size: clamp(38px, 10vw, 54px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section { padding: 72px 0; }
  .services, .contact { padding: 72px 0; }
  .sec-head { margin-bottom: 38px; }
  .ticker-group { gap: 24px; padding: 13px 12px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--petrol); color: var(--surface); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 54px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
  .mobile-bar a + a { border-left: 1px solid rgba(243, 239, 229, 0.18); }
  body { padding-bottom: 54px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: row; gap: 14px; padding: 14px; }
  .p-top { position: absolute; top: 14px; left: 14px; right: 14px; margin: 0; }
  .product-card { position: relative; }
  .p-media { width: 42%; flex: none; margin-top: 30px; align-self: flex-start; }
  .p-body { padding-top: 38px; }
  .p-body h3 { font-size: 14.5px; margin-bottom: 10px; }
  .p-foot { margin-top: auto; }
  .news-note { padding: 20px 22px; }
  .qr-card { width: 100%; transform: none; }
  .stage-swatch { display: none; }
  .hero-meta { gap: 18px 28px; }
  .contact-lines { gap: 12px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}
