/* ==========================================================================
   牧之安 MUZHIAN — site system
   Warm paper, ink, one vermilion accent. Editorial, quiet, exact.
   ========================================================================== */

:root {
  --paper: #f3efe6;
  --paper-deep: #e8e1d4;
  --surface: #faf7ef;
  --ink: #171714;
  --ink-soft: #2b2a25;
  --fg: #171714;
  --muted: #66635a;
  --faint: #716d63;
  --line: rgba(23, 23, 20, 0.15);
  --line-strong: rgba(23, 23, 20, 0.28);
  --accent: #d1492a;
  --accent-deep: #a7351e;
  --sage: #aeb5a1;
  --header-bg: rgba(243, 239, 230, 0.86);
  --shadow: 0 30px 80px rgba(23, 23, 20, 0.13);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "Bahnschrift", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --latin: "Georgia", "Times New Roman", serif;
  --container: 1360px;
  --gutter: clamp(20px, 4.6vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: #fff8ee;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   Type primitives
   -------------------------------------------------------------------------- */

.display,
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow--plain::before {
  display: none;
}

.label {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  position: relative;
  padding-block: clamp(84px, 10.5vw, 160px);
}

.section--dark {
  background: #161715;
  color: #f3efe6;
}

.section--tinted {
  background: var(--paper-deep);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-label::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--line-strong);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(120px, 2.2fr) minmax(0, 7.8fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.section-head h2 {
  font-size: clamp(37px, 4.65vw, 68px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-head h2 em {
  font-style: normal;
  color: var(--accent);
}

.section-head .head-note {
  max-width: 32em;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition:
    color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn .arrow {
  font-family: var(--mono);
  font-size: 14px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

.btn--primary {
  background: var(--fg);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff8ee;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--light {
  border-color: #f3efe6;
  background: #f3efe6;
  color: #171714;
}

.btn--light:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff8ee;
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  line-height: 1.5;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.text-link .arrow {
  font-family: var(--mono);
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover .arrow {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.mark-bg {
  fill: var(--ink);
}

.mark-line {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.4;
  stroke-linejoin: miter;
}

.mark-dot {
  fill: var(--accent);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.14em;
}

.brand-sub {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 38px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--fg);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.header-cta:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--paper);
}

.header-cta .arrow {
  font-family: var(--mono);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.3s var(--ease),
    top 0.3s var(--ease),
    opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 26px;
}

.is-open .menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.is-open .menu-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 26px) var(--gutter) 34px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-18px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    visibility 0.35s;
}

.menu-open {
  overflow: hidden;
}

.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.mobile-menu nav a small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(52px, 7vw, 92px));
  padding-bottom: clamp(70px, 8vw, 110px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 680px);
  width: 1px;
  background: var(--line);
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(44px, 6.5vw, 100px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 6px;
}

.hero h1 {
  margin-top: clamp(24px, 3vw, 38px);
  font-size: clamp(60px, 8.5vw, 134px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 .line {
  display: block;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--accent);
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 7%;
  bottom: 0.04em;
  height: 0.055em;
  background: currentColor;
  opacity: 0.38;
  transform: scaleX(0);
  transform-origin: left;
  animation: draw-line 1.15s 0.7s var(--ease) forwards;
}

@keyframes draw-line {
  to {
    transform: scaleX(1);
  }
}

.hero-sub {
  max-width: 31em;
  margin-top: clamp(28px, 3.2vw, 40px);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.95;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: clamp(30px, 3.5vw, 42px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.hero-meta span:not(:last-child)::after {
  content: "✳";
  color: var(--accent);
  font-size: 8px;
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
}

.hero-art {
  position: relative;
  aspect-ratio: 0.81;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(23, 23, 20, 0.08) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(23, 23, 20, 0.08) 50%, transparent calc(50% + 0.5px)),
    #ddd5c6;
  box-shadow: var(--shadow);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(23, 23, 20, 0.075) calc(12.5% - 1px),
    rgba(23, 23, 20, 0.075) 12.5%
  );
  pointer-events: none;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(23, 23, 20, 0.12);
  pointer-events: none;
}

.art-plane {
  position: absolute;
  z-index: 2;
  top: 8%;
  right: 11%;
  width: 37%;
  height: 78%;
  background: #191a17;
  box-shadow: 0 30px 50px rgba(23, 23, 20, 0.24);
}

.art-plane::before {
  content: "安";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(76px, 10vw, 150px);
  line-height: 1;
  color: #f3efe6;
  opacity: 0.16;
}

.art-plane::after {
  content: "EST. 2025 / SHANGHAI";
  position: absolute;
  right: 12px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: #f3efe6;
  opacity: 0.55;
  writing-mode: vertical-rl;
}

.art-disc {
  position: absolute;
  z-index: 1;
  top: 14%;
  right: 5%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.art-disc::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(243, 239, 230, 0.32);
  border-radius: 50%;
}

.art-card {
  position: absolute;
  z-index: 4;
  left: 7%;
  bottom: 9%;
  width: 58%;
  padding: 22px 22px 18px;
  background: #f7f2e8;
  border: 1px solid rgba(23, 23, 20, 0.2);
  box-shadow: 0 20px 36px rgba(23, 23, 20, 0.15);
}

.art-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23, 23, 20, 0.18);
}

.art-card-top .brand-mark {
  width: 30px;
  height: 30px;
}

.art-card-name {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.14em;
}

.art-card-sub {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.art-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.art-caption {
  position: absolute;
  z-index: 4;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 23, 20, 0.62);
}

.art-caption--top {
  top: 26px;
  left: 28px;
  writing-mode: vertical-rl;
}

.art-caption--bottom {
  right: 28px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(23, 23, 20, 0.72);
}

.art-caption--bottom::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.hero-side-note {
  position: absolute;
  top: 50%;
  right: calc(var(--gutter) * -1 + 2px);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 38px;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 28px;
  padding-right: 28px;
}

.marquee-group span {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.marquee-group i {
  font-style: normal;
  font-size: 0.58em;
  color: var(--accent);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.intro-body {
  display: grid;
  grid-template-columns: minmax(180px, 2.2fr) minmax(0, 7.8fr);
  gap: clamp(28px, 4vw, 64px);
}

.intro-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fact {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.fact span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-copy {
  max-width: 770px;
}

.intro-copy .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.intro-copy .lead em {
  font-style: normal;
  color: var(--accent);
}

.intro-copy p + p {
  margin-top: 22px;
}

.intro-copy p:not(.lead) {
  max-width: 39em;
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}

.intro-copy .text-link {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  border-top: 1px solid var(--line);
}

.service-list {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 3.1fr) minmax(0, 4.5fr) minmax(170px, 2.6fr);
  gap: clamp(18px, 2.6vw, 44px);
  align-items: start;
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.35s ease,
    padding 0.35s var(--ease);
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.service-row:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-index {
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.service-title {
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 35px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.035em;
  transition:
    color 0.3s ease,
    transform 0.4s var(--ease);
}

.service-row:hover .service-title {
  color: var(--accent-deep);
  transform: translateX(8px);
}

.service-desc {
  max-width: 31em;
  padding-top: 7px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 12px;
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.service-tags li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.service-tags li:not(:last-child)::after {
  content: "/";
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Method
   -------------------------------------------------------------------------- */

.method {
  position: relative;
  overflow: hidden;
  background: #161715;
  color: #f3efe6;
  --line: rgba(243, 239, 230, 0.16);
  --line-strong: rgba(243, 239, 230, 0.28);
  --muted: #aaa79d;
  --faint: #969288;
  --accent: #e15a38;
}

.method::before {
  content: "METHOD";
  position: absolute;
  right: -0.06em;
  bottom: -0.28em;
  font-family: var(--latin);
  font-size: clamp(160px, 30vw, 500px);
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(243, 239, 230, 0.035);
  pointer-events: none;
}

.method .section-head {
  position: relative;
  z-index: 1;
}

.method .section-label {
  color: #aaa79d;
}

.method .section-head h2 {
  color: #f3efe6;
}

.method .head-note {
  color: #aaa79d;
}

.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-step {
  min-height: 310px;
  padding: 26px clamp(18px, 2.1vw, 32px) 34px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background-color 0.35s ease;
}

.method-step:first-child {
  border-left: 1px solid var(--line);
}

.method-step:hover {
  background: rgba(243, 239, 230, 0.035);
}

.method-step-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.method-step-top i {
  font-style: normal;
  color: var(--accent);
}

.method-step h3 {
  margin-top: auto;
  padding-top: 58px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.method-step h3 small {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--faint);
}

.method-step p {
  margin-top: 18px;
  max-width: 19em;
  font-size: 13px;
  line-height: 1.9;
  color: #aaa79d;
}

.method-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Lab / product feature
   -------------------------------------------------------------------------- */

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(42px, 6vw, 94px);
  align-items: center;
}

.app-frame {
  position: relative;
  z-index: 1;
  padding: 8px;
  background: #0d1117;
  border: 1px solid rgba(23, 23, 20, 0.38);
  box-shadow: 0 34px 70px rgba(23, 23, 20, 0.22);
  transition: transform 0.7s var(--ease);
}

.app-frame:hover {
  transform: translateY(-6px) rotate(-0.35deg);
}

.app-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(243, 239, 230, 0.1);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: rgba(243, 239, 230, 0.45);
}

.app-frame-bar i {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(243, 239, 230, 0.24);
  border-radius: 50%;
}

.app-frame-bar span {
  margin-left: 8px;
}

.app-frame img {
  width: 100%;
}

.app-frame-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lab-copy .eyebrow {
  margin-bottom: 26px;
}

.lab-copy h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.lab-copy h3 span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.23em;
  color: var(--muted);
}

.lab-copy > p {
  max-width: 33em;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.lab-copy > p.note {
  margin-top: 15px;
  font-size: 13px;
  color: var(--faint);
}

.lab-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lab-stats div {
  padding: 13px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lab-stats dt {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.lab-stats dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  background: var(--paper-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 100px);
  align-items: start;
}

.about-poster {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 0.85;
  min-height: 460px;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  background: #1a1b18;
  color: #f3efe6;
  box-shadow: 0 28px 64px rgba(23, 23, 20, 0.16);
}

.about-poster::before {
  content: "";
  position: absolute;
  top: 13%;
  right: -28%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}

.about-poster::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(243, 239, 230, 0.15);
  pointer-events: none;
}

.about-poster > * {
  position: relative;
  z-index: 1;
}

.about-poster .label {
  color: rgba(243, 239, 230, 0.56);
}

.about-poster blockquote {
  max-width: 8em;
  margin-top: auto;
  padding-top: 28%;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.about-poster blockquote em {
  font-style: normal;
  color: #ffb59f;
}

.about-poster-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 239, 230, 0.18);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.56);
}

.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(37px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.about-copy h2 em {
  font-style: normal;
  color: var(--accent);
}

.about-copy > p {
  max-width: 39em;
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}

.values {
  margin-top: 46px;
  border-top: 1px solid var(--line-strong);
}

.value {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.value span {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--faint);
}

.value h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.value p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding-bottom: clamp(80px, 9vw, 130px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(42px, 6vw, 100px);
  align-items: end;
}

.contact h2 {
  font-family: var(--serif);
  font-size: clamp(54px, 8.2vw, 122px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.contact h2 em {
  font-style: normal;
  color: var(--accent);
}

.contact-copy {
  max-width: 33em;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.contact-details {
  position: relative;
  padding-bottom: 4px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.contact-email a {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.4;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.contact-email a:hover {
  color: var(--accent);
}

.copy-btn {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.copy-btn:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--paper);
}

.contact-list {
  margin-top: 24px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

.contact-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.contact-list a {
  border-bottom: 1px solid var(--line-strong);
}

.contact-list a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.talk-stamp {
  width: 112px;
  height: 112px;
  margin-top: 34px;
  margin-left: auto;
  color: var(--accent);
}

.talk-stamp .stamp-ring {
  transform-origin: 60px 60px;
  animation: spin 24s linear infinite;
}

.talk-stamp text {
  fill: currentColor;
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 0.16em;
}

.talk-stamp .stamp-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #161715;
  color: #f3efe6;
  --line: rgba(243, 239, 230, 0.15);
  --line-strong: rgba(243, 239, 230, 0.26);
  --muted: #aaa79d;
  --faint: #969288;
  --accent: #e15a38;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(130px, 0.5fr));
  gap: clamp(32px, 5vw, 90px);
  padding-block: clamp(48px, 6vw, 78px) clamp(40px, 4vw, 60px);
}

.footer-brand .brand {
  gap: 14px;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-brand .brand-name {
  font-size: 24px;
}

.footer-brand .brand-sub {
  color: #8f8c83;
}

.footer-brand p {
  max-width: 21em;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
  color: #aaa79d;
}

.footer-col h3 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #969288;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.7;
  color: #c9c5bb;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #f3efe6;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #969288;
}

.footer-legal-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-legal a:hover {
  color: #f3efe6;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  padding: 10px 16px;
  border: 1px solid rgba(243, 239, 230, 0.18);
  border-radius: 999px;
  background: #161715;
  color: #f3efe6;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

.js [data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

.js [data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.8fr);
    gap: 40px;
  }

  .hero-side-note {
    display: none;
  }

  .service-row {
    grid-template-columns: 46px minmax(0, 3.2fr) minmax(0, 4.2fr);
  }

  .service-tags {
    grid-column: 2 / -1;
    justify-content: flex-start;
    padding-top: 0;
  }

  .method-step {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 76px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 66px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(58px, 13vw, 106px);
  }

  .hero-visual {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .hero-art {
    aspect-ratio: 0.92;
  }

  .scroll-cue {
    display: none;
  }

  .section-head,
  .intro-body,
  .about-grid,
  .contact-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 22px;
  }

  .section-head .head-note {
    margin-top: 14px;
  }

  .intro-aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 30px;
  }

  .fact {
    flex: 1 1 130px;
  }

  .intro-copy .lead {
    max-width: 22em;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-step:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .method-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-poster {
    position: relative;
    top: auto;
    max-width: 560px;
    aspect-ratio: 1.05;
    min-height: 380px;
  }

  .about-poster blockquote {
    padding-top: 20%;
  }

  .contact-details {
    max-width: 560px;
  }

  .talk-stamp {
    margin-left: 0;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 15px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 6px;
  }

  .hero h1 {
    font-size: clamp(50px, 15.2vw, 82px);
    letter-spacing: -0.07em;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hero-meta {
    margin-top: 38px;
    line-height: 2;
  }

  .hero-meta span:not(:last-child)::after {
    display: none;
  }

  .hero-meta span {
    flex: 0 0 50%;
  }

  .hero-art {
    aspect-ratio: 0.9;
  }

  .art-card {
    width: 64%;
    padding: 16px;
  }

  .art-caption--top {
    left: 20px;
  }

  .art-caption--bottom {
    right: 19px;
    bottom: 17px;
  }

  .art-card-foot {
    font-size: 6px;
  }

  .marquee {
    padding: 12px 0;
  }

  .section {
    padding-block: 74px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .section-label {
    padding-top: 0;
  }

  .intro-copy .lead {
    font-size: 21px;
  }

  .service-row {
    grid-template-columns: 32px 1fr;
    gap: 10px 14px;
    padding: 24px 0;
  }

  .service-index {
    grid-row: 1 / span 2;
    padding-top: 6px;
  }

  .service-title {
    font-size: 25px;
  }

  .service-desc {
    grid-column: 2;
    padding-top: 4px;
    font-size: 12px;
  }

  .service-tags {
    grid-column: 2;
    padding-top: 2px;
  }

  .service-row:hover .service-title {
    transform: none;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: 0;
    padding: 22px 0 28px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .method-step:last-child {
    border-bottom: 0;
  }

  .method-step h3 {
    margin-top: 34px;
    padding-top: 0;
    font-size: 28px;
  }

  .method-step p {
    margin-top: 12px;
  }

  .method-foot {
    flex-direction: column;
    gap: 6px;
  }

  .lab-grid {
    gap: 36px;
  }

  .lab-copy {
    order: -1;
  }

  .lab-copy h3 {
    font-size: 43px;
  }

  .app-frame {
    padding: 6px;
  }

  .app-frame-caption {
    gap: 10px;
    font-size: 7px;
  }

  .about-poster {
    aspect-ratio: 0.9;
    min-height: 360px;
  }

  .about-poster blockquote {
    font-size: 34px;
  }

  .value {
    grid-template-columns: 30px 1fr;
    gap: 8px 12px;
  }

  .value p {
    grid-column: 2;
  }

  .contact h2 {
    font-size: clamp(49px, 14vw, 82px);
  }

  .contact-email {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .talk-stamp {
    margin-right: 6px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 38px 26px;
    padding-block: 44px 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    margin-top: 16px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

@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 [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Product page — dark edition
   ========================================================================== */

.product-page {
  --paper: #121413;
  --paper-deep: #191b19;
  --surface: #181a18;
  --ink: #f1ede3;
  --ink-soft: #d8d4ca;
  --fg: #f1ede3;
  --muted: #a7a59b;
  --faint: #8f8c82;
  --line: rgba(241, 237, 227, 0.14);
  --line-strong: rgba(241, 237, 227, 0.26);
  --accent: #74d5be;
  --accent-deep: #afecdd;
  --header-bg: rgba(18, 20, 19, 0.84);
  --product-warm: #e15a38;
  background: var(--paper);
  color: var(--fg);
}

.product-page .mark-bg {
  fill: transparent;
  stroke: var(--line-strong);
  stroke-width: 1;
}

.product-page .mark-line {
  stroke: var(--ink);
}

.product-page .mark-dot {
  fill: var(--accent);
}

.product-page .site-footer {
  background: #0d0f0e;
}

.product-page ::selection {
  background: var(--accent);
  color: #111;
}

.product-page .btn--primary:hover,
.product-page .btn--light:hover {
  color: #101210;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 82px));
  padding-bottom: clamp(60px, 8vw, 112px);
  background:
    radial-gradient(1000px 620px at 78% 18%, rgba(51, 187, 158, 0.16), transparent 66%),
    radial-gradient(800px 500px at 12% 80%, rgba(43, 89, 166, 0.11), transparent 70%),
    #121413;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(241, 237, 227, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 237, 227, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
}

.product-hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 62px);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.breadcrumb a {
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--fg);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--accent);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(42px, 5vw, 80px);
  align-items: center;
}

.product-lockup {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 27px;
}

.product-lockup img {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.product-lockup-name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.1em;
}

.product-lockup-sub {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.22em;
  color: var(--faint);
}

.product-hero h1 {
  font-family: var(--serif);
  font-size: clamp(62px, 8vw, 118px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -0.065em;
  color: var(--fg);
}

.product-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.product-hero-sub {
  max-width: 28em;
  margin-top: 28px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.95;
  color: var(--muted);
}

.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 34px;
}

.product-actions .btn {
  min-width: 190px;
}

.product-actions .btn--text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.product-actions .btn--text:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.product-availability {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.product-availability span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-availability span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.product-visual {
  position: relative;
}

.product-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% -4% -5% 9%;
  border: 1px solid rgba(116, 213, 190, 0.2);
  background: rgba(116, 213, 190, 0.035);
}

.product-shot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(241, 237, 227, 0.2);
  border-radius: 5px;
  background: #0a0c0b;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 0 0 8px rgba(241, 237, 227, 0.03);
}

.product-shot img {
  width: 100%;
}

.product-shot-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.product-shot-caption strong {
  font-weight: 400;
  color: var(--accent);
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-stat {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.5vw, 30px);
  border-right: 1px solid var(--line);
}

.product-stat:first-child {
  border-left: 1px solid var(--line);
}

.product-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.product-stat strong small {
  margin-left: 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.product-stat span {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.product-section {
  padding-block: clamp(74px, 9vw, 126px);
}

.product-section--surface {
  background: #181a18;
}

.product-head {
  display: grid;
  grid-template-columns: minmax(130px, 2.4fr) minmax(0, 7.6fr);
  gap: clamp(26px, 4vw, 60px);
  margin-bottom: clamp(38px, 5vw, 62px);
}

.product-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.product-head h2 em {
  font-style: normal;
  color: var(--accent);
}

.product-head p {
  max-width: 34em;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 250px;
  padding: clamp(22px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  background: #181a18;
  transition: background-color 0.35s ease;
}

.feature-card:hover {
  background: #1e211e;
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.feature-card-top i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  color: var(--accent);
  font-size: 10px;
}

.feature-card h3 {
  margin-top: auto;
  padding-top: 48px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin-top: 12px;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.showcase-stack {
  display: grid;
  gap: 18px;
}

.showcase-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0d0c;
}

.showcase-figure img {
  width: 100%;
}

.showcase-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.showcase-copy h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.showcase-copy h2 em {
  font-style: normal;
  color: var(--product-warm);
}

.showcase-copy > p {
  max-width: 31em;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.showcase-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.showcase-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}

.showcase-list li span:first-child {
  color: var(--fg);
}

.showcase-list li span:last-child {
  text-align: right;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--faint);
}

.product-quote {
  position: relative;
  padding-block: clamp(70px, 8vw, 110px);
  background: #0d0f0e;
  overflow: hidden;
}

.product-quote::before {
  content: "“";
  position: absolute;
  top: -0.3em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--latin);
  font-size: 400px;
  line-height: 1;
  color: rgba(116, 213, 190, 0.06);
}

.product-quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 11em;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(30px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.product-quote blockquote em {
  font-style: normal;
  color: var(--accent);
}

.product-quote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.download-section {
  padding-block: clamp(74px, 9vw, 128px);
}

.download-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.download-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.download-head p {
  max-width: 24em;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.download-version {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: right;
  color: var(--faint);
}

.download-version strong {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.download-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
  background: #181a18;
}

.download-card.is-primary {
  background: #1e211e;
}

.download-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.download-card-top b {
  padding: 4px 9px;
  border: 1px solid rgba(116, 213, 190, 0.38);
  border-radius: 999px;
  font-weight: 400;
  color: var(--accent);
}

.download-card h3 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.download-card p {
  max-width: 32em;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.download-card .btn {
  align-self: flex-start;
  margin-top: 28px;
}

.download-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.download-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.note-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.note-block h3 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.note-block p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.checksum {
  margin-top: 10px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  color: var(--faint);
}

.product-footnote {
  padding-block: 0 clamp(58px, 7vw, 90px);
}

.product-footnote-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
  color: var(--faint);
}

.product-footnote a {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.product-footnote a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Product page responsive */

@media (max-width: 980px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-visual {
    max-width: 760px;
  }

  .product-hero h1 {
    font-size: clamp(62px, 12vw, 100px);
  }

  .split-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase-copy {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-stat:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .product-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-grid,
  .download-grid,
  .download-notes {
    grid-template-columns: 1fr;
  }

  .download-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .download-version {
    text-align: left;
  }

  .product-quote blockquote {
    max-width: 12em;
  }

  .product-footnote-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .product-hero {
    padding-top: calc(var(--header-h) + 34px);
  }

  .product-hero h1 {
    font-size: clamp(53px, 16vw, 78px);
  }

  .product-lockup img {
    width: 48px;
    height: 48px;
  }

  .product-lockup-name {
    font-size: 20px;
  }

  .feature-card {
    min-height: 220px;
  }

  .product-shot-caption {
    flex-direction: column;
    gap: 4px;
  }

  .product-stat {
    padding: 18px 14px;
  }

  .product-stat strong {
    font-size: 32px;
  }

  .download-card .btn {
    width: 100%;
  }

  .download-card-foot {
    flex-direction: column;
    gap: 6px;
  }
}

/* ==========================================================================
   Inner pages: company, privacy, 404
   ========================================================================== */

.inner-hero {
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 118px));
  padding-bottom: clamp(54px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(130px, 2.3fr) minmax(0, 7.7fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.inner-hero h1 {
  font-family: var(--serif);
  font-size: clamp(50px, 7.6vw, 104px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.inner-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.inner-hero-sub {
  max-width: 35em;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.inner-section {
  padding-block: clamp(50px, 7vw, 90px);
}

.inner-section--divided {
  border-top: 1px solid var(--line);
}

.info-table--spaced {
  margin-top: 28px;
}

.checksum a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.footer-legal--plain {
  border-top: 0;
}

.inner-grid {
  display: grid;
  grid-template-columns: minmax(130px, 2.3fr) minmax(0, 7.7fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.inner-body {
  max-width: 830px;
}

.inner-body h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.inner-body h2:not(:first-child) {
  margin-top: 52px;
}

.inner-body h3 {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.inner-body p,
.inner-body li {
  max-width: 46em;
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

.inner-body ul {
  margin-top: 14px;
  padding-left: 1.2em;
  list-style: disc;
}

.inner-body li {
  margin-top: 6px;
  padding-left: 0.3em;
}

.inner-body a {
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
}

.inner-body a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.info-table {
  border-top: 1px solid var(--line-strong);
}

.info-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.info-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg);
}

.info-row code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.info-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: rgba(209, 73, 42, 0.045);
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}

.scope {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.scope summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.scope summary::-webkit-details-marker {
  display: none;
}

.scope summary::after {
  content: "+";
  font-size: 14px;
  color: var(--accent);
}

.scope[open] summary::after {
  content: "−";
}

.scope-content {
  padding: 18px 0 4px;
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}

.privacy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--faint);
}

.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.error-inner {
  position: relative;
  padding-block: 70px;
}

.error-code {
  font-family: var(--latin);
  font-size: clamp(130px, 27vw, 390px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: var(--ink);
}

.error-inner h1 {
  position: relative;
  z-index: 1;
  margin-top: 0.48em;
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.error-inner p {
  max-width: 30em;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 800px) {
  .inner-hero-grid,
  .inner-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .inner-hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 680px) {
  .product-page .site-header {
    border-bottom-color: var(--line);
  }

  .inner-hero h1 {
    font-size: clamp(46px, 13vw, 72px);
  }
}
