/* MountainPeak v2 — sections */

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 620px;
}
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; min-height: 0; } }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg-2) 60%, transparent);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  max-width: 100%;
}
.tag-pill > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag-pill .chip {
  background: var(--fg);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
}
.tag-pill .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.72 0.16 145);
  box-shadow: 0 0 0 3px color-mix(in oklab, oklch(0.72 0.16 145) 26%, transparent);
}

.headline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--fg);
  overflow: visible;
}
.accent {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
  padding: 0.05em 0.18em 0.12em 0.04em;
  margin: -0.05em -0.12em -0.12em -0.04em;
}
.section-head h2, .contact-card h2 { overflow: visible; }

.lede {
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #000; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Hero visual: floating product cards ---- */
.hero-visual {
  position: relative;
  height: 520px;
}
@media (max-width: 980px) { .hero-visual { height: 380px; } }

.card-stack {
  position: absolute;
  inset: 0;
}
.h-card {
  position: absolute;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg-2) 92%, transparent), color-mix(in oklab, var(--bg-3) 92%, transparent));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px var(--line) inset;
  backdrop-filter: blur(10px);
  font-size: 12px;
  overflow: hidden;
}
[data-theme="paper"] .h-card { box-shadow: 0 30px 60px -20px rgba(11,12,15,0.18), 0 0 0 1px var(--line) inset; }

.h-card .row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.h-card .row .l {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--fg);
}
.h-card .row .l .ic {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #000;
  font-weight: 700; font-size: 11px;
}
.h-card .row .meta {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--muted); letter-spacing: 0.04em;
}

/* card variants */
.h-card.app {
  width: 200px; top: 10px; left: 0;
  transform: rotate(-5deg);
  z-index: 2;
  padding: 14px;
  border-radius: 32px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.h-card.app .notch {
  width: 60px; height: 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.85);
  margin: 0 auto 12px;
}
[data-theme="paper"] .h-card.app .notch { background: rgba(0,0,0,0.85); }
.h-card.app .scrn {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.h-card.app .ph-top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 9px;
  color: var(--muted); letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.h-card.app .ph-greet {
  font-size: 13px; font-weight: 600; color: var(--fg);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.h-card.app .ph-greet small {
  display: block; font-size: 9.5px; font-weight: 400;
  color: var(--muted); letter-spacing: 0; margin-top: 2px;
}
.h-card.app .ph-hero {
  height: 70px; border-radius: 12px;
  background:
    radial-gradient(80px 60px at 70% 30%, color-mix(in oklab, var(--accent) 70%, transparent), transparent 70%),
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 35%, var(--bg-3)), color-mix(in oklab, var(--accent-2) 35%, var(--bg-3)));
  position: relative;
  border: 1px solid var(--line);
  padding: 10px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.h-card.app .ph-hero .pill {
  font-family: var(--mono); font-size: 8px;
  background: rgba(255,255,255,0.85); color: #000;
  padding: 2px 6px; border-radius: 999px;
  align-self: flex-start;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.h-card.app .ph-hero .t {
  font-size: 10px; font-weight: 600; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.h-card.app .ph-list { display: flex; flex-direction: column; gap: 6px; }
.h-card.app .ph-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px; border-radius: 8px;
  background: color-mix(in oklab, var(--bg-3) 70%, transparent);
}
.h-card.app .ph-item .av {
  width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex: 0 0 18px;
}
.h-card.app .ph-item .av.b2 { background: linear-gradient(135deg, var(--accent-2), oklch(0.7 0.18 320)); }
.h-card.app .ph-item .lines { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.h-card.app .ph-item .lines i {
  height: 4px; border-radius: 2px; background: var(--line-2); display: block;
}
.h-card.app .ph-item .lines i:first-child { width: 70%; }
.h-card.app .ph-item .lines i:last-child { width: 40%; opacity: 0.6; }
.h-card.app .ph-item .val {
  font-family: var(--mono); font-size: 9px;
  font-weight: 600; color: var(--fg);
}
.h-card.app .ph-tabs {
  display: flex; justify-content: space-around; align-items: center;
  padding-top: 8px; border-top: 1px solid var(--line);
  margin-top: 2px;
}
.h-card.app .ph-tabs i {
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--line-2);
}
.h-card.app .ph-tabs i.on { background: var(--accent); }

.h-card.dash {
  width: 300px; right: 0; top: 90px;
  z-index: 3;
}
.h-card.dash .stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 12px;
}
.h-card.dash .stat {
  background: var(--bg-3);
  border-radius: 10px; padding: 10px;
  border: 1px solid var(--line);
}
.h-card.dash .stat .k {
  font-family: var(--mono); font-size: 9.5px;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 4px;
}
.h-card.dash .stat .v {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg);
}
.h-card.dash .stat .v small {
  font-size: 10.5px; color: oklch(0.72 0.16 145); margin-left: 4px; font-weight: 500;
}
.h-card.dash .chart {
  height: 70px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  padding: 8px;
}
.h-card.dash .chart svg { width: 100%; height: 100%; display: block; }
.h-card.dash .chart path.area {
  fill: url(#gradFill);
}
.h-card.dash .chart path.line {
  fill: none; stroke: var(--accent); stroke-width: 1.5;
}

.h-card.web {
  width: 320px; bottom: 0; left: 20px;
  transform: rotate(3deg);
  z-index: 1;
  padding: 0;
  overflow: hidden;
}
.h-card.web .browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg-3) 70%, transparent);
}
.h-card.web .browser-bar .dots { display: flex; gap: 4px; }
.h-card.web .browser-bar .dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
}
.h-card.web .browser-bar .url {
  flex: 1;
  font-family: var(--mono); font-size: 9.5px;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 8px;
  letter-spacing: 0.04em;
}
.h-card.web .browser-bar .url b { color: var(--fg); font-weight: 500; }
.h-card.web .browser-bar .meta-pill {
  font-family: var(--mono); font-size: 8.5px;
  color: oklch(0.7 0.15 145);
  letter-spacing: 0.06em;
}
.h-card.web .web-body {
  padding: 16px 14px 14px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  align-items: center;
  min-height: 130px;
  position: relative;
}
.h-card.web .web-body::before {
  content: ""; position: absolute;
  width: 120px; height: 120px;
  right: -30px; top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 30%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.h-card.web .web-copy { position: relative; }
.h-card.web .web-copy .eyebrow-tiny {
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.h-card.web .web-copy h4 {
  margin: 0 0 6px;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
}
.h-card.web .web-copy h4 span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}
.h-card.web .web-copy p {
  margin: 0 0 8px;
  font-size: 9px; line-height: 1.45;
  color: var(--fg-2);
}
.h-card.web .web-copy .btns { display: flex; gap: 4px; }
.h-card.web .web-copy .btns .b1 {
  font-size: 8px; font-weight: 500;
  background: var(--fg); color: var(--bg);
  padding: 4px 8px; border-radius: 999px;
}
.h-card.web .web-copy .btns .b2 {
  font-size: 8px; font-weight: 500;
  border: 1px solid var(--line-2); color: var(--fg-2);
  padding: 3px 8px; border-radius: 999px;
}
.h-card.web .web-vis {
  position: relative;
  height: 110px;
  border-radius: 10px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent-2) 30%, var(--bg-3)), var(--bg-3));
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 8px;
}
.h-card.web .web-vis .card-mini {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 6px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--fg);
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.h-card.web .web-vis .card-mini::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.h-card.web .web-vis .card-mini.m1 { top: 10px; left: 8px; }
.h-card.web .web-vis .card-mini.m2 { top: 38px; right: 8px; }
.h-card.web .web-vis .card-mini.m3 { bottom: 10px; left: 14px; }
.h-card.web .web-vis svg.curve {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.h-card.web .web-vis svg.curve path {
  fill: none; stroke: var(--accent);
  stroke-width: 1.2; stroke-dasharray: 2 3;
  opacity: 0.7;
}

@media (max-width: 980px) {
  .h-card.app { width: 160px; left: 0; top: 0; }
  .h-card.dash { width: 220px; right: 0; top: 30px; }
  .h-card.web { width: 260px; bottom: 0; left: 20px; }
}

/* ---- Services (modern cards) ---- */
.services {
  position: relative; z-index: 1;
  padding: 60px 0 40px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
}
.section-head h2 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.section-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s, background .25s;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 360px;
}
.svc-tags { margin-top: auto; }
.svc:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.svc-num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}

.svc-vis {
  height: 160px;
  margin: 18px -10px 22px;
  border-radius: 14px;
  background:
    radial-gradient(180px 120px at 80% 20%, color-mix(in oklab, var(--accent) 38%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in oklab, var(--accent-2) 18%, var(--bg-3)), var(--bg-3));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.svc-vis svg {
  position: relative;
  width: 100%; height: 100%;
  display: block;
}

/* Mobile vis */
.vis-mobile .phone-frame {
  fill: var(--bg-2);
  stroke: var(--line-2);
  stroke-width: 1;
}
.vis-mobile .scr {
  fill: color-mix(in oklab, var(--bg-3) 90%, transparent);
}
.vis-mobile .hero {
  fill: url(#heroGrad);
}
.vis-mobile .ln { fill: var(--line-2); }
.vis-mobile .av { fill: var(--accent); }
.vis-mobile .av2 { fill: var(--accent-2); opacity: 0.8; }
.vis-mobile .pill { fill: var(--fg); }
.vis-mobile .pill-tx { fill: var(--bg); font-family: var(--mono); font-size: 5.5px; font-weight: 600; }
.vis-mobile .nav-dot { fill: var(--line-2); }
.vis-mobile .nav-dot.on { fill: var(--accent); }

/* Business vis */
.vis-biz .win {
  fill: var(--bg-2);
  stroke: var(--line-2);
}
.vis-biz .panel {
  fill: var(--bg-3);
  stroke: var(--line);
}
.vis-biz .bar1 { fill: var(--accent); }
.vis-biz .bar2 { fill: var(--accent-2); opacity: 0.8; }
.vis-biz .grid-ln { stroke: var(--line); stroke-width: 0.5; }
.vis-biz .label { fill: var(--muted); font-family: var(--mono); font-size: 4.5px; letter-spacing: 0.1em; }
.vis-biz .num { fill: var(--fg); font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: -0.02em; }
.vis-biz .delta { fill: oklch(0.7 0.15 145); font-family: var(--mono); font-size: 4px; }

/* Web vis */
.vis-web .browser {
  fill: var(--bg-2);
  stroke: var(--line-2);
}
.vis-web .chrome {
  fill: var(--bg-3);
}
.vis-web .url-bar { fill: var(--bg-2); stroke: var(--line); }
.vis-web .dot { fill: var(--line-2); }
.vis-web .url-tx { fill: var(--fg-2); font-family: var(--mono); font-size: 4.5px; }
.vis-web .h1 { fill: var(--fg); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: -0.03em; }
.vis-web .h1-em { fill: url(#textGrad); font-family: var(--sans); font-size: 10px; font-weight: 500; font-style: italic; letter-spacing: -0.03em; }
.vis-web .body-ln { fill: var(--line-2); }
.vis-web .cta { fill: var(--fg); }
.vis-web .cta-tx { fill: var(--bg); font-family: var(--sans); font-size: 4.5px; font-weight: 600; }
.vis-web .visual {
  fill: url(#webGrad);
  stroke: var(--line);
}
.vis-web .blob {
  fill: var(--accent);
  opacity: 0.7;
}

.svc h3 {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; margin: 0 0 8px;
  color: var(--fg);
}
.svc p {
  margin: 0 0 18px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-2);
}

/* ---- Work / Projects ---- */
.work { position: relative; z-index: 1; padding: 60px 0 40px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.work-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.work-card.span-2 { grid-column: span 2; }
@media (max-width: 880px) { .work-card.span-2 { grid-column: 1; } }

.work-vis {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.wv-grad {
  position: absolute; inset: 0;
}
.wv-grad[data-grad="a"] {
  background:
    radial-gradient(400px 300px at 30% 30%, color-mix(in oklab, var(--accent) 60%, transparent), transparent 70%),
    linear-gradient(140deg, color-mix(in oklab, var(--accent-2) 40%, var(--bg-3)), var(--bg-3));
}
.wv-grad[data-grad="b"] {
  background:
    radial-gradient(400px 300px at 70% 30%, color-mix(in oklab, var(--accent-2) 60%, transparent), transparent 70%),
    linear-gradient(160deg, var(--bg-3), color-mix(in oklab, var(--accent) 30%, var(--bg-3)));
}
.wv-grad[data-grad="c"] {
  background:
    radial-gradient(300px 240px at 80% 80%, color-mix(in oklab, var(--accent) 70%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-3), color-mix(in oklab, var(--accent-2) 25%, var(--bg-3)));
}
.wv-grad[data-grad="d"] {
  background:
    radial-gradient(500px 300px at 50% 50%, color-mix(in oklab, var(--accent-2) 50%, transparent), transparent 70%),
    linear-gradient(120deg, color-mix(in oklab, var(--accent) 35%, var(--bg-3)), var(--bg-3));
}

/* mockup elements */
.wv-phone {
  position: absolute;
  width: 130px; height: 200px;
  border-radius: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  bottom: -40px; right: 30px;
  transform: rotate(-6deg);
  padding: 18px 12px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
}
.wv-phone-bar {
  height: 8px; width: 50%; border-radius: 4px;
  background: var(--line-2);
}
.wv-phone-tile {
  height: 64px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.wv-phone-row {
  height: 14px; border-radius: 4px;
  background: color-mix(in oklab, var(--bg-3) 80%, transparent);
}
.wv-phone-row.short { width: 70%; }

.wv-dash {
  position: absolute;
  inset: 30px 30px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.wv-dash-row { display: flex; gap: 8px; }
.wv-dash-row span {
  flex: 1;
  height: 28px; border-radius: 6px;
  background: color-mix(in oklab, var(--bg-3) 80%, transparent);
  border: 1px solid var(--line);
}
.wv-dash-row span:first-child { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 30%, var(--bg-3)), var(--bg-3)); }
.wv-dash-bars {
  flex: 1;
  display: flex; align-items: flex-end; gap: 6px;
  padding: 4px 0;
}
.wv-dash-bars i {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  display: block;
}

.wv-web {
  position: absolute;
  inset: 28px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.wv-web-bar {
  display: flex; gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.wv-web-bar i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-2);
}
.wv-web-hero {
  flex: 1.4;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 50%, var(--bg-3)), color-mix(in oklab, var(--accent-2) 40%, var(--bg-3)));
  margin: 8px;
  border-radius: 6px;
}
.wv-web-grid { display: flex; gap: 6px; padding: 0 8px 8px; flex: 1; }
.wv-web-grid span {
  flex: 1; border-radius: 5px;
  background: color-mix(in oklab, var(--bg-3) 80%, transparent);
  border: 1px solid var(--line);
}

.wv-mixed { position: absolute; inset: 0; }
.wv-mixed .wv-card-1 {
  position: absolute; left: 24px; top: 30px;
  width: 90px; height: 130px; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  transform: rotate(-6deg);
  background-image: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
}
.wv-mixed .wv-card-2 {
  position: absolute; right: 30px; top: 26px;
  width: 200px; height: 120px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  background-image:
    linear-gradient(180deg, var(--bg-3) 0 24px, transparent 24px),
    radial-gradient(120px 80px at 80% 60%, color-mix(in oklab, var(--accent) 50%, transparent), transparent 70%);
}
.wv-mixed .wv-card-3 {
  position: absolute; right: 80px; bottom: -20px;
  width: 100px; height: 60px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  background-image: linear-gradient(135deg, color-mix(in oklab, var(--accent-2) 50%, transparent), color-mix(in oklab, var(--accent) 30%, transparent));
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.3);
}

.work-meta {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.work-tag {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.work-meta h3 {
  margin: 0;
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.work-meta p {
  margin: 4px 0 0;
  font-size: 14px; line-height: 1.55;
  color: var(--fg-2);
}

/* ---- Stats / Approach band ---- */
.stats {
  position: relative; z-index: 1;
  padding: 80px 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
}
.stats .s {
  background: var(--bg);
  padding: 36px 24px;
}
.stats .s .k {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
}
.stats .s .v {
  font-size: 44px; line-height: 1;
  letter-spacing: -0.03em; font-weight: 500;
}
.stats .s .v small { font-size: 18px; color: var(--muted); margin-left: 4px; }
.stats .s .vs {
  font-size: 22px; line-height: 1.1;
  letter-spacing: -0.01em; font-weight: 500;
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Contact ---- */
.process {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
}

.process-intro {
  max-width: 66ch;
  margin: 0 0 24px;
  color: var(--fg-2);
  font-size: 15px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.process-step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
}

.process-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

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

.contact {
  padding: 80px 0; position: relative; z-index: 1;
}
.contact-card {
  position: relative;
  border-radius: 28px;
  padding: 60px 56px;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 0%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, color-mix(in oklab, var(--accent-2) 30%, transparent), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.contact-card h2 {
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 14ch;
}
.contact-card h2 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.contact-card p {
  margin: 0 0 28px;
  color: var(--fg-2);
  max-width: 42ch;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.signature-block {
  margin: 8px 0 32px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.signature {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  margin: 8px 0 10px 0;
  padding: 6px 4px 10px 4px;
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: rotate(-2deg);
  transform-origin: left center;
  display: inline-block;
  filter: drop-shadow(0 2px 6px color-mix(in oklab, var(--accent) 30%, transparent));
  user-select: none;
  overflow: visible;
}
.signature-meta {
  font-size: 14px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.signature-meta .sig-role {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 4px;
}

.contact-side {
  display: flex; flex-direction: column; gap: 20px;
}
.founder-photo {
  display: flex; flex-direction: column; gap: 14px;
}
.founder-photo-wrap {
  position: relative;
  width: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.founder-photo-wrap image-slot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.founder-caption .fn-name {
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--fg);
}
.founder-caption .fn-role {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.contact-detail {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.contact-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.contact-row .k {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.foot-links a { color: inherit; text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--fg); }
.contact-row .v {
  font-size: 14px; color: var(--fg); text-decoration: none;
  font-weight: 450;
}
.contact-row .v:hover { color: var(--accent); }
.contact-row .v.mono { font-family: var(--mono); font-size: 12.5px; }

@media (max-width: 880px) {
  .contact-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
}

/* ---- Footer ---- */
.foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.foot .col { display: flex; flex-direction: column; gap: 4px; }
.foot .col strong {
  color: var(--fg); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 11px;
}

/* ---- Tweaks panel (re-styled for v2) ---- */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 280px;
  background: color-mix(in oklab, var(--bg-2) 96%, transparent);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  padding: 18px; font-size: 13px; display: none;
  font-family: var(--sans);
  backdrop-filter: blur(20px);
}
.tweaks.on { display: block; }
.tweaks h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks h4 button { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; }
.tweaks .tw-row { margin-bottom: 14px; }
.tweaks .tw-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.tweaks .seg {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px;
  background: var(--bg);
}
.tweaks .seg button {
  flex: 1; background: transparent; border: 0; font: inherit;
  font-size: 12px; padding: 7px 10px; border-radius: 999px;
  cursor: pointer; color: var(--fg-2);
}
.tweaks .seg button.on { background: var(--fg); color: var(--bg); }
.swatches { display: flex; gap: 8px; }
.swatches button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); cursor: pointer; padding: 0; position: relative;
}
.swatches button.on::after {
  content: ""; position: absolute; inset: -4px;
  border: 1.5px solid var(--fg); border-radius: 50%;
}
