/* ==========================================================================
   Hamriz Technologies — site styles
   Tokens → base → layout → components → pages → responsive
   ========================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url(../fonts/inter-latin-800-normal.woff2) format("woff2"); }

:root {
  /* Brand palette */
  --midnight: #14141B;
  --midnight-2: #1D1D26;
  --ink: #15151C;
  --brand: #FF183C;
  --brand-deep: #D90F31;
  --brand-soft: #FFEAEE;
  --aqua: #43DCE6;
  --aqua-soft: #E2F9FB;
  --aqua-ink: #0B6870;
  --mist: #F6F6F8;
  --white: #FFFFFF;
  --line: #E6E6EC;
  --line-dark: rgba(255,255,255,.12);
  --slate: #5C5C6B;
  --slate-light: #B4B4C0;

  /* Type */
  --font-display: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.7rem + 4.4vw, 5.25rem);

  /* Space & shape */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(20,20,27,.06), 0 12px 32px -12px rgba(20,20,27,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-display); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--aqua); color: var(--midnight); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--midnight); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--midnight); color: #fff; }
.section--dark p { color: var(--slate-light); }
.section--dark a:not(.btn):not(.case) { color: var(--aqua); }
.icon-sm, .case-link svg, .svc-go svg { width: 20px; height: 20px; }

.lede { font-size: var(--step-1); color: var(--slate); max-width: 38em; line-height: 1.55; }
.section--dark .lede { color: var(--slate-light); }

/* The pixel — brand signature, used sparingly */
.pixel { display: inline-block; width: .5em; height: .5em; background: var(--aqua); vertical-align: baseline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.35em;
  border-radius: var(--r-md); border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--midnight); }
.btn-light:hover { background: var(--aqua); color: var(--midnight); }
.btn-outline-light { border-color: var(--line-dark); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 2rem; }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.brand-dark { display: none !important; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; }
.main-nav ul a {
  position: relative; display: block; padding: .5rem .85rem;
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--r-sm);
}
.main-nav ul a:hover { background: var(--mist); color: var(--ink); }
.main-nav ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; background: var(--aqua);
}
.nav-cta { min-height: 44px; padding-inline: 1.1em; }
.menu-toggle { display: none; }

/* ---------- Section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head h2 { font-size: var(--step-4); margin: 0; max-width: 14em; }
.head p { margin: 0; color: var(--slate); font-size: var(--step-1); line-height: 1.5; max-width: 32em; }
.section--dark .head p { color: var(--slate-light); }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--mist); padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4.5rem, 9vw, 7.5rem); text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 15%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 15%, transparent 72%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.75rem; padding: .4rem .85rem .4rem .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-size: var(--step--1); font-weight: 500; color: var(--slate); }
.hero-kicker b { display: inline-grid; place-items: center; height: 22px; padding: 0 .55rem; border-radius: 100px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; font-size: .78rem; }
.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 5vw, 5.5rem); font-weight: 800; line-height: .99; letter-spacing: -.054em;
  margin: 0 auto 1.75rem; max-width: 13.5em; text-wrap: balance;
}
.hero h1 .cursor {
  display: inline-block; width: .36em; height: .36em; margin-left: .08em;
  background: var(--brand); vertical-align: .02em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero .lede { margin: 0 auto 2.5rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin-top: 2.75rem; padding: 0; list-style: none; font-size: var(--step--1); color: var(--slate); }
.hero-meta li { display: flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-inner > * { animation: rise .8s var(--ease) both; }
  .js .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .js .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .js .hero-inner > :nth-child(4) { animation-delay: .24s; }
  .js .hero-inner > :nth-child(5) { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Tech strip ---------- */
.tech { padding-block: 2.25rem; border-bottom: 1px solid var(--line); }
.tech-inner { display: flex; align-items: center; gap: 2.5rem; }
.tech p { margin: 0; flex: none; font-size: var(--step--1); color: var(--slate); max-width: 11em; line-height: 1.4; }

/* ---------- Services index (home) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) minmax(0, 1.1fr) 2rem; gap: 1.5rem; align-items: center;
  padding: 1.75rem .5rem; color: inherit; text-decoration: none;
  transition: background-color .25s var(--ease);
}
.svc-row a:hover { background: var(--mist); color: inherit; }
.svc-ico { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand); }
.svc-ico svg { width: 22px; height: 22px; }
.svc-row h3 { font-size: var(--step-2); margin: 0; }
.svc-row p { margin: 0; color: var(--slate); }
.svc-go { color: var(--slate); transition: transform .25s var(--ease), color .25s; }
.svc-row a:hover .svc-go { color: var(--brand); transform: translateX(4px); }

/* ---------- Work (home, dark) ---------- */
.cases { display: grid; gap: 1.25rem; grid-template-columns: repeat(12, 1fr); }
.case { grid-column: span 6; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--midnight-2); border: 1px solid var(--line-dark); overflow: hidden; color: #fff; text-decoration: none; }
.case:first-child { grid-column: span 12; flex-direction: row; }
.case:hover { color: #fff; border-color: rgba(255,255,255,.28); }
.case-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand); }
.case:first-child .case-visual { flex: 1.25; aspect-ratio: auto; min-height: 360px; }
.case-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.case-tags li { font-size: .8rem; font-weight: 500; padding: .25rem .6rem; border-radius: 100px; border: 1px solid var(--line-dark); color: var(--slate-light); }
.case h3 { font-size: var(--step-2); margin: .25rem 0 0; }
.case:first-child h3 { font-size: var(--step-3); }
.case p { margin: 0; color: var(--slate-light); }
.case-link { margin-top: auto; padding-top: .75rem; font-weight: 600; color: var(--aqua); display: inline-flex; gap: .5rem; align-items: center; }

/* Illustrated case visuals (pure CSS, no stock imagery) */
.cv { position: absolute; inset: 0; display: grid; place-items: center; }
.cv--order { background: linear-gradient(160deg, #FF183C, #A90026); }
.cv--whatsapp { background: #0F5C55; }
.cv--travel { background: #24242F; }
.cv--seo { background: #2E2E3A; }
.cv--hosting { background: #8E0020; }
.cv--retail { background: #0B6870; }
.cv-card { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); font-size: 12px; }
.cv-order { width: min(78%, 420px); padding: 16px; display: grid; gap: 10px; }
.cv-order header { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.cv-order header b { font-family: var(--font-display); font-size: 16px; }
.cv-order .badge { font-size: 10px; background: var(--aqua-soft); color: var(--aqua-ink); padding: 3px 8px; border-radius: 100px; }
.cv-line { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); color: var(--slate); }
.cv-line strong { color: var(--ink); }
.cv-cta { background: var(--midnight); color: #fff; border-radius: 10px; padding: 10px; text-align: center; font-weight: 600; }
.cv-chat { width: min(70%, 300px); padding: 14px; display: grid; gap: 8px; background: #ECE5DD; }
.cv-chat p { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fff; max-width: 85%; color: var(--ink); font-size: 12px; line-height: 1.4; }
.cv-chat p.me { justify-self: end; background: #D9FDD3; }
.cv-chat .prod { display: flex; gap: 8px; align-items: center; }
.cv-chat .prod i { width: 34px; height: 34px; border-radius: 6px; background: var(--aqua); flex: none; }
.cv-ticket { width: min(80%, 340px); padding: 16px; display: grid; gap: 12px; }
.cv-route { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.cv-route span { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); position: relative; }
.cv-route span::after { content: ""; position: absolute; left: 50%; top: -4px; width: 10px; height: 10px; background: var(--aqua); }
.cv-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cv-split div { padding: 8px; border-radius: 8px; background: var(--mist); text-align: center; color: var(--slate); font-size: 11px; }
.cv-split div b { display: block; color: var(--ink); font-size: 13px; }
.cv-serp { width: min(82%, 360px); padding: 14px; display: grid; gap: 10px; }
.cv-serp .q { padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--slate); }
.cv-serp .r { display: grid; gap: 4px; }
.cv-serp .r i { height: 7px; border-radius: 4px; background: var(--line); }
.cv-serp .r i:first-child { width: 60%; background: var(--brand); height: 9px; }
.cv-serp .r.top { padding: 8px; border-radius: 8px; background: var(--aqua-soft); }
.cv-serp .r i:last-child { width: 85%; }
.cv-term { width: min(80%, 360px); padding: 14px 16px; background: var(--midnight); color: #D8D8E0; font: 11.5px/1.7 ui-monospace, Menlo, Consolas, monospace; }
.cv-term .s { color: var(--aqua); }
.cv-shop { width: min(82%, 360px); padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cv-shop div { display: grid; gap: 4px; }
.cv-shop div i { aspect-ratio: 1; border-radius: 8px; background: var(--mist); }
.cv-shop div:nth-child(2) i { background: var(--aqua-soft); }
.cv-shop div:nth-child(4) i { background: var(--brand-soft); }
.cv-shop div b { height: 6px; border-radius: 3px; background: var(--line); }
.cv-shop div span { height: 6px; width: 50%; border-radius: 3px; background: var(--brand); }

/* ---------- Process (a real sequence) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.step { position: relative; counter-increment: step; }
.step-num { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.5rem; border-radius: var(--r-md); background: var(--white); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--brand); }
.step:last-child .step-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.step h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.step p { color: var(--slate); margin-bottom: 1rem; }
.step small { display: block; font-size: var(--step--1); color: var(--ink); font-weight: 500; padding-top: .75rem; border-top: 1px dashed var(--line); }

/* ---------- Principles ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split h2 { font-size: var(--step-4); }
.split .sticky { position: sticky; top: 110px; }
.promises { list-style: none; display: grid; gap: 0; }
.promises li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 1.25rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.promises li:last-child { border-bottom: 1px solid var(--line); }
.promises li::before { content: ""; width: 12px; height: 12px; margin-top: .55rem; background: var(--aqua); }
.promises h3 { font-size: var(--step-1); font-family: var(--font-display); margin: 0 0 .35rem; letter-spacing: -.01em; }
.promises p { margin: 0; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
  linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .25s var(--ease); color: var(--brand); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--slate); max-width: 44em; }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 3rem; align-items: end; }
.cta::after { content: ""; position: absolute; right: 0; top: 0; width: 88px; height: 88px; background: var(--aqua); }
.cta::before { content: ""; position: absolute; right: 88px; top: 88px; width: 88px; height: 88px; background: rgba(255,255,255,.08); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: var(--step-4); margin: 0 0 1rem; font-weight: 800; letter-spacing: -.03em; max-width: 12em; }
.cta p { margin: 0; color: rgba(255,255,255,.82); font-size: var(--step-1); max-width: 30em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn-outline-light { border-color: rgba(255,255,255,.4); }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; background: var(--mist); padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: var(--gutter); bottom: 0; width: clamp(48px, 7vw, 96px); height: clamp(48px, 7vw, 96px); background: var(--aqua); }
.crumbs { display: flex; gap: .5rem; list-style: none; font-size: var(--step--1); color: var(--slate); margin-bottom: 1.25rem; }
.crumbs a { color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.page-head h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -.035em; line-height: 1; max-width: 13em; margin-bottom: 1.25rem; }
.page-head .lede { margin: 0; }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-nav ul { display: flex; gap: .25rem; list-style: none; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: block; white-space: nowrap; padding: .45rem .9rem; border-radius: 100px; color: var(--slate); text-decoration: none; font-weight: 500; font-size: .95rem; }
.svc-nav a:hover, .svc-nav a.is-active { background: var(--brand-soft); color: var(--brand); }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail .svc-ico { width: 3.25rem; height: 3.25rem; margin-bottom: 1.5rem; border-radius: var(--r-md); }
.svc-detail .svc-ico svg { width: 26px; height: 26px; }
.svc-detail h2 { font-size: var(--step-3); }
.svc-detail .lede { font-size: var(--step-0); margin-bottom: 1.5rem; }
.svc-detail h3 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; color: var(--slate); letter-spacing: 0; margin: 0 0 .9rem; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; margin-bottom: 2rem; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; line-height: 1.45; }
.checks svg { width: 20px; height: 20px; color: var(--brand); margin-top: .1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chips li { font-size: .875rem; font-weight: 500; padding: .35rem .75rem; border-radius: var(--r-sm); background: var(--mist); color: var(--ink); }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.model { padding: 2rem; border: 1px solid var(--line-dark); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.model.is-featured { background: var(--white); color: var(--ink); border-color: var(--white); }
.model.is-featured p { color: var(--slate); }
.model h3 { font-size: var(--step-2); }
.model .for { font-weight: 600; font-size: var(--step--1); margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); color: #fff; }
.model.is-featured .for { border-top-color: var(--line); color: var(--ink); }

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters button { min-height: 42px; padding: .5rem 1.05rem; border-radius: 100px; border: 1.5px solid var(--line); background: var(--white); font-weight: 500; cursor: pointer; color: var(--ink); }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
.work-item { display: flex; flex-direction: column; gap: 1rem; }
.work-item[hidden] { display: none; }
.work-item .case-visual { border-radius: var(--r-lg); }
.work-item .case-tags li { border-color: var(--line); color: var(--slate); }
.work-item h2 { font-size: var(--step-2); margin: 0; }
.work-item p { margin: 0; color: var(--slate); }
.work-item dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: .25rem 0 0; font-size: .95rem; }
.work-item dt { color: var(--slate); }
.work-item dd { margin: 0; font-weight: 500; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.about-intro .big-quote { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1.18; letter-spacing: -.02em; margin: 0; }
.about-intro p { color: var(--slate); }
.about-intro .big-quote { color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; list-style: none; }
.values li h3 { font-size: var(--step-1); font-family: var(--font-display); display: flex; align-items: center; gap: .65rem; }
.values li h3::before { content: ""; width: 10px; height: 10px; background: var(--aqua); flex: none; }
.values li p { color: var(--slate-light); margin: 0; }
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.reach-card { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--mist); }
.reach-card h3 { font-size: var(--step-2); }
.reach-card p { color: var(--slate); margin: 0; }
.careers { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--r-lg); }
.careers h2 { font-size: var(--step-3); margin-bottom: .5rem; }
.careers p { margin: 0; color: var(--slate); max-width: 38em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2313173A' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFCFD8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field [aria-invalid="true"] { border-color: #C9302C; }
.field .err { color: #B42318; font-size: .875rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.pills label { position: relative; font-weight: 500; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 100px; cursor: pointer; transition: all .15s; }
.pills input:hover + span { border-color: #CFCFD8; }
.pills input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot p { margin: 0; font-size: var(--step--1); color: var(--slate); }
.notice { grid-column: 1 / -1; padding: 1rem 1.25rem; border-radius: var(--r-md); font-weight: 500; }
.notice--ok { background: var(--aqua-soft); color: var(--aqua-ink); }
.notice--err { background: #FDECEA; color: #8A1C14; }
.contact-side { display: grid; gap: 1.25rem; }
.side-card { padding: 1.75rem; border-radius: var(--r-lg); background: var(--mist); }
.side-card h2 { font-size: var(--step-1); font-family: var(--font-display); margin-bottom: 1rem; }
.side-card ul { list-style: none; display: grid; gap: 1rem; }
.side-card ul li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; }
.side-card li svg { width: 22px; height: 22px; color: var(--brand); margin-top: .1rem; }
.side-card li small { display: block; color: var(--slate); font-size: .875rem; }
.side-card li a { font-weight: 600; color: var(--ink); text-decoration: none; }
.side-card li a:hover { color: var(--brand); }
.side-card--dark { background: var(--midnight); color: #fff; }
.side-card--dark ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .65rem; color: var(--slate-light); }
.side-card--dark ol li::marker { color: var(--aqua); font-weight: 700; }

/* ---------- Brand page ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.brand-tile { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.brand-tile .show { display: grid; place-items: center; min-height: 240px; padding: 2.5rem; }
.brand-tile .show img { max-height: 120px; width: auto; }
.brand-tile .show.dark { background: var(--midnight); }
.brand-tile .show.mist { background: var(--mist); }
.brand-tile .show.indigo { background: var(--brand); }
.brand-tile .meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.brand-tile .meta b { font-weight: 600; }
.brand-tile .meta span { display: flex; gap: .75rem; font-size: .9rem; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; list-style: none; }
.swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.swatch i { display: block; height: 120px; }
.swatch div { padding: .85rem 1rem; font-size: .9rem; }
.swatch b { display: block; }
.swatch code { color: var(--slate); font-size: .85rem; }
.type-specimen { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.type-specimen > div { padding: 2rem; border-radius: var(--r-lg); background: var(--mist); }
.type-specimen .aa { font-size: 5rem; line-height: 1; margin-bottom: 1rem; }
.type-specimen p { color: var(--slate); margin: 0; }
.rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; }
.rules li { padding: 1.25rem 0; border-top: 1px solid var(--line); color: var(--slate); }
.rules li b { display: block; color: var(--ink); margin-bottom: .25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: var(--slate-light); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1.1fr 1.25fr .8fr 1fr; gap: 2.25rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 24em; }
.footer-mail { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: #fff; text-decoration: none; border-bottom: 2px solid var(--aqua); }
.footer-mail:hover { color: var(--aqua); }
.footer-col h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { color: var(--slate-light); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); }
.footer-bottom p { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .site-header { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--white); cursor: pointer; position: relative; z-index: 60;
  }
  .menu-toggle .bars { display: grid; gap: 6px; width: 20px; }
  .menu-toggle .bars i { display: block; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] .bars i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; z-index: 55; flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem; background: var(--white);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
    overflow-y: auto;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 1rem .25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a:hover { background: none; color: var(--brand); }
  .main-nav ul a[aria-current="page"]::after { left: auto; right: .25rem; top: 50%; bottom: auto; margin: -5px 0 0; width: 10px; height: 10px; }
  .nav-cta { min-height: 54px; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }

  .head, .split, .about-intro, .contact-grid, .svc-detail { grid-template-columns: 1fr; }
  .split .sticky { position: static; }
  .tech-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .case, .case:first-child { grid-column: span 12; flex-direction: column; }
  .case:first-child .case-visual { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .steps::before { display: none; }
  .models, .values { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .careers { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .header-inner { height: 68px; }
  .main-nav { inset: 68px 0 0 0; }
  .brand img { height: 34px; }
  .svc-nav { top: 68px; }
  html { scroll-padding-top: 76px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .svc-row a { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .5rem 1rem; padding: 1.5rem .25rem; }
  .svc-row p { grid-column: 2; }
  .svc-go { display: none; }
  .steps, .models, .values, .reach, .work-grid, .form, .checks, .brand-grid, .type-specimen, .rules { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .cta::after { width: 48px; height: 48px; }
  .cta::before { display: none; }
  .cta-actions .btn { flex: 1 1 100%; }
  .page-head::after { width: 40px; height: 40px; }
  .marquee { width: 100%; }
  .case-visual, .case:first-child .case-visual { aspect-ratio: 4 / 3.2; }
  .cta h2 { padding-right: 2.5rem; }
}

/* ==========================================================================
   v5 — service pages, founders, social, motion
   ========================================================================== */

/* Header shrinks slightly once scrolled */
.header-inner { transition: height .35s var(--ease); }
.brand img { transition: height .35s var(--ease); }
@media (min-width: 961px) {
  .site-header.is-scrolled .header-inner { height: 64px; }
  .site-header.is-scrolled .brand img { height: 38px; }
}

/* Nav link underline that slides in */
.main-nav ul a::before {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 4px; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav ul a:hover::before { transform: scaleX(1); }

/* Buttons: soft lift and arrow nudge */
.btn { transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(255,24,60,.65); }
.btn-ghost:hover, .btn-light:hover, .btn-outline-light:hover { transform: translateY(-2px); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Hero ambience: two soft blobs drifting slowly */
.hero::after {
  content: ""; position: absolute; inset: -20% -10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 42% at 20% 30%, rgba(255,24,60,.10), transparent 70%),
    radial-gradient(32% 38% at 82% 62%, rgba(67,220,230,.16), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-inner { z-index: 1; }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }

/* Tech marquee */
.marquee { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { flex: none; display: flex; gap: 2.5rem; padding-right: 2.5rem; list-style: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: #9A9AA8; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Service index rows (home) */
.svc-ico { transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.svc-row a:hover .svc-ico { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }

/* Service cards (overview + related) */
.svc-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card {
  height: 100%; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--white); color: inherit; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc-card:hover { color: inherit; transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 48px -24px rgba(20,20,27,.35); }
.svc-card:hover .svc-ico { background: var(--brand); color: #fff; }
.svc-card .svc-ico { margin-bottom: .5rem; }
.svc-card h2, .svc-card h3 { font-size: var(--step-2); margin: 0; }
.svc-card p { margin: 0; color: var(--slate); }
.svc-card-list { list-style: none; display: grid; gap: .35rem; margin: .5rem 0 0; font-size: .95rem; }
.svc-card-list li { display: flex; gap: .55rem; align-items: center; }
.svc-card-list li::before { content: ""; width: 6px; height: 6px; background: var(--aqua); flex: none; }
.svc-card--cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.svc-card--cta:hover { color: #fff; }
.svc-card--cta p { color: rgba(255,255,255,.85); }
.svc-card--cta .svc-card-go { color: #fff; }
.svc-card-go { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--brand-deep); display: inline-flex; gap: .4rem; align-items: center; }
.svc-card-go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-card-go svg { transform: translateX(4px); }

/* Service page */
.page-head--service .svc-ico--lg { width: 3.5rem; height: 3.5rem; border-radius: var(--r-md); margin-bottom: 1.25rem; }
.page-head--service .svc-ico--lg svg { width: 28px; height: 28px; }
.page-head--service h1 { max-width: 15em; }
.hero-actions--left { justify-content: flex-start; margin-top: 2rem; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { padding: 1.75rem; border-radius: var(--r-lg); background: var(--mist); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.feature:hover { background: var(--brand-soft); transform: translateY(-4px); }
.feature-check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--brand); margin-bottom: 1rem; }
.feature-check svg { width: 18px; height: 18px; }
.feature h3 { font-size: var(--step-1); margin-bottom: .4rem; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--slate); }
.stack-row { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.stack-row h3 { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 1rem; }
.chips--dark li { background: rgba(255,255,255,.08); color: #fff; }
.work-title { font-size: var(--step-2); margin: 0; }
.section--tight { padding-top: 0; }

/* About: mission + founders */
.mission { position: relative; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-lg); background: var(--midnight); color: #fff; overflow: hidden; }
.mission::after { content: ""; position: absolute; top: 0; right: 0; width: 72px; height: 72px; background: var(--aqua); }
.mission-label { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; color: var(--brand); margin-bottom: 1rem; }
.mission-text { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 1.5rem; max-width: 16em; }
.mission-sub { color: var(--slate-light); max-width: 40em; margin: 0; font-size: var(--step-1); line-height: 1.55; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.founder:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20,20,27,.35); }
.founder-avatar { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(150deg, #FF4561, #C4001F); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.04em; position: relative; }
.founder-avatar::after { content: ""; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 4px; background: var(--aqua); }
.founder-avatar--alt { background: linear-gradient(150deg, #2A2A36, #0E0E14); }
.founder h3 { font-size: var(--step-2); margin: 0 0 .25rem; }
.founder-role { color: var(--brand-deep); font-weight: 600; margin-bottom: .9rem; }
.founder p:not(.founder-role) { color: var(--slate); }

/* Footer social */
.social { display: flex; gap: .6rem; list-style: none; margin-top: 1.75rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; transition: background-color .25s var(--ease), transform .25s var(--ease); }
.social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }

/* Case visual: inner card floats on hover */
.case-visual .cv-card { transition: transform .5s var(--ease); }
.case:hover .cv-card, .work-item:hover .cv-card { transform: translateY(-6px) scale(1.03); }
.work-item .case-visual { transition: box-shadow .4s var(--ease); }
.work-item:hover .case-visual { box-shadow: 0 30px 60px -30px rgba(20,20,27,.45); }

/* FAQ answer reveal */
.faq details > div { overflow: hidden; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js body { animation: pagein .5s var(--ease) both; }
}
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Responsive for new components */
@media (max-width: 960px) {
  .svc-cards, .feature-grid { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .svc-cards, .feature-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .marquee-track { font-size: 1.05rem; gap: 1.5rem; padding-right: 1.5rem; }
  .hero-actions--left .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   v6 — industries, manual → automated, outcomes
   ========================================================================== */
.svc-cards--4 { grid-template-columns: repeat(4, 1fr); }

/* Industry grid */
.ind-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.ind-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center;
  padding: 1.35rem 1.5rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  color: inherit; text-decoration: none; height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.ind-card:hover { color: inherit; transform: translateY(-4px); border-color: transparent; box-shadow: 0 22px 44px -26px rgba(20,20,27,.4); }
.ind-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.ind-ico svg { width: 26px; height: 26px; }
.ind-card:hover .ind-ico { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.ind-body { display: grid; gap: .2rem; }
.ind-body strong { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -.025em; }
.ind-body span { color: var(--slate); font-size: .95rem; line-height: 1.45; }
.ind-go { color: var(--slate); transition: transform .3s var(--ease), color .3s var(--ease); }
.ind-go svg { width: 20px; height: 20px; }
.ind-card:hover .ind-go { color: var(--brand); transform: translateX(4px); }

/* Manual → automated */
.shift { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem; align-items: stretch; }
.shift-col { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); }
.shift-col h3 { font-size: var(--step-2); margin-bottom: 1.1rem; }
.shift-col ul { list-style: none; display: grid; gap: .85rem; }
.shift-col li { display: grid; grid-template-columns: 14px 1fr; gap: .8rem; line-height: 1.45; }
.shift-col li::before { content: ""; width: 10px; height: 10px; margin-top: .45rem; }
.shift-col--before { background: var(--white); border: 1px dashed #CFCFD8; color: var(--slate); }
.shift-col--before h3 { color: var(--slate); }
.shift-col--before li::before { background: #CFCFD8; }
.shift-col--after { background: var(--midnight); color: #fff; }
.shift-col--after li::before { background: var(--aqua); }
.shift-arrow { display: grid; place-items: center; }
.shift-arrow svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--brand); color: #fff; }
.shift-results { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.shift-results li { padding: 1.4rem 1.5rem; border-radius: var(--r-lg); background: var(--white); border-top: 3px solid var(--brand); display: grid; gap: .3rem; }
.shift-results strong { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -.025em; }
.shift-results span { color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .shift-arrow svg { animation: nudge 2.4s var(--ease) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* Industry challenges */
.pain-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pain { padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pain::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.pain h3 { font-size: var(--step-1); margin-bottom: .4rem; letter-spacing: -.02em; }
.pain p { margin: 0; color: var(--slate); }

/* Case outcomes */
.case-outcome { display: flex; gap: .55rem; align-items: flex-start; color: #fff !important; font-weight: 500; }
.case-outcome svg { width: 20px; height: 20px; flex: none; color: var(--aqua); margin-top: .15rem; }
.case-outcome--light { color: var(--ink) !important; padding: .85rem 1rem; border-radius: var(--r-md); background: var(--aqua-soft); }
.case-outcome--light svg { color: var(--aqua-ink); }

@media (max-width: 1080px) {
  .svc-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .shift { grid-template-columns: 1fr; }
  .shift-arrow svg { transform: rotate(90deg); animation: none; }
  .shift-results, .pain-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .svc-cards--4 { grid-template-columns: 1fr; }
  .ind-card { grid-template-columns: auto 1fr; }
  .ind-go { display: none; }
}

/* ==========================================================================
   v7 — careers
   ========================================================================== */
.role-list { list-style: none; display: grid; gap: 1rem; }
.role {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center;
  padding: 1.4rem 1.6rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.role:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(20,20,27,.4); }
.role:hover .ind-ico { background: var(--brand); color: #fff; }
.role h3 { font-size: var(--step-1); margin: 0 0 .3rem; letter-spacing: -.025em; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.role p { margin: 0; color: var(--slate); }
.role-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .55rem !important; font-size: .9rem; }
.role-meta span:first-child { color: var(--ink); font-weight: 600; }
.role-badge { font-size: .75rem; font-weight: 700; letter-spacing: 0; padding: .2rem .6rem; border-radius: 100px; background: var(--aqua-soft); color: var(--aqua-ink); }
.file-input { padding: .65rem; cursor: pointer; }
.file-input::file-selector-button { font: inherit; font-weight: 600; margin-right: .9rem; padding: .5rem .9rem; border: 0; border-radius: 8px; background: var(--brand-soft); color: var(--brand-deep); cursor: pointer; }
@media (max-width: 680px) {
  .role { grid-template-columns: 1fr; }
  .role .ind-ico { display: none; }
  .role-apply { justify-self: start; }
}
