/* Sorrel Technologies: shared styles for every page. Dark forest world, copper accents. */
:root {
  color-scheme: dark;
  --night: #0A130E;
  --forest: #10221A;
  --moss: #1A3426;
  --moss-2: #234434;
  --leaf: #9CC488;
  --sprout: #CFE6BC;
  --copper: #FF7F4E;
  --copper-deep: #CB532E;
  --peach: #FFC69E;
  --rust: #9A4421;
  --chestnut: #2A1D15;
  --paper: #EDF1E8;
  --ink: #0E1913;
  --cream: #E9F0E6;
  --mist: #98AE9F;
  --stone: #536459;
  --line-dark: rgba(233, 240, 230, 0.12);
  --line-paper: rgba(14, 25, 19, 0.14);

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

html { scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--night);
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}
::selection { background: var(--copper); color: var(--night); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; }

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }

/* Word masks used by split headings */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w > span { display: inline-block; will-change: transform; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.45s var(--ease-out), border-color 0.45s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--fill-hover);
  transform: translateY(102%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.45s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-copper { background: var(--copper); color: var(--night); --fill-hover: var(--sprout); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(233, 240, 230, 0.25); --fill-hover: var(--cream); }
.btn-ghost:hover { color: var(--night); border-color: var(--cream); }
.btn-dark { background: var(--night); color: var(--cream); --fill-hover: var(--moss-2); }
.btn-line { background: transparent; color: var(--cream); border-color: rgba(233, 240, 230, 0.25); --fill-hover: var(--cream); }
.btn-line:hover { color: var(--night); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.92rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform 0.6s var(--ease-out), background-color 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(10, 19, 14, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.site-header.tucked { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand svg { width: 40px; height: 36px; flex: none; transform-origin: 50% 100%; transition: transform 0.6s var(--ease-out); }
.brand:hover svg { transform: translateY(-4px) rotate(5deg); }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; color: var(--mist); font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1.5px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--leaf), var(--copper));
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.menu-btn {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(233, 240, 230, 0.22);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.5s var(--ease-out);
}
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding-top: calc(100px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  background: var(--forest);
  clip-path: circle(0px at calc(100% - 44px) 37px);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-out), visibility 0s linear 0.8s;
}
.menu-open .menu {
  clip-path: circle(160vmax at calc(100% - 44px) 37px);
  visibility: visible;
  transition: clip-path 0.9s var(--ease-out), visibility 0s;
}
.menu nav { display: grid; gap: 6px; }
.menu nav a {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-decoration: none;
  opacity: 0;
  transform: translateY(36px);
  transition: transform 0.7s var(--ease-out), opacity 0.7s;
  transition-delay: calc(var(--d) * 60ms);
}
.menu-open .menu nav a { opacity: 1; transform: none; transition-delay: calc(180ms + var(--d) * 70ms); }
.menu-foot { color: var(--mist); font-family: var(--font-mono); font-size: 0.82rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(156, 196, 136, 0.13), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(217, 119, 63, 0.08), transparent 70%),
    var(--night);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 240, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 240, 230, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(70% 70% at 60% 45%, #000 30%, transparent 85%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 32px;
  align-items: center;
  padding-block: 128px 40px;
}
.hero-copy { min-width: 0; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.9rem, 1.2rem + 6vw, 6.6rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.hero h1 .w { padding-bottom: 0.12em; margin-bottom: -0.12em; }
.grows { position: relative; display: inline-block; color: var(--leaf); }
.squiggle {
  position: absolute;
  left: -2%;
  bottom: -0.1em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
  pointer-events: none;
}
.squiggle path { fill: none; stroke: var(--copper); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lede {
  max-width: 33em;
  margin-top: 28px;
  color: var(--mist);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.specimen { justify-self: center; width: 100%; max-width: 560px; margin: 0; }
.specimen-stage { position: relative; width: 100%; aspect-ratio: 560 / 520; touch-action: pan-y; }
.specimen-stage canvas, .specimen-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.specimen-stage svg { pointer-events: none; overflow: visible; }
.specimen figcaption { margin-top: 4px; color: var(--mist); font-family: var(--font-mono); font-size: 0.76rem; text-align: center; }
.anno line { stroke: rgba(233, 240, 230, 0.45); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
.anno circle { fill: var(--copper); }
.anno text { fill: var(--mist); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; }

.hero-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line-dark);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 18px; height: 28px; border: 1.5px solid rgba(233, 240, 230, 0.35); border-radius: 10px; }
.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--copper);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.meta-list { display: flex; gap: 18px; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; }
.live-chip time { color: var(--cream); font-variant-numeric: tabular-nums; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--leaf); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

/* Marquee */
.marquee { position: relative; overflow: hidden; padding-block: 64px 72px; background: var(--night); }
.mq-row {
  width: 112%;
  margin-left: -6%;
  padding-block: 20px;
  overflow: hidden;
  background: var(--copper);
  color: var(--night);
  transform: rotate(-2.2deg);
}
.mq-row.alt { position: relative; margin-top: -12px; background: var(--moss); color: var(--cream); transform: rotate(1.6deg); }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-set { display: flex; align-items: center; }
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.3rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.mq-row.alt .mq-item { color: transparent; -webkit-text-stroke: 1.3px var(--cream); }
.mq-fox { width: 1.05em; height: 0.94em; flex: none; fill: currentColor; }
.mq-row.alt .mq-fox { color: var(--copper); }

/* Sections */
.section { position: relative; padding-block: 128px; scroll-margin-top: 80px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px 56px;
  align-items: end;
}
.section-head h2 { margin-top: 16px; font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); letter-spacing: -0.045em; }
.section-head > p { max-width: 30em; color: var(--mist); font-size: 1.12rem; }

/* Manifesto */
.statement { padding-block: 112px 120px; }
.manifesto {
  max-width: 19em;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 3.6vw, 4.3rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.manifesto .hl { color: var(--leaf); }

/* Services: stacked cards */
.stack { display: grid; gap: 32px; margin-top: 64px; }
.card {
  --vis-bg: rgba(0, 0, 0, 0.18);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--card-bg);
  color: var(--card-fg);
  transform-origin: 50% 0;
  box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, 0.5);
}
.card-shade { position: absolute; inset: 0; z-index: 4; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; }
.card-copy { position: relative; z-index: 1; display: grid; gap: 20px; align-content: start; min-width: 0; }
.card-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--card-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card h3 { font-size: clamp(2.1rem, 1.1rem + 3vw, 3.9rem); font-weight: 720; letter-spacing: -0.045em; line-height: 0.98; }
.card p { max-width: 29em; color: var(--card-muted); font-size: 1.12rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 7px 13px;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.3;
}
.card-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 28px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--vis-bg);
}
.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.card-visual > * { position: relative; }
.is-paused, .is-paused * { animation-play-state: paused !important; }

.c-web { --card-bg: var(--moss); --card-fg: var(--cream); --card-muted: #B7CABB; --pill-line: rgba(233, 240, 230, 0.24); --vis-bg: #10261B; }
.c-app { --card-bg: var(--copper); --card-fg: #1A0E07; --card-muted: #3A1F10; --pill-line: rgba(26, 14, 7, 0.3); --vis-bg: #EE6C3C; }
.c-saas { --card-bg: var(--paper); --card-fg: var(--ink); --card-muted: var(--stone); --pill-line: var(--line-paper); --vis-bg: #DCE4D5; }
.c-ai { --card-bg: var(--leaf); --card-fg: #0B1A10; --card-muted: #24402D; --pill-line: rgba(11, 26, 16, 0.3); --vis-bg: #88B474; }
.c-it { --card-bg: var(--chestnut); --card-fg: var(--cream); --card-muted: #C7B7AA; --pill-line: rgba(233, 240, 230, 0.2); --vis-bg: #1E140E; }
.c-saas .card-visual::before, .c-ai .card-visual::before, .c-app .card-visual::before { background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1.4px); }

/* Shared mock keyframes */
@keyframes sk-grow { 0% { transform: scaleX(0); } 14%, 86% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes rise { 0% { transform: translateY(16px); opacity: 0; } 14%, 86% { transform: none; opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes draw-loop { 0%, 12% { stroke-dashoffset: 1; } 48%, 84% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.sk { display: block; height: 8px; border-radius: 4px; background: #C9D2C3; transform-origin: left center; animation: sk-grow 6s var(--ease-out) infinite; }

/* Web mock */
.mock-browser { position: relative; width: min(100%, 450px); overflow: hidden; border-radius: 14px; background: #F4F7F1; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6); }
.mb-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #E1E8DC; }
.mb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E07B5A; }
.mb-bar i:nth-child(2) { background: #E8C25A; }
.mb-bar i:nth-child(3) { background: #8DB27A; }
.mb-url { flex: 1; height: 20px; margin-left: 10px; padding-left: 10px; border-radius: 6px; background: #F4F7F1; color: var(--stone); font: 500 10.5px/20px var(--font-mono); }
.mb-body { display: grid; gap: 14px; padding: 14px; }
.mb-nav { display: flex; align-items: center; gap: 8px; }
.mb-nav b { width: 46px; height: 10px; margin-right: auto; border-radius: 3px; background: var(--moss); }
.mb-nav span { width: 28px; height: 6px; border-radius: 3px; background: #C9D2C3; }
.mb-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; align-items: center; }
.mb-text { display: grid; gap: 7px; }
.mb-text .sk:nth-child(1) { height: 14px; width: 96%; background: var(--moss); }
.mb-text .sk:nth-child(2) { height: 14px; width: 70%; background: var(--moss); animation-delay: 0.15s; }
.mb-text .sk:nth-child(3) { width: 88%; animation-delay: 0.3s; }
.mb-btn { justify-self: start; margin-top: 4px; padding: 8px 13px; border-radius: 999px; background: var(--copper-deep); color: #fff; font: 600 10px/1 var(--font-body); animation: mb-click 6s infinite; }
@keyframes mb-click {
  0%, 50% { transform: scale(1); box-shadow: 0 0 0 0 rgba(180, 85, 43, 0.55); }
  54% { transform: scale(0.9); }
  62% { transform: scale(1); box-shadow: 0 0 0 12px rgba(180, 85, 43, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(180, 85, 43, 0); }
}
.mb-img { aspect-ratio: 1 / 0.85; border-radius: 10px; background: linear-gradient(110deg, #9CC488 25%, #D3EAC2 45%, #9CC488 65%) 0 0 / 300% 100%; animation: shimmer 3s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mb-cards span { height: 46px; border-radius: 8px; background: #E1E8DC; animation: rise 6s var(--ease-out) infinite; }
.mb-cards span:nth-child(2) { animation-delay: 0.12s; }
.mb-cards span:nth-child(3) { animation-delay: 0.24s; }
.mb-cursor { position: absolute; width: 22px; height: 22px; fill: var(--ink); stroke: #fff; stroke-width: 1.5; animation: cursor-move 6s var(--ease-out) infinite; }
@keyframes cursor-move { 0% { left: 86%; top: 92%; } 46%, 64% { left: 10%; top: 57%; } 100% { left: 86%; top: 92%; } }

/* App mock */
.mock-phone { position: relative; width: 214px; height: 410px; padding: 10px; border-radius: 36px; background: #1A0E07; box-shadow: 0 40px 80px -20px rgba(26, 14, 7, 0.6); }
.mp-notch { position: absolute; top: 18px; left: 50%; z-index: 2; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #1A0E07; }
.mp-screen { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 44px 14px 12px; overflow: hidden; border-radius: 27px; background: #FBF4EE; color: #1A0E07; }
.mp-head { display: flex; align-items: center; justify-content: space-between; }
.mp-head b { width: 92px; height: 12px; border-radius: 4px; background: #1A0E07; }
.mp-badge { width: 22px; height: 22px; border-radius: 50%; background: var(--copper); color: #1A0E07; font: 700 10px/22px var(--font-body); font-style: normal; text-align: center; animation: bounce 3s infinite; }
@keyframes bounce { 0%, 70%, 100% { transform: none; } 76% { transform: translateY(-5px) scale(1.15); } 84% { transform: scale(0.95); } }
.mp-toggle { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 12px; background: #F1E3D8; font: 600 10.5px/1 var(--font-body); }
.tg { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #CDB9AA; animation: tg-bg 4s infinite; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: tg-knob 4s var(--ease-out) infinite; }
@keyframes tg-bg { 0%, 40% { background: #CDB9AA; } 50%, 90% { background: #2B4E3A; } 100% { background: #CDB9AA; } }
@keyframes tg-knob { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(12px); } 100% { transform: none; } }
.mp-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mp-list li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(26, 14, 7, 0.07); animation: rise 5s var(--ease-out) infinite; }
.mp-list li:nth-child(2) { animation-delay: 0.1s; }
.mp-list li:nth-child(3) { animation-delay: 0.2s; }
.mp-list li:nth-child(4) { animation-delay: 0.3s; }
.mp-list i { width: 26px; height: 26px; flex: none; border-radius: 8px; background: #F1E3D8; }
.mp-list li:nth-child(odd) i { background: var(--sprout); }
.mp-list span { flex: 1; height: 8px; border-radius: 4px; background: #E8D9CC; }
.mp-tabbar { display: flex; justify-content: space-around; margin-top: auto; padding-top: 10px; border-top: 1px solid #EADBCF; }
.mp-tabbar i { width: 18px; height: 18px; border-radius: 6px; background: #E8D9CC; }
.mp-tabbar i:first-child { background: var(--copper); }

/* SaaS mock */
.mock-dash { position: relative; display: grid; grid-template-columns: 62px 1fr; width: min(100%, 470px); min-height: 300px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -24px rgba(14, 25, 19, 0.35); }
.md-side { display: grid; align-content: start; gap: 12px; padding: 14px 12px; background: var(--forest); }
.md-side b { width: 24px; height: 24px; border-radius: 7px; background: var(--leaf); }
.md-side span { height: 6px; border-radius: 3px; background: rgba(233, 240, 230, 0.22); }
.md-side span:nth-of-type(1) { background: var(--copper); }
.md-main { display: grid; align-content: start; gap: 12px; padding: 14px; min-width: 0; }
.md-top { display: flex; align-items: center; justify-content: space-between; }
.md-top b { width: 110px; height: 10px; border-radius: 4px; background: var(--ink); }
.md-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: #DCEBD2; color: #2B4E3A; font: 600 9.5px/1 var(--font-mono); }
.md-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3E8E4E; animation: blink 1.4s infinite; }
.md-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.md-kpis div { display: grid; gap: 7px; padding: 9px; border: 1px solid #E3E9DE; border-radius: 10px; }
.md-kpis small { color: var(--stone); font: 500 8.5px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.md-kpis .sk { width: 72%; height: 10px; background: var(--ink); }
.md-kpis div:nth-child(2) .sk { animation-delay: 0.15s; }
.md-kpis div:nth-child(3) .sk { animation-delay: 0.3s; }
.md-svg { display: block; width: 100%; height: auto; }
.md-svg .grid line { stroke: #E3E9DE; stroke-dasharray: 3 4; }
.bar { fill: var(--sprout); transform-box: fill-box; transform-origin: 50% 100%; animation: bar-grow 5s var(--ease-out) infinite; }
.bar.hot { fill: var(--copper-deep); }
@keyframes bar-grow { 0% { transform: scaleY(0); } 18%, 84% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.trend { fill: none; stroke: var(--forest); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; animation: draw-loop 5s ease-in-out infinite; }
.md-toast { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 600 10.5px/1 var(--font-body); animation: toast 5s var(--ease-out) infinite; }
.md-toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
@keyframes toast { 0%, 38% { transform: translateY(24px); opacity: 0; } 48%, 80% { transform: none; opacity: 1; } 90%, 100% { transform: translateY(24px); opacity: 0; } }

/* AI mock */
.mock-flow { width: min(100%, 470px); height: auto; overflow: visible; }
.flow-lines use { fill: none; stroke: #24402D; stroke-width: 2; stroke-dasharray: 5 7; animation: flow 0.9s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.mock-flow .node rect { fill: #F4F8F0; }
.mock-flow .node text { fill: #0B1A10; font: 600 12px var(--font-mono); }
.node-dot { fill: var(--copper-deep); }
.ai-core { fill: var(--forest); }
.ai text { fill: var(--sprout); font: 700 22px var(--font-display); }
.ai-ring { fill: none; stroke: var(--forest); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.ai-ring.r2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.9); opacity: 0; } }
.pulse-dot { fill: var(--copper-deep); }

/* IT mock */
.mock-it { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; width: min(100%, 450px); }
.rack { position: relative; display: grid; gap: 10px; padding: 14px; overflow: hidden; border: 1px solid rgba(233, 240, 230, 0.08); border-radius: 14px; background: #2E2119; }
.unit { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 8px; background: #3B2B21; }
.unit i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); animation: blink 1.6s infinite; }
.unit i:nth-child(2) { animation-delay: 0.4s; }
.unit i:nth-child(3) { background: var(--copper); animation-delay: 0.8s; }
.unit:nth-child(2) i { animation-duration: 1.1s; }
.unit:nth-child(3) i { animation-duration: 2.1s; }
.unit span { display: grid; gap: 4px; margin-left: auto; }
.unit span b { display: block; width: 64px; height: 3px; border-radius: 2px; background: rgba(233, 240, 230, 0.14); }
.scan { position: absolute; left: 0; right: 0; top: -50px; height: 50px; background: linear-gradient(180deg, transparent, rgba(156, 196, 136, 0.28), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { to { transform: translateY(230px); } }
.shield { width: 112px; height: auto; overflow: visible; }
.shield .sh { fill: rgba(217, 119, 63, 0.12); stroke: var(--copper); stroke-width: 3; stroke-linejoin: round; }
.shield .ck { fill: none; stroke: var(--leaf); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw-loop 4s ease-in-out infinite; }
.it-status { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; color: #C7B7AA; font: 500 11px/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.it-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); animation: blink 1.4s infinite; }

/* Process */
.process { position: relative; background: var(--night); }
.process-pin { padding-block: 120px 100px; overflow: hidden; }
.process-head { margin-bottom: 52px; }
.rail { position: relative; grid-column: 1 / -1; height: 2px; margin-top: 18px; background: var(--line-dark); }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--leaf), var(--copper)); transform: scaleX(0); transform-origin: left; }
.process-track {
  display: flex;
  gap: 24px;
  width: max-content;
  margin: 0;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px), calc((100vw - 1240px) / 2 + 20px));
  list-style: none;
  will-change: transform;
}
.pstep {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  width: max(330px, 31vw);
  min-height: min(410px, 54vh);
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  background: var(--forest);
  transition: border-color 0.6s, background-color 0.6s;
}
.pstep::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -40%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 63, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.8s;
}
.pstep.active { border-color: rgba(156, 196, 136, 0.35); background: #13281D; }
.pstep.active::after { opacity: 1; }
.pstep-top { display: flex; align-items: center; justify-content: space-between; }
.pstep-top svg { width: 44px; height: 44px; fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pstep-top svg path, .pstep-top svg rect, .pstep-top svg circle { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out); }
html.anim .pstep:not(.active) .pstep-top svg path,
html.anim .pstep:not(.active) .pstep-top svg rect,
html.anim .pstep:not(.active) .pstep-top svg circle { stroke-dashoffset: 1; }
.pstep-label { color: var(--mist); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pstep-num {
  display: block;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 5vw, 8.5rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1.5px rgba(233, 240, 230, 0.3);
  transition: color 0.7s var(--ease-out), -webkit-text-stroke-color 0.7s;
}
.pstep.active .pstep-num { color: var(--copper); -webkit-text-stroke-color: var(--copper); }
.pstep h3 { margin-top: 18px; font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); letter-spacing: -0.035em; }
.pstep p { max-width: 24em; margin-top: 10px; color: var(--mist); }

/* About (paper) */
.about { background: var(--paper); color: var(--ink); }
.about .eyebrow { color: var(--rust); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.entry {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-paper);
  border-radius: 26px;
  background: #F8FAF5;
  box-shadow: 0 40px 80px -40px rgba(14, 25, 19, 0.3);
}
.entry-word { min-height: 1.05em; font-family: var(--font-display); font-size: clamp(3.2rem, 2rem + 4.5vw, 6rem); font-weight: 760; letter-spacing: -0.05em; line-height: 1.05; }
.caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.04em; vertical-align: -0.04em; background: var(--copper-deep); animation: blink 1s steps(1) infinite; }
.entry-say { margin-top: 8px; color: var(--stone); font-family: var(--font-mono); font-size: 0.86rem; }
.entry-pos { margin-top: 22px; color: var(--stone); font-style: italic; }
.entry-defs { display: grid; gap: 14px; margin: 10px 0 0; padding-left: 1.4em; font-size: 1.12rem; }
.entry-defs li::marker { color: var(--rust); font-family: var(--font-mono); font-size: 0.85em; }
.entry mark {
  color: var(--rust);
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgba(217, 119, 63, 0.3) 60%) no-repeat 0 0 / 100% 100%;
  transition: background-size 1.4s var(--ease-out);
}
html.anim .entry:not(.lit) mark { background-size: 0% 100%; }
.about-copy { display: grid; gap: 22px; }
.about-copy h2 { margin-top: 14px; font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); letter-spacing: -0.045em; }
.about-copy > p { max-width: 32em; color: var(--stone); font-size: 1.16rem; }
.local {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--line-paper);
}
.map-wrap { display: grid; justify-items: start; gap: 6px; color: var(--stone); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; }
.ab-map { width: 104px; height: auto; overflow: visible; }
.ab-map .outline { fill: rgba(156, 196, 136, 0.28); stroke: var(--moss); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.local h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.local p { max-width: 30em; margin-top: 8px; color: var(--stone); }
.clock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 16px; color: var(--stone); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.clock time { color: var(--ink); font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; text-transform: none; }
.clock .pulse { background: #3E8E4E; }
.clock .pulse::after { background: #3E8E4E; }

/* Works band */
.works { background: var(--copper); color: #1A0E07; overflow: hidden; }
.works .eyebrow { color: #4A2512; }
.works-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-block: 104px; }
.works-copy { display: grid; gap: 18px; justify-items: start; }
.works h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); letter-spacing: -0.045em; max-width: 13em; }
.works p { max-width: 34em; color: #3A1F10; font-size: 1.12rem; }
.badge-wrap { position: relative; width: clamp(160px, 18vw, 230px); aspect-ratio: 1; }
.badge { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { fill: #1A0E07; font: 600 13px var(--font-mono); letter-spacing: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-core { position: absolute; inset: 27%; display: grid; place-items: center; border-radius: 50%; background: #1A0E07; }
.badge-core svg { width: 64%; height: 58%; }

/* Contact */
.contact {
  overflow: hidden;
  background:
    radial-gradient(50% 50% at 85% 20%, rgba(156, 196, 136, 0.1), transparent 70%),
    var(--night);
}
.huge { max-width: 11em; margin-top: 20px; font-size: clamp(2.9rem, 1rem + 7vw, 8rem); font-weight: 780; line-height: 1; letter-spacing: -0.055em; }
.huge .hw { display: inline-block; white-space: nowrap; }
.huge .ch { display: inline-block; overflow: hidden; padding-block: 0.04em 0.1em; margin-block: -0.04em -0.1em; vertical-align: top; transition: transform 0.5s var(--ease-out), color 0.3s; }
.huge .ch > span { display: inline-block; }
.huge .ch:hover { color: var(--copper); transform: translateY(-8%) rotate(-4deg); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 64px; }
.contact-copy { display: grid; gap: 22px; }
.contact-copy > p { max-width: 30em; color: var(--mist); font-size: 1.16rem; }
.checklist-title { font-weight: 600; }
.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: baseline; gap: 14px; }
.checklist li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--copper); transform: translateY(-2px) rotate(45deg); }
.email-card {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 40px);
  border: 1.5px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(var(--forest), var(--forest)) padding-box,
    conic-gradient(from var(--angle), rgba(233, 240, 230, 0.1) 0 52%, var(--copper) 70%, var(--leaf) 84%, rgba(233, 240, 230, 0.1) 100%) border-box;
  animation: orbit 7s linear infinite;
}
@keyframes orbit { to { --angle: 360deg; } }
.email { font-family: var(--font-display); font-size: clamp(1.4rem, 0.8rem + 1.5vw, 2.2rem); font-weight: 680; letter-spacing: -0.035em; line-height: 1.1; overflow-wrap: anywhere; user-select: all; }
.email-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-status { min-height: 1.4em; color: var(--mist); font-size: 0.92rem; }
.facts { display: grid; gap: 12px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.facts dt { color: var(--mist); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 500; }

/* Footer */
.site-footer { overflow: hidden; border-top: 1px solid var(--line-dark); background: var(--night); color: var(--mist); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; padding-block: 40px 20px; font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a { text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--cream); }
.giant-wrap { position: relative; padding-top: clamp(48px, 7vw, 110px); }
.footer-fox { position: absolute; top: 0; left: 0; width: clamp(44px, 7vw, 104px); height: auto; aspect-ratio: 382 / 340; transform-origin: 50% 100%; will-change: transform; }
.giant {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-bottom: 0.03em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(5rem, 26vw, 28rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.065em;
}
.giant span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #3B6B50 0%, rgba(26, 52, 38, 0.05) 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Intro screen */
.intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(45% 45% at 50% 44%, rgba(255, 127, 78, 0.12), transparent 70%),
    var(--night);
  will-change: transform;
}
html.intro-on .intro { display: flex; }
html.intro-lock { overflow: hidden; }
.intro-inner { display: grid; justify-items: center; padding-inline: 20px; opacity: 0; }
.intro-fox { width: clamp(150px, 19vw, 230px); height: auto; margin-bottom: 18px; overflow: visible; }
.if-outline { fill: none; stroke: var(--peach); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-word {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 2rem + 8vw, 8.5rem);
  font-weight: 780;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.intro-word .iw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.03em 0.1em; margin: 0 -0.03em -0.1em; }
.intro-word .iw > span { display: inline-block; }
.intro-tag { margin-top: 14px; padding-left: 0.42em; color: var(--mist); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.42em; text-transform: uppercase; }
.intro-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) calc(26px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
}
.intro-count { color: var(--cream); font-family: var(--font-display); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.intro-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--leaf), var(--copper)); transform-origin: 0 50%; }

/* Cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 90; display: none; pointer-events: none; }
html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { display: block; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--copper); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; mix-blend-mode: difference; }
.cursor-ring span { display: block; width: 100%; height: 100%; border: 1.5px solid #fff; border-radius: 50%; transition: transform 0.45s var(--ease-out), background-color 0.3s; }
.cursor-ring.is-hover span { transform: scale(1.7); background: #fff; }
html.cursor-out .cursor-dot, html.cursor-out .cursor-ring { opacity: 0; }

/* Pre-intro states (removed by script once animations are set up) */
html.js [data-intro] { opacity: 0; }
html.js .hero h1 .w > span { transform: translateY(110%); }
html.js .anno { opacity: 0; }
html.js .squiggle path { stroke-dashoffset: 1; }

@media (max-width: 1000px) {
  .meta-list { display: none; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; padding-block: 112px 24px; }
  .specimen { max-width: 420px; }
  .section { padding-block: 88px; }
  .section-head, .about-grid, .contact-grid, .works-inner { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .about-grid, .contact-grid { gap: 48px; }
  .card { grid-template-columns: 1fr; gap: 28px; }
  .card-visual { min-height: 320px; }
  .process-pin { padding-block: 88px; }
  .process-track { flex-direction: column; width: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .pstep { width: auto; min-height: 0; }
  .rail { display: none; }
  .badge-wrap { width: 150px; }
}
@media (min-width: 881px) {
  .card { position: sticky; top: calc(100px + var(--i) * 18px); min-height: min(560px, calc(100vh - 150px)); }
  .menu { display: none; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .anno { display: none; }
  .local { grid-template-columns: 1fr; }
  .mock-it { grid-template-columns: 1fr; justify-items: center; }
  .mock-it .rack { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Multi-page additions ---------- */

/* Skip link */
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--copper);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip:focus { transform: none; }

/* Current page in the navigation */
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu nav a[aria-current="page"] { color: var(--copper); }
.footer-links a[aria-current="page"] { color: var(--cream); }

/* Cursor labels ("View", "Go") */
.cursor-ring span { transition: transform 0.45s var(--ease-out), background-color 0.3s, border-color 0.3s; }
.cursor-ring em {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--night);
  font: 600 10.5px/1 var(--font-mono);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-ring.is-label { mix-blend-mode: normal; }
.cursor-ring.is-label span { transform: scale(2.1); border-color: var(--copper); background: var(--copper); }
.cursor-ring.is-label em { opacity: 1; }
.cursor-ring.is-down span { transform: scale(0.75); }
html.cursor-field .cursor-dot, html.cursor-field .cursor-ring { opacity: 0; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }

/* Page transition curtain. The panels have no CSS transform, so GSAP owns their position. */
.curtain { position: fixed; inset: 0; z-index: 85; visibility: hidden; pointer-events: none; }
html.nav-in .curtain, .curtain.is-active { visibility: visible; pointer-events: auto; }
.curtain-panel { position: absolute; inset: 0; will-change: transform; }
.cp-back { background: var(--moss); }
.cp-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-inline: 20px;
  background: var(--copper);
  color: var(--night);
}
.curtain-fox-wrap { display: block; will-change: transform; }
.curtain-fox { display: block; width: clamp(84px, 10vw, 140px); height: auto; aspect-ratio: 382 / 340; fill: var(--night); transform: scaleX(-1); }
.curtain-label { font-family: var(--font-display); font-size: clamp(2.8rem, 1rem + 7vw, 7.5rem); font-weight: 780; line-height: 1; letter-spacing: -0.055em; text-align: center; }

/* Page hero for inner pages: WebGL map behind a giant title */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(100svh, 1000px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 60% at 78% 30%, rgba(26, 52, 38, 0.95), transparent 72%),
    radial-gradient(35% 40% at 12% 85%, rgba(255, 127, 78, 0.08), transparent 70%),
    var(--night);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(233, 240, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 240, 230, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}
.page-gl { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s var(--ease-out); }
.page-gl.is-on { opacity: 1; }
.page-hero-inner { position: relative; padding-block: 150px 44px; }
.page-title {
  max-width: 12em;
  margin-top: 22px;
  font-size: clamp(3.3rem, 0.8rem + 10vw, 11rem);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.page-title .pw { display: inline-block; white-space: nowrap; }
.page-title .pw.accent { color: var(--leaf); }
.page-title .pc { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.2em; margin: 0 -0.04em -0.2em; }
.page-title .pc > span { display: inline-block; will-change: transform; }
.page-hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 56px; margin-top: 40px; }
.page-hero-foot .lede { margin-top: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; max-width: 34em; }
.jump a {
  padding: 10px 16px;
  border: 1px solid rgba(233, 240, 230, 0.22);
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.jump a:hover { border-color: var(--copper); background: var(--copper); color: var(--night); }
html.js .page-title, html.js .huge, html.js [data-enter] { opacity: 0; }

/* Services index on the home page, with a preview that follows the pointer */
.svc-list { margin: 64px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); transform-origin: 50% 0; }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 58px;
  align-items: center;
  gap: 24px;
  padding: 30px 12px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
  text-decoration: none;
  transition: color 0.45s var(--ease-out);
}
.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease-out);
}
.svc-row:hover, .svc-row:focus-visible { color: var(--night); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-num { color: var(--mist); font-family: var(--font-mono); font-size: 0.8rem; transition: color 0.45s; }
.svc-name { font-family: var(--font-display); font-size: clamp(1.6rem, 1rem + 2.4vw, 3.3rem); font-weight: 700; line-height: 1; letter-spacing: -0.045em; transition: transform 0.7s var(--ease-out); }
.svc-tags { color: var(--mist); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-align: right; text-transform: uppercase; transition: color 0.45s; }
.svc-arrow { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--line-dark); border-radius: 50%; transition: transform 0.7s var(--ease-out), background-color 0.45s, border-color 0.45s, color 0.45s; }
.svc-arrow svg { width: 18px; height: 18px; }
.svc-row:hover .svc-num, .svc-row:hover .svc-tags { color: var(--night); }
.svc-row:hover .svc-name { transform: translateX(16px); }
.svc-row:hover .svc-arrow { border-color: var(--night); background: var(--night); color: var(--copper); transform: rotate(-45deg); }
.svc-all { margin-top: 40px; }
.svc-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 400px;
  height: 300px;
  overflow: hidden;
  border-radius: 22px;
  pointer-events: none;
  visibility: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.svc-preview-track { height: 600%; will-change: transform; }
.svc-pane { height: calc(100% / 6); }
.svc-pane .card-visual { box-sizing: border-box; height: 100%; min-height: 0; padding: 0; border-radius: 0; }
.svc-mock { display: grid; place-items: center; width: 450px; transform: scale(0.66); }

/* Final card in the home process deck */
.pstep-cta { display: flex; flex: none; width: max(280px, 24vw); }
.pstep-cta a {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: min(410px, 54vh);
  padding: 34px;
  border-radius: 26px;
  background: var(--copper);
  color: var(--night);
  text-decoration: none;
}
.pstep-cta .eyebrow { color: var(--night); }
.pcta-title { font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 2vw, 3.4rem); font-weight: 760; line-height: 0.95; letter-spacing: -0.045em; }
.pcta-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--night); color: var(--copper); transition: transform 0.7s var(--ease-out); }
.pcta-arrow svg { width: 22px; height: 22px; }
.pstep-cta a:hover .pcta-arrow { transform: rotate(-45deg) scale(1.08); }

/* Services page */
.services-stack { padding-top: 40px; }
.services-stack .stack { margin-top: 0; }
.card { scroll-margin-top: 110px; }

/* Fox trail (How we work) */
.trail-body { position: relative; margin-top: 72px; }
.trail-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail-track { fill: none; stroke: rgba(233, 240, 230, 0.2); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.trail-line { fill: none; stroke: var(--copper); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.anim .trail-line { stroke-dashoffset: 1; }
.trail-fox { position: absolute; top: 0; left: 0; z-index: 2; display: none; width: 76px; height: auto; aspect-ratio: 382 / 340; transform-origin: 50% 100%; will-change: transform; }
html.anim .trail-fox { display: block; }
.trail-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.tstep { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 72vh; scroll-margin-top: 90px; }
.tstep-dot {
  position: absolute;
  top: 50%;
  left: 25%;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(233, 240, 230, 0.3);
  border-radius: 50%;
  background: var(--night);
  transition: background-color 0.5s, border-color 0.5s, box-shadow 0.6s var(--ease-out);
}
.tstep:nth-child(even) .tstep-dot { left: 75%; }
.tstep-card {
  grid-column: 2;
  justify-self: start;
  max-width: 470px;
  margin-left: 8%;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  background: var(--forest);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.6s;
}
.tstep:nth-child(even) .tstep-card { grid-column: 1; grid-row: 1; justify-self: end; margin: 0 8% 0 0; }
html.anim .tstep:not(.reached) .tstep-card { opacity: 0.28; transform: translateY(30px) scale(0.97); }
.tstep.reached .tstep-dot { border-color: var(--copper); background: var(--copper); box-shadow: 0 0 0 9px rgba(255, 127, 78, 0.18); }
.tstep.reached .tstep-card { border-color: rgba(255, 127, 78, 0.4); }
.tstep-num { color: transparent; font-family: var(--font-display); font-size: clamp(3.6rem, 2.4rem + 3vw, 5.2rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; -webkit-text-stroke: 1.5px var(--copper); }
.tstep h3 { margin-top: 18px; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem); letter-spacing: -0.035em; }
.tstep-card > p { margin-top: 10px; color: var(--mist); }
.tstep-get { display: grid; gap: 8px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-dark); list-style: none; }
.tstep-get li { display: flex; align-items: baseline; gap: 12px; }
.tstep-get li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--leaf); transform: translateY(-2px) rotate(45deg); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-grid h2 { margin-top: 16px; font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); letter-spacing: -0.045em; }
.qa { border-bottom: 1px solid var(--line-dark); }
.qa:first-child { border-top: 1px solid var(--line-dark); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--copper); }
.qa summary i { position: relative; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--cream); transition: transform 0.6s var(--ease-out), background-color 0.3s, border-color 0.3s, color 0.3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open]:not(.is-closing) summary i { border-color: var(--copper); background: var(--copper); color: var(--night); transform: rotate(135deg); }
.qa-body { overflow: hidden; }
.qa-body p { max-width: 36em; padding-bottom: 26px; color: var(--mist); font-size: 1.08rem; }
.qa-body a { color: var(--copper); }

/* Values (About) */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 64px; transform-origin: 50% 0; }
.value {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 48px;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  background: var(--forest);
  transition: border-color 0.4s;
}
.value::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 127, 78, 0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.value:hover { border-color: rgba(255, 127, 78, 0.4); }
.value:hover::before { opacity: 1; }
.value > * { position: relative; }
.value-top { display: flex; align-items: flex-start; justify-content: space-between; }
.value-num { color: var(--mist); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; }
.value svg { width: 48px; height: 48px; fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value svg * { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out); }
html.anim .value:not(.is-in) svg * { stroke-dashoffset: 1; }
.value h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -0.035em; }
.value p { margin-top: 10px; color: var(--mist); }

/* Contact page */
.contact-page { position: relative; padding-top: 150px; overflow: clip; isolation: isolate; }
.contact-gl { bottom: auto; height: 100vh; -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); }
.contact-lede { margin-top: 26px; }
.brief-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.brief { display: grid; gap: 26px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line-dark); border-radius: 26px; background: var(--forest); }
.brief-head { display: grid; gap: 8px; }
.brief-head p:last-child { color: var(--mist); }
.field { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.field { display: block; }
.field legend, .field-label { padding: 0; color: var(--mist); font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.field legend { margin-bottom: 12px; }
.field-label em { color: var(--stone); font-style: normal; letter-spacing: 0.04em; text-transform: none; }
.field input, .field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(233, 240, 230, 0.16);
  border-radius: 14px;
  background: rgba(10, 19, 14, 0.55);
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(152, 174, 159, 0.6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(255, 127, 78, 0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(233, 240, 230, 0.2);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.chip span::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(45deg); transition: background-color 0.3s; }
.chip:hover span { border-color: var(--cream); }
.chip input:checked + span { border-color: var(--copper); background: var(--copper); color: var(--night); }
.chip input:checked + span::before { background: currentColor; }
.chip input:focus-visible + span { outline: 3px solid var(--sprout); outline-offset: 3px; }
.chip:active span { transform: scale(0.95); }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.brief-note { color: var(--mist); font-size: 0.9rem; }
.brief-status { min-height: 1.4em; color: var(--sprout); font-size: 0.92rem; }
.side { position: sticky; top: 96px; display: grid; gap: 20px; }
.mail-preview { overflow: hidden; border-radius: 22px; background: #F4F7F1; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.mail-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: #E1E8DC; color: var(--stone); font: 500 11px/1 var(--font-mono); }
.mail-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E07B5A; }
.mail-bar i:nth-child(2) { background: #E8C25A; }
.mail-bar i:nth-child(3) { background: #8DB27A; }
.mail-bar span { margin-left: 10px; }
.mail-head { display: grid; gap: 8px; margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line-paper); font-size: 0.92rem; }
.mail-head div { display: flex; gap: 12px; }
.mail-head dt { flex: none; width: 64px; padding-top: 3px; color: var(--stone); font: 500 0.72rem/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.mail-head dd { min-width: 0; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.mail-body { min-height: 250px; padding: 16px 18px 22px; font-size: 0.95rem; line-height: 1.6; overflow-wrap: anywhere; }
.mail-body .ln { display: block; white-space: pre-wrap; min-height: 1.6em; margin-inline: -6px; padding-inline: 6px; border-radius: 6px; }
.mail-body .ln.flash { animation: flash 1.1s var(--ease-out); }
@keyframes flash { from { background: rgba(255, 127, 78, 0.35); } to { background: transparent; } }
.mail-body .ph { color: #9AA89E; }
.mail-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: var(--copper-deep); animation: blink 1s steps(1) infinite; }

/* Next-page panel */
.next-wrap { padding-block: 40px 100px; background: var(--night); }
.next {
  position: relative;
  display: grid;
  gap: 26px;
  padding: clamp(26px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-dark);
  border-radius: 34px;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  transition: color 0.5s var(--ease-out), border-color 0.5s;
}
.next::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--copper);
  clip-path: circle(0% at var(--nx, 50%) var(--ny, 100%));
  transition: clip-path 0.9s var(--ease-out);
}
.next:hover { border-color: var(--copper); color: var(--night); }
.next:hover::before { clip-path: circle(150% at var(--nx, 50%) var(--ny, 100%)); }
.next-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--mist); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.5s; }
.next:hover .next-top, .next:hover .eyebrow { color: var(--night); }
.next .eyebrow { transition: color 0.5s; }
.next-arrow { display: grid; place-items: center; width: clamp(52px, 6vw, 76px); height: clamp(52px, 6vw, 76px); flex: none; border-radius: 50%; background: var(--copper); color: var(--night); transition: transform 0.8s var(--ease-out), background-color 0.5s, color 0.5s; }
.next-arrow svg { width: 38%; height: 38%; }
.next:hover .next-arrow { background: var(--night); color: var(--copper); transform: rotate(-45deg); }
.next-title { display: block; height: 1em; overflow: hidden; font-family: var(--font-display); font-size: clamp(2.4rem, 0.8rem + 8vw, 10rem); font-weight: 780; line-height: 1; letter-spacing: -0.055em; }
.nt-row { display: block; white-space: nowrap; transition: transform 0.8s var(--ease-out); }
.next:hover .nt-row { transform: translateY(-100%); }

/* 404 */
.nf .page-hero-inner { padding-bottom: 150px; }
.nf-fox { position: absolute; bottom: 34px; left: 0; width: clamp(64px, 8vw, 100px); height: auto; aspect-ratio: 382 / 340; animation: wander 18s linear infinite; }
@keyframes wander {
  0% { transform: translateX(-130px) scaleX(-1); }
  48% { transform: translateX(calc(100vw + 30px)) scaleX(-1); }
  50% { transform: translateX(calc(100vw + 30px)) scaleX(1); }
  98% { transform: translateX(-130px) scaleX(1); }
  100% { transform: translateX(-130px) scaleX(-1); }
}

@media (max-width: 1100px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px), (hover: none) {
  .svc-preview { display: none; }
}
@media (max-width: 880px) {
  .page-hero { min-height: 88svh; }
  .page-hero-inner { padding-top: 130px; }
  .svc-row { grid-template-columns: 40px minmax(0, 1fr) 46px; gap: 14px; padding: 24px 4px; }
  .svc-tags { display: none; }
  .svc-arrow { width: 46px; height: 46px; }
  .pstep-cta { width: auto; }
  .pstep-cta a { min-height: 0; }
  .tstep { grid-template-columns: 1fr; min-height: 0; padding-block: 26px; }
  .tstep-dot { left: 16px; }
  .tstep:nth-child(even) .tstep-dot { left: 34px; }
  .tstep-card, .tstep:nth-child(even) .tstep-card { grid-column: 1; grid-row: auto; justify-self: stretch; margin: 0 0 0 58px; padding: 26px; }
  .trail-fox { width: 48px; }
  .faq-grid, .brief-grid { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; }
  .contact-page { padding-top: 120px; }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .field-row { grid-template-columns: 1fr; }
  .tstep-card, .tstep:nth-child(even) .tstep-card { margin-left: 52px; padding: 22px; }
}

/* Cybersecurity card */
.c-sec { --card-bg: var(--peach); --card-fg: #1A0E07; --card-muted: #5A3824; --pill-line: rgba(26, 14, 7, 0.28); --vis-bg: #F2B289; }
.c-sec .card-visual::before { background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1.4px); }
.mock-sec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(100%, 450px);
  padding: 22px;
  border-radius: 18px;
  background: #1A0E07;
  color: var(--cream);
  box-shadow: 0 40px 80px -24px rgba(26, 14, 7, 0.55);
}
.sec-radar {
  position: relative;
  width: 148px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(156, 196, 136, 0.35);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 23px, rgba(156, 196, 136, 0.2) 23px 24px), #22150D;
}
.sec-radar::before, .sec-radar::after { content: ""; position: absolute; background: rgba(156, 196, 136, 0.2); }
.sec-radar::before { top: 50%; left: 0; right: 0; height: 1px; }
.sec-radar::after { left: 50%; top: 0; bottom: 0; width: 1px; }
.sec-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 280deg, rgba(156, 196, 136, 0.5) 360deg); animation: spin 3s linear infinite; }
.blip { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--copper); opacity: 0; animation: blip 3s linear infinite; }
.blip.b1 { top: 26%; left: 70%; animation-delay: 0.3s; }
.blip.b2 { top: 72%; left: 64%; animation-delay: 1.1s; }
.blip.b3 { top: 60%; left: 22%; animation-delay: 2.1s; }
@keyframes blip { 0% { opacity: 0; transform: scale(0.4); } 6% { opacity: 1; transform: scale(1.3); } 40% { opacity: 0.6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1); } }
.sec-lock { position: absolute; top: 50%; left: 50%; z-index: 1; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: #1A0E07; fill: none; stroke: var(--peach); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sec-lock .shackle { animation: shackle 6s var(--ease-out) infinite; }
@keyframes shackle { 0%, 8% { transform: translateY(-4px); } 16%, 90% { transform: none; } 100% { transform: translateY(-4px); } }
.sec-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sec-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(233, 240, 230, 0.06); font: 600 11.5px/1.2 var(--font-body); }
.sec-list b { position: relative; flex: none; width: 16px; height: 16px; border: 1.5px solid rgba(233, 240, 230, 0.3); border-radius: 5px; animation: sec-box 6s var(--ease-out) infinite; }
.sec-list b::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #1A0E07; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; animation: sec-tick 6s var(--ease-out) infinite; }
.sec-list li:nth-child(2) b, .sec-list li:nth-child(2) b::after { animation-delay: 0.45s; }
.sec-list li:nth-child(3) b, .sec-list li:nth-child(3) b::after { animation-delay: 0.9s; }
.sec-list li:nth-child(4) b, .sec-list li:nth-child(4) b::after { animation-delay: 1.35s; }
@keyframes sec-box { 0%, 10% { background: transparent; border-color: rgba(233, 240, 230, 0.3); } 18%, 86% { background: var(--leaf); border-color: var(--leaf); } 96%, 100% { background: transparent; border-color: rgba(233, 240, 230, 0.3); } }
@keyframes sec-tick { 0%, 12% { opacity: 0; } 20%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
.sec-alert { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 127, 78, 0.14); color: var(--peach); font: 500 10.5px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; animation: toast 6s var(--ease-out) infinite; }
.sec-alert i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--copper); animation: blink 1s infinite; }

/* Glare that follows the pointer on service visuals */
.card-visual::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.16), transparent 55%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.stack .card-visual:hover::after { opacity: 1; }

@media (max-width: 560px) {
  .mock-sec { grid-template-columns: 1fr; justify-items: center; padding: 18px; }
  .sec-radar { width: 128px; }
  .sec-list { width: 100%; }
}

.unsure-copy { max-width: 30em; margin-bottom: 26px; color: var(--mist); font-size: 1.12rem; }
.svc-pane .svc-mock { position: absolute; top: 50%; left: 50%; width: 450px; transform: translate(-50%, -50%) scale(0.66); }


/* ---------- Polish: shared details ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 0.5em;
  border: 1px solid rgba(233, 240, 230, 0.16);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: rgba(233, 240, 230, 0.05);
  color: var(--mist);
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Copper buttons catch the light on hover */
.btn-copper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.42) 48%, transparent 64%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn-copper:hover::after { transform: translateX(130%); transition: transform 0.95s var(--ease-out); }

/* Paragraphs that rise in line by line */
.lr { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.lr > span { display: block; will-change: transform; }

/* Hero: what you can count on */
.hero-promise { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--mist); font-size: 0.92rem; }
.hero-promise li { display: inline-flex; align-items: center; gap: 9px; }
.hero-promise li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: rgba(156, 196, 136, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%239CC488' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Quick search ---------- */
.cmdk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 8px 0 14px;
  border: 1px solid rgba(233, 240, 230, 0.16);
  border-radius: 999px;
  background: rgba(233, 240, 230, 0.03);
  color: var(--mist);
  font: 500 0.9rem/1 var(--font-body);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.cmdk-btn:hover { color: var(--cream); border-color: rgba(233, 240, 230, 0.34); background: rgba(233, 240, 230, 0.06); }
.cmdk-btn svg, .footer-search svg, .cmdk-search svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.cmdk-btn kbd { height: 26px; border-radius: 999px; }
.cmdk-btn[hidden], .chapter[hidden], .footer-search[hidden] { display: none; }

.cmdk { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: max(12vh, 80px) 16px 24px; }
.cmdk[hidden] { display: none; }
.cmdk-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 7, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; }
.cmdk-panel {
  position: relative;
  width: min(640px, 100%);
  overflow: hidden;
  border: 1px solid rgba(233, 240, 230, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(26, 52, 38, 0.97), rgba(13, 26, 19, 0.98));
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.28s, transform 0.5s var(--ease-out), filter 0.4s var(--ease-out);
}
.cmdk-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), var(--leaf), transparent);
  opacity: 0.8;
}
.cmdk.is-open .cmdk-backdrop { opacity: 1; }
.cmdk.is-open .cmdk-panel { opacity: 1; transform: none; filter: none; }
.cmdk-search { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line-dark); color: var(--mist); }
.cmdk-search input {
  flex: 1;
  min-width: 0;
  height: 62px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font: 500 1.08rem/1 var(--font-body);
  outline: none;
}
.cmdk-search input::placeholder { color: var(--stone); }
.cmdk-esc { padding: 6px 9px; border: 1px solid rgba(233, 240, 230, 0.16); border-radius: 8px; background: transparent; color: var(--mist); font: 500 0.72rem/1 var(--font-mono); cursor: pointer; }
.cmdk-esc:hover { color: var(--cream); }
.cmdk-list { position: relative; max-height: min(420px, 52vh); margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; }
.cmdk-hl {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  border-radius: 12px;
  background: rgba(255, 127, 78, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 127, 78, 0.35);
  pointer-events: none;
  transition: transform 0.32s var(--ease-out), height 0.32s var(--ease-out), opacity 0.2s;
}
.cmdk-group { padding: 12px 12px 6px; color: var(--stone); font: 500 0.7rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.cmdk-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 14px;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  animation: cmdkIn 0.45s var(--ease-out) forwards;
  animation-delay: calc(min(var(--i), 10) * 22ms);
}
@keyframes cmdkIn { to { opacity: 1; transform: none; } }
.cmdk-name { color: var(--cream); font-weight: 500; }
.cmdk-hint { grid-column: 1; color: var(--mist); font-size: 0.84rem; }
.cmdk-tag { grid-column: 2; grid-row: 1 / span 2; padding: 4px 8px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--mist); font: 500 0.66rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.cmdk-item[aria-selected="true"] .cmdk-tag { border-color: rgba(255, 127, 78, 0.45); color: var(--copper); }
.cmdk-empty { padding: 26px 12px; color: var(--mist); text-align: center; }
.cmdk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px 18px; border-top: 1px solid var(--line-dark); color: var(--stone); font-size: 0.8rem; }
.cmdk-foot span { display: inline-flex; align-items: center; gap: 6px; }
.cmdk-foot kbd { min-width: 1.7em; height: 1.7em; font-size: 0.68rem; }
.cmdk-brand { margin-left: auto; color: var(--mist); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.cmdk-brand svg { width: 20px; height: 18px; fill: var(--copper); }
html.cmdk-on { overflow: hidden; }

/* Chapter indicator, bottom left on wide screens */
.chapter {
  position: fixed;
  left: 24px;
  bottom: 22px;
  z-index: 45;
  display: none;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 8px 0 16px;
  border: 1px solid rgba(233, 240, 230, 0.14);
  border-radius: 999px;
  background: rgba(10, 19, 14, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--cream);
  font: 500 0.86rem/1 var(--font-body);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.6s var(--ease-out), border-color 0.3s;
}
.chapter.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.chapter:hover { border-color: rgba(255, 127, 78, 0.5); }
.ch-count { color: var(--copper); font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.ch-total { color: var(--stone); }
.ch-name { position: relative; display: grid; overflow: hidden; height: 1.2em; min-width: 7.5em; }
.ch-name > span { grid-area: 1 / 1; line-height: 1.2; white-space: nowrap; }
.ch-name > .in { animation: chIn 0.6s var(--ease-out) both; }
.ch-name > .out { animation: chOut 0.5s var(--ease-out) both; }
@keyframes chIn { from { transform: translateY(105%); } }
@keyframes chOut { to { transform: translateY(-105%); } }
.chapter kbd { height: 28px; border-radius: 999px; }
@media (min-width: 1100px) and (hover: hover) { .chapter:not([hidden]) { display: inline-flex; } }

/* Status toast */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 95;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(156, 196, 136, 0.35);
  border-radius: 999px;
  background: rgba(26, 52, 38, 0.95);
  color: var(--cream);
  font-size: 0.92rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.site-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.site-toast:empty { visibility: hidden; }

/* ---------- Home showcase: an example dashboard ---------- */
.showcase { position: relative; overflow: clip; }
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 72% 55%, rgba(255, 127, 78, 0.09), transparent 70%), radial-gradient(40% 50% at 20% 30%, rgba(156, 196, 136, 0.07), transparent 70%);
  pointer-events: none;
}
.sc-stage { position: relative; display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding-block: 104px 48px; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.sc-copy h2 { margin-top: 16px; font-size: clamp(2.3rem, 1.3rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.045em; }
.sc-intro { max-width: 28em; margin-top: 18px; color: var(--mist); font-size: 1.05rem; }
.sc-steps { display: grid; margin: 30px 0 0; padding: 0; list-style: none; }
.sc-step { position: relative; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-dark); transition: opacity 0.5s; }
.sc-num { padding-top: 0.32em; color: var(--mist); font: 500 0.76rem/1 var(--font-mono); letter-spacing: 0.08em; transition: color 0.4s; }
.sc-step h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.sc-step-body p { margin-top: 6px; max-width: 30em; color: var(--mist); font-size: 0.95rem; }
.sc-step-bar { position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--copper), var(--peach)); transform: scaleX(0); transform-origin: 0 50%; }
.sc-step.on .sc-num { color: var(--copper); }
html.anim .sc-step { opacity: 0.4; }
html.anim .sc-step.on { opacity: 1; }
@media (min-width: 1000px) {
  html.anim .sc-step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
  html.anim .sc-step.on .sc-step-body { grid-template-rows: 1fr; }
  html.anim .sc-step-body > p { overflow: hidden; min-height: 0; }
}

.sc-visual { position: relative; container-type: inline-size; perspective: 1800px; }
.sc-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(233, 240, 230, 0.14);
  border-radius: 1.3em;
  background: #0C1812;
  box-shadow: 0 3em 7em -1.5em rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 12px;
  font-size: clamp(5px, 1.62cqi, 13px);
  line-height: 1.35;
  transform-origin: 50% 100%;
}
.sc-chrome { display: flex; align-items: center; gap: 0.5em; height: 3em; padding: 0 1.1em; border-bottom: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.025); }
.sc-chrome > i { width: 0.8em; height: 0.8em; border-radius: 50%; background: rgba(233, 240, 230, 0.16); }
.sc-chrome > i:first-child { background: rgba(255, 127, 78, 0.7); }
.sc-url { display: flex; align-items: center; gap: 0.5em; margin: 0 auto; padding: 0.4em 1.3em; border-radius: 99em; background: rgba(255, 255, 255, 0.05); color: var(--mist); font-family: var(--font-mono); font-size: 0.82em; }
.sc-url svg { width: 1em; height: 1em; fill: none; stroke: var(--leaf); stroke-width: 1.6; }
.sc-tag { padding: 0.25em 0.75em; border: 1px solid rgba(255, 127, 78, 0.45); border-radius: 99em; color: var(--copper); font-family: var(--font-mono); font-size: 0.7em; letter-spacing: 0.12em; text-transform: uppercase; }
.sc-app { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); }
.sc-side { position: relative; display: flex; flex-direction: column; gap: 0.25em; padding: 1.3em 0.9em; border-right: 1px solid var(--line-dark); background: rgba(0, 0, 0, 0.16); }
.sc-logo { display: flex; align-items: center; gap: 0.55em; margin: 0 0.5em 1.1em; font-family: var(--font-display); font-size: 1.1em; font-weight: 700; letter-spacing: -0.02em; }
.sc-logo i { width: 1.45em; height: 1.45em; border-radius: 0.45em; background: linear-gradient(135deg, var(--copper), var(--copper-deep)); }
.sc-nav { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.7em; height: 2.5em; padding: 0 0.8em; border-radius: 0.7em; color: var(--mist); transition: color 0.3s; }
.sc-nav i { width: 0.6em; height: 0.6em; border: 1.5px solid currentColor; border-radius: 0.2em; }
.sc-nav.on { color: var(--cream); background: rgba(255, 255, 255, 0.06); }
.sc-nav.on i { border-color: var(--copper); background: var(--copper); }
.sc-nav-hl { position: absolute; top: 0; left: 0.9em; right: 0.9em; height: 2.5em; border-radius: 0.7em; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 127, 78, 0.28); display: none; }
html.anim .sc-nav-hl { display: block; }
html.anim .sc-nav.on { background: transparent; }
.sc-main { display: grid; align-content: start; gap: 1em; min-width: 0; padding: 1.3em 1.5em 1.5em; }
.sc-top { display: flex; align-items: center; gap: 1em; }
.sc-hello { font-family: var(--font-display); font-size: 1.5em; font-weight: 700; letter-spacing: -0.02em; }
.sc-range { margin-left: auto; padding: 0.45em 0.9em; border: 1px solid var(--line-dark); border-radius: 0.6em; color: var(--mist); font-size: 0.85em; }
.sc-avatar { width: 2.2em; height: 2.2em; border-radius: 50%; background: linear-gradient(135deg, var(--leaf), var(--moss-2)); }
.sc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; }
.sc-kpi, .sc-panel { border: 1px solid var(--line-dark); border-radius: 1em; background: rgba(255, 255, 255, 0.025); }
.sc-kpi { display: grid; gap: 0.15em; padding: 0.9em 1.1em; }
.sc-kpi span { color: var(--mist); font-size: 0.82em; }
.sc-kpi b { font-family: var(--font-display); font-size: 2.1em; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sc-kpi em { color: var(--leaf); font: 500 0.72em/1.3 var(--font-mono); font-style: normal; }
.sc-panels { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0.9em; }
.sc-panel { position: relative; min-width: 0; padding: 0.95em 1.1em; overflow: hidden; }
.sc-label { display: flex; align-items: center; gap: 0.5em; color: var(--mist); font: 500 0.72em/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.sc-label svg { width: 1.2em; height: 1.2em; fill: var(--copper); }
.sc-chart svg { display: block; width: 100%; height: 8.2em; margin-top: 0.7em; overflow: visible; }
.sc-grid-lines { fill: none; stroke: rgba(233, 240, 230, 0.07); stroke-width: 1; }
.sc-area { fill: url(#sc-fill); }
.sc-line { fill: none; stroke: var(--copper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sc-dot { position: absolute; right: 1.1em; top: 3.15em; width: 0.8em; height: 0.8em; margin: -0.4em -0.4em 0 0; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0.35em rgba(255, 127, 78, 0.25); }
.sc-type { margin-top: 0.7em; font-size: 0.95em; line-height: 1.5; }
.sc-send { display: inline-flex; margin-top: 0.8em; padding: 0.5em 1.1em; border-radius: 99em; background: var(--copper); color: var(--night); font-size: 0.82em; font-weight: 600; }
.sc-row { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) 4.4em 6.6em; align-items: center; gap: 0.6em; padding: 0.55em 0; border-top: 1px solid var(--line-dark); font-size: 0.88em; white-space: nowrap; }
.sc-row:first-of-type { margin-top: 0.6em; }
.sc-row > span { overflow: hidden; text-overflow: ellipsis; }
.sc-time { color: var(--mist); font-family: var(--font-mono); font-size: 0.92em; }
.sc-crew { color: var(--mist); }
.sc-pill { justify-self: end; padding: 0.25em 0.75em; border-radius: 99em; font-size: 0.84em; font-weight: 600; }
.sc-pill.ok { background: rgba(156, 196, 136, 0.16); color: var(--leaf); }
.sc-pill.go { background: rgba(255, 127, 78, 0.16); color: var(--copper); }
.sc-pill.new { background: rgba(233, 240, 230, 0.1); color: var(--cream); }
.sc-sec-body { display: flex; align-items: center; gap: 1em; margin-top: 0.8em; }
.sc-ring { position: relative; flex: none; width: 5.4em; height: 5.4em; }
.sc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-ring circle { fill: none; stroke-width: 3.4; }
.sc-ring .track { stroke: rgba(233, 240, 230, 0.1); }
.sc-ring .fill { stroke: var(--leaf); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sc-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.05em; font-variant-numeric: tabular-nums; }
.sc-checks { display: grid; gap: 0.4em; margin: 0; padding: 0; list-style: none; color: var(--mist); font-size: 0.85em; }
.sc-checks li { display: flex; align-items: center; gap: 0.55em; }
.sc-checks li::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: none;
  border-radius: 0.3em;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.4' fill='none' stroke='%230A130E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.sc-notif, .sc-toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85em;
  padding: 0.85em 1.2em 0.85em 1em;
  border-radius: 1em;
  box-shadow: 0 1.6em 3.2em -1em rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.sc-notif { top: 4em; right: 1.3em; border: 1px solid rgba(156, 196, 136, 0.35); background: rgba(26, 52, 38, 0.94); }
.sc-notif > i { width: 0.75em; height: 0.75em; flex: none; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0.35em rgba(156, 196, 136, 0.2); }
.sc-toast { right: 1.3em; bottom: 1.3em; border: 1px solid rgba(255, 127, 78, 0.45); background: rgba(42, 29, 21, 0.95); }
.sc-toast svg { width: 1.7em; height: 1.7em; flex: none; fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-notif b, .sc-toast b { display: block; font-size: 0.95em; }
.sc-notif span, .sc-toast span { color: var(--mist); font-size: 0.82em; }
.sc-cursor { position: absolute; top: 0; left: 0; z-index: 3; display: none; width: 1.9em; height: 1.9em; fill: var(--cream); stroke: var(--night); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 0.3em 0.4em rgba(0, 0, 0, 0.55)); pointer-events: none; }
html.anim .sc-cursor { display: block; }
@container (max-width: 560px) {
  .sc-window { font-size: 2.35cqi; }
  .sc-app { grid-template-columns: minmax(0, 1fr); }
  .sc-side { display: none; }
  .sc-kpi em { display: none; }
}

/* ---------- Footer ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: 72px 48px;
}
.footer-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-brand p { max-width: 24em; color: var(--mist); font-size: 0.95rem; }
.footer-mail { color: var(--cream); font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; letter-spacing: -0.02em; text-decoration: none; background: linear-gradient(var(--copper), var(--copper)) 0 100% / 0% 1.5px no-repeat; transition: background-size 0.5s var(--ease-out), color 0.3s; }
.footer-mail:hover { color: var(--copper); background-size: 100% 1.5px; }
.footer-h { margin-bottom: 16px; color: var(--stone); font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col .footer-links { display: grid; gap: 10px; justify-items: start; }
.footer-col .footer-links a { color: var(--mist); font-size: 0.95rem; }
.footer-live { display: inline-flex; align-items: center; gap: 10px; color: var(--mist); font-size: 0.95rem; }
.footer-live time { color: var(--cream); font-variant-numeric: tabular-nums; }
.footer-note { margin-top: 10px; max-width: 18em; color: var(--mist); font-size: 0.9rem; }
.footer-search { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 8px 8px 14px; border: 1px solid rgba(233, 240, 230, 0.16); border-radius: 999px; background: transparent; color: var(--mist); font: 500 0.88rem/1 var(--font-body); cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.footer-search:hover { color: var(--cream); border-color: rgba(233, 240, 230, 0.34); }
.footer-search kbd { height: 24px; border-radius: 999px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 0.86rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--mist); text-decoration: none; transition: color 0.3s; }
.to-top span { display: inline-block; transition: transform 0.5s var(--ease-out); }
.to-top:hover { color: var(--cream); }
.to-top:hover span { transform: translateY(-4px); }

/* ---------- About values as a bento grid ---------- */
.value-grid.bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento .value { min-height: 0; gap: 26px; align-content: start; padding: 18px 18px 28px; }
.bento .v-talk, .bento .v-code { grid-column: span 3; }
.bento .v-last { grid-column: span 2; }
.bento .v-ab { grid-column: span 4; }
.value-vis {
  position: relative;
  display: grid;
  place-items: center;
  height: 230px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background:
    linear-gradient(rgba(233, 240, 230, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(233, 240, 230, 0.035) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(10, 19, 14, 0.6);
}
.value-copy { display: grid; gap: 4px; padding-inline: 12px; }
.value-copy .value-num { margin-bottom: 8px; color: var(--copper); }
.bento .value p { margin-top: 6px; }

/* Plain talk: a short chat */
.vt-chat { display: grid; gap: 10px; width: min(100%, 360px); font-size: 0.9rem; }
.bub { max-width: 82%; margin: 0; padding: 10px 14px; border-radius: 16px; line-height: 1.4; }
.bub.them { justify-self: start; border-bottom-left-radius: 5px; background: rgba(233, 240, 230, 0.08); color: var(--cream); }
.bub.us { position: relative; display: grid; justify-self: end; border-bottom-right-radius: 5px; background: var(--copper); color: var(--night); font-weight: 500; }
.bub.us > span { grid-area: 1 / 1; }
.bub.late { font-size: 0.85rem; }
.bub .dots { display: inline-flex; align-self: center; gap: 4px; padding: 4px 2px; opacity: 0; }
.bub .dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dotty 1s infinite; }
.bub .dots i:nth-child(2) { animation-delay: 0.15s; }
.bub .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotty { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
html.anim .v-talk:not(.is-in) .bub { opacity: 0; }
html.anim .v-talk.is-in .bub { animation: bubIn 0.6s var(--ease-out) both; }
html.anim .v-talk.is-in .bub.us { animation-delay: 0.7s; }
html.anim .v-talk.is-in .bub.late { animation-delay: 3.6s; }
html.anim .v-talk.is-in .bub.us .dots { animation: dotsLife 2.2s linear 0.7s both; }
html.anim .v-talk.is-in .bub.us .txt { animation: showAt 0.6s var(--ease-out) 2.9s both; }
@keyframes bubIn { from { opacity: 0; transform: translateY(12px) scale(0.92); } }
@keyframes dotsLife { 0%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes showAt { from { opacity: 0; } }

/* Clean code: lines type in, then the tests pass */
.vt-code { position: relative; width: 100%; max-width: 420px; padding: 16px 0 50px; border-radius: 12px; font: 500 0.78rem/1.75 var(--font-mono); }
.cl { display: flex; gap: 14px; white-space: pre; }
.cl i { width: 1.2em; color: var(--stone); font-style: normal; text-align: right; }
.cl b { font-weight: 500; }
.cl .k { color: var(--leaf); }
.cl .f { color: var(--peach); }
.vt-pass { position: absolute; left: 0; bottom: 4px; padding: 6px 12px; border-radius: 999px; background: rgba(156, 196, 136, 0.16); color: var(--leaf); font-size: 0.74rem; }
html.anim .v-code:not(.is-in) .cl span, html.anim .v-code:not(.is-in) .vt-pass { opacity: 0; }
html.anim .v-code.is-in .cl span { animation: typeLine 0.7s steps(24, end) both; animation-delay: calc(var(--l) * 0.55s + 0.2s); }
html.anim .v-code.is-in .vt-pass { animation: bubIn 0.6s var(--ease-out) 3.2s both; }
@keyframes typeLine { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Made to last: a release log */
.vt-log { position: relative; display: grid; gap: 14px; width: 100%; max-width: 260px; margin: 0; padding: 0 0 0 22px; list-style: none; font-size: 0.88rem; }
.vt-log::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 5px; width: 1.5px; background: linear-gradient(var(--leaf), var(--copper)); transform-origin: 50% 0; transition: transform 1.8s var(--ease-out); }
.vt-log li { position: relative; display: flex; gap: 12px; align-items: baseline; transition: opacity 0.6s, transform 0.8s var(--ease-out); transition-delay: calc(var(--l) * 0.35s + 0.2s); }
.vt-log li::before { content: ""; position: absolute; left: -21px; top: 0.4em; width: 10px; height: 10px; border: 2px solid var(--leaf); border-radius: 50%; background: var(--night); }
.vt-log li:last-child::before { border-color: var(--copper); background: var(--copper); box-shadow: 0 0 0 5px rgba(255, 127, 78, 0.18); }
.vt-log b { color: var(--copper); font: 500 0.78rem/1 var(--font-mono); }
.vt-log span { color: var(--cream); }
html.anim .v-last:not(.is-in) .vt-log::before { transform: scaleY(0); }
html.anim .v-last:not(.is-in) .vt-log li { opacity: 0; transform: translateX(-10px); }

/* Built in Alberta: arcs from Alberta across Canada */
html .value-grid.bento .value svg, html .value-grid.bento .value svg * { stroke-dasharray: none; stroke-dashoffset: 0; }
.bento .vt-map { width: 100%; height: auto; max-width: 520px; overflow: visible; stroke: none; }
html .value-grid.bento .vt-map .arc { fill: none; stroke: rgba(255, 127, 78, 0.55); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out); transition-delay: calc(var(--a) * 0.12s + 0.2s); }
html.anim .value-grid.bento .v-ab:not(.is-in) .vt-map .arc { stroke-dashoffset: 1; }
.vt-map .prov circle { fill: var(--stone); }
.vt-map .prov text { fill: var(--mist); font: 500 9.5px var(--font-mono); text-anchor: middle; letter-spacing: 0.06em; }
.vt-map .prov.home circle { fill: var(--copper); }
.vt-map .prov.home text { fill: var(--cream); }
.vt-map .ping { fill: none; stroke: var(--copper); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: mapPing 2.4s var(--ease-out) infinite; }
@keyframes mapPing { from { transform: scale(1); opacity: 0.9; } to { transform: scale(4.5); opacity: 0; } }
.vt-time { position: absolute; top: 14px; left: 16px; display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--mist); font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.04em; }
.vt-time time { color: var(--cream); }

/* ---------- Contact: what happens next ---------- */
.after { margin-top: 96px; }
.after-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 26px 0 0; padding: 0; list-style: none; }
.after-steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: linear-gradient(90deg, var(--copper), rgba(156, 196, 136, 0.5), rgba(233, 240, 230, 0.1)); }
.after-steps li { position: relative; display: grid; gap: 8px; align-content: start; }
.as-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border: 1px solid rgba(255, 127, 78, 0.5); border-radius: 50%; background: var(--night); color: var(--copper); font: 500 0.9rem/1 var(--font-mono); }
.after-steps h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.after-steps p { max-width: 22em; color: var(--mist); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cmdk-btn-text { display: none; }
}
@media (max-width: 999px) {
  .sc-stage { min-height: 0; padding-block: 96px; }
  .sc-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-visual { order: 2; }
}
@media (max-width: 880px) {
  .value-grid.bento { grid-template-columns: minmax(0, 1fr); }
  .bento .value { grid-column: auto; }
  .cmdk-btn { width: 46px; height: 46px; justify-content: center; padding: 0; border-radius: 50%; }
  .cmdk-btn kbd { display: none; }
  .after-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .after-steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--copper), rgba(233, 240, 230, 0.1)); }
  .after-steps li { padding-left: 64px; }
  .as-num { position: absolute; top: 0; left: 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 56px 36px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .hero-promise { gap: 8px 16px; font-size: 0.86rem; }
  .value-vis { height: 210px; }
  .cmdk { padding-top: 70px; }
  .cmdk-foot span:not(.cmdk-brand) { display: none; }
  .cmdk-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cmdk-item { animation: none; opacity: 1; transform: none; }
  .cmdk-panel, .cmdk-hl, .chapter, .site-toast { transition: none; }
  .ch-name > span { animation: none !important; }
  .btn-copper::after { display: none; }
  .vt-map .ping, .bub .dots i { animation: none; }
}


/* ---------- Shared: section links, pointer spotlight, glowing call to action ---------- */
[hidden] { display: none !important; }
:root { --dacc: #FF7F4E; }
.sc-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 127, 78, 0.35);
  color: var(--copper);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.4s var(--ease-out), border-color 0.3s;
}
.sc-more:hover { gap: 16px; border-color: var(--copper); }
.sc-more svg { width: 16px; height: 16px; }
.webdemo::after, .showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 127, 78, 0.075), transparent 65%);
  opacity: var(--so, 0);
  transition: opacity 0.6s;
  pointer-events: none;
}
.glow-border { animation: glowPulse 2.8s var(--ease-out) infinite; }
@keyframes glowPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 127, 78, 0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 127, 78, 0); } }

/* ---------- Home: a website designs itself ---------- */
.webdemo { position: relative; overflow: clip; }
/* Pinned demos fill exactly one screen, padding included */
.webdemo .sc-stage, .showcase .sc-stage { box-sizing: border-box; }
.webdemo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 70% 50%, rgba(156, 196, 136, 0.08), transparent 70%), radial-gradient(40% 50% at 15% 70%, rgba(255, 127, 78, 0.06), transparent 70%);
  pointer-events: none;
}
.wd-visual { position: relative; container-type: inline-size; perspective: 1800px; padding-top: 40px; }
.wd-device {
  position: relative;
  container: wdd / inline-size;
  width: 100%;
  height: 35em;
  overflow: hidden;
  border: 1px solid rgba(233, 240, 230, 0.14);
  border-radius: 1.3em;
  background: #0C1812;
  box-shadow: 0 3em 7em -1.5em rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #10251A;
  font-family: var(--font-body);
  font-size: 12px;
  font-size: clamp(5px, 1.62cqi, 13px);
  line-height: 1.35;
  transform-origin: 50% 100%;
}
.wd-viewport { position: relative; height: calc(100% - 3em); overflow: hidden; background: #F6F8F2; }
.wd-page { display: grid; gap: 1.6em; padding: 1.3em 2em 2em; }
.wd-nav { display: flex; align-items: center; gap: 1.4em; }
.wd-logo { display: inline-flex; align-items: center; gap: 0.5em; color: #173325; font-family: var(--font-display); font-size: 1.25em; font-weight: 750; letter-spacing: -0.02em; }
.wd-logo i { width: 1.2em; height: 1.2em; border-radius: 0.45em 0.45em 0.45em 0; background: linear-gradient(135deg, #3E8B57, #1F5C38); transition: opacity 0.4s; }
.wd-links { display: flex; gap: 1.3em; margin-left: auto; color: #4A5E52; font-size: 0.95em; }
.wd-cta { padding: 0.55em 1.1em; border-radius: 99em; background: #1F5C38; color: #fff; font-size: 0.9em; font-weight: 600; white-space: nowrap; }
.wd-burger { display: none; gap: 0.3em; margin-left: auto; padding: 0.6em 0.5em; }
.wd-burger i { display: block; width: 1.5em; height: 0.17em; border-radius: 1em; background: #173325; }
.wd-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.8em; align-items: center; }
.wd-hero-copy { display: grid; gap: 0.9em; justify-items: start; }
.wd-kicker { color: #2F7A4A; font: 600 0.78em/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.wd-h { position: relative; color: #10251A; font-family: var(--font-display); font-size: 2.9em; font-weight: 750; line-height: 0.98; letter-spacing: -0.04em; }
.wd-p { max-width: 24em; color: #4A5E52; font-size: 1.05em; }
.wd-btns { display: flex; flex-wrap: wrap; gap: 0.6em; }
.wd-btn { padding: 0.75em 1.3em; border-radius: 99em; background: #E2653A; color: #fff; font-size: 0.95em; font-weight: 600; }
.wd-btn.ghost { background: transparent; color: #173325; box-shadow: inset 0 0 0 1.5px rgba(23, 51, 37, 0.25); }
.wd-art { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1.2em; background: linear-gradient(#FCE3C8, #F7C9A0); }
.wd-art svg { display: block; width: 100%; height: 100%; transition: opacity 0.5s; }
.wd-sun { fill: #FF9A5C; }
.wd-art .h3 { fill: #9CC488; }
.wd-art .h2 { fill: #5E9E62; }
.wd-art .h1 { fill: #2F6B45; }
.wd-art .tree rect { fill: #5B3A22; }
.wd-art .tree circle { fill: #2F6B45; }
.wd-art .t2 circle { fill: #3E8B57; }
.wd-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; }
.wd-feat { display: grid; gap: 0.25em; padding: 1em 1.1em; border-radius: 1em; background: #fff; box-shadow: 0 0.4em 1.4em -0.6em rgba(16, 37, 26, 0.25); }
.wd-feat i { width: 1.9em; height: 1.9em; margin-bottom: 0.35em; border-radius: 0.6em; background: #E6F0DE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.4' fill='none' stroke='%232F7A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat; transition: opacity 0.4s; }
.wd-feat b { color: #10251A; font-size: 1em; }
.wd-feat span { color: #5B6E62; font-size: 0.85em; }
.wd-book { display: grid; gap: 0.8em; padding: 1.2em; border-radius: 1.2em; background: #10251A; color: #E9F0E6; }
.wd-book > b { font-family: var(--font-display); font-size: 1.3em; }
.wd-days { display: flex; gap: 0.5em; }
.wd-days span { flex: 1; padding: 0.6em 0; border-radius: 0.7em; background: rgba(255, 255, 255, 0.07); font-size: 0.9em; text-align: center; transition: background 0.3s, color 0.3s, transform 0.3s; }
.wd-days .pick { background: #E2653A; color: #fff; transform: scale(1.06); }
.wd-submit { position: relative; display: grid; overflow: hidden; padding: 0.8em; border-radius: 99em; background: #9CC488; color: #10251A; font-weight: 700; text-align: center; transition: background 0.4s; }
.wd-submit > span { grid-area: 1 / 1; transition: transform 0.45s var(--ease-out), opacity 0.3s; }
.wd-submit .b { opacity: 0; transform: translateY(120%); }
.wd-submit.done { background: #CFE6BC; }
.wd-submit.done .a { opacity: 0; transform: translateY(-120%); }
.wd-submit.done .b { opacity: 1; transform: none; }

/* Wireframe until each piece is "painted" in */
.wt, .wb { transition: color 0.5s, background-color 0.5s, box-shadow 0.5s, outline-color 0.5s; }
html.anim .wd-device .wt:not(.on) { color: transparent; background-color: #DCE3D6; border-radius: 0.35em; }
html.anim .wd-device .wb:not(.on) { color: transparent; background: transparent; box-shadow: none; outline: 1.5px dashed rgba(16, 37, 26, 0.28); outline-offset: -1.5px; }
html.anim .wd-device .wb:not(.on) i, html.anim .wd-device .wt:not(.on) i { opacity: 0; }
html.anim .wd-art.wb:not(.on) {
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(16, 37, 26, 0.2) 50%, transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(16, 37, 26, 0.2) 50%, transparent calc(50% + 1px));
}
html.anim .wd-art.wb:not(.on) svg { opacity: 0; }
html.anim .wd-book.wb:not(.on) .wd-days span, html.anim .wd-book.wb:not(.on) .wd-submit { background: #DCE3D6; color: transparent; }
.wd-guides { position: absolute; inset: 3em 0 0; opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.wd-device.guides .wd-guides { opacity: 1; }
.wd-cols { position: absolute; inset: 0 2em; background-image: linear-gradient(90deg, rgba(255, 127, 78, 0.09) 0 80%, transparent 80%); background-size: calc(100% / 12) 100%; }
.wd-h::before, .wd-h::after { position: absolute; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.wd-h::after {
  content: "";
  inset: -0.12em -0.14em;
  border: 1px solid var(--copper);
  background:
    linear-gradient(var(--copper), var(--copper)) 0 0 / 0.1em 0.1em no-repeat,
    linear-gradient(var(--copper), var(--copper)) 100% 0 / 0.1em 0.1em no-repeat,
    linear-gradient(var(--copper), var(--copper)) 0 100% / 0.1em 0.1em no-repeat,
    linear-gradient(var(--copper), var(--copper)) 100% 100% / 0.1em 0.1em no-repeat;
}
.wd-h::before {
  content: "Heading · 56px";
  left: -0.14em;
  bottom: calc(100% + 0.25em);
  padding: 0.2em 0.45em;
  border-radius: 0.2em;
  background: var(--copper);
  color: #fff;
  font: 600 0.24em/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.wd-h.sel::before, .wd-h.sel::after { opacity: 1; }
.wd-size {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 99px;
  color: var(--mist);
  font: 500 0.72rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wd-size i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
html:not(.anim) .wd-size, html:not(.anim) .wd-sent { display: none; }
.wd-scores { position: absolute; top: 50%; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 54%; translate: 0 -40%; }
.wd-score {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(12, 24, 18, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  color: var(--mist);
  font-size: 0.82rem;
  text-align: center;
}
.wd-ring { position: relative; width: 66px; height: 66px; }
.wd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wd-ring circle { fill: none; stroke-width: 3.2; }
.wd-ring .track { stroke: rgba(233, 240, 230, 0.1); }
.wd-ring .fill { stroke: var(--leaf); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.wd-ring b { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream); font-family: var(--font-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.wd-scores-note { grid-column: 1 / -1; color: var(--mist); font: 500 0.68rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
html:not(.anim) .wd-scores { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; margin-top: 16px; translate: none; }
.wd-sent {
  position: absolute;
  right: 6%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(156, 196, 136, 0.35);
  border-radius: 16px;
  background: rgba(26, 52, 38, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1.6em 3.2em -1em rgba(0, 0, 0, 0.7);
  color: var(--cream);
}
.wd-sent > i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px rgba(156, 196, 136, 0.2); }
.wd-sent b { display: block; font-size: 0.95rem; }
.wd-sent span { color: var(--mist); font-size: 0.8rem; }
@container wdd (max-width: 46em) {
  .wd-links { display: none; }
  .wd-cta { margin-left: auto; }
  .wd-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .wd-h { font-size: 2.5em; }
}
@container wdd (max-width: 32em) {
  .wd-page { gap: 1.2em; padding: 1em 1.3em 1.6em; }
  .wd-cta { display: none; }
  .wd-burger { display: grid; }
  .wd-hero { grid-template-columns: minmax(0, 1fr); }
  .wd-h { font-size: 2.3em; }
  .wd-art { aspect-ratio: 16 / 10; }
  .wd-feats { grid-template-columns: minmax(0, 1fr); gap: 0.6em; }
  .wd-feat { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.8em; }
  .wd-feat i { grid-row: span 2; margin: 0; }
  .wd-chrome > i { display: none; }
  .wd-chrome .sc-tag { display: none; }
}

/* Dashboard showcase: switches in the sidebar */
.sc-ctrls { display: grid; gap: 0.5em; margin-top: auto; padding: 1em 0.5em 0; border-top: 1px solid var(--line-dark); }
.sc-ctrls .sc-label { margin-bottom: 0.2em; }
.sc-ctrl { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 0.6em; color: var(--mist); font-size: 0.82em; transition: color 0.3s; }
.sc-ctrl i { position: relative; flex: none; width: 2.2em; height: 1.25em; border-radius: 99em; background: rgba(233, 240, 230, 0.16); transition: background 0.35s; }
.sc-ctrl i::after { content: ""; position: absolute; top: 0.17em; left: 0.17em; width: 0.91em; height: 0.91em; border-radius: 50%; background: var(--cream); transition: transform 0.4s var(--ease-out), background 0.3s; }
.sc-ctrl.on { color: var(--cream); }
.sc-ctrl.on i { background: var(--leaf); box-shadow: 0 0 0 0.3em rgba(156, 196, 136, 0.14); }
.sc-ctrl.on i::after { background: var(--night); transform: translateX(0.95em); }

/* ---------- Example builds: shared visual frame ---------- */
.wk-vis { position: relative; container-type: inline-size; overflow: hidden; border-radius: 22px; }
.wk-vis .card-visual { display: block; min-height: 0; aspect-ratio: 4 / 3; padding: 0; border-radius: inherit; }
.wk-vis .wk-mock { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 470px; transform: translate(-50%, -50%) scale(calc(var(--ms) * var(--mp, 1))); }
.wk-mock { --ms: 0.5; }
.wk-mock:has(.mock-phone) { --mp: 0.82; }
@container (min-width: 300px) { .wk-mock { --ms: 0.56; } }
@container (min-width: 360px) { .wk-mock { --ms: 0.64; } }
@container (min-width: 420px) { .wk-mock { --ms: 0.74; } }
@container (min-width: 520px) { .wk-mock { --ms: 0.88; } }
@container (min-width: 640px) { .wk-mock { --ms: 1; } }
@container (min-width: 760px) { .wk-mock { --ms: 1.12; } }
@container (min-width: 820px) { .wk-mock { --ms: 1.26; } }
.wk-vis:hover .card-visual::after { opacity: 1; }

/* Home strip, dragged sideways */
.wstrip { overflow: clip; }
.ws-track {
  display: flex;
  gap: 22px;
  margin-top: 56px;
  padding: 6px max(20px, calc((100vw - 1200px) / 2)) 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(20px, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
  outline: none;
}
.ws-track::-webkit-scrollbar { display: none; }
.ws-track:focus-visible { box-shadow: inset 0 0 0 2px var(--copper); }
.ws-track.can-drag { cursor: grab; -webkit-user-select: none; user-select: none; }
.ws-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.ws-track.is-drag .ws-item { pointer-events: none; }
.ws-item { position: relative; display: grid; flex: none; align-content: start; gap: 16px; width: clamp(280px, 30vw, 420px); color: var(--cream); text-decoration: none; scroll-snap-align: start; -webkit-user-drag: none; }
.ws-item .wk-vis { transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out); }
.ws-item:hover .wk-vis { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ws-item .wk-mock { translate: var(--px, 0) 0; }
.ws-meta { display: grid; gap: 6px; }
.ws-cat { color: var(--mist); font: 500 0.74rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.ws-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; transition: color 0.3s; }
.ws-item:hover .ws-title { color: var(--peach); }
.ws-end { width: clamp(240px, 22vw, 320px); }
.ws-end-in { display: grid; align-content: space-between; gap: 24px; aspect-ratio: 3 / 4; max-height: 100%; padding: 28px; border-radius: 22px; background: var(--copper); color: var(--night); transition: background 0.4s; }
.ws-end:hover .ws-end-in { background: var(--peach); }
.ws-end-in .eyebrow { color: var(--night); }
.ws-end-title { font-family: var(--font-display); font-size: 2.3rem; font-weight: 750; line-height: 1; letter-spacing: -0.04em; }
.ws-end .pcta-arrow { justify-self: end; }
.ws-end:hover .pcta-arrow { transform: rotate(-45deg); }
.ws-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ws-progress { position: relative; flex: 1; max-width: 420px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line-dark); }
.ws-progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--copper), var(--peach)); transform: scaleX(var(--p, 0.2)); transform-origin: 0 50%; }

/* ---------- Work page ---------- */
.work { padding-top: 48px; }
.wk-bar { position: sticky; top: 86px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 40px; pointer-events: none; }
.wk-bar > * { pointer-events: auto; }
.wk-filters {
  position: relative;
  display: flex;
  gap: 4px;
  max-width: 100%;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(10, 19, 14, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8);
  scrollbar-width: none;
}
.wk-filters::-webkit-scrollbar { display: none; }
.wk-filter { position: relative; z-index: 1; display: inline-flex; flex: none; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--mist); font: 600 0.92rem/1 var(--font-body); cursor: pointer; transition: color 0.35s; }
.wk-filter:hover { color: var(--cream); }
.wk-filter[aria-pressed="true"] { color: var(--night); }
.wk-filter:focus-visible { outline: 2px solid var(--cream); outline-offset: -2px; }
.wk-count { font: 500 0.7rem/1 var(--font-mono); opacity: 0.7; }
.wk-filter-hl { position: absolute; top: 5px; left: 0; width: 0; height: 40px; border-radius: 999px; background: var(--copper); transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out); }
.wk-filters:not(.has-hl) .wk-filter[aria-pressed="true"] { background: var(--copper); }
.wk-note { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: rgba(10, 19, 14, 0.78); color: var(--mist); font: 500 0.74rem/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.wk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.wk-card { position: relative; display: grid; align-content: start; gap: 22px; }
.wk-card.is-out { display: none; }
.wk-card .wk-vis .card-visual { aspect-ratio: 16 / 11; }
.wk-card .wk-vis { transition: transform 0.8s var(--ease-out); }
.wk-card:hover .wk-vis { transform: scale(0.985); }
.wk-feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); align-items: center; gap: 44px; }
.wk-feature .wk-vis { padding: 1.5px; background: conic-gradient(from var(--angle), rgba(233, 240, 230, 0.08) 0 50%, var(--copper) 70%, var(--leaf) 85%, rgba(233, 240, 230, 0.08)); animation: orbit 6s linear infinite; }
.wk-feature .wk-vis .card-visual { aspect-ratio: 16 / 10; border-radius: 20.5px; }
.wk-copy { display: grid; align-content: start; gap: 12px; }
.wk-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--mist); font: 500 0.74rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.wk-kicker span:first-child { color: var(--copper); }
.wk-title { font-size: clamp(1.7rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.wk-feature .wk-title { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.3rem); }
.wk-copy > p { max-width: 34em; color: var(--mist); font-size: 1.04rem; }
.wk-card .tags { --pill-line: var(--line-dark); color: var(--cream); }
.wk-live { justify-self: start; margin-top: 8px; }

/* Client work: live sites, shown above the concepts */
.client-work + .work { padding-top: 0; }
.client-work .section-head, .wk-head { margin-bottom: 48px; }
.cw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.cw-card { position: relative; display: grid; align-content: start; gap: 22px; }
.cw-card .wk-vis { display: block; color: inherit; text-decoration: none; transition: transform 0.8s var(--ease-out); }
.cw-card:hover .wk-vis { transform: scale(0.985); }
.cw-card .wk-vis .card-visual { aspect-ratio: 16 / 11; }
.mb-site { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 230px; padding: 36px 24px; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%), #0A130E; color: var(--cream); text-align: center; }
.mb-site b { font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 750; line-height: 1; letter-spacing: -0.04em; }
.mb-site span { color: var(--a); font: 500 0.74rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.wk-cta { padding-top: 40px; }
.wk-cta-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 56px;
  align-items: end;
  overflow: hidden;
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--line-dark);
  border-radius: 32px;
  background: radial-gradient(640px circle at var(--gx, 70%) var(--gy, 30%), rgba(255, 127, 78, 0.13), transparent 60%), linear-gradient(160deg, var(--moss), var(--forest));
}
.wk-cta-in h2 { margin-top: 14px; font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.2rem); line-height: 1; letter-spacing: -0.045em; }
.wk-cta-side p { max-width: 28em; color: var(--mist); font-size: 1.1rem; }
.wk-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* New mock-ups for the example builds */
.mock-shop { width: 440px; overflow: hidden; border-radius: 16px; background: #FFF8F0; color: #3A2414; font-family: var(--font-body); box-shadow: 0 40px 80px -24px rgba(26, 14, 7, 0.55); }
.ms-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(58, 36, 20, 0.1); }
.ms-top b { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; }
.ms-cart { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.ms-cart i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #E2653A; color: #fff; font-size: 10px; font-style: normal; animation: bounce 3s infinite; }
.ms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 18px; }
.ms-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -10px rgba(58, 36, 20, 0.4); animation: rise 6s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.15s); }
.ms-item i { grid-column: 1 / -1; height: 58px; border-radius: 8px; background: radial-gradient(circle at 35% 40%, rgba(255, 255, 255, 0.5), transparent 42%), var(--c); }
.ms-item b { font-size: 12px; }
.ms-item em { color: #E2653A; font-size: 12px; font-style: normal; font-weight: 700; }
.ms-item u { grid-column: 1 / -1; padding: 5px; border-radius: 99px; background: #3A2414; color: #FFF8F0; font-size: 11px; font-weight: 600; text-align: center; text-decoration: none; }
.ms-bar { display: block; margin: 0 18px 16px; padding: 10px 14px; border-radius: 10px; background: #2F6B45; color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
.mock-bill { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 450px; padding: 14px 0 54px; }
.mbl-plan { position: relative; display: grid; align-content: start; gap: 8px; padding: 18px 14px 14px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.55); animation: rise 6s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.15s); }
.mbl-plan.hot { margin-top: -12px; background: var(--ink); color: var(--cream); }
.mbl-plan em { position: absolute; top: -9px; left: 50%; translate: -50% 0; padding: 3px 8px; border-radius: 99px; background: var(--copper); color: var(--night); font: 600 9px/1.2 var(--font-mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.mbl-plan b { font-size: 12px; opacity: 0.7; }
.mbl-plan strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.04em; }
.mbl-plan small { font-size: 11px; font-weight: 500; opacity: 0.6; }
.mbl-plan i { height: 6px; border-radius: 3px; background: currentColor; opacity: 0.14; }
.mbl-plan i:nth-of-type(2) { width: 80%; }
.mbl-plan i:nth-of-type(3) { width: 60%; }
.mbl-plan u { margin-top: 6px; padding: 7px; border-radius: 99px; box-shadow: inset 0 0 0 1px currentColor; font-size: 11px; font-weight: 600; text-align: center; text-decoration: none; }
.mbl-plan.hot u { background: var(--copper); color: var(--night); box-shadow: none; }
.mbl-paid { position: absolute; bottom: 0; left: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: #1A3426; color: var(--cream); font-size: 12px; font-weight: 600; white-space: nowrap; translate: -50% 0; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6); animation: rise 6s var(--ease-out) 0.8s infinite; }
.mbl-paid i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.mock-portal { display: grid; gap: 8px; width: 430px; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -24px rgba(14, 25, 19, 0.35); }
.mpo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-paper); }
.mpo-head b { font-family: var(--font-display); font-size: 17px; }
.mpo-head span { color: var(--stone); font-size: 11px; }
.mpo-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; animation: rise 6s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.15s); }
.mpo-row i { width: 24px; height: 30px; border-radius: 5px; background: linear-gradient(225deg, #C9D2C3 0 22%, #E6ECE1 22%); }
.mpo-row b { font-size: 13px; font-weight: 600; }
.mpo-row em { padding: 3px 9px; border-radius: 99px; font-size: 10.5px; font-style: normal; font-weight: 600; }
.mpo-row em.go { background: rgba(255, 127, 78, 0.16); color: #C2502A; }
.mpo-row em.ok { background: rgba(47, 107, 69, 0.14); color: #2F6B45; }
.mpo-row em.warn { background: rgba(232, 194, 90, 0.28); color: #7A5C0C; }
.mpo-drop { margin-top: 4px; padding: 14px; border: 1.5px dashed #C9D2C3; border-radius: 12px; color: var(--stone); font-size: 11.5px; text-align: center; }

/* ---------- Dashboard demo ---------- */
.dash-head { position: relative; padding-block: 150px 40px; background: radial-gradient(50% 90% at 82% 0%, rgba(26, 52, 38, 0.95), transparent 70%), radial-gradient(30% 50% at 10% 100%, rgba(255, 127, 78, 0.07), transparent 70%), var(--night); }
.dash-head-in { display: grid; justify-items: start; gap: 14px; }
.dash-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--mist); font: 500 0.85rem/1 var(--font-mono); text-decoration: none; transition: color 0.3s, gap 0.3s; }
.dash-back:hover { gap: 12px; color: var(--cream); }
.dash-back svg { width: 14px; height: 14px; }
.dash-title { max-width: none; margin-top: 4px; font-size: clamp(2.8rem, 1rem + 6vw, 6.6rem); }
.dash-head .lede { max-width: 40em; margin-top: 10px; }
.dash-stage { position: relative; padding: 10px 0 90px; }
.dash-frame { max-width: 1440px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.dapp {
  position: relative;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  isolation: isolate;
  border: 1px solid rgba(233, 240, 230, 0.13);
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 236px, rgba(233, 240, 230, 0.1) 236px 237px, transparent 237px), #0C1812;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-size: 15px;
}
.dapp::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(760px circle at var(--gx, 60%) var(--gy, 0%), color-mix(in srgb, var(--dacc) 9%, transparent), transparent 60%); pointer-events: none; }
.da-nojs { padding: 30px 0; color: var(--mist); }
html.dash-ready .da-nojs { display: none; }
.da-side { position: sticky; top: 88px; z-index: 2; display: flex; flex-direction: column; align-self: start; gap: 24px; min-height: min(640px, calc(100svh - 120px)); padding: 22px 14px; }
.da-brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px; }
.da-logo { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--dacc), color-mix(in srgb, var(--dacc) 55%, #000)); transition: background 0.5s; }
.da-logo svg { width: 24px; height: 24px; color: #0A130E; fill: #0A130E; }
.da-brand b { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; letter-spacing: -0.02em; }
.da-brand em { color: var(--mist); font-size: 0.78rem; font-style: normal; }
.da-nav { position: relative; display: grid; gap: 4px; }
.da-nav-hl { position: absolute; top: 0; left: 0; width: 100%; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dacc) 38%, transparent); opacity: 0; transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.3s; pointer-events: none; }
.da-nav-hl.is-on { opacity: 1; }
.da-tab { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--mist); font: 500 0.95rem/1 var(--font-body); text-align: left; cursor: pointer; transition: color 0.3s; }
.da-tab:hover, .da-tab[aria-selected="true"] { color: var(--cream); }
.da-tab:focus-visible { outline: 2px solid var(--dacc); outline-offset: -2px; }
.da-tab svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.da-tab[aria-selected="true"] svg { stroke: var(--dacc); }
.da-badge { min-width: 20px; height: 20px; margin-left: auto; padding: 0 6px; border-radius: 99px; background: var(--dacc); color: var(--night); font: 700 0.7rem/20px var(--font-mono); font-style: normal; text-align: center; }
.da-badge.bump, .da-bell i.bump { animation: daBump 0.6s var(--ease-out); }
.da-side-foot { display: grid; gap: 10px; margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--line-dark); }
.da-status { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; }
.da-status i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(156, 196, 136, 0.18); transition: background 0.3s, box-shadow 0.3s; }
.da-status.warn i { background: #F2C14E; box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.18); }
.da-status.off i { background: var(--copper); box-shadow: 0 0 0 4px rgba(255, 127, 78, 0.2); }
.da-demo { justify-self: start; padding: 4px 9px; border: 1px solid rgba(255, 127, 78, 0.45); border-radius: 99px; color: var(--copper); font: 500 0.66rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.da-main { min-width: 0; padding: 22px 26px 28px; }
.da-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.da-hello { display: grid; gap: 2px; margin-right: auto; }
.da-hello b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.03em; }
.da-hello span { color: var(--mist); font-size: 0.85rem; }
.da-search { display: flex; align-items: center; gap: 8px; width: min(300px, 30vw); height: 42px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, box-shadow 0.3s; }
.da-search:focus-within { border-color: color-mix(in srgb, var(--dacc) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dacc) 14%, transparent); }
.da-search svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--mist); stroke-width: 1.7; stroke-linecap: round; }
.da-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--cream); font: inherit; font-size: 0.92rem; outline: none; }
.da-search input::placeholder { color: var(--mist); }
.da-bell { position: relative; display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, 0.03); color: var(--cream); cursor: pointer; transition: border-color 0.3s; }
.da-bell:hover { border-color: rgba(233, 240, 230, 0.3); }
.da-bell svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 12%; }
.da-bell.ring svg { animation: daRing 0.9s var(--ease-out); }
.da-bell i { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--dacc); color: var(--night); font: 700 0.66rem/18px var(--font-mono); font-style: normal; text-align: center; }
.da-avatar { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--leaf), var(--moss-2)); color: var(--night); font: 700 0.8rem/1 var(--font-body); }
.da-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 11px 12px 11px 14px; border: 1px solid rgba(242, 193, 78, 0.4); border-radius: 14px; background: rgba(242, 193, 78, 0.08); color: #F7DB94; font-size: 0.9rem; animation: daDrop 0.5s var(--ease-out); }
.da-banner svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.da-banner button { flex: none; margin-left: auto; padding: 8px 14px; border: 0; border-radius: 99px; background: #F2C14E; color: var(--night); font: 600 0.82rem/1 var(--font-body); cursor: pointer; }
.da-view { outline: none; }
.da-view[hidden] { display: none; }
.da-view.is-entering [style*="--i"] { animation: daIn 0.65s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms); }
.da-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.da-kpi { position: relative; display: grid; gap: 6px; min-width: 0; padding: 16px 16px 14px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.da-kpi-label { color: var(--mist); font-size: 0.8rem; }
.da-kpi-val { font-family: var(--font-display); font-size: clamp(1.45rem, 0.9rem + 1vw, 2.1rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.da-kpi-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.da-delta { flex: none; padding: 2px 8px; border-radius: 99px; font: 600 0.72rem/1.5 var(--font-mono); }
.da-delta.up { background: rgba(156, 196, 136, 0.14); color: var(--leaf); }
.da-delta.down { background: rgba(255, 127, 78, 0.14); color: var(--copper); }
.da-spark { width: 50%; height: 30px; overflow: visible; }
.da-spark .l { fill: none; stroke: var(--dacc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke 0.5s; }
.da-spark .a { fill: color-mix(in srgb, var(--dacc) 15%, transparent); }
.da-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.da-card { position: relative; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line-dark); border-radius: 20px; background: rgba(255, 255, 255, 0.025); }
.da-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.da-card h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; letter-spacing: -0.015em; }
.da-sub { display: block; margin-top: 3px; color: var(--mist); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.da-revenue .da-sub { color: var(--cream); font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.da-seg { position: relative; display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line-dark); border-radius: 11px; background: rgba(0, 0, 0, 0.22); }
.da-seg button { position: relative; z-index: 1; height: 30px; padding: 0 12px; border: 0; background: none; color: var(--mist); font: 600 0.78rem/1 var(--font-mono); cursor: pointer; transition: color 0.3s; }
.da-seg button[aria-pressed="true"] { color: var(--night); }
.da-seg button:focus-visible { outline: 2px solid var(--cream); outline-offset: -2px; border-radius: 8px; }
.da-seg-hl { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 8px; background: var(--dacc); transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out), background 0.5s; }
.da-chart { position: relative; height: 240px; margin: 0 0 26px 46px; color: var(--dacc); cursor: crosshair; outline: none; touch-action: pan-y; }
.da-chart:focus-visible { border-radius: 6px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--dacc) 60%, transparent); }
.da-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.da-gridlines { fill: none; stroke: rgba(233, 240, 230, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.da-area { fill: url(#da-fill); }
.da-line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.da-yaxis { position: absolute; top: 0; right: 100%; bottom: 0; width: 46px; }
.da-yaxis span, .da-xaxis span { position: absolute; color: var(--mist); font: 500 0.68rem/1 var(--font-mono); white-space: nowrap; }
.da-yaxis span { right: 10px; transform: translateY(-50%); }
.da-xaxis { position: absolute; top: 100%; right: 0; left: 0; height: 24px; }
.da-xaxis span { top: 10px; transform: translateX(-50%); }
.da-xaxis span:first-child { transform: none; }
.da-xaxis span:last-child { transform: translateX(-100%); }
.da-cross { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(transparent, rgba(233, 240, 230, 0.4) 25%, rgba(233, 240, 230, 0.4)); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.da-point { position: absolute; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #0C1812; border-radius: 50%; background: var(--dacc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--dacc) 28%, transparent); pointer-events: none; }
.da-point::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--dacc); animation: ping 2.2s var(--ease-out) infinite; }
.da-chart.is-hover .da-point::after { animation: none; opacity: 0; }
.da-tip { position: absolute; top: 0; left: 0; display: grid; gap: 2px; padding: 8px 11px; border: 1px solid rgba(233, 240, 230, 0.14); border-radius: 10px; background: rgba(12, 24, 18, 0.95); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6); white-space: nowrap; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.da-tip b { color: var(--cream); font-family: var(--font-display); font-size: 1rem; }
.da-tip span { color: var(--mist); font-size: 0.74rem; }
.da-chart.is-hover .da-cross, .da-chart.is-hover .da-tip { opacity: 1; }
.da-donut-wrap { position: relative; width: min(190px, 72%); aspect-ratio: 1; margin: 4px auto 14px; }
.da-donut { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.da-donut circle { fill: none; stroke-width: 14; }
.da-donut .track { stroke: rgba(233, 240, 230, 0.06); }
.da-donut .seg { transition: stroke-dasharray 1.2s var(--ease-out), stroke-dashoffset 1.2s var(--ease-out), stroke-width 0.3s, opacity 0.3s; }
.da-donut.has-hover .seg:not(.on) { opacity: 0.28; }
.da-donut .seg.on { stroke-width: 18; }
.da-donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.da-donut-mid b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.da-donut-mid span { margin-top: 4px; color: var(--mist); font-size: 0.78rem; }
.da-legend { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.da-legend button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 9px; background: none; color: var(--cream); font: 500 0.86rem/1.2 var(--font-body); text-align: left; cursor: default; transition: background 0.25s; }
.da-legend button:hover, .da-legend button.on, .da-legend button:focus-visible { background: rgba(255, 255, 255, 0.05); outline: none; }
.da-legend i { width: 10px; height: 10px; flex: none; border-radius: 3px; background: var(--c); }
.da-legend b { margin-left: auto; font: 600 0.8rem/1 var(--font-mono); }
.da-feed-list { display: grid; margin: 0; padding: 0; list-style: none; }
.da-feed-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; overflow: hidden; border-top: 1px solid var(--line-dark); }
.da-feed-list li:first-child { border-top-color: transparent; }
.da-feed-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: var(--cream); }
.da-feed-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.da-feed-ic.k-book { background: color-mix(in srgb, var(--dacc) 15%, transparent); color: var(--dacc); }
.da-feed-ic.k-pay { background: rgba(156, 196, 136, 0.14); color: var(--leaf); }
.da-feed-ic.k-review { background: rgba(242, 193, 78, 0.14); color: #F2C14E; }
.da-feed-ic.k-sec { background: rgba(108, 182, 255, 0.14); color: #8FC6FF; }
.da-feed-ic.k-job { background: rgba(156, 196, 136, 0.1); color: #CFE6BC; }
.da-feed-ic.k-ctrl { background: rgba(181, 156, 255, 0.14); color: #C9B6FF; }
.da-feed-txt { min-width: 0; }
.da-feed-txt b, .da-feed-txt span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.da-feed-txt b { font-size: 0.88rem; font-weight: 600; }
.da-feed-txt span { color: var(--mist); font-size: 0.78rem; }
.da-feed-time { color: var(--mist); font: 500 0.7rem/1 var(--font-mono); white-space: nowrap; }
.da-feed-list li.is-new { animation: daFlash 1.6s var(--ease-out); }
.da-crew-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.da-crew-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; }
.da-crew-av { display: grid; grid-row: span 2; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--night); font: 700 0.78rem/1 var(--font-body); }
.da-crew-name { font-size: 0.88rem; font-weight: 600; }
.da-crew-state { display: flex; align-items: center; gap: 6px; justify-self: end; color: var(--mist); font-size: 0.74rem; }
.da-crew-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc, var(--leaf)); }
.da-crew-bar { grid-column: 2 / -1; height: 6px; overflow: hidden; border-radius: 3px; background: rgba(233, 240, 230, 0.08); }
.da-crew-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--dacc) 50%, transparent), var(--dacc)); transform-origin: 0 50%; transition: width 1s var(--ease-out); animation: daBar 1.2s var(--ease-out) both; animation-delay: calc(var(--i) * 0.1s + 0.3s); }
.da-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.da-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.da-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid var(--line-dark); border-radius: 99px; background: none; color: var(--mist); font: 500 0.84rem/1 var(--font-body); cursor: pointer; transition: color 0.25s, background 0.25s, border-color 0.25s; }
.da-chip:hover { border-color: rgba(233, 240, 230, 0.3); color: var(--cream); }
.da-chip[aria-pressed="true"] { border-color: var(--cream); background: var(--cream); color: var(--night); }
.da-chip i { font: 600 0.7rem/1 var(--font-mono); font-style: normal; opacity: 0.7; }
.da-sort { display: flex; align-items: center; gap: 8px; color: var(--mist); font-size: 0.84rem; }
.da-sort select, .dd-crew select {
  height: 34px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: #0C1812 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2398AE9F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
  color: var(--cream);
  font: 500 0.86rem/1 var(--font-body);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.da-table-wrap { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 18px; }
.da-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.da-table th { padding: 12px 14px; background: rgba(255, 255, 255, 0.03); color: var(--mist); font: 500 0.7rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.da-table td { padding: 12px 14px; border-top: 1px solid var(--line-dark); white-space: nowrap; }
.da-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.da-table tbody tr { cursor: pointer; outline: none; transition: background 0.2s; }
.da-table tbody tr:hover, .da-table tbody tr:focus-visible { background: rgba(255, 255, 255, 0.04); }
.da-table tbody tr:focus-visible { box-shadow: inset 3px 0 0 var(--dacc); }
.da-table tbody tr.row-in { animation: daRow 0.5s var(--ease-out) both; animation-delay: calc(var(--i) * 26ms); }
.da-table tbody tr.flash { animation: daFlash 1.6s var(--ease-out); }
.c-ref { color: var(--mist); font-family: var(--font-mono); font-size: 0.8rem; }
.da-cust { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.da-cust i { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: var(--night); font: 700 0.66rem/1 var(--font-body); font-style: normal; }
.c-when, .c-crew { color: var(--mist); }
.da-table mark, .dd-head mark { padding: 0 1px; border-radius: 3px; background: color-mix(in srgb, var(--dacc) 38%, transparent); color: inherit; }
.da-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 0.76rem; font-weight: 600; white-space: nowrap; }
.da-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-new { background: rgba(233, 240, 230, 0.1); color: var(--cream); }
.s-confirmed { background: rgba(156, 196, 136, 0.14); color: var(--leaf); }
.s-progress { background: rgba(108, 182, 255, 0.14); color: #8FC6FF; }
.s-completed { background: rgba(255, 255, 255, 0.05); color: var(--mist); }
.s-cancelled { background: rgba(255, 127, 78, 0.12); color: #FF9E78; }
.da-empty { padding: 44px 20px; color: var(--mist); text-align: center; }
.da-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dt-card { display: grid; align-content: start; gap: 16px; }
.dt-top { display: flex; align-items: center; gap: 14px; }
.dt-ring { position: relative; flex: none; width: 64px; height: 64px; }
.dt-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dt-ring circle { fill: none; stroke-width: 3.6; }
.dt-ring .track { stroke: rgba(233, 240, 230, 0.08); }
.dt-ring .fill { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--off, 0); transition: stroke-dashoffset 1.3s var(--ease-out); }
.dt-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.dt-name { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.dt-lead { color: var(--mist); font-size: 0.82rem; }
.dt-top .da-pill { margin-left: auto; }
.dt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dt-stat { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.dt-stat b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.dt-stat span { color: var(--mist); font-size: 0.74rem; }
.dt-jobs { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 0.84rem; }
.dt-jobs li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-dark); }
.dt-jobs time { color: var(--mist); font-family: var(--font-mono); font-size: 0.78rem; }
.dt-jobs span:not(.da-pill) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.da-ctrl-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "ctrls preview" "accent secure"; gap: 14px; }
.da-ctrls { grid-area: ctrls; }
.da-preview { grid-area: preview; }
.da-secure { grid-area: secure; }
.da-accent { grid-area: accent; }
.dc-list { display: grid; }
.dc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.dc-row:first-child { padding-top: 4px; border-top: 0; }
.dc-row b { display: block; font-size: 0.95rem; font-weight: 600; }
.dc-row span { display: block; margin-top: 3px; color: var(--mist); font-size: 0.8rem; }
.da-switch { position: relative; flex: none; width: 52px; height: 30px; border: 0; border-radius: 99px; background: rgba(233, 240, 230, 0.14); cursor: pointer; transition: background 0.35s; }
.da-switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 99px; background: var(--cream); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.45s var(--ease-out), width 0.2s var(--ease-out); }
.da-switch:active i { width: 30px; }
.da-switch[aria-checked="true"] { background: var(--dacc); }
.da-switch[aria-checked="true"] i { transform: translateX(22px); }
.da-switch[aria-checked="true"]:active i { transform: translateX(16px); }
.da-switch:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.dp-site { position: relative; overflow: hidden; border-radius: 14px; background: #F6F8F2; color: #10251A; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.dp-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: #E1E8DC; }
.dp-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9D2C3; }
.dp-bar span { margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: #F6F8F2; color: #536459; font: 500 0.68rem/1.4 var(--font-mono); }
.dp-body { display: grid; gap: 12px; padding: 16px; }
.dp-hero b { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; letter-spacing: -0.03em; }
.dp-hero span { color: #4A5E52; font-size: 0.8rem; }
.dp-book, .dp-call { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: #10251A; color: #E9F0E6; animation: daIn 0.5s var(--ease-out); }
.dp-book b, .dp-call b { font-size: 0.9rem; }
.dp-days { display: flex; gap: 6px; }
.dp-days span { flex: 1; padding: 5px 0; border-radius: 7px; background: rgba(255, 255, 255, 0.08); font-size: 0.72rem; text-align: center; }
.dp-days .on { background: var(--dacc); color: var(--night); }
.dp-btn { padding: 7px; border-radius: 99px; background: #9CC488; color: #10251A; font-size: 0.78rem; font-weight: 700; text-align: center; }
.dp-call { background: #FFF1D6; color: #5A4310; }
.dp-call span { font-size: 0.8rem; }
.dp-site:not(.paused) .dp-call, .dp-site.paused .dp-book { display: none; }
.dp-remind { justify-self: start; padding: 4px 10px; border-radius: 99px; background: rgba(47, 107, 69, 0.12); color: #2F6B45; font: 600 0.7rem/1.4 var(--font-mono); transition: background 0.3s, color 0.3s; }
.dp-remind.off { background: rgba(83, 100, 89, 0.12); color: #536459; }
.dp-maint { position: absolute; inset: 28px 0 0; display: grid; place-content: center; justify-items: center; gap: 6px; background: #10251A; color: var(--cream); text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.dp-maint svg { width: 46px; height: 46px; color: var(--dacc); fill: var(--dacc); animation: daFloat 3s ease-in-out infinite; }
.dp-maint b { font-family: var(--font-display); font-size: 1.3rem; }
.dp-maint span { color: var(--mist); font-size: 0.8rem; }
.dp-site.maint .dp-maint { opacity: 1; visibility: visible; }
.ds-body { display: flex; align-items: center; gap: 20px; }
.ds-ring { position: relative; display: grid; flex: none; place-content: center; width: 100px; height: 100px; text-align: center; }
.ds-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ds-ring circle { fill: none; stroke-width: 3.4; }
.ds-ring .track { stroke: rgba(233, 240, 230, 0.08); }
.ds-ring .fill { stroke: var(--leaf); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out), stroke 0.4s; }
.ds-ring.warn .fill { stroke: #F2C14E; }
.ds-ring b { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ds-ring span { color: var(--mist); font-size: 0.72rem; }
.ds-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.84rem; }
.ds-list li { display: flex; align-items: center; gap: 9px; transition: color 0.3s; }
.ds-list li::before {
  content: "";
  width: 1.15em;
  height: 1.15em;
  flex: none;
  border-radius: 0.3em;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.4' fill='none' stroke='%230A130E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.ds-list li.bad { color: #F7DB94; }
.ds-list li.bad::before { background: #F2C14E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v5M8 11.6v.4' fill='none' stroke='%230A130E' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.da-swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.da-swatch { position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; transition: transform 0.35s var(--ease-out), box-shadow 0.35s; }
.da-swatch:hover { transform: scale(1.1); }
.da-swatch[aria-checked="true"] { box-shadow: 0 0 0 3px #0C1812, 0 0 0 5px var(--c); }
.da-swatch:focus-visible { outline: 2px solid var(--cream); outline-offset: 7px; }
.da-drawer-back { position: fixed; inset: 0; z-index: 70; background: rgba(5, 10, 7, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.4s; }
.da-drawer-back.is-open { opacity: 1; }
.da-drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 71;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(420px, calc(100vw - 24px));
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(233, 240, 230, 0.14);
  border-radius: 24px;
  background: #0F1D16;
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.7);
  color: var(--cream);
  font-size: 15px;
  transform: translateX(calc(100% + 24px));
  transition: transform 0.6s var(--ease-out);
}
.da-drawer.is-open { transform: none; }
.dd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dd-ref { color: var(--mist); font: 500 0.76rem/1 var(--font-mono); letter-spacing: 0.08em; }
.dd-head h2 { margin-top: 8px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.03em; }
.dd-close { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; background: none; color: var(--cream); cursor: pointer; transition: transform 0.4s var(--ease-out), background 0.3s; }
.dd-close:hover { background: rgba(255, 255, 255, 0.06); transform: rotate(90deg); }
.dd-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.dd-facts div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.dd-facts dt { color: var(--mist); font-size: 0.74rem; }
.dd-facts dd { margin: 4px 0 0; font-size: 0.95rem; font-weight: 600; }
.dd-crew { display: grid; gap: 6px; }
.dd-crew label { color: var(--mist); font-size: 0.8rem; }
.dd-crew select { height: 42px; }
.dd-h { color: var(--mist); font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.dd-time { position: relative; display: grid; gap: 14px; margin: 0; padding: 0 0 0 22px; list-style: none; }
.dd-time::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 5px; width: 1px; background: var(--line-dark); }
.dd-time li { position: relative; font-size: 0.88rem; }
.dd-time li::before { content: ""; position: absolute; top: 4px; left: -22px; width: 11px; height: 11px; border-radius: 50%; background: #0F1D16; box-shadow: inset 0 0 0 2px var(--mist); }
.dd-time li.done::before { background: var(--dacc); box-shadow: none; }
.dd-time li span { display: block; margin-top: 2px; color: var(--mist); font-size: 0.76rem; }
.dd-time li.is-new { animation: daIn 0.5s var(--ease-out); }
.dd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.dd-actions .btn[disabled] { opacity: 0.4; pointer-events: none; }
.da-toast { position: fixed; bottom: 28px; left: 50%; z-index: 72; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; border: 1px solid rgba(233, 240, 230, 0.14); border-radius: 99px; background: rgba(15, 29, 22, 0.96); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.7); color: var(--cream); font-size: 0.9rem; font-weight: 500; opacity: 0; transform: translate(-50%, 30px); transition: transform 0.5s var(--ease-out), opacity 0.4s; pointer-events: none; }
.da-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.da-toast::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--dacc); }
.da-toast:empty { visibility: hidden; }
.dash-after { padding-top: 70px; }
.dash-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 56px 0 0; padding: 0; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 24px; background: var(--line-dark); list-style: none; }
.dash-feats li { display: grid; align-content: start; gap: 10px; padding: 30px 28px 34px; background: var(--night); transition: background 0.4s; }
.dash-feats li:hover { background: #0E1A13; }
.dash-feat-num { color: var(--copper); font: 500 0.76rem/1 var(--font-mono); letter-spacing: 0.1em; }
.dash-feats h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.dash-feats p { color: var(--mist); font-size: 0.98rem; }
.dash-after-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

@keyframes daIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
@keyframes daRow { from { opacity: 0; transform: translateY(8px); } }
@keyframes daBar { from { transform: scaleX(0); } }
@keyframes daDrop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes daBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes daRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
@keyframes daFlash { from { background-color: color-mix(in srgb, var(--dacc) 16%, transparent); } to { background-color: transparent; } }
@keyframes daFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Responsive ---------- */
/* Shorter laptop screens: tighten the pinned demos so everything fits in one screen */
@media (min-width: 1000px) and (max-height: 860px) {
  .webdemo .sc-stage, .showcase .sc-stage { padding-block: 88px 22px; }
  .webdemo .sc-copy h2, .showcase .sc-copy h2 { font-size: clamp(2.3rem, 7vh, 3.6rem); }
  .webdemo .sc-intro, .showcase .sc-intro { margin-top: 12px; }
  .webdemo .sc-steps, .showcase .sc-steps { margin-top: 18px; }
  .webdemo .sc-more, .showcase .sc-more { margin-top: 14px; }
}
@media (max-width: 1180px) {
  .da-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .da-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .da-revenue, .da-feed { grid-column: 1 / -1; }
  .da-feed { order: 1; }
  .da-table .c-ref { display: none; }
}
@media (max-width: 999px) {
  .wd-visual { padding-top: 44px; }
  .wd-device { height: 46em; }
  .wd-scores { grid-template-columns: minmax(0, 1fr); gap: 6px; width: 46%; translate: 0 -50%; }
  .wd-score { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; font-size: 0.72rem; text-align: left; }
  .wd-ring { width: 36px; height: 36px; }
  .wd-ring b { font-size: 0.78rem; }
  .wd-sent { right: 2%; bottom: 4%; padding: 9px 12px; }
  .wd-sent b { font-size: 0.82rem; }
  .wd-sent span { font-size: 0.72rem; }
  .wk-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .wk-cta-in { grid-template-columns: minmax(0, 1fr); }
  .dash-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .wk-grid, .cw-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .wk-bar { top: 74px; }
  .ws-item { width: min(80vw, 340px); }
  .ws-end { width: min(64vw, 260px); }
  .ws-foot { flex-wrap: wrap; }
  .ws-progress { flex-basis: 100%; max-width: none; }
  .dash-head { padding-block: 120px 28px; }
  .dash-stage { padding-bottom: 60px; }
  .dapp { grid-template-columns: minmax(0, 1fr); border-radius: 20px; background: #0C1812; font-size: 14px; }
  .da-side {
    position: sticky;
    top: auto;
    bottom: 10px;
    z-index: 6;
    order: 2;
    flex-direction: row;
    min-height: 0;
    margin: 0 10px 10px;
    padding: 6px;
    border: 1px solid rgba(233, 240, 230, 0.14);
    border-radius: 18px;
    background: rgba(15, 29, 22, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  }
  .da-brand, .da-side-foot { display: none; }
  .da-nav { flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .da-tab { flex-direction: column; justify-content: center; gap: 5px; height: 54px; padding: 0; font-size: 0.7rem; text-align: center; }
  .da-nav-hl { height: 54px; }
  .da-badge { position: absolute; top: 4px; left: 56%; min-width: 18px; height: 18px; margin: 0; padding: 0 5px; font-size: 0.64rem; line-height: 18px; }
  .da-main { padding: 16px 14px 18px; }
  .da-top { flex-wrap: wrap; }
  .da-hello b { font-size: 1.25rem; }
  .da-search { order: 3; width: 100%; }
  .da-kpis { gap: 10px; }
  .da-kpi { padding: 13px 13px 12px; }
  .da-spark { width: 44%; }
  .da-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
  .da-card { padding: 15px 14px 14px; border-radius: 16px; }
  .da-revenue .da-card-head { flex-wrap: wrap; }
  .da-chart { height: 190px; margin-left: 38px; }
  .da-yaxis { width: 38px; }
  .da-yaxis span { right: 8px; }
  .da-table-wrap { border: 0; border-radius: 0; }
  .da-table thead { display: none; }
  .da-table, .da-table tbody { display: block; }
  .da-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cust status" "svc amt" "when crew"; gap: 6px 10px; margin-bottom: 8px; padding: 14px; border: 1px solid var(--line-dark); border-radius: 14px; }
  .da-table td { display: block; padding: 0; border: 0; }
  .da-table .c-ref { display: none; }
  .c-cust { grid-area: cust; }
  .c-status { grid-area: status; justify-self: end; }
  .c-svc { grid-area: svc; }
  .c-amt { grid-area: amt; }
  .c-when { grid-area: when; font-size: 0.8rem; }
  .c-crew { grid-area: crew; justify-self: end; font-size: 0.8rem; }
  .da-ctrl-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ctrls" "preview" "secure" "accent"; gap: 10px; }
  .da-team { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dash-feats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .wk-filter { height: 36px; padding: 0 13px; font-size: 0.86rem; }
  .wk-filter-hl { height: 36px; }
  .wk-note { display: none; }
  .ds-body { flex-direction: column; align-items: flex-start; }
  .dd-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .glow-border, .wk-feature .wk-vis, .dp-maint svg, .da-point::after, .da-view.is-entering [style*="--i"], .da-table tbody tr.row-in, .da-crew-bar i, .ms-item, .mbl-plan, .mbl-paid, .mpo-row, .ms-cart i { animation: none !important; }
  .da-drawer, .da-nav-hl, .da-seg-hl, .wk-filter-hl, .da-donut .seg, .dt-ring .fill, .ds-ring .fill { transition: none; }
}


/* Announcement banner, set from the studio admin */
.site-banner { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.7s var(--ease-out), opacity 0.5s; }
.site-banner.is-in { grid-template-rows: 1fr; opacity: 1; }
.site-header.scrolled .site-banner, .site-banner.is-gone { grid-template-rows: 0fr; opacity: 0; }
.site-banner > .sb-inner { position: relative; min-height: 0; overflow: hidden; }
.sb-row { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 0.9rem; font-weight: 500; }
.site-banner .sb-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.14) 50%, transparent 70%); transform: translateX(-100%); animation: sb-sheen 5.5s 1s var(--ease-out) infinite; pointer-events: none; }
.site-banner p { margin: 0; padding: 10px 0; text-align: center; text-wrap: balance; }
.site-banner a { flex: none; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sb-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: sb-pulse 2.2s infinite; }
.sb-x { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-left: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: 0.75; cursor: pointer; transition: opacity 0.2s, background-color 0.2s, transform 0.4s var(--ease-out); }
.sb-x:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
.sb-x svg { width: 14px; height: 14px; }
.site-banner.tone-info { background: linear-gradient(90deg, #1E3A2C, #2A4B3A, #1E3A2C); color: var(--sprout); }
.site-banner.tone-warning { background: linear-gradient(90deg, #4A3410, #5C4214, #4A3410); color: #FFE2A3; }
.site-banner.tone-success { background: linear-gradient(90deg, #C9612F, var(--copper), #C9612F); color: #1B0E07; }
html.has-banner main { margin-top: var(--banner-h, 40px); }
main { transition: margin-top 0.7s var(--ease-out); }
@keyframes sb-sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes sb-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* Availability, set from the studio admin */
.avail-pill { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 8px 15px 8px 12px; border: 1px solid rgba(156, 196, 136, 0.3); border-radius: 999px; background: rgba(26, 52, 38, 0.6); color: var(--sprout); font-size: 0.9rem; animation: avail-in 0.8s var(--ease-out) both; }
.avail-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.avail-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: avail-ping 1.8s var(--ease-out) infinite; }
.avail-pill.is-limited { border-color: rgba(242, 193, 78, 0.35); background: rgba(74, 52, 16, 0.5); color: #FFE2A3; }
.avail-pill.is-limited .avail-dot { background: #F2C14E; }
.avail-pill.is-closed { border-color: rgba(233, 240, 230, 0.18); background: rgba(10, 19, 14, 0.5); color: var(--mist); }
.avail-pill.is-closed .avail-dot { background: var(--stone); }
.avail-pill.is-closed .avail-dot::after { animation: none; }
@keyframes avail-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
@keyframes avail-ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }

/* Brief: sending, sent, closed and error states */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.brief { position: relative; }
.brief.shake { animation: brief-shake 0.45s var(--ease-out); }
.field [aria-invalid="true"] { border-color: #FF8A7A; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14); }
.brief-status.is-bad { color: #FFB4A6; }
.brief-closed { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1px solid rgba(242, 193, 78, 0.3); border-radius: 14px; background: rgba(74, 52, 16, 0.35); color: #FFE2A3; font-size: 0.94rem; }
.brief-closed svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.brief-send { position: relative; }
.brief-send:disabled { opacity: 0.5; cursor: not-allowed; }
.brief.is-closed .brief-send { display: none; }
.bs-spin { position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(10, 19, 14, 0.25); border-top-color: var(--night); border-radius: 50%; opacity: 0; }
.brief.is-sending .bs-label, .brief.is-sending .bs-arrow { opacity: 0; }
.brief.is-sending .bs-spin { opacity: 1; animation: bs-spin 0.7s linear infinite; }
.brief.is-sending .brief-send:disabled { opacity: 1; cursor: progress; }
.brief > * { transition: opacity 0.45s, transform 0.6s var(--ease-out), filter 0.45s; }
.brief.is-sent > :not(.brief-done) { opacity: 0; transform: translateY(-10px) scale(0.98); filter: blur(4px); pointer-events: none; visibility: hidden; transition: opacity 0.45s, transform 0.6s var(--ease-out), filter 0.45s, visibility 0s 0.45s; }
.brief-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 32px; text-align: center; outline: none; }
.brief-done[hidden] { display: none; }
.brief-done h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; animation: done-up 0.8s 0.55s var(--ease-out) both; }
.brief-done p { max-width: 26em; color: var(--mist); animation: done-up 0.8s 0.68s var(--ease-out) both; }
.brief-done .btn { animation: done-up 0.8s 0.8s var(--ease-out) both; }
.bd-check { width: 84px; height: 84px; stroke: var(--copper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 22px rgba(255, 127, 78, 0.45)); }
.bd-check circle { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 0.8s 0.2s var(--ease-out) forwards; }
.bd-check path { stroke: var(--sprout); stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 0.5s 0.75s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes done-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes bs-spin { to { transform: rotate(360deg); } }
@keyframes brief-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@media (max-width: 560px) {
  .sb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; font-size: 0.82rem; }
  .site-banner a { grid-column: 1; justify-self: start; margin-top: -4px; padding-bottom: 8px; }
  .sb-x { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .site-banner p { padding: 8px 0; text-align: left; }
  .sb-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-banner .sb-inner::after, .sb-dot, .avail-dot::after, .avail-pill, .brief.shake, .brief-done h2, .brief-done p, .brief-done .btn { animation: none; }
  .bd-check circle, .bd-check path { animation: none; stroke-dashoffset: 0; }
  .site-banner, main, .brief > * { transition: none; }
}
