/* ============================================================
   2Web Holdings — stylesheet
   Editorial / spec-sheet aesthetic. Near-black, one accent,
   numbered sections, real hairlines. No gradient meshes.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg:        #0a0a09;
  --bg-2:      #100f0e;
  --bg-3:      #171614;
  --fg:        #f2efe8;
  --fg-dim:    #a3a099;
  --fg-mute:   #6f6c66;
  --accent:    #d6ff3a;
  --accent-dk: #a8cc1f;
  --line:      rgba(242, 239, 232, 0.10);
  --line-2:    rgba(242, 239, 232, 0.18);
  --inv-bg:    #f2efe8;
  --inv-fg:    #0a0a09;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 1600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* stop the giant heading from bursting wide screens */
body, h1, h2, h3, h4 { overflow-wrap: break-word; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #0a0a09; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ---------- grain + progress ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainshift 700ms steps(2) infinite;
}
@keyframes grainshift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-1.5%, 1%); }
  100% { transform: translate(1%, -1.5%); }
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 900;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 90ms linear;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem var(--pad);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  top: 1px;
}
.brand-mark .dot { color: var(--accent); }
.brand-name {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line-2);
}
.brand-light { color: var(--fg-mute); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-dim);
  position: relative;
  padding: 0.15rem 0;
  transition: color 0.25s var(--ease);
}
.nav-links a sup {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--fg-mute);
  vertical-align: super;
  margin-left: 0.15rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--accent);
  color: #0a0a09;
  border-color: var(--accent);
}
.nav-cta svg { transition: transform 0.35s var(--ease); }
.nav-cta:hover svg { transform: translate(2px, -2px); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 7rem) var(--pad) 0;
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--fg-mute);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  animation: rise 0.9s var(--ease) both;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 12.5vw, 12.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.ht-line {
  display: block;
  animation: rise 1s var(--ease) both;
}
.ht-line:nth-child(1) { animation-delay: 0.08s; }
.ht-line:nth-child(2) { animation-delay: 0.16s; }
.ht-line:nth-child(3) { animation-delay: 0.24s; }

.ht-italic {
  font-style: italic;
  padding-left: clamp(0rem, 8vw, 9rem);
  color: var(--accent);
}
.ht-faded {
  font-size: clamp(1.5rem, 4.6vw, 4.4rem);
  line-height: 1;
  padding-left: clamp(0rem, 14vw, 16rem);
  color: var(--fg-dim);
  margin-top: 0.35em;
  letter-spacing: -0.02em;
}
.ht-faded em {
  font-style: italic;
  color: var(--fg);
  position: relative;
}
.ht-faded em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.12em;
  height: 0.06em;
  background: var(--accent);
  opacity: 0.65;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  animation: rise 1s 0.34s var(--ease) both;
}

.hero-lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  max-width: 34ch;
  color: var(--fg);
}
.hero-lede .hl {
  color: var(--fg-dim);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: var(--accent);
  color: #0a0a09;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 0 0 0 rgba(214, 255, 58, 0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -8px rgba(214, 255, 58, 0.45);
}
.btn-primary svg { transition: transform 0.35s var(--ease); }
.btn-primary:hover svg { transform: translate(2px, -2px); }

.btn-ghost {
  font-size: 0.9375rem;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.1rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-ghost:hover { color: var(--fg); border-bottom-color: var(--accent); }

/* status strip */
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  color: var(--fg-mute);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.status-item { display: inline-flex; align-items: center; gap: 0.6rem; }
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(214, 255, 58, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(214, 255, 58, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(214, 255, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 255, 58, 0); }
}
.status-bar {
  width: clamp(50px, 8vw, 110px);
  height: 3px;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  display: inline-block;
}
.status-bar i {
  display: block; height: 100%;
  background: var(--accent);
  border-radius: 999px;
  width: 0;
  animation: fillbar 1.6s 0.8s var(--ease) forwards;
}
@keyframes fillbar { to { width: 62%; } }
.status-emph { color: var(--accent); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  user-select: none;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: slide 42s linear infinite;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.75rem);
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--fg-dim);
  white-space: nowrap;
}
.marquee-track .star { color: var(--accent); font-style: normal; font-size: 0.75em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section shell ---------- */
.section {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4.5rem, 11vw, 10rem) var(--pad);
}
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 clamp(1rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.sec-num {
  color: var(--accent);
  padding-top: 0.55em;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 6.2vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
.sec-title em { font-style: italic; }
.sec-dek {
  grid-column: 2;
  color: var(--fg-dim);
  max-width: 46ch;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.1875rem);
  line-height: 1.5;
}

/* ---------- products ---------- */
.products {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.product-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.product:hover .product-frame {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.frame-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.frame-chrome > span:not(.frame-url) {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-r { background: #3d3a35; }
.dot-y { background: #3d3a35; }
.dot-g { background: var(--accent-dk); }
.frame-url {
  margin-left: 0.7rem;
  color: var(--fg-mute);
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* business card → site */
.card-shot {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 2.5rem);
  padding: clamp(1.25rem, 4vw, 3.25rem);
  min-height: clamp(200px, 30vw, 340px);
}
.card-from {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 1rem 0.9rem 1.1rem;
  background: var(--bg-3);
  aspect-ratio: 5/3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.6s var(--ease);
}
.product:hover .card-from { transform: translateX(5px) rotate(-1deg); }
.bc-name {
  font-family: var(--serif);
  font-size: clamp(0.9rem, 2.2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.bc-role { color: var(--fg-mute); font-size: 0.6rem; }
.bc-mid {
  height: 1px;
  background: var(--line-2);
  margin: 0.6rem 0;
}
.bc-line {
  display: block;
  height: 3px;
  width: 72%;
  background: var(--line-2);
  border-radius: 2px;
  margin-bottom: 0.35rem;
}
.bc-line.short { width: 40%; }
.bc-cap {
  position: absolute;
  bottom: -1.35rem; left: 0;
  color: var(--fg-mute);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card-arrow {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--accent);
  animation: nudge 2.6s var(--ease) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); opacity: 0.55; }
  50%      { transform: translateX(5px); opacity: 1; }
}
.card-to {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 0.9rem;
  background: var(--bg-3);
  aspect-ratio: 5/4;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.product:hover .card-to { transform: translateY(-4px); }
.to-bar {
  height: 3px;
  width: 46%;
  background: var(--fg-mute);
  border-radius: 2px;
  margin-bottom: 0.6rem;
}
.to-h {
  height: 9px;
  width: 82%;
  background: var(--accent);
  opacity: 0.85;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.to-h.small { width: 46%; background: var(--fg-dim); margin-top: 0.5rem; }
.to-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.to-grid > div {
  aspect-ratio: 1;
  background: var(--line);
  border-radius: 2px;
}
.product:hover .to-grid > div { background: var(--line-2); }
.to-line {
  height: 3px;
  width: 88%;
  background: var(--line-2);
  border-radius: 2px;
  margin-top: 0.75rem;
}
.to-line.short { width: 52%; margin-top: 0.3rem; }

/* menu shot */
.menu-shot {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: clamp(220px, 34vw, 380px);
}
.ms-side {
  padding: clamp(1rem, 2.6vw, 2rem);
  border-right: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent, transparent 27px, var(--line) 27px, var(--line) 28px),
    var(--bg-3);
  font-family: var(--serif);
}
.ms-rest { font-size: clamp(1.1rem, 2.6vw, 1.75rem); letter-spacing: -0.02em; }
.ms-sub {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ms-section + .ms-section { margin-top: 1.1rem; }
.ms-h {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.ms-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  line-height: 1.9;
  color: var(--fg-dim);
}
.ms-item .mono { color: var(--fg-mute); font-size: 0.7rem; }
.ms-page {
  padding: clamp(1rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ms-hero { border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
.ms-hero .mono { color: var(--fg-mute); font-size: 0.6rem; }
.ms-hero h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.3rem 0;
}
.ms-hero p { color: var(--fg-mute); font-size: clamp(0.72rem, 1.3vw, 0.9rem); }
.ms-grid {
  position: relative;
  flex: 1;
  min-height: 3.5rem;
}
.ms-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 50% 100%,
    linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 100% 50%;
  opacity: 0.8;
}
/* ghost "photo" cells inside the menu grid */
.ms-grid > i {
  position: absolute;
  display: block;
  border-radius: 4px;
  background: var(--line-2);
  opacity: 0.55;
  transition: background 0.5s var(--ease);
}
.product:hover .ms-grid > i { background: var(--accent); opacity: 0.16; }
.ms-cta {
  align-self: flex-start;
  color: #0a0a09;
  background: var(--accent);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
}

/* viewport buddy — responsive screenshot crawler */
.vp-shot {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  min-height: clamp(230px, 34vw, 380px);
}

.vp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.vp-domain {
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.15rem;
}
.vp-zoom {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.vp-zoom i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 0.28rem 0.55rem;
  color: var(--fg-mute);
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.vp-zoom i:last-child { border-right: 0; }
.vp-zoom i.on {
  background: var(--accent);
  color: #0a0a09;
}

/* the crawl results: each figure is one captured viewport */
.vp-frames {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.5rem, 1.6vw, 1.25rem);
  flex-wrap: wrap;
}
.vp-frame {
  position: relative;
  width: var(--w);
  flex-shrink: 0;
  animation: vpIn 0.7s var(--ease) both;
}
.vp-frame:nth-child(1) { animation-delay: 0.05s; }
.vp-frame:nth-child(2) { animation-delay: 0.15s; }
.vp-frame:nth-child(3) { animation-delay: 0.25s; }
.vp-frame:nth-child(4) { animation-delay: 0.35s; }
@keyframes vpIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.vp-wd {
  position: absolute;
  top: -1.15rem;
  left: 0;
  color: var(--fg-mute);
  font-size: 0.58rem;
}
.vp-thumb {
  aspect-ratio: var(--ar, 16/10);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-3);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.vp-frame:hover .vp-thumb {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.vp-focus .vp-thumb { border-color: var(--accent); }

/* ghost page content inside each thumbnail */
.t-nav { height: 3px; width: 62%; background: var(--line-2); border-radius: 2px; }
.t-h { height: 7px; width: 78%; background: var(--fg-dim); border-radius: 2px; }
.t-l { height: 2px; width: 90%; background: var(--line-2); border-radius: 2px; }
.t-l.s { width: 52%; }
.t-img, .t-hero {
  background: var(--line);
  border-radius: 3px;
  margin: 0.25rem 0;
}
.t-img { height: 42%; }
.t-hero { height: 58%; }
.t-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 0.25rem 0;
}
.t-cols i {
  aspect-ratio: 3/4;
  background: var(--line);
  border-radius: 2px;
}

.vp-badge {
  position: absolute;
  bottom: -1.4rem;
  right: 0;
  color: #0a0a09;
  background: var(--accent);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.56rem;
}

.vp-caption {
  color: var(--fg-mute);
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* product meta */
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-top: 1.4rem;
  flex-wrap: wrap;
}
.tag { color: var(--fg-mute); display: block; margin-bottom: 0.5rem; }
.product-meta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
}
.product-meta p {
  color: var(--fg-dim);
  max-width: 48ch;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.meta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.meta-link:hover {
  background: var(--accent);
  color: #0a0a09;
  border-color: var(--accent);
}
.meta-link svg { transition: transform 0.35s var(--ease); }
.meta-link:hover svg { transform: translate(2px, -2px); }

/* ---------- method ---------- */
.method {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.method li {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: background 0.4s var(--ease);
}
.method li:hover { background: var(--bg-2); }
.m-num { color: var(--accent); display: block; margin-bottom: 1.5rem; }
.method h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.method p { color: var(--fg-dim); font-size: 0.875rem; line-height: 1.55; }

/* ---------- numbers (inverted) ---------- */
.section-inverse {
  background: var(--inv-bg);
  color: var(--inv-fg);
  border-top: 1px solid transparent;
  max-width: none;
  margin-inline: 0;
}
.section-inverse .sec-num { color: #7a9c00; }
.section-inverse .sec-title em { color: #7a9c00; }
.section-inverse + .section { border-top: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat {
  border-top: 1px solid rgba(10, 10, 9, 0.18);
  padding-top: 1.1rem;
}
.stat-num {
  display: flex;
  align-items: flex-start;
  gap: 0.12em;
  flex-wrap: nowrap;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.stat-num sup {
  font-family: var(--mono);
  font-size: clamp(0.62rem, 1.05vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #7a9c00;
  margin-top: 0.12em;
}
.stat-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(10, 10, 9, 0.6);
  max-width: 22ch;
  line-height: 1.4;
}

/* ---------- lab ---------- */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.lab-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--bg-2);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), background 0.4s var(--ease);
}
.lab-card:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
  transform: translateY(-3px);
}
.lab-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.lab-date { color: var(--fg-mute); }
.lab-status { color: var(--accent); }
.lab-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.lab-card p { color: var(--fg-dim); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.lab-card footer { color: var(--fg-mute); border-top: 1px solid var(--line); padding-top: 0.8rem; }

/* ---------- manifesto ---------- */
.manifesto .section-head { margin-bottom: 0; }
.manifesto-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(2rem, 5vw, 5rem);
  max-width: 82ch;
  margin-left: auto;
}
.manifesto-body .lede {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.manifesto-body .lede em { font-style: italic; color: var(--accent); }
.manifesto-body p {
  color: var(--fg-dim);
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}
.manifesto-body p + p { margin-top: 1.15rem; }
.manifesto-body p em { font-style: italic; color: var(--fg); }

/* ---------- contact ---------- */
.contact {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(4.5rem, 11vw, 10rem) var(--pad);
  border-top: 1px solid var(--line);
  text-align: left;
}
.contact-line { color: var(--fg-mute); margin-bottom: 1.5rem; }
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 8.5vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.contact-title em { font-style: italic; color: var(--accent); }

.contact-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.btn-primary.big, .btn-ghost.big {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  padding: 1rem 1.6rem;
}
.btn-ghost.big { border-bottom-width: 1px; }

.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 620px;
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.contact-form label { display: block; }
.contact-form label span {
  display: block;
  color: var(--fg-mute);
  margin-bottom: 0.45rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--fg-mute); opacity: 0.55; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}
.contact-form button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-form button:hover {
  background: var(--accent);
  color: #0a0a09;
  border-color: var(--accent);
}
.sent {
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.sent.on { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5rem) var(--pad) 0;
  overflow: hidden;
  position: relative;
}
.foot-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.brand-lg .brand-mark { font-size: 2.2rem; }
.foot-tag {
  margin-top: 1rem;
  color: var(--fg-mute);
  font-size: 0.875rem;
  line-height: 1.6;
}
.foot-h { color: var(--fg-mute); display: block; margin-bottom: 1rem; }
.foot-grid ul li + li { margin-top: 0.55rem; }
.foot-grid ul a {
  font-size: 0.875rem;
  color: var(--fg-dim);
  transition: color 0.25s var(--ease);
}
.foot-grid ul a:hover { color: var(--accent); }

.foot-foot {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: var(--fg-mute);
}

.bigmark {
  max-width: var(--maxw);
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(5rem, 22vw, 20rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  text-align: center;
  user-select: none;
  padding-bottom: 0.08em;
  transition: -webkit-text-stroke-color 0.6s var(--ease);
}
.bigmark:hover { -webkit-text-stroke-color: var(--accent); }
.bigmark span { color: var(--accent); -webkit-text-stroke: 0; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- entry ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-bottom { grid-template-columns: 1fr; align-items: start; }
  .manifesto-body { grid-template-columns: 1fr; margin-left: 0; max-width: 60ch; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero-title { letter-spacing: -0.03em; }
  .ht-italic, .ht-faded { padding-left: 0; }
  .section-head { grid-template-columns: 1fr; }
  .sec-dek { grid-column: 1; margin-top: 1rem; }
  .sec-num { padding-top: 0; margin-bottom: 0.75rem; }
  .card-shot {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.5rem;
  }
  .card-from, .card-to { width: min(280px, 100%); }
  .card-arrow { transform: rotate(90deg); animation: none; }
  .menu-shot { grid-template-columns: 1fr; }
  .ms-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-meta { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
  .hidden-md { display: none !important; }
}

@media (max-width: 480px) {
  .hero-actions { width: 100%; }
  .btn-primary { width: 100%; justify-content: center; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .grain, .progress, .nav { display: none; }
  body { background: #fff; color: #000; }
}