/* ───────────────────────────────────────────────────────────────────
   Pixie · hemis.dev
   Aesthetic: industrial precision instrument, sodium-lamp accent.
   Display: Instrument Serif (with italic). Body/data: JetBrains Mono.
   ─────────────────────────────────────────────────────────────────── */

:root {
  --bg:          #0B0B0D;
  --bg-2:        #111114;
  --bg-3:        #16161A;
  --bg-4:        #1C1C21;

  --line:        rgba(236, 234, 227, 0.07);
  --line-2:      rgba(236, 234, 227, 0.14);
  --line-3:      rgba(236, 234, 227, 0.24);

  --fg:          #ECEAE3;
  --fg-2:        #A3A199;
  --fg-3:        #6F6D66;
  --fg-4:        #4A4944;

  --accent:      #FF6B1A;
  --accent-2:    #FFB870;
  --accent-3:    #B24806;
  --accent-glow: rgba(255, 107, 26, 0.22);
  --accent-soft: rgba(255, 107, 26, 0.08);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --measure: 64ch;
  --radius: 2px;

  --max: 1240px;

  --t1: 88ms;
  --t2: 200ms;
  --t3: 480ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--bg); }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "calt", "liga";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
}

h1 { font-size: clamp(48px, 8.5vw, 124px); line-height: 0.96; }
h2 { font-size: clamp(36px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.012em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.18; }

p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }

code, pre {
  font-family: var(--mono);
  font-size: 0.86em;
}

/* ── Background atmosphere ───────────────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 85%);
  opacity: 0.85;
}

.grain {
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ── Layout primitives ───────────────────────────────────────────── */
main, .nav, .foot {
  position: relative;
  z-index: 2;
}

main {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 160px);
  padding: 0 var(--gutter) clamp(80px, 10vw, 160px);
  max-width: var(--max);
  margin: 0 auto;
}

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.brand-mark {
  color: var(--accent);
  font-size: 12px;
  transform: translateY(-1px);
}
.brand-text { color: var(--fg-2); }
.brand-sep { color: var(--fg-4); }
.brand-product {
  color: var(--fg);
  font-weight: 500;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 12.5px;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color var(--t2) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t2) var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  gap: 10px;
  justify-self: end;
}

@media (max-width: 760px) {
  .nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary,
.btn-ghost,
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t2) var(--ease),
              color var(--t2) var(--ease),
              border-color var(--t2) var(--ease),
              transform var(--t2) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #150704;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow), 0 1px 0 rgba(0,0,0,0.4);
}
.btn-primary:hover {
  color: #150704;
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 1px 0 rgba(0,0,0,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--line-3);
  background: var(--bg-3);
}
.btn-ghost--icon { padding: 9px 12px; }
.btn-ghost--icon svg { color: var(--fg-2); transition: color var(--t2) var(--ease); }
.btn-ghost--icon:hover svg { color: var(--accent); }

.btn-link {
  padding: 10px 0;
  color: var(--fg-2);
  border: 0;
}
.btn-link:hover { color: var(--accent-2); }

.btn-arrow { transition: transform var(--t2) var(--ease); }
.btn-primary:hover .btn-arrow { transform: translate(2px, -2px); }
.btn-link:hover .btn-arrow { transform: translateX(3px); }

.block { width: 100%; justify-content: center; }

/* ── Section heads ───────────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: clamp(16px, 3vw, 36px);
  row-gap: 12px;
  margin-bottom: clamp(40px, 5vw, 72px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  align-self: end;
  padding-bottom: 4px;
}
.section-head h2 {
  grid-column: 2;
}
.section-lede {
  grid-column: 2;
  color: var(--fg-2);
  max-width: 60ch;
  font-size: 14px;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(64px, 9vw, 140px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  text-transform: uppercase;
  animation: fade-up var(--t3) var(--ease) both;
}
.hero-meta-sep { color: var(--fg-4); }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.6s var(--ease) infinite;
}

.hero-title {
  margin: 0;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hl-line {
  display: block;
  animation: fade-up var(--t3) var(--ease) both;
}
.hl-line:nth-child(1) { animation-delay: 60ms; }
.hl-line:nth-child(2) { animation-delay: 160ms; padding-left: clamp(24px, 6vw, 96px); }
.hl-line:nth-child(3) { animation-delay: 260ms; }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--fg-2);
  max-width: 64ch;
  line-height: 1.6;
  animation: fade-up var(--t3) var(--ease) both;
  animation-delay: 360ms;
}
.hero-sub strong {
  color: var(--fg);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  animation: fade-up var(--t3) var(--ease) both;
  animation-delay: 460ms;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  animation: fade-up var(--t3) var(--ease) both;
  animation-delay: 560ms;
}
.hero-stats > div {
  padding: 24px clamp(12px, 1.6vw, 24px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats > div::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 1px;
  background: var(--accent);
}
.hero-stats dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-stats dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
}
.hero-stats .num {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero-stats .unit {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(1),
  .hero-stats > div:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ── Capabilities ────────────────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cap {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background var(--t2) var(--ease);
}
.cap:hover { background: var(--bg-2); }
.cap:hover .cap-num { color: var(--accent); }

.cap-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  transition: color var(--t2) var(--ease);
}
.cap h3 {
  color: var(--fg);
}
.cap p {
  color: var(--fg-2);
  max-width: 50ch;
  line-height: 1.6;
}
.cap-meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  border-top: 1px dashed var(--line-2);
}

@media (max-width: 760px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ── Pipeline ────────────────────────────────────────────────────── */
.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 4vw, 64px);
}

.pipe {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.pipe li {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 32px 1fr;
  align-items: baseline;
  gap: clamp(12px, 1.5vw, 24px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--t2) var(--ease), padding-left var(--t2) var(--ease);
}
.pipe li:hover {
  background: var(--bg-2);
  padding-left: 8px;
}
.pipe-step {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--fg);
  letter-spacing: -0.01em;
}
.pipe-arrow {
  color: var(--accent);
  font-family: var(--mono);
  text-align: center;
}
.pipe-desc {
  color: var(--fg-2);
  font-size: 13px;
}
.pipe-desc code {
  color: var(--fg);
  background: var(--bg-3);
  padding: 1px 5px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}

.pipe-aside {
  margin-top: 16px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.pipe-aside::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 2px;
  background: var(--accent);
}
.pipe-aside-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.pipe-aside-head h3 {
  color: var(--fg);
}
.pipe-aside-note {
  color: var(--fg-2);
  max-width: 64ch;
  line-height: 1.6;
}

.code {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg);
  font-feature-settings: "calt", "liga";
}
.code .c { color: var(--fg-3); font-style: italic; }
.code .kw { color: var(--accent); }

/* ── Architectures ───────────────────────────────────────────────── */
.architectures { display: grid; gap: clamp(28px, 3vw, 44px); }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.arch-fam {
  background: var(--bg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--t2) var(--ease);
}
.arch-fam:hover { background: var(--bg-2); }
.arch-fam:hover .arch-fam-name { color: var(--accent); }
.arch-fam-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.005em;
  transition: color var(--t2) var(--ease);
}
.arch-fam-list {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

.arch-note {
  font-size: 13px;
  color: var(--fg-2);
  max-width: 78ch;
  line-height: 1.6;
}
.arch-note code {
  background: var(--bg-3);
  padding: 1px 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--fg);
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  vertical-align: middle;
}

/* ── Pricing ─────────────────────────────────────────────────────── */
.pricing { display: grid; gap: clamp(28px, 3vw, 44px); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.price-card {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  transition: border-color var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.price-card:hover {
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 40%);
}
.price-card--alt {
  background: var(--bg);
}
.price-card--alt::before {
  background: linear-gradient(90deg, transparent 60%, var(--accent));
}

.price-card-head { display: grid; gap: 6px; }
.price-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card-head h3 {
  color: var(--fg);
  font-size: clamp(22px, 2vw, 28px);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
}
.price-currency {
  font-size: 22px;
  color: var(--fg-2);
}
.price-num {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.price-period {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-3);
  margin-left: 6px;
}

.price-features {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
}
.price-features li {
  position: relative;
  padding-left: 22px;
}
.price-features li::before {
  content: "▸";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-size: 11px;
}

.price-fineprint {
  font-size: 11.5px;
  color: var(--fg-3);
  line-height: 1.6;
}

.price-foot {
  font-size: 13px;
  color: var(--fg-2);
  max-width: 78ch;
  line-height: 1.7;
  padding-top: 8px;
}
.price-foot a {
  color: var(--accent-2);
  border-bottom: 1px dashed var(--accent-3);
}
.price-foot a:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  margin-top: clamp(60px, 8vw, 120px);
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: clamp(28px, 3vw, 48px);
}

.foot-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(20px, 3vw, 48px);
}
.foot-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.foot-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg-2);
  max-width: 56ch;
  line-height: 1.4;
  justify-self: start;
}

.foot-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: clamp(20px, 2vw, 32px);
  border-top: 1px solid var(--line);
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-h {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.foot-col a {
  color: var(--fg-2);
  font-size: 13px;
  transition: color var(--t2) var(--ease);
}
.foot-col a:hover { color: var(--accent-2); }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: var(--fg-3);
  padding-top: clamp(20px, 2vw, 32px);
  border-top: 1px solid var(--line);
}
.foot-base-mid { color: var(--fg-4); }

@media (max-width: 760px) {
  .foot-row { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, 1fr); }
}

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ───────────────────────────────────────────────────────────────────
   Home page (hemis.dev/)
   ─────────────────────────────────────────────────────────────────── */

.brand-text--primary {
  color: var(--fg);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Home hero ───────────────────────────────────────────────────── */
.home-hero {
  padding-top: clamp(28px, 3.5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 80px);
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
  position: relative;
}
.home-hero > .home-hero-title { margin-top: clamp(8px, 1vw, 16px); }
.home-hero > .home-hero-sub   { margin-top: clamp(12px, 1.4vw, 20px); }
.home-hero::before {
  content: "";
  position: absolute;
  top: clamp(28px, 3.5vw, 56px);
  left: -8px;
  width: 1px;
  height: 48px;
  background: var(--accent);
}

.home-hero-title {
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}
.home-hero-title em {
  font-style: italic;
  color: var(--accent);
}
.home-hero-title .hl-line:nth-child(2) {
  padding-left: clamp(40px, 10vw, 160px);
}

.home-hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--fg-2);
  max-width: 60ch;
  line-height: 1.6;
  animation: fade-up var(--t3) var(--ease) both;
  animation-delay: 360ms;
}
.home-hero-sub em { color: var(--fg); font-style: italic; }

/* ── Origin ──────────────────────────────────────────────────────── */
.origin-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.origin-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 60ch;
  margin-bottom: 18px;
}
.origin-body p:last-of-type { margin-bottom: 0; }
.origin-body em { color: var(--fg); font-style: italic; }
.origin-body strong { color: var(--fg); font-weight: 500; }

.origin-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px) !important;
  line-height: 1.1 !important;
  color: var(--fg) !important;
  margin-bottom: clamp(18px, 2vw, 28px) !important;
  letter-spacing: -0.01em;
  max-width: none !important;
}

.origin-close {
  margin-top: clamp(16px, 2vw, 24px) !important;
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--line-2);
  color: var(--fg) !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.4 !important;
  letter-spacing: -0.005em;
  max-width: none !important;
}
.origin-close em {
  color: var(--accent) !important;
  font-style: italic;
}

.origin-aside {
  position: sticky;
  top: 24px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid;
  gap: 14px;
}
.origin-aside::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.origin-aside-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.origin-aside ul {
  display: grid;
  gap: 10px;
}
.origin-aside li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
  padding-left: 16px;
  position: relative;
}
.origin-aside li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 4px;
}
.origin-aside strong {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 920px) {
  .origin-body { grid-template-columns: 1fr; }
  .origin-aside { position: static; }
}

/* ── Products ────────────────────────────────────────────────────── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.prod {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  transition: transform var(--t2) var(--ease), border-color var(--t2) var(--ease);
}
.prod:hover {
  transform: translateY(-3px);
  border-color: var(--line-3);
}
.prod--live::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 50%);
}
.prod--soon {
  background: var(--bg);
  border-style: dashed;
}

.prod-head { display: grid; gap: 8px; }
.prod-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  width: fit-content;
}
.prod-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.prod-status--soon { color: var(--fg-3); }
.prod-status--soon .prod-status-dot {
  background: var(--fg-3);
  box-shadow: 0 0 0 3px rgba(163,161,153,0.08);
}

.prod h3 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.prod-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg-2);
  line-height: 1.3;
  margin-top: 4px;
}

.prod-body {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 52ch;
}

.prod-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-2);
}
.prod-meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.prod-meta span {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg);
  min-width: 28px;
}
.prod--soon .prod-meta span { color: var(--fg-3); }

@media (max-width: 760px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* ── Practice ────────────────────────────────────────────────────── */
.practice-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.practice-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(16px, 2vw, 36px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background var(--t2) var(--ease), padding-left var(--t2) var(--ease);
}
.practice-list li:hover {
  background: var(--bg-2);
  padding-left: 12px;
}
.practice-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.practice-list h3 {
  color: var(--fg);
  margin-bottom: 8px;
  font-size: clamp(22px, 2vw, 28px);
}
.practice-list p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.65;
  max-width: 68ch;
}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-card {
  padding: clamp(40px, 6vw, 96px) clamp(28px, 4vw, 64px);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--accent-soft) 0%, transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 120px; height: 1px;
  background: var(--accent);
}
.contact-card .section-num {
  align-self: start;
  padding-bottom: 0;
}
.contact-title {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.contact-title span { display: block; }
.contact-title em {
  font-style: italic;
  color: var(--accent);
}
.contact-sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--fg-2);
  max-width: 60ch;
  line-height: 1.65;
}
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
