/* ==========================================================================
   dotNear — redesign 2026
   "The Nearshore Institute": warm paper, ink, olive; editorial serif accents.
   ========================================================================== */

:root {
  --paper: #f3f0e6;
  --paper-2: #eae6d8;
  --paper-3: #e0dccb;
  --white: #fbfaf5;
  --ink: #14160f;
  --ink-2: #31352a;
  --muted: #5e6254;
  --olive: #858d37;
  --olive-deep: #4f5720;
  --olive-soft: #b9c26b;
  --lime: #cbd85a;
  --lime-soft: #e4eca3;
  --forest: #171d12;
  --forest-2: #202817;
  --line: rgba(20, 22, 15, 0.15);
  --line-strong: rgba(20, 22, 15, 0.3);
  --line-light: rgba(243, 240, 230, 0.17);
  --line-light-strong: rgba(243, 240, 230, 0.34);
  --maxw: 1380px;
  --gutter: clamp(20px, 4vw, 56px);
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
  --r: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-feature-settings: 'ss01' on, 'cv05' on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-2); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lime); color: var(--ink); }

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

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 13px;
}
.skip:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8.5vw, 132px); }
.section--paper2 { background: var(--paper-2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.hidden, [hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.display em, .display-2 em, .h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--olive-deep);
}
.display-2 {
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4.3rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.display-2 em { font-size: 1.04em; }
.h2 {
  font-weight: 500;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.h2--light { color: var(--paper); }
.h2--light em { color: var(--lime); }
.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}
.mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.5;
}
.muted { color: var(--muted); }
em { font-style: italic; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--olive-deep);
}
.eyebrow__index { color: var(--ink); }
.eyebrow__line { width: 34px; height: 1px; background: currentColor; opacity: 0.55; }
.eyebrow__label { color: var(--muted); }
.eyebrow--light { color: var(--lime); }
.eyebrow--light .eyebrow__index { color: var(--paper); }
.eyebrow--light .eyebrow__label { color: rgba(243, 240, 230, 0.62); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head > p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.02rem;
  padding-bottom: 8px;
}
.section-head--light { color: var(--paper); }
.section-head--light > p { color: rgba(243, 240, 230, 0.6); }

/* --------------------------------------------------------------------------
   Icons + links + buttons
   -------------------------------------------------------------------------- */
.icon { width: 1em; height: 1em; flex: none; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn .icon { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--olive-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost-light { border-color: var(--line-light-strong); color: var(--paper); background: transparent; }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--lime); }
.btn--sm { padding: 11px 16px; font-size: 11px; }
.btn--lg { padding: 18px 28px; font-size: 13.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow .icon { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--olive-deep); border-color: var(--olive-deep); }
.link-arrow:hover .icon { transform: translateX(3px); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 1px;
}
.tag--olive { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  border: 1px solid var(--line);
  padding: 7px 11px;
  font-size: 12px;
  line-height: 1;
  color: var(--ink-2);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 240, 230, 0.92);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.brand { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; flex: none; line-height: 1; }
.brand__word { font-size: 27px; font-weight: 500; letter-spacing: -0.055em; line-height: 0.86; color: var(--ink); }
.brand__dot { color: #73766c; }
.brand__near { color: var(--olive); }
.brand__tag { font-family: var(--mono); font-size: 6.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-left: 1px; }
.header__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.header__sep { opacity: 0.5; }

.dot-live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 0 rgba(133, 141, 55, 0.5);
  animation: pulse 2.8s infinite;
  display: inline-block;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(133, 141, 55, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(133, 141, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(133, 141, 55, 0); }
}

.nav { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 14px); margin-left: auto; }
.nav-item { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 6px; right: 6px; bottom: 2px;
  height: 1px;
  background: var(--olive-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-chev { width: 10px; height: 10px; color: var(--muted); transition: transform 0.3s var(--ease); }
.nav-item:hover .nav-chev, .nav-item:focus-within .nav-chev { transform: rotate(180deg); }
.nav-badge {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--ink);
  padding: 3px 5px;
  margin-left: 2px;
}

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}
.cart-link:hover { border-color: var(--ink); background: var(--paper-2); }
.cart-link .icon { width: 17px; height: 17px; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  background: var(--olive-deep);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-btn span { width: 16px; height: 1px; background: var(--ink); transition: transform 0.3s; }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(20, 22, 15, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
  z-index: 5;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  padding-block: 34px 40px;
}
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.mega__link {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: start;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}
.mega__link:hover { background: var(--paper-2); padding-left: 10px; }
.mega__index { font-family: var(--mono); font-size: 9px; color: var(--olive-deep); padding-top: 4px; }
.mega__text { display: flex; flex-direction: column; gap: 5px; }
.mega__text strong { font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; }
.mega__text small { color: var(--muted); font-size: 12.5px; line-height: 1.45; max-width: 44ch; }
.mega__arrow { width: 14px; height: 14px; color: var(--muted); opacity: 0; transform: translate(-4px, 4px); transition: 0.25s; }
.mega__link:hover .mega__arrow { opacity: 1; transform: none; }
.mega__note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--paper);
  padding: 24px;
  min-height: 200px;
  transition: background 0.35s;
}
.mega__note:hover { background: var(--olive-deep); }
.mega__note .eyebrow { color: var(--lime); margin-bottom: 16px; }
.mega__note p { font-size: 1.08rem; line-height: 1.4; letter-spacing: -0.015em; max-width: 24ch; }
.mega__note-cta { display: flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 24px; }
.mega__note-cta .icon { width: 14px; height: 14px; }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer__nav { padding: 10px var(--gutter) 30px; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 18px 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .icon { width: 16px; height: 16px; transition: transform 0.3s; }
.drawer__group[open] summary .icon { transform: rotate(180deg); }
.drawer__sub { padding: 0 0 14px; display: flex; flex-direction: column; }
.drawer__sub a { display: flex; gap: 12px; padding: 10px 0; font-size: 0.98rem; color: var(--muted); }
.drawer__sub a span { font-family: var(--mono); font-size: 9px; color: var(--olive-deep); padding-top: 4px; }
.drawer__sub a:hover { color: var(--ink); }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.drawer__link .icon { width: 18px; height: 18px; }
.drawer__foot { margin-top: auto; padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); }
.drawer__foot > a { font-size: 0.95rem; color: var(--muted); }
.drawer__foot .btn { margin-top: 10px; color: var(--paper); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(44px, 6vw, 84px); }
.hero__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 1px 100%, 1px 100%;
  background-position: 25% 0, 75% 0;
  background-repeat: no-repeat;
  opacity: 0.45;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero__grid-bg::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: 55vw; height: 55vw;
  max-width: 800px; max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 216, 90, 0.28), transparent 65%);
  filter: blur(20px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero__eyebrow .sep { color: var(--olive); }
.hero__title {
  font-size: clamp(3.2rem, 6.6vw, 7rem);
  margin-left: -0.02em;
}
.hero__title em { display: inline-block; }
.hero__lead {
  margin-top: 26px;
  max-width: 51ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero__stats dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero__stats dd { font-size: 1.55rem; letter-spacing: -0.04em; font-weight: 500; }
.hero__stats dd span { font-size: 0.9rem; color: var(--muted); margin-left: 2px; }

.hero__visual { position: relative; padding: 16px 0 16px 16px; }
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  border: 1px solid var(--line-strong);
  transform: translate(16px, 16px);
  pointer-events: none;
}
.hero__figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: var(--paper-2);
}
.hero__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02) sepia(0.06);
  transition: transform 1.2s var(--ease);
}
.hero__figure:hover img { transform: scale(1.03); }
.hero__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 15, 0.5), transparent 45%);
}
.hero__figure figcaption {
  position: absolute;
  z-index: 2;
  left: 18px; right: 18px; bottom: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(243, 240, 230, 0.82);
  text-transform: uppercase;
}
.hero__badge {
  position: absolute;
  z-index: 3;
  left: -26px;
  bottom: 58px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 16px 20px 14px;
  min-width: 142px;
  box-shadow: 12px 12px 0 rgba(20, 22, 15, 0.06);
}
.hero__badge .mono { color: var(--muted); }
.hero__badge strong { display: block; font-size: 3.2rem; font-weight: 500; line-height: 0.95; letter-spacing: -0.06em; margin-top: 4px; }
.hero__badge strong span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--olive-deep); margin-left: 2px; }
.hero__badge small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.hero__mini {
  position: absolute;
  z-index: 3;
  top: 34px; right: -16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 15px;
}
.hero__mini p { display: flex; flex-direction: column; line-height: 1.25; }
.hero__mini strong { font-size: 12px; font-weight: 500; }
.hero__mini span { font-size: 10.5px; color: rgba(243, 240, 230, 0.6); }
.hero__vert {
  position: absolute;
  right: -38px;
  top: 50%;
  writing-mode: vertical-rl;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  transform: translateY(-50%) rotate(180deg);
  opacity: 0.8;
}
.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.hero__latest {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.3s;
}
.hero__latest .mono { color: var(--olive-deep); }
.hero__latest .icon { width: 14px; height: 14px; transition: transform 0.3s; }
.hero__latest:hover { color: var(--ink); }
.hero__latest:hover .icon { transform: translate(2px, -2px); }
.hero__scroll { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.hero__scroll .icon { width: 14px; height: 14px; transform: rotate(90deg); }

/* --------------------------------------------------------------------------
   Logo strip / marquee
   -------------------------------------------------------------------------- */
.logo-strip { border-block: 1px solid var(--line); background: rgba(234, 230, 216, 0.45); }
.logo-strip__head { display: flex; justify-content: space-between; padding-block: 16px 6px; color: var(--muted); }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px clamp(26px, 3.4vw, 54px);
  opacity: 0.62;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
}
.logo-strip__item:hover { opacity: 1; filter: none; }
.logo-strip__item img { width: 128px; height: 58px; object-fit: contain; }

/* --------------------------------------------------------------------------
   Statement + proof
   -------------------------------------------------------------------------- */
.statement__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); }
.statement__lead {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 47ch;
  margin-bottom: 48px;
}
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.proof {
  padding: 22px 20px 24px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.proof:last-child { border-right: 0; }
.proof + .proof { padding-left: 20px; }
.proof:hover { background: var(--paper-2); padding-left: 20px; }
.proof__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; color: var(--olive-deep); }
.proof__stat { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 0.8; color: var(--ink); letter-spacing: -0.02em; }
.proof h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.proof p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.proof__label { margin-top: auto; padding-top: 18px; color: var(--muted); font-size: 9px; }

/* --------------------------------------------------------------------------
   Capabilities
   -------------------------------------------------------------------------- */
.cap-list { border-top: 1px solid var(--line-strong); }
.cap-row {
  display: grid;
  grid-template-columns: 54px 38px minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 0.95fr) 32px;
  align-items: center;
  gap: 20px;
  padding: 26px 14px 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), padding 0.4s var(--ease);
}
.cap-row:hover { background: var(--ink); color: var(--paper); padding-left: 24px; }
.cap-row__index { color: var(--olive-deep); transition: color 0.4s; }
.cap-row:hover .cap-row__index { color: var(--lime); }
.cap-row__icon { display: flex; color: var(--olive-deep); transition: color 0.4s; }
.cap-row__icon .icon { width: 24px; height: 24px; }
.cap-row:hover .cap-row__icon { color: var(--lime); }
.cap-row__title { font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -0.03em; font-weight: 500; }
.cap-row__desc { font-size: 13px; line-height: 1.55; color: var(--muted); transition: color 0.4s; }
.cap-row:hover .cap-row__desc { color: rgba(243, 240, 230, 0.64); }
.cap-row__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.cap-row__tags span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.4s;
}
.cap-row:hover .cap-row__tags span { border-color: var(--line-light); color: rgba(243, 240, 230, 0.7); }
.cap-row__arrow { justify-self: end; color: var(--muted); }
.cap-row__arrow .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease), color 0.35s; }
.cap-row:hover .cap-row__arrow .icon { transform: translate(4px, -4px); color: var(--lime); }

/* --------------------------------------------------------------------------
   Stand for (dark)
   -------------------------------------------------------------------------- */
.stand { position: relative; background: var(--forest); color: var(--paper); overflow: hidden; }
.stand__grain {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    radial-gradient(circle at 78% 20%, rgba(203, 216, 90, 0.12), transparent 45%),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 100% 100%, 25% 100%;
  background-repeat: no-repeat, no-repeat;
}
.stand__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); position: relative; }
.stand__item { padding: 32px 34px 40px 0; border-right: 1px solid var(--line-light); }
.stand__item:last-child { border-right: 0; }
.stand__item + .stand__item { padding-left: 34px; }
.stand__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--lime);
  margin-bottom: 42px;
}
.stand__item h3 { font-size: clamp(1.6rem, 2.4vw, 2.35rem); letter-spacing: -0.035em; font-weight: 500; margin-bottom: 14px; }
.stand__item p { color: rgba(243, 240, 230, 0.62); font-size: 14.5px; line-height: 1.65; max-width: 38ch; }
.stand__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; }
.stand__foot p { color: rgba(243, 240, 230, 0.5); }

/* --------------------------------------------------------------------------
   AI band
   -------------------------------------------------------------------------- */
.ai-band__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.ai-band__copy p { margin: 24px 0 26px; max-width: 48ch; color: var(--muted); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.ai-chips li {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 7px 10px;
  color: var(--ink-2);
}
.ai-band__media { position: relative; }
.ai-band__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; filter: saturate(0.7) contrast(1.06); }
.ai-band__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(20, 22, 15, 0.42));
  pointer-events: none;
}
.ai-band__media figcaption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  color: rgba(243, 240, 230, 0.7);
  border-top: 1px solid rgba(243, 240, 230, 0.2);
}
.ai-band__tag {
  position: absolute;
  z-index: 2;
  top: 18px; left: 18px;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial { border-top: 1px solid var(--line); }
.testimonial__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.testimonial__head .eyebrow { margin-bottom: 0; }
.testimonial__nav { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.round-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.round-btn .icon { width: 16px; height: 16px; }
.round-btn:hover { background: var(--ink); color: var(--paper); }
.testimonial__stage { position: relative; min-height: 250px; }
.testimonial__quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
  max-width: 1030px;
}
.testimonial__quote.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.testimonial__quote > p {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.testimonial__quote footer { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.testimonial__quote footer strong { font-weight: 500; }
.testimonial__quote footer span { color: var(--muted); }
.testimonial__quote footer span::before { content: '— '; }
.testimonial__logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 54px); margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.testimonial__logos img { width: 104px; height: 46px; object-fit: contain; opacity: 0.45; filter: grayscale(1); transition: 0.3s; }
.testimonial__logos img:hover { opacity: 1; filter: none; }

/* --------------------------------------------------------------------------
   How we work
   -------------------------------------------------------------------------- */
.how { background: var(--paper-2); }
.how__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); }
.how__lead { margin-top: 26px; color: var(--muted); max-width: 41ch; }
.how__stat { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; gap: 24px; }
.how__stat strong { font-size: clamp(4rem, 7vw, 6.5rem); line-height: 0.78; font-weight: 500; letter-spacing: -0.06em; }
.how__stat strong span { font-family: var(--serif); font-style: italic; font-size: 0.5em; color: var(--olive-deep); }
.how__stat p { max-width: 24ch; font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.how__item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.how__item:last-child { border-bottom: 1px solid var(--line); }
.how__item .mono { color: var(--olive-deep); padding-top: 5px; }
.how__item h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.how__item p { font-size: 13.8px; color: var(--muted); line-height: 1.6; max-width: 48ch; }

/* --------------------------------------------------------------------------
   Post cards + insights
   -------------------------------------------------------------------------- */
.insights__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 42px); }
.insights__side { display: grid; gap: 0; align-content: start; }
.post-card { display: flex; flex-direction: column; min-width: 0; }
.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); filter: saturate(0.88); }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--paper);
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.post-card__body { padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.post-card__meta { display: flex; gap: 16px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; }
.post-card h3 a:hover { color: var(--olive-deep); }
.post-card__body > p { font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 56ch; }
.post-card .link-arrow { align-self: flex-start; margin-top: 6px; font-size: 12px; }
.post-card--featured .post-card__media { aspect-ratio: 16 / 9.2; }
.post-card--featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.insights__side .post-card { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.insights__side .post-card:first-child { padding-top: 0; border-top: 0; }
.insights__side .post-card__media { aspect-ratio: 4 / 3.2; }
.insights__side .post-card__body { padding-top: 0; }
.insights__side .post-card__body > p { display: none; }
.insights__side .post-card .link-arrow { display: none; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; background: var(--forest); color: var(--paper); overflow: hidden; padding-block: clamp(70px, 8vw, 120px); }
.cta-band__grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(203, 216, 90, 0.14), transparent 42%),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 100% 100%, 33% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 90px); align-items: end; position: relative; z-index: 2; }
.cta-band .eyebrow { color: var(--lime); }
.cta-band .eyebrow__line { background: var(--lime); }
.cta-band h2 { max-width: 18ch; }
.cta-band__copy > p { color: rgba(243, 240, 230, 0.6); max-width: 46ch; margin-top: 22px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-band__mail { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(243, 240, 230, 0.7); transition: color 0.3s; }
.cta-band__mail .icon { width: 15px; height: 15px; }
.cta-band__mail:hover { color: var(--lime); }
.cta-band__mark {
  position: absolute;
  right: -2%;
  bottom: -0.34em;
  font-size: clamp(9rem, 23vw, 24rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 230, 0.09);
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(50px, 6vw, 80px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 60px; padding-bottom: 54px; border-bottom: 1px solid var(--line-light); }
.footer__logo { display: inline-block; margin-bottom: 22px; }
.footer__logo .brand__word { font-size: 34px; color: var(--paper); }
.footer__logo .brand__dot { color: rgba(243, 240, 230, 0.55); }
.footer__logo .brand__near { color: var(--olive-soft); }
.footer__logo .brand__tag { color: rgba(243, 240, 230, 0.45); font-size: 7px; }
.footer__brand > p { max-width: 44ch; color: rgba(243, 240, 230, 0.55); font-size: 14px; }
.footer__est { margin-top: 16px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 240, 230, 0.35) !important; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 4px; }
.footer__contact a { font-size: 1.05rem; transition: color 0.3s; }
.footer__contact a:hover { color: var(--lime); }
.footer__contact span { color: rgba(243, 240, 230, 0.45); font-size: 12.5px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 44px; border-bottom: 1px solid var(--line-light); }
.footer__title { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(243, 240, 230, 0.4); margin-bottom: 18px; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { font-size: 13px; color: rgba(243, 240, 230, 0.72); transition: color 0.25s; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px 26px; flex-wrap: wrap; }
.footer__bottom p { font-size: 11px; color: rgba(243, 240, 230, 0.4); }
.footer__demo { font-family: var(--mono); font-size: 9px !important; letter-spacing: 0.05em; text-transform: uppercase; }
.footer__bottom-links { display: flex; align-items: center; gap: 18px; }
.footer__bottom-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(243, 240, 230, 0.55); }
.footer__bottom-links a:hover { color: var(--lime); }
.footer__bottom-links .icon { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Page hero
   -------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(28px, 4vw, 46px); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 25% 100%;
  background-repeat: no-repeat;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}
.page-hero .shell { position: relative; z-index: 2; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(36px, 6vw, 90px); align-items: end; margin-top: clamp(26px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); }
.page-hero .lead { margin-top: 24px; max-width: 58ch; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.meta-chips li {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 6px 9px;
  color: var(--muted);
}
.page-hero__index {
  position: absolute;
  right: 2%;
  bottom: -0.12em;
  font-size: clamp(10rem, 26vw, 26rem);
  line-height: 0.8;
  font-weight: 500;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 22, 15, 0.08);
  pointer-events: none;
  user-select: none;
}
.page-hero__aside { position: relative; }
.page-hero--forest { background: var(--forest); color: var(--paper); border-bottom-color: var(--line-light); }
.page-hero--forest .lead { color: rgba(243, 240, 230, 0.62); }
.page-hero--forest .meta-chips li { border-color: var(--line-light); color: rgba(243, 240, 230, 0.6); }
.page-hero--forest .crumbs a, .page-hero--forest .crumbs span { color: rgba(243, 240, 230, 0.55); }
.page-hero--forest .crumbs a:hover { color: var(--lime); }
.page-hero--forest .page-hero__index { -webkit-text-stroke-color: rgba(243, 240, 230, 0.1); }
.page-hero--forest .page-hero__grid-bg { background-image: linear-gradient(90deg, var(--line-light) 1px, transparent 1px); }

.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.crumbs a { transition: color 0.25s; }
.crumbs a:hover { color: var(--olive-deep); }
.crumbs__sep { width: 11px; height: 11px; opacity: 0.4; }
.crumbs span[aria-current] { color: var(--ink-2); }

/* Hero card */
.hero-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  overflow: hidden;
}
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--olive); }
.hero-card__eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero-card h2 { font-size: clamp(1.3rem, 1.9vw, 1.72rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; max-width: 20ch; }
.hero-card h2 em { font-family: var(--serif); font-weight: 400; color: var(--olive-deep); }
.hero-card__icon { position: absolute; top: 22px; right: 22px; color: var(--olive); opacity: 0.85; }
.hero-card__icon .icon { width: 26px; height: 26px; }
.hero-card__facts { margin-top: 26px; border-top: 1px solid var(--line); }
.hero-card__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hero-card__facts dt { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.hero-card__facts dd { font-size: 12.5px; text-align: right; }
.hero-card__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--olive-deep); }
.hero-card__link .icon { width: 15px; height: 15px; transition: transform 0.3s; }
.hero-card__link:hover .icon { transform: translate(3px, -3px); }
.hero-card--stats { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.hero-card--stats .hero-card__eyebrow { color: var(--lime); }
.hero-card--stats .hero-card__link { color: var(--lime); }
.stack-stat { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.stack-stat strong { font-size: 2.4rem; line-height: 1; letter-spacing: -0.05em; font-weight: 500; color: var(--lime); }
.stack-stat span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(243, 240, 230, 0.55); }
.hero-card--logo .mini-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.hero-card--logo .mini-logos img { width: 100%; height: 44px; object-fit: contain; background: var(--white); padding: 5px; }
.hero-card__note { font-size: 12px; line-height: 1.55; color: var(--muted); font-style: italic; }
.hero-card--feature .hero-card__feature { display: block; }
.hero-card--feature .hero-card__feature .mono { color: var(--muted); }
.hero-card--feature h2 { margin-top: 10px; max-width: 30ch; }
.page-hero--forest .hero-card { background: rgba(243, 240, 230, 0.055); border-color: var(--line-light); }
.page-hero--forest .hero-card__facts { border-top-color: var(--line-light); }
.page-hero--forest .hero-card__facts div { border-bottom-color: var(--line-light); }
.page-hero--forest .hero-card__facts dt, .page-hero--forest .hero-card__eyebrow { color: rgba(243, 240, 230, 0.5); }
.page-hero--forest .hero-card__facts dd { color: var(--paper); }
.page-hero--forest .hero-card__link { color: var(--lime); }
.hero-card--dark { background: var(--forest) !important; border-color: var(--forest) !important; color: var(--paper); }
.hero-card--dark .hero-card__eyebrow { color: var(--lime); }
.hero-card--dark h2 em { color: var(--lime); }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; filter: saturate(0.82) contrast(1.03) sepia(0.05); }
.hero-photo figcaption {
  position: absolute;
  left: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 13px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-photo__tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--lime);
  color: var(--ink);
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Doc layout + blocks
   -------------------------------------------------------------------------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 92px); padding-top: clamp(48px, 6vw, 78px); }
.doc__main { min-width: 0; max-width: 850px; }
.prose { color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.prose p + p { margin-top: 1.15em; }
.prose--intro { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.6; letter-spacing: -0.012em; color: var(--ink); max-width: 70ch; padding-bottom: 12px; }
.prose--intro p + p { margin-top: 1em; }
.prose--intro p:first-child::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.6em;
  line-height: 0.78;
  padding: 0.06em 0.1em 0 0;
  color: var(--olive-deep);
}
.block { padding-block: clamp(34px, 4.5vw, 58px); border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; }
.block-head { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 20px; margin-bottom: 26px; align-items: start; }
.block-head__index { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--olive-deep); padding-top: 8px; }
.block-head h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; scroll-margin-top: 110px; }
.block-head__intro { margin-top: 10px; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

.num-list { border-top: 1px solid var(--line); }
.num-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.num-list__n { font-family: var(--mono); font-size: 9.5px; color: var(--olive-deep); padding-top: 5px; }
.num-list h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.num-list p { color: var(--muted); font-size: 14px; line-height: 1.62; max-width: 64ch; }

.tick-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tick-list--2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.tick-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.tick-list__icon { width: 14px; height: 14px; color: var(--olive); margin-top: 4px; flex: none; }

.card-grid { display: grid; gap: 16px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid transparent;
  padding: 24px 22px 26px;
  transition: background 0.35s var(--ease), border-color 0.35s, transform 0.35s var(--ease);
}
.info-card:hover { background: var(--white); border-color: var(--line); transform: translateY(-2px); }
.info-card__index { position: absolute; top: 20px; right: 18px; font-family: var(--mono); font-size: 9px; color: var(--olive-deep); }
.info-card h3 { font-size: 1.08rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; max-width: 24ch; }
.info-card p { font-size: 13.3px; line-height: 1.6; color: var(--muted); }
.info-card .tag { margin-bottom: 14px; }

.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 24px 26px 28px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.steps .step:nth-child(2n) { padding-left: 26px; border-right: 0; }
.steps--4 .step:nth-child(2n) { padding-left: 0; border-right: 1px solid var(--line); }
.steps--4 .step:nth-child(4n) { border-right: 0; }
.steps--4 .step { padding-right: 26px; }
.step__top { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--olive); }
.step h3 { font-size: 1.06rem; font-weight: 500; letter-spacing: -0.015em; }
.step p { font-size: 13.2px; color: var(--muted); line-height: 1.55; }
.step ul { margin-top: 12px; display: grid; gap: 7px; }
.step ul li { display: flex; gap: 9px; font-size: 12.6px; line-height: 1.5; color: var(--ink-2); }
.step ul .tick-list__icon { width: 12px; height: 12px; margin-top: 3px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 13.5px; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); font-weight: 400; }
.data-table tbody th { font-weight: 500; width: 20%; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(234, 230, 216, 0.4); }

.tag-groups { display: grid; gap: 22px; }
.tag-group { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 16px; border-top: 1px solid var(--line); }
.tag-group .mono { color: var(--muted); padding-top: 6px; }

.callout {
  position: relative;
  background: var(--forest);
  color: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
}
.callout--olive { background: var(--olive-deep); }
.callout__mark { position: absolute; top: -10px; right: 24px; font-family: var(--serif); font-size: 9rem; line-height: 1; color: rgba(243, 240, 230, 0.12); }
.callout h3 { position: relative; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; max-width: 30ch; margin-bottom: 12px; }
.callout > p { position: relative; color: rgba(243, 240, 230, 0.65); font-size: 14px; max-width: 60ch; }

.pullquote { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: clamp(28px, 4vw, 46px) 0; margin-top: 10px; }
.pullquote > p { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 25ch; }
.pullquote footer { display: flex; gap: 10px; margin-top: 22px; font-size: 12.5px; }
.pullquote footer span { color: var(--muted); }

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 60px); align-items: start; padding-block: 44px; border-top: 1px solid var(--line); }
.person__photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: center 30%; filter: saturate(0.85); }
.person__body h2 { font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.035em; font-weight: 500; margin-bottom: 18px; }
.person__body p { color: var(--muted); font-size: 14.3px; line-height: 1.7; }
.person__body p + p { margin-top: 12px; }
.person__sig { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-deep) !important; margin-top: 22px !important; }

/* Doc sidebar */
.doc__aside { position: relative; }
.doc-side { position: sticky; top: calc(var(--header-h) + 26px); display: grid; gap: 16px; }
.doc-toc { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.doc-toc > p { color: var(--muted); margin-bottom: 12px; }
.doc-toc ul { display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 6px 0 6px 12px; border-left: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.35; transition: 0.25s; }
.doc-toc a:hover, .doc-toc a.is-current { color: var(--ink); border-left-color: var(--olive-deep); }
.doc-card { background: var(--forest); color: var(--paper); padding: 26px 24px; }
.doc-card .eyebrow { color: var(--lime); margin-bottom: 14px; }
.doc-card .eyebrow__line { background: var(--lime); }
.doc-card h3 { font-size: 1.55rem; line-height: 1.08; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 12px; }
.doc-card h3 em { font-family: var(--serif); color: var(--lime); }
.doc-card > p { color: rgba(243, 240, 230, 0.6); font-size: 12.8px; line-height: 1.55; margin-bottom: 18px; }
.doc-card .btn { width: 100%; }
.doc-card__mail { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11.5px; color: rgba(243, 240, 230, 0.6); }
.doc-card__mail .icon { width: 13px; height: 13px; }
.doc-card__mail:hover { color: var(--lime); }
.doc-card--muted { background: var(--paper-2); color: var(--ink); }
.doc-card--muted .eyebrow { color: var(--olive-deep); }
.doc-card--muted .eyebrow__line { background: var(--olive); }
.doc-card--muted > p { color: var(--muted); margin-bottom: 0; }
.doc-squad { display: grid; gap: 6px; border: 1px solid var(--line); padding: 18px 20px; transition: background 0.3s; }
.doc-squad:hover { background: var(--paper-2); }
.doc-squad .mono { color: var(--olive-deep); }
.doc-squad strong { font-size: 13.5px; font-weight: 500; }
.doc-squad > span:last-child { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.doc-squad .icon { width: 13px; height: 13px; }

/* Related */
.related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-link { position: relative; border: 1px solid var(--line); padding: 20px 18px 22px; display: grid; gap: 8px; transition: background 0.3s, border-color 0.3s; }
.related-link:hover { background: var(--paper-2); border-color: var(--line-strong); }
.related-link .mono { color: var(--olive-deep); }
.related-link strong { font-size: 1rem; font-weight: 500; letter-spacing: -0.015em; max-width: 20ch; }
.related-link__arrow { position: absolute; top: 18px; right: 16px; color: var(--muted); }
.related-link__arrow .icon { width: 14px; height: 14px; }
.related-block { margin-bottom: 60px; }

/* --------------------------------------------------------------------------
   Technologies / clients / cases / projects / dna
   -------------------------------------------------------------------------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tech-group { background: var(--paper-2); padding: 22px; border: 1px solid transparent; transition: 0.3s; }
.tech-group:hover { border-color: var(--line); background: var(--white); }
.tech-group header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tech-group__icon { color: var(--olive-deep); }
.tech-group__icon .icon { width: 20px; height: 20px; }
.tech-group h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; }
.tech-group header .mono { margin-left: auto; color: var(--muted); }
.tech-group .chips li { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.tech-group .chips img { width: 32px; height: 20px; object-fit: contain; filter: grayscale(1); opacity: 0.6; }
.three-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.three-up__item h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 8px; }
.three-up__item p { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 38ch; }

.logo-wall { padding-top: 0; }
.logo-wall__label { color: var(--muted); margin-bottom: 20px; }
.logo-wall__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall__item { display: flex; align-items: center; justify-content: center; padding: 22px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background 0.3s; }
.logo-wall__item:hover { background: var(--white); }
.logo-wall__item img { width: 100%; height: 50px; object-fit: contain; filter: grayscale(1); opacity: 0.65; transition: 0.3s; }
.logo-wall__item:hover img { filter: none; opacity: 1; }
.client-list { border-top: 1px solid var(--line-strong); }
.client-row { display: grid; grid-template-columns: 40px 160px minmax(0, 1fr); gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.client-row__index { color: var(--olive-deep); padding-top: 4px; }
.client-row__logo img { width: 150px; height: 62px; object-fit: contain; filter: grayscale(1); opacity: 0.7; }
.client-row h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 2px; }
.client-row .mono { color: var(--olive-deep); margin-bottom: 10px; }
.client-row__body > p:last-child { color: var(--muted); font-size: 13.6px; line-height: 1.65; max-width: 78ch; }

.case { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line-strong); scroll-margin-top: 110px; }
.case__head { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; margin-bottom: 32px; }
.case__index { font-family: var(--serif); font-style: italic; font-size: 4rem; line-height: 0.8; color: var(--olive); }
.case__head .mono { color: var(--olive-deep); margin-bottom: 8px; }
.case__head h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
.case__body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(30px, 5vw, 70px); padding-left: 114px; }
.case__copy h3 { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; margin-top: 26px; }
.case__copy h3:first-child { margin-top: 0; }
.case__copy p { font-size: 14.2px; line-height: 1.7; color: var(--ink-2); margin-bottom: 18px; max-width: 72ch; }
.case__aside { border-left: 1px solid var(--line); padding-left: 24px; }
.case__aside .mono { color: var(--muted); margin-bottom: 12px; }
.case__results { display: grid; gap: 10px; margin-bottom: 24px; }
.case__results li { display: flex; gap: 9px; font-size: 13px; line-height: 1.4; }
.case__results .icon { width: 13px; height: 13px; color: var(--olive); margin-top: 3px; flex: none; }
.case-nav { display: grid; }
.case-nav a { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.case-nav .mono { color: var(--olive-deep); }
.case-nav a:hover { color: var(--olive-deep); }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card { background: var(--paper-2); padding: 24px 22px 26px; display: flex; flex-direction: column; min-height: 260px; border: 1px solid transparent; transition: 0.3s; }
.project-card:hover { background: var(--white); border-color: var(--line); }
.project-card header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; color: var(--olive-deep); }
.project-card header .mono { color: var(--muted); }
.project-card__icon .icon { width: 22px; height: 22px; }
.project-card h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; }
.project-card ul { display: grid; gap: 6px; }
.project-card li { position: relative; padding-left: 12px; font-size: 12.6px; color: var(--muted); line-height: 1.45; }
.project-card li::before { content: '—'; position: absolute; left: 0; color: var(--olive); }
.project-card--cta { grid-column: span 2; background: var(--forest); color: var(--paper); justify-content: flex-start; }
.project-card--cta header, .project-card--cta header .mono { color: var(--lime); }
.project-card--cta h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -0.035em; margin: 24px 0 12px; }
.project-card--cta p { color: rgba(243, 240, 230, 0.6); font-size: 13.5px; line-height: 1.6; max-width: 52ch; }
.project-card--cta .project-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 26px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lime); }
.project-card--cta .project-card__link .icon { width: 14px; height: 14px; }

.dna-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.dna-item { padding: 26px 26px 32px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.dna-item:nth-child(3n) { border-right: 0; }
.dna-item:nth-child(3n + 2), .dna-item:nth-child(3n + 3) { padding-left: 26px; }
.dna-item .mono { color: var(--olive-deep); }
.dna-item h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; margin: 24px 0 10px; }
.dna-item p { font-size: 13.4px; color: var(--muted); line-height: 1.6; max-width: 36ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 84px); align-items: start; }
.split__copy .prose__lead { margin-top: 26px; font-size: 1.15rem; line-height: 1.6; letter-spacing: -0.015em; color: var(--ink-2); }
.split__copy p { margin-top: 16px; color: var(--muted); font-size: 14.2px; line-height: 1.7; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; filter: saturate(0.85) contrast(1.03); }
.split__caption { position: absolute; bottom: 0; left: 0; right: 0; background: var(--paper); padding: 14px 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.split__caption p { font-size: 11.5px; color: var(--muted); }
.split__caption .mono { color: var(--olive-deep); }
.pullquote-block { max-width: 950px; }
.pullquote-block blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 26px; }
.pullquote-block > p { color: var(--muted); max-width: 66ch; font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); margin-bottom: 36px; flex-wrap: wrap; }
.blog-toolbar__filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filter {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: 0.25s;
  border-radius: 1px;
}
.filter span { color: var(--olive-deep); margin-left: 4px; }
.filter:hover { background: var(--paper-2); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); }
.filter.is-active span { color: var(--lime); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 9px 12px; background: var(--white); min-width: 240px; }
.search .icon { width: 14px; height: 14px; color: var(--muted); }
.search input { border: 0; background: transparent; outline: none; font: inherit; font-size: 12.5px; width: 100%; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(18px, 2.6vw, 34px); }
.blog-grid > [data-post] { min-width: 0; }
.blog-grid .post-card { height: 100%; }
.blog-grid .post-card__media { aspect-ratio: 16 / 10.4; }
.blog-grid .post-card__body { padding-top: 14px; }
.blog-grid .post-card h3 { font-size: 1.22rem; }
.blog-grid .post-card__body > p { font-size: 12.8px; }
.blog-empty { padding: 50px 0; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.blog-more { display: flex; justify-content: center; margin-top: 46px; }
.related-posts { border-top: 1px solid var(--line); }

.article__head { padding-top: clamp(24px, 4vw, 44px); max-width: 1000px; margin-inline: 0; }
.article__meta { display: flex; align-items: center; gap: 16px; margin: 30px 0 20px; color: var(--muted); }
.article__meta .tag { color: var(--ink); }
.article__head h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; max-width: 20ch; }
.article__excerpt { margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.article__hero { margin-top: clamp(36px, 5vw, 56px); }
.article__hero img { width: 100%; max-height: 640px; object-fit: cover; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 90px); padding-top: clamp(40px, 5vw, 64px); }
.article__body { min-width: 0; max-width: 760px; }
.article__body > p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.78; margin-bottom: 1.15em; }
.article__body > p.article-lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink); letter-spacing: -0.012em; }
.article__body > p.article-lead::first-letter { float: left; font-family: var(--serif); font-size: 3.6em; line-height: 0.78; padding: 0.06em 0.1em 0 0; color: var(--olive-deep); }
.article__body h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; margin: 44px 0 16px; scroll-margin-top: 110px; }
.article__body h3 { font-size: 1.2rem; font-weight: 500; margin: 30px 0 10px; }
.article__body h4 { font-size: 1rem; font-weight: 600; margin: 24px 0 8px; }
.article__body .article-list { margin: 20px 0; display: grid; gap: 9px; }
.article__body .article-list li { position: relative; padding-left: 22px; font-size: 0.98rem; line-height: 1.65; color: var(--ink-2); }
.article__body .article-list li::before { content: ''; position: absolute; left: 4px; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); }
.article__body blockquote { border-left: 2px solid var(--olive); padding-left: 24px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; margin: 30px 0; color: var(--ink); }
.article-figure { margin: 30px 0; }
.article-figure img { width: 100%; }
.article__author { display: flex; gap: 14px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--olive-deep); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; flex: none; }
.article__author strong { font-size: 13px; font-weight: 500; }
.article__author p { font-size: 12px; color: var(--muted); max-width: 52ch; margin-top: 3px; }
.article__share { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article__share .mono { color: var(--muted); margin-right: 4px; }
.article__share a { font-size: 12px; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.article__share a:hover { color: var(--olive-deep); }
.article__aside { position: relative; }
.article__aside .doc-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.article__aside .doc-card { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Shop
   -------------------------------------------------------------------------- */
.shop-hero { position: relative; background: var(--forest); color: var(--paper); overflow: hidden; padding-top: 26px; padding-bottom: 0; }
.shop-hero__grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(203, 216, 90, 0.16), transparent 45%),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 100% 100%, 25% 100%;
  background-repeat: no-repeat;
}
.shop-hero .shell { position: relative; z-index: 2; }
.shop-hero .crumbs a, .shop-hero .crumbs span { color: rgba(243, 240, 230, 0.5); }
.shop-hero .crumbs span[aria-current] { color: rgba(243, 240, 230, 0.8); }
.shop-hero .eyebrow { color: var(--lime); margin-top: 36px; }
.shop-hero .eyebrow__line { background: var(--lime); }
.shop-hero .eyebrow__label { color: rgba(243, 240, 230, 0.6); }
.shop-hero h1 { font-size: clamp(3rem, 6.4vw, 6.4rem); }
.shop-hero h1 em { color: var(--lime); }
.shop-hero .lead { color: rgba(243, 240, 230, 0.65); margin-top: 24px; }
.shop-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 7vw, 100px); align-items: end; padding-bottom: 54px; }
.shop-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.shop-hero__panel { border: 1px solid var(--line-light); padding: 10px 22px; background: rgba(243, 240, 230, 0.035); }
.shop-panel__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-light); }
.shop-panel__row .mono { color: rgba(243, 240, 230, 0.45); }
.shop-panel__row strong { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--lime); }
.shop-panel__note { font-size: 11px; line-height: 1.5; color: rgba(243, 240, 230, 0.42); padding-top: 14px; }
.shop-hero__ticker { border-top: 1px solid var(--line-light); padding-block: 12px; }
.shop-hero__ticker .marquee__track { gap: 34px; animation-duration: 60s; }
.shop-hero__ticker span { color: rgba(243, 240, 230, 0.5); white-space: nowrap; }
.shop-hero__ticker .sep { color: var(--lime); }
.shop-hero__ticker .marquee::before, .shop-hero__ticker .marquee::after { display: none; }

.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; flex-wrap: wrap; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.shop-bar__count { color: var(--muted); }
.squad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.squad-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.squad-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.squad-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 40px -30px rgba(20, 22, 15, 0.5); }
.squad-card__link { display: block; }
.squad-art {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-2);
  color: var(--ink);
}
.squad-art--olive { background: var(--olive-deep); color: var(--lime-soft); }
.squad-art--forest { background: var(--forest); color: var(--lime); }
.squad-art--lime { background: var(--lime); color: var(--ink); }
.squad-art--paper { background: var(--paper-3); color: var(--olive-deep); }
.squad-art--paper .squad-art__mono, .squad-art--paper .squad-art__code { opacity: 0.85; }
.squad-art__mono { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; position: relative; z-index: 2; }
.squad-art__icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); opacity: 0.9; }
.squad-art__icon .icon { width: 54px; height: 54px; stroke-width: 1; }
.squad-art__lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 44px);
  opacity: 0.1;
}
.squad-art__code { position: relative; z-index: 2; font-family: var(--mono); font-size: 9px; line-height: 1.7; letter-spacing: 0.03em; opacity: 0.55; }
.squad-art--xl { aspect-ratio: 4 / 3.2; padding: 26px; }
.squad-art--xl .squad-art__icon .icon { width: 96px; height: 96px; }
.squad-art--xl .squad-art__code { font-size: 11px; }
.squad-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.squad-card__meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.squad-card h3 { font-size: 1.18rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.squad-card h3 a:hover { color: var(--olive-deep); }
.squad-card__body > p { font-size: 12.8px; line-height: 1.55; color: var(--muted); }
.squad-card__skills { display: flex; flex-wrap: wrap; gap: 5px; }
.squad-card__skills li { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.03em; text-transform: uppercase; border: 1px solid var(--line); padding: 4px 6px; color: var(--muted); }
.squad-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price strong { font-size: 1.18rem; font-weight: 500; letter-spacing: -0.03em; }
.price span { font-size: 10.5px; color: var(--muted); }
.squad-card__foot .btn { padding: 9px 12px; font-size: 10px; }
.shop-note { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line); }
.shop-note .mono { color: var(--olive-deep); }
.shop-note p { font-size: 12px; color: var(--muted); max-width: 90ch; line-height: 1.6; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-grid__head p { color: var(--muted); margin: 22px 0 24px; max-width: 38ch; }
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 18px 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.015em; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 15px; height: 15px; color: var(--olive-deep); transition: transform 0.3s; flex: none; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 13.6px; line-height: 1.65; padding-bottom: 20px; max-width: 66ch; }

/* Product */
.product .shell > .crumbs { padding-top: 26px; }
.product .crumbs { margin-bottom: 28px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.product__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; }
.product__stats > div { padding: 14px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.product__stats > div:last-child { border-right: 0; }
.product__stats span { color: var(--muted); font-size: 8px; }
.product__stats strong { font-size: 11.5px; font-weight: 500; line-height: 1.35; }
.product__copy { padding-top: 10px; }
.product__meta { display: flex; gap: 8px; margin-bottom: 18px; }
.product__copy h1 { font-size: clamp(2.5rem, 4.4vw, 4.4rem); }
.product__copy .lead { margin-top: 20px; max-width: 46ch; }
.product__price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.product__price strong { font-size: 2.1rem; font-weight: 500; letter-spacing: -0.04em; }
.product__price span { font-size: 11.5px; color: var(--muted); }
.add-form { display: grid; gap: 16px; max-width: 460px; }
.add-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qty { display: flex; flex-direction: column; gap: 7px; }
.qty .mono { color: var(--muted); }
.qty__controls { display: flex; align-items: stretch; border: 1px solid var(--line-strong); background: var(--white); }
.qty__controls button { width: 38px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.qty__controls button:hover { background: var(--paper-2); }
.qty__controls .icon { width: 14px; height: 14px; }
.qty__controls input { width: 100%; border: 0; background: transparent; text-align: center; font: inherit; font-size: 14px; -moz-appearance: textfield; }
.qty__controls input::-webkit-outer-spin-button, .qty__controls input::-webkit-inner-spin-button { -webkit-appearance: none; }
.field--inline { display: flex; flex-direction: column; gap: 7px; }
.field--inline .mono { color: var(--muted); }
.field--inline select { border: 1px solid var(--line-strong); background: var(--white); padding: 11px 12px; font: inherit; font-size: 12.5px; border-radius: 0; color: var(--ink); }
.add-form .link-arrow { justify-self: start; font-size: 12px; }
.product__skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.product__skills li { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--line); padding: 5px 7px; color: var(--muted); }
.product__detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.product__about h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.03em; font-weight: 500; margin: 0 0 14px; }
.product__about h2:not(:first-child) { margin-top: 38px; }
.product__about p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; max-width: 68ch; }
.product__aside { display: grid; gap: 14px; }

.mini-steps { display: grid; gap: 12px; margin-bottom: 20px; }
.mini-steps li { display: flex; gap: 10px; font-size: 12px; line-height: 1.5; color: rgba(243, 240, 230, 0.65); }
.mini-steps span { font-family: var(--mono); font-size: 8.5px; color: var(--lime); padding-top: 2px; flex: none; }
.doc-card--muted .mini-steps li { color: var(--muted); }
.doc-card--muted .mini-steps span { color: var(--olive-deep); }

/* Cart */
.page-title { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-title .eyebrow { margin-top: 38px; margin-bottom: 16px; }
.page-title h1 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
.page-title .lead { margin-top: 20px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.cart-main { border-top: 1px solid var(--line-strong); }
.cart-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item__visual .squad-art { aspect-ratio: 4 / 3; padding: 10px; }
.cart-item__visual .squad-art__icon .icon { width: 28px; height: 28px; }
.cart-item__visual .squad-art__code, .cart-item__visual .squad-art__mono { display: none; }
.cart-item__body { display: flex; flex-direction: column; gap: 10px; }
.cart-item__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cart-item__top h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; }
.cart-item__top p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cart-item__remove { border: 0; background: transparent; color: var(--muted); padding: 2px; }
.cart-item__remove:hover { color: var(--ink); }
.cart-item__remove .icon { width: 15px; height: 15px; }
.cart-item__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cart-item__controls .qty__controls { width: 118px; }
.cart-item__price { font-size: 12.5px; color: var(--muted); display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.cart-item__price strong { color: var(--ink); font-size: 1rem; font-weight: 500; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 22px); background: var(--forest); color: var(--paper); padding: 28px 26px; }
.cart-summary h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 12.5px; color: rgba(243, 240, 230, 0.6); }
.summary-row strong { color: var(--paper); font-weight: 500; }
.summary-row--total { border-top: 1px solid var(--line-light); margin-top: 10px; padding-top: 16px; color: var(--paper); font-size: 14px; }
.summary-row--total strong { font-size: 1.35rem; letter-spacing: -0.03em; }
.term-select { margin: 18px 0 8px; }
.term-select .mono { display: block; margin-bottom: 8px; color: rgba(243, 240, 230, 0.45); }
.term-options { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); }
.term-options button { border: 0; border-right: 1px solid var(--line-light); background: transparent; color: rgba(243, 240, 230, 0.65); padding: 9px 4px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.03em; transition: 0.25s; }
.term-options button:last-child { border-right: 0; }
.term-options button.is-active { background: var(--lime); color: var(--ink); }
.cart-summary .btn { width: 100%; margin-top: 18px; }
.cart-summary__note { font-size: 10px; line-height: 1.5; color: rgba(243, 240, 230, 0.42); margin-top: 12px; }
.cart-empty { text-align: center; padding: 60px 20px; border: 1px solid var(--line); background: var(--white); }
.cart-empty__icon { display: inline-flex; width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 50%; align-items: center; justify-content: center; color: var(--olive-deep); margin-bottom: 20px; }
.cart-empty__icon .icon { width: 24px; height: 24px; }
.cart-empty h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 8px; }
.cart-empty p { color: var(--muted); font-size: 13.5px; max-width: 44ch; margin: 0 auto 22px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.checkout-form { display: grid; gap: 36px; }
.form-section { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.form-section > .mono { color: var(--olive-deep); margin-bottom: 8px; }
.form-section > h2 { font-size: 1.6rem; letter-spacing: -0.025em; font-weight: 500; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 13px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--olive-deep); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: rgba(94, 98, 84, 0.6); }
.field-row .field { margin-bottom: 0; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--muted); margin: 6px 0 18px; }
.check input { width: 15px; height: 15px; accent-color: var(--olive-deep); margin-top: 2px; flex: none; }
.form-note { color: var(--muted); font-size: 8.5px; margin-top: 14px; }
.checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-strong); padding-top: 20px; flex-wrap: wrap; }
.form-error { border: 1px solid #9b3d2e; background: #f6e7e2; color: #6d2519; padding: 12px 14px; font-size: 12.5px; }
.checkout-aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 14px; }
.order-card { border: 1px solid var(--line-strong); background: var(--white); }
.order-card__head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.order-card__head .mono { color: var(--muted); }
.order-card__items { padding: 6px 18px; }
.order-item { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.order-item:last-child { border-bottom: 0; }
.order-item span { color: var(--muted); }
.order-item strong { font-weight: 500; white-space: nowrap; }
.order-card__totals { padding: 14px 18px 18px; border-top: 1px solid var(--line-strong); background: var(--paper-2); }
.order-row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; color: var(--muted); }
.order-row strong { color: var(--ink); font-weight: 500; }
.order-row--big { font-size: 15px; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); color: var(--ink); }
.order-row--big strong { font-size: 1.3rem; letter-spacing: -0.03em; }

/* Success + requests */
.success-card { max-width: 820px; border: 1px solid var(--line-strong); background: var(--white); }
.success-card__top { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.success-card__top .form-success__icon { margin: 0; }
.success-card__top strong { font-size: 1.3rem; letter-spacing: 0.02em; font-family: var(--mono); font-weight: 500; }
.success-card__top .mono { color: var(--muted); }
.success-card__body { padding: 26px; }
.success-card__body h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 14px; }
.success-card__body p { color: var(--muted); font-size: 13.5px; }
.success-list { border-top: 1px solid var(--line); margin-top: 14px; }
.success-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.success-list li span { color: var(--muted); }
.success-card__actions { display: flex; align-items: center; gap: 14px; padding: 20px 26px 26px; flex-wrap: wrap; }
.requests-list { display: grid; gap: 14px; }
.request-card { border: 1px solid var(--line); background: var(--white); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.request-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 3px; }
.request-card p { font-size: 11.5px; color: var(--muted); }
.request-card__right { display: flex; align-items: center; gap: 16px; }
.request-card__total { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.03em; }
.request-card__del { border: 0; background: transparent; color: var(--muted); }
.request-card__del:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-form { display: grid; gap: 4px; }
.contact-form__head { border-top: 1px solid var(--line-strong); padding-top: 18px; margin-bottom: 18px; }
.contact-form__head .mono { color: var(--olive-deep); margin-bottom: 8px; }
.contact-form__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; font-weight: 500; }
.contact-form .btn { justify-self: start; margin-top: 8px; }
.form-success { display: flex; gap: 12px; border: 1px solid var(--olive); background: var(--lime-soft); padding: 14px; margin-top: 16px; }
.form-success__icon { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--olive-deep); color: var(--paper); align-items: center; justify-content: center; flex: none; }
.form-success__icon .icon { width: 16px; height: 16px; }
.form-success strong { font-size: 13px; }
.form-success p { font-size: 11.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.contact-aside { display: grid; gap: 12px; }
.contact-card { border: 1px solid var(--line); padding: 20px 22px; background: var(--white); }
.contact-card .mono { color: var(--olive-deep); margin-bottom: 10px; }
.contact-card p { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.contact-card p + p { margin-top: 10px; }
.contact-card__big { display: block; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.03em; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 8px; }
.contact-card__big:hover { color: var(--olive-deep); }
.contact-card__phone { font-size: 13.5px; color: var(--muted); }
.contact-card--time { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.contact-card--time .mono { color: var(--lime); }
.contact-card .contact-clock { font-size: 2.4rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--lime); margin-bottom: 8px; }
.contact-card__small { font-size: 11px !important; color: rgba(243, 240, 230, 0.55) !important; }
.contact-map { position: relative; display: block; overflow: hidden; }
.contact-map img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.8); transition: transform 0.8s var(--ease); }
.contact-map:hover img { transform: scale(1.03); }
.contact-map span { position: absolute; left: 12px; bottom: 12px; background: var(--paper); padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-map span .icon { width: 12px; height: 12px; }
.contact-card--link { display: grid; gap: 5px; transition: background 0.3s; }
.contact-card--link:hover { background: var(--paper-2); }
.contact-card--link strong { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.contact-card--link strong .icon { width: 14px; height: 14px; }
.contact-card--link span { font-size: 11.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Sitemap / 404
   -------------------------------------------------------------------------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 60px; }
.sitemap-col .mono { color: var(--olive-deep); margin-bottom: 14px; }
.sitemap-col li { border-bottom: 1px solid var(--line); }
.sitemap-col a { display: block; padding: 9px 0; font-size: 13.5px; color: var(--ink-2); }
.sitemap-col a:hover { color: var(--olive-deep); padding-left: 4px; }
.archive-list { border-top: 1px solid var(--line-strong); margin-top: 16px; }
.archive-list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) 20px; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.archive-list .mono { color: var(--muted); }
.archive-list .icon { width: 14px; height: 14px; color: var(--muted); }
.archive-list a:hover { color: var(--olive-deep); }
.notfound { min-height: 62vh; display: flex; align-items: center; padding-block: 80px; }
.notfound .mono { color: var(--olive-deep); margin-bottom: 22px; }
.notfound .lead { margin-top: 24px; }
.notfound__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Cart drawer + toast + scrim
   -------------------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 22, 15, 0.45); z-index: 100; backdrop-filter: blur(2px); opacity: 0; transition: opacity 0.35s; }
.scrim.is-visible { opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  background: var(--paper);
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-strong);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.cart-drawer__top .eyebrow { margin-bottom: 6px; }
.cart-drawer__top h2 { font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px 24px; display: flex; flex-direction: column; }
.cart-drawer__empty { text-align: center; padding: 40px 10px; }
.cart-drawer__empty p { color: var(--muted); font-size: 13px; margin: 14px 0 20px; }
.drawer-item { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.drawer-item .squad-art { aspect-ratio: 1; padding: 8px; }
.drawer-item .squad-art__icon .icon { width: 22px; height: 22px; }
.drawer-item .squad-art__code, .drawer-item .squad-art__mono { display: none; }
.drawer-item h3 { font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.drawer-item p { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.drawer-item__price { font-size: 12px; font-weight: 500; white-space: nowrap; }
.drawer-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--mono); font-size: 10px; }
.drawer-item__qty button { border: 1px solid var(--line); background: transparent; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.drawer-item__qty button:hover { background: var(--paper-2); }
.drawer-item__qty .icon { width: 9px; height: 9px; }
.cart-drawer__foot { border-top: 1px solid var(--line-strong); padding: 18px 24px 24px; background: var(--paper-2); }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-drawer__total span { font-size: 11px; color: var(--muted); }
.cart-drawer__total strong { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.03em; }
.cart-drawer__foot .btn { width: 100%; }
.cart-drawer__link { display: block; text-align: center; margin-top: 12px; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 130;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 14px; height: 14px; color: var(--lime); }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.statement__head.reveal { transition-delay: 0.05s; }
.proof.reveal:nth-child(2) { transition-delay: 0.08s; }
.proof.reveal:nth-child(3) { transition-delay: 0.16s; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .header__meta { display: none; }
  .nav { gap: 2px; }
  .nav-link { padding-inline: 7px; font-size: 13px; }
  .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .cap-row { grid-template-columns: 44px 32px minmax(0, 1.1fr) minmax(0, 1.5fr) 32px; }
  .cap-row__tags { display: none; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .squad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
  .logo-wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 40px; }
  .hero__badge { left: -10px; }
  .hero__mini { right: 0; }
  .hero__vert { display: none; }
  .statement__grid { grid-template-columns: 1fr; gap: 36px; }
  .proof-grid { max-width: none; }
  .ai-band__grid { grid-template-columns: 1fr; gap: 38px; }
  .ai-band__media img { aspect-ratio: 16 / 9; }
  .how__grid { grid-template-columns: 1fr; gap: 38px; }
  .insights__grid { grid-template-columns: 1fr; }
  .insights__side { grid-template-columns: 1fr 1fr; gap: 24px; }
  .insights__side .post-card { display: flex; padding-top: 0; border-top: 0; }
  .insights__side .post-card__media { aspect-ratio: 16 / 10; }
  .insights__side .post-card__body { padding-top: 12px; }
  .insights__side .post-card__body > p { display: block; }
  .page-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .doc { grid-template-columns: 1fr; }
  .doc__aside { display: none; }
  .doc__main { max-width: none; }
  .doc-toc { display: none; }
  .article__layout { grid-template-columns: 1fr; }
  .article__aside { display: none; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-aside { position: static; }
  .checkout-aside { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .shop-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .shop-hero__panel { max-width: 480px; }
  .product__grid { grid-template-columns: 1fr; }
  .product__detail { grid-template-columns: 1fr; }
  .product__aside { grid-template-columns: 1fr 1fr; }
  .case__body { padding-left: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dna-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dna-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .dna-item:nth-child(2n) { border-right: 0; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--4 .step:nth-child(2n) { border-right: 0; }
  .steps--4 .step:nth-child(4n) { border-right: 1px solid var(--line); }
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand__word { font-size: 24px; }
  .brand__tag { font-size: 6px; }
  .hero { padding-top: 34px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 560px; margin-left: auto; margin-right: auto; width: 100%; }
  .hero__figure { aspect-ratio: 4 / 4.2; }
  .hero__stats { margin-top: 34px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head > p { padding-bottom: 0; }
  .proof-grid { grid-template-columns: 1fr; border-top: 0; }
  .proof { border-right: 0; border-top: 1px solid var(--line); min-height: 0; padding: 20px 0 !important; }
  .proof + .proof { padding-left: 0; }
  .proof__top { margin-bottom: 16px; }
  .cap-row { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 12px; padding: 20px 0; }
  .cap-row__icon { display: none; }
  .cap-row__desc { display: none; }
  .cap-row__title { font-size: 1.25rem; }
  .stand__grid { grid-template-columns: 1fr; }
  .stand__item { border-right: 0; border-bottom: 1px solid var(--line-light); padding: 28px 0 32px !important; }
  .stand__num { margin-bottom: 22px; }
  .stand__foot { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 36px; }
  .testimonial__stage { min-height: 320px; }
  .testimonial__head { align-items: flex-start; }
  .testimonial__quote > p { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .insights__side { grid-template-columns: 1fr; gap: 0; }
  .insights__side .post-card { display: grid; grid-template-columns: 40% 1fr; padding-top: 20px; border-top: 1px solid var(--line); }
  .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .page-hero__aside { max-width: 460px; }
  .page-hero h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
  .hero-photo img { aspect-ratio: 4 / 3.4; }
  .hero-card { max-width: 460px; }
  .tech-grid { grid-template-columns: 1fr; }
  .logo-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-row { grid-template-columns: 30px 110px minmax(0, 1fr); gap: 16px; }
  .client-row__logo img { width: 100px; height: 48px; }
  .case__head { grid-template-columns: 60px 1fr; gap: 16px; }
  .case__index { font-size: 3rem; }
  .case__body { grid-template-columns: 1fr; }
  .case__aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .split { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 16 / 10; }
  .person { grid-template-columns: 1fr; }
  .person__photo { max-width: 420px; }
  .squad-grid { grid-template-columns: 1fr; }
  .shop-hero h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); }
  .shop-filters { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100vw - 40px); padding-bottom: 4px; scrollbar-width: none; }
  .shop-filters::-webkit-scrollbar { display: none; }
  .shop-filters .filter { white-space: nowrap; flex: none; }
  .product__aside { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 90px minmax(0, 1fr); }
  .checkout-actions { flex-direction: column-reverse; align-items: stretch; }
  .checkout-actions .btn { width: 100%; }
  .contact-form .btn { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .article__head h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
  .article__hero img { aspect-ratio: 16 / 10; }
  .page-title h1 { font-size: clamp(2.4rem, 8vw, 3.8rem); }
  .request-card { grid-template-columns: 1fr; }
  .request-card__right { justify-content: space-between; }
  .form-section > h2 { font-size: 1.4rem; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero__actions .btn { width: 100%; }
  .hero__badge { left: -8px; bottom: 46px; padding: 12px 14px; min-width: 120px; }
  .hero__badge strong { font-size: 2.5rem; }
  .hero__mini { top: 18px; right: 0; padding: 9px 11px; }
  .hero__mini span { font-size: 9.5px; }
  .hero__stats { gap: 12px; }
  .hero__stats dd { font-size: 1.2rem; }
  .logo-strip__item { padding-inline: 24px; }
  .logo-strip__item img { width: 100px; height: 48px; }
  .hero__latest { flex-wrap: wrap; gap: 8px; }
  .stand__foot .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .testimonial__head { flex-direction: column; gap: 16px; }
  .testimonial__stage { min-height: 400px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 22px; }
  .footer__bottom-links { flex-wrap: wrap; gap: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 14px; }
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .tick-list--2 { grid-template-columns: 1fr; }
  .steps, .steps--4 { grid-template-columns: 1fr; }
  .step, .steps .step:nth-child(2n), .steps--4 .step { padding: 22px 0 24px; border-right: 0; }
  .project-grid, .dna-grid { grid-template-columns: 1fr; }
  .dna-item, .dna-item:nth-child(2n), .dna-item:nth-child(3n) { border-right: 0; padding-left: 0 !important; }
  .related-links { grid-template-columns: 1fr; }
  .tag-group { grid-template-columns: 1fr; gap: 8px; }
  .archivelist a, .archive-list a { grid-template-columns: 1fr 20px; gap: 4px; }
  .archive-list .mono { grid-column: 1 / -1; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .squad-card__foot { flex-direction: column; align-items: stretch; }
  .squad-card__foot .btn { width: 100%; }
  .product__stats { grid-template-columns: 1fr; }
  .product__stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .add-form__row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-item__visual { max-width: 120px; }
  .product__aside { grid-template-columns: 1fr; }
  .logo-wall__grid { grid-template-columns: 1fr 1fr; }
  .client-row { grid-template-columns: 24px 1fr; }
  .client-row__logo { grid-column: 2; }
  .client-row__logo img { width: 120px; }
  .client-row__body { grid-column: 2; }
  .article__share { gap: 12px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .drawer, .cart-drawer, .scrim, .toast, .article__aside, .article__share, .success-card__actions, .doc__aside { display: none !important; }
  body { background: #fff; color: #000; }
  .success-card { border: 1px solid #999; max-width: none; }
  a { text-decoration: underline; }
}

.article-meta-card { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.article-meta-card .mono { color: var(--muted); margin-bottom: 10px; }
.article-meta-card strong { display: block; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }
.article-meta-card p:last-child { font-size: 12px; color: var(--muted); }

/* Term selector on the light cart drawer */
.cart-drawer .term-options { border-color: var(--line-strong); }
.cart-drawer .term-options button { border-color: var(--line); color: var(--muted); }
.cart-drawer .term-options button.is-active { background: var(--ink); color: var(--lime); }
.cart-drawer__note { font-size: 10px; line-height: 1.5; color: var(--muted); margin-top: 10px; }

.shop-hero .eyebrow__index { color: var(--paper); }

@media (max-width: 560px) {
  .hero__latest .icon { display: none; }
}

/* Home squad strip */
.squad-strip { background: var(--paper-2); }
.squad-strip__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.squad-strip__head p { color: var(--muted); margin: 24px 0 28px; max-width: 40ch; }
.squad-strip__list { border-top: 1px solid var(--line-strong); }
.squad-strip__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 130px 24px; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease), background 0.3s; }
.squad-strip__row:hover { padding-left: 12px; background: rgba(251, 250, 245, 0.55); }
.squad-strip__cat { color: var(--muted); }
.squad-strip__row strong { font-size: clamp(1.05rem, 1.6vw, 1.32rem); font-weight: 500; letter-spacing: -0.02em; }
.squad-strip__price { font-size: 1.08rem; letter-spacing: -0.03em; text-align: right; white-space: nowrap; }
.squad-strip__price small { font-size: 10px; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.squad-strip__arrow { color: var(--muted); justify-self: end; }
.squad-strip__arrow .icon { width: 16px; height: 16px; transition: transform 0.3s; }
.squad-strip__row:hover .squad-strip__arrow .icon { transform: translate(3px, -3px); color: var(--olive-deep); }
.squad-strip__note { color: var(--muted); padding-top: 14px; font-size: 8.5px; }

@media (max-width: 900px) {
  .squad-strip__grid { grid-template-columns: 1fr; gap: 34px; }
  .squad-strip__row { grid-template-columns: 96px minmax(0, 1fr) 100px 20px; gap: 12px; }
}
@media (max-width: 520px) {
  .squad-strip__row { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px; padding: 16px 0; }
  .squad-strip__cat { grid-column: 1; }
  .squad-strip__row strong { grid-column: 1; }
  .squad-strip__price { grid-column: 1; grid-row: 3; text-align: left; font-size: 1rem; }
  .squad-strip__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
