/* Softever Studio — flow, form and resilience.
   Colour and typography follow docs/ci/softever-logo-guidelines.html (CI v2). */
:root {
  /* Neutrals — Ivory Silk ground, Midnight Ocean ink */
  --paper-0: #F7F6F0;   /* Ivory Silk — the page ground, and the only one */
  --paper-1: #EFEDE5;   /* card surface under the pencil hatch */
  --ink-1: #0C1F33;     /* Midnight Ocean */
  --ink-2: #34516B;     /* Deep Ocean Blue */
  --ink-3: #5F7D93;     /* Calm Ocean — 4.0:1 on Ivory, so never for small text */
  --divider: rgba(12, 31, 51, 0.12);

  /* Brand accents — used sparingly, per colour-usage ratio */
  --brand-orange: #E96246;  /* Sunset Orange — STAND, interaction accent */
  --brand-green: #72B961;   /* Nature Green — OPEN */
  --brand-blue: #4392D2;    /* Ocean Blue — TEST */
  --brand-yellow: #F5C94C;  /* Golden Sun — RISE */
  --gold-ink: #DD9E00;      /* Golden Sun darkened — the only cut that reads on Ivory */

  --font-th: 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
  --font-en: 'Quicksand', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --gutter: 40px;
  --radius: 18px;
}

/* One tone per component; tints are pre-mixed onto Ivory so nothing blends the ground */
.tone-orange { --tone: var(--brand-orange); --tone-tint: #F5E1D8; }
.tone-green  { --tone: var(--brand-green);  --tone-tint: #E2ECD9; }
.tone-blue   { --tone: var(--brand-blue);   --tone-tint: #DEE8EC; }
.tone-gold   { --tone: var(--gold-ink);     --tone-tint: #F7ECCC; }

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

html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--paper-0);
  color: var(--ink-1);
  font-family: var(--font-th);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body[data-lang="en"],
[lang="en"] { font-family: var(--font-en); }
body[data-lang="th"] [lang="th"] { font-family: var(--font-th); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--ink-1); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container.narrow { max-width: calc(760px + var(--gutter) * 2); }

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

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink-1);
  color: var(--paper-0);
  font-weight: 600;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

/* ---------- Icons — line icons as masks, coloured by the component's tone ---------- */
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: var(--icon-color, currentColor);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}

.icon-phone  { --icon: url('/icons/phone.svg');          --icon-color: var(--brand-blue); }
.icon-email  { --icon: url('/icons/email.svg');          --icon-color: var(--gold-ink); }
.icon-mappin { --icon: url('/icons/map-pin.svg');        --icon-color: var(--brand-green); }
.icon-check  { --icon: url('/icons/check-circle.svg');   --icon-color: var(--tone); }
.icon-out    { --icon: url('/icons/arrow-up-right.svg'); --icon-color: var(--tone, var(--brand-orange)); }
.icon-menu   { --icon: url('/icons/menu.svg'); }
.nav-open .icon-menu { --icon: url('/icons/x.svg'); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-th);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
              border-color 220ms var(--ease), background-color 220ms var(--ease);
}

body[data-lang="en"] .btn { font-family: var(--font-en); font-weight: 700; }

/* Sunset Orange fill takes a Midnight label — ivory-on-orange is only 3.3:1 */
.btn-primary { background: var(--brand-orange); color: var(--ink-1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(233, 98, 70, 0.28); }

.btn-ghost { border-color: rgba(12, 31, 51, 0.18); color: var(--ink-1); }
.btn-ghost:hover { border-color: var(--ink-1); }

.btn-dark { background: var(--ink-1); color: var(--paper-0); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(12, 31, 51, 0.22); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.actions.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 240, 0.9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
          backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}

.site-header.is-scrolled { border-bottom-color: var(--divider); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo-link { display: inline-flex; align-items: center; flex: none; }
/* The supplied secondary logo includes its own clear space in a 400 × 100 artboard. */
.logo { height: 52px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  transition: color 200ms var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}

.nav-link:hover,
.nav-link.is-active { color: var(--ink-1); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ink-3 is only 4.0:1 on Ivory — small text uses ink-2 */
.locale-switch a { color: var(--ink-2); padding: 4px 2px; transition: color 200ms var(--ease); }
.locale-switch a:hover { color: var(--brand-orange); }
.locale-switch a.active { color: var(--ink-1); }
.locale-switch .sep { color: var(--divider); font-weight: 400; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-1);
  cursor: pointer;
}

.nav-toggle .icon { width: 24px; height: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* brand colour goes on the dash; as small text on Ivory it fails contrast */
  color: var(--ink-2);
  font-family: var(--font-th);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: '';
  width: 28px; height: 3px;
  border-radius: 3px;
  background: var(--tone, var(--brand-orange));
}

.eyebrow[lang="en"],
body[data-lang="en"] .eyebrow {
  font-family: var(--font-en);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section { padding: 112px 0; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center { align-items: center; text-align: center; margin-inline: auto; }

.section-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.section-title {
  font-family: var(--font-th);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.005em;
  color: var(--ink-1);
  text-wrap: balance;
}

body[data-lang="en"] .section-title { font-family: var(--font-en); line-height: 1.18; }

.section-body {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}

body[data-lang="en"] .section-body { line-height: 1.65; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

/* Pencil hatch from the board's value cards — a surface, never the page ground */
.hatch {
  background-color: var(--paper-1);
  background-image: repeating-linear-gradient(-58deg, rgba(12, 31, 51, 0.045) 0 1px, transparent 1px 7px);
}

.card-title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-1);
}

.card-body { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
body[data-lang="en"] .card-body { line-height: 1.6; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--ink-1);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--tone, var(--brand-orange));
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-underline-offset 200ms var(--ease);
}

.link-arrow:hover { text-underline-offset: 3px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* Editorial layout: clear hierarchy, quiet surfaces, colour with a purpose. */
.section { padding: 92px 0; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-title { font-size: clamp(29px, 3.1vw, 42px); line-height: 1.35; letter-spacing: -.025em; }
.section-body { font-size: 16px; line-height: 1.85; }
.editorial-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; max-width: none; align-items: end; }
.editorial-head .eyebrow { margin-bottom: 16px; }
.enterprise .editorial-head, .portfolio .editorial-head { grid-template-columns: 1fr; justify-items: center; gap: 20px; max-width: 900px; margin-inline: auto; text-align: center; }
.enterprise .editorial-head > .section-body, .portfolio .editorial-head > .section-body { max-width: 760px; text-wrap: balance; }
.card-title { font-family: inherit; font-size: 20px; line-height: 1.5; }
.btn { border-radius: 7px; min-height: 48px; gap: 18px; }
.btn-ghost { border-color: var(--divider); }
.link-arrow { font-family: inherit; font-size: 15px; font-weight: 600; gap: 12px; }
.link-arrow [aria-hidden] { transition: transform .2s ease; }
.link-arrow:hover [aria-hidden] { transform: translate(2px,-2px); }
.nav-link { font-size: 14px; }
.site-nav { gap: 24px; }

/* A large, original illustration makes the brand's promise tangible. */
.studio-hero { padding-top: 64px; padding-bottom: 48px; }
.hero-composition { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero-copy { min-width: 0; padding-block: 20px 32px; }
.hero-copy > .eyebrow { font-size: 12px; margin-bottom: 26px; }
.hero-copy > .eyebrow::before { content: none; }
.studio-headline { font: 700 clamp(40px,4.6vw,64px)/1.1 var(--font-en); letter-spacing: -.045em; }
.studio-headline > span { display: block; }
.headline-software { display: block; }
.studio-headline > span:last-child { font-size: .71em; letter-spacing: -.035em; margin-top: 8px; }
.studio-headline em { color: var(--brand-orange); font-style: normal; }
.headline-dot { color: var(--brand-orange); }
.hero-lead { color: var(--ink-2); font-size: 17px; line-height: 1.9; max-width: 530px; margin-top: 26px; text-wrap: balance; }
.hero-lead > strong { color: #000; font-weight: 700; -webkit-text-stroke: .2px currentColor; }
.hero-copy .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); max-width: 530px; margin-top: 26px; }
.hero-copy .btn { padding-inline: 18px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65em; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--ink-2); text-align: center; }
.hero-note[lang="th"] { letter-spacing: .14em; }
.hero-note-phrase { display: inline-flex; align-items: center; gap: .65em; }
.hero-note[lang="th"] .hero-note-phrase { white-space: nowrap; }
.hero-note-flow { color: var(--brand-orange); font: 600 1.6em/1 var(--font-en); letter-spacing: 0; }
.hero-art { min-width: 0; position: relative; }
.hero-art > img { width: 100%; height: auto; }
/* Balance the artwork's transparent top inset against the caption above it. */
.hero-art > .hero-tagline + img { margin-top: -6%; }
.hero-art figcaption { display: grid; gap: 5px; }
.hero-art > .hero-tagline, .hero-art figcaption { padding: 0 24px; font: 500 24px/1.35 var(--font-en); }
.hero-tagline { text-align: center; white-space: nowrap; }
.hero-tagline-flow { display: inline-block; position: relative; vertical-align: top; padding-bottom: .85em; }
.hero-tagline-flow .hero-tagline-wave { position: relative; z-index: 1; }
.hero-tagline-wave { display: inline-flex; gap: .25em; }
.hero-tagline-word { display: inline-flex; }
.hero-tagline-word.is-emphasized { font-weight: 700; }
.hero-tagline-letter { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-tagline-letter { animation: tagline-wave 9s ease-in-out infinite; animation-delay: calc(var(--wave-index) * -180ms); }
  .hero-tagline-flow.is-motion-paused .hero-tagline-letter { animation-play-state: paused; }
}
@keyframes tagline-wave {
  0%, 100% { transform: translate3d(0, -.1em, 0); }
  50% { transform: translate3d(0, .1em, 0); }
}
.art-index { font: 600 10px/1.6 var(--font-en); letter-spacing: .16em; color: var(--ink-2); }
.hero-copy { animation: reveal .7s var(--ease) both; }
.hero-art { animation: reveal 1s var(--ease) .12s both; }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Existing relationships, brought forward without a wall of logos. */
.trust-strip { border-block: 1px solid var(--divider); padding: 60px 0 80px; }
.studio-hero + .trust-strip { position: relative; padding-top: 120px; border-top-color: transparent; }
.studio-hero + .trust-strip::before { content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100% - var(--gutter) * 2)); height: 1px; background: var(--divider); }
.trust-heading { display: block; max-width: 960px; margin: 0 auto 64px; text-align: center; color: var(--ink-1); }
.trust-heading h2 { font-size: clamp(16px, 1.45vw, 19px); font-weight: 500; line-height: 1.8; text-wrap: balance; }
.trust-title-number { position: relative; isolation: isolate; display: inline-block; color: #4E5780; font: 700 clamp(32px, 3.25vw, 40px)/1.05 var(--font-en); letter-spacing: -.04em; vertical-align: -.06em; margin-inline: .08em; padding-inline: .08em; }
.trust-title-number::before { content: ''; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: 2%; height: 28%; background: #DBDBE9; border-radius: 45% 25% 32% 22%; transform: rotate(-4deg); }
.trust-title-organisations::before { transform: rotate(3deg); }
.featured-logos { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: center; gap: 40px; max-width: 1000px; margin-inline: auto; }
.featured-logos li { height: 64px; display: flex; align-items: center; justify-content: center; }
.featured-logos img { width: auto; max-width: 130px; max-height: 45px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); transition: filter 240ms var(--ease); }
.trust-strip:has(.all-clients[open]) .featured-logos img { filter: grayscale(0); }
.all-clients { margin-top: 22px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.all-clients > summary { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; min-height: 44px; margin-inline: auto; color: #000; font-size: 12px; padding: 8px 0; }
.all-clients > summary::after {
  content: ''; position: absolute; inset-inline: 0 36px; bottom: 5px; height: 2px;
  background: var(--brand-orange); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease);
}
.all-clients > summary > span {
  display: grid; place-items: center; flex: none; width: 24px; height: 24px;
  border: 1px solid rgba(0,0,0,.2); border-radius: 50%; font: 500 16px/1 var(--font-en);
  transition: transform 240ms var(--ease), background-color 240ms var(--ease), color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.all-clients > summary:focus-visible::after { transform: scaleX(1); }
.all-clients > summary:focus-visible > span { background: #000; color: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
@media (hover: hover) {
  .featured-logos:has(li:hover) img { filter: grayscale(0); }
  .all-clients > summary:hover::after { transform: scaleX(1); }
  .all-clients > summary:hover > span { background: #000; color: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
}
.all-clients[open] > summary > span { transform: rotate(45deg); }
.logo-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; max-width: 1000px; margin-top: 24px; margin-inline: auto; }
.logo-grid li { display: flex; justify-content: center; align-items: center; min-height: 72px; padding: 14px; }
.logo-grid img { width: auto; max-height: 45px; object-fit: contain; mix-blend-mode: multiply; }

/* Services are framed around the work, rather than a catalogue of devices. */
.enterprise { background: #DBDBEA; padding-top: 128px; }
.enterprise .eyebrow::before { content: none; }
.delivery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; margin-bottom: 32px; }
.delivery-card { border-top: 1px solid transparent; padding-top: 18px; }
.delivery-card.tone-gold { --tone: var(--brand-yellow); }
.delivery-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.delivery-number { min-width: 2ch; font: 500 13px var(--font-en); color: var(--ink-2); }
.delivery-icon { flex: none; width: 80px; height: 80px; object-fit: contain; }
.delivery-card .card-body { margin-top: 12px; }

/* Product portraits are illustrative; copy and links carry the actual offer. */
.portfolio { padding-bottom: 44px; }
.portfolio .eyebrow::before { content: none; }
.portfolio-list { border-top: 1px solid var(--divider); }
.portfolio-product { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 72px; padding-block: 54px; border-bottom: 1px solid var(--divider); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.portfolio-art { align-self: center; min-width: 0; }
.portfolio-art > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: multiply; border-radius: 4px; }
#testimate .portfolio-art > img { width: 82%; margin-inline: auto; aspect-ratio: 1185.15 / 936.284; object-fit: contain; mix-blend-mode: normal; }
#oliv .portfolio-art > img { object-fit: contain; mix-blend-mode: normal; background: url('/img/products/oliv-backdrop.svg') center / contain no-repeat; }
.portfolio-art-mark { display: flex; justify-content: flex-end; padding: 18px 4px 0; }
.portfolio-art-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.portfolio-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.product-category { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .04em; color: var(--tone, var(--ink-2)); }
/* Darker brand shades meet WCAG AA for small text on the ivory page. */
#testimate .product-category { color: #2C6B9D; }
#oliv .product-category { color: #3B742F; }
.product-category::before { content: ''; width: 18px; height: 3px; background: var(--tone); }
.portfolio-name { display: flex; align-items: center; gap: .25em; max-width: 100%; font: 700 42px/1.1 var(--font-en); letter-spacing: -.035em; }
.portfolio-name > span { min-width: 0; }
.portfolio-name-icon { flex: none; width: auto; height: 1em; object-fit: contain; }
.portfolio-summary { font-size: 22px; font-weight: 600; line-height: 1.45; color: var(--ink-1); }
.product-audience { font-size: 12px; color: var(--ink-2); }
.product-features-title { font-size: 14px; font-weight: 600; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: var(--ink-2); }
#oliv .product-features { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; width: 100%; }
.product-features li { display: flex; align-items: baseline; gap: 8px; }
.product-features li::before { content: ''; width: 4px; height: 4px; background: var(--tone); border-radius: 50%; flex: none; }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 6px; }
.product-secondary { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.product-workflow { grid-column: 1 / -1; border-top: 1px solid var(--divider); }

/* Upcoming products: a paired preview with the original product marks. */
.upcoming-products { padding-top: 36px; }
.upcoming-heading { display: grid; justify-items: center; gap: 18px; max-width: 1000px; margin-inline: auto; text-align: center; }
.upcoming-heading .eyebrow { margin: 0; }
.upcoming-heading .eyebrow::before { content: none; }
.upcoming-heading .section-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.upcoming-heading .section-body { max-width: 780px; color: var(--ink-2); font-size: 18px; line-height: 1.8; text-wrap: balance; }
.upcoming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.upcoming-product { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 36px 30px; border: 1.5px solid var(--ink-1); border-radius: 30px 26px 32px 24px / 26px 32px 26px 30px; }
.upcoming-product-main { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 0; flex: 1; }
.upcoming-product-copy { min-width: 0; position: relative; z-index: 1; }
.upcoming-logo { width: 110px; height: auto; margin-bottom: 22px; }
.upcoming-name { font: 700 38px/1.2 var(--font-en); letter-spacing: -.04em; }
.upcoming-category { margin-top: 8px; color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .12em; white-space: pre-line; }
.upcoming-description { margin-top: 22px; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.upcoming-visual { min-width: 0; margin-right: -20px; align-self: center; }
.upcoming-visual img { width: 100%; height: auto; }
.upcoming-features { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.upcoming-features li { max-width: 100%; padding: 9px 14px; border-radius: 24px; background: var(--tone-tint); color: var(--ink-2); font-size: 12px; font-weight: 600; line-height: 1.5; }
.upcoming-product.tone-orange .upcoming-features li { color: #993C2A; }

@media (min-width: 701px) and (max-width: 1023px) {
  .upcoming-grid { max-width: 680px; grid-template-columns: minmax(0, 1fr); margin-inline: auto; }
  .upcoming-product { padding: 36px; }
  .upcoming-visual { margin-right: 0; }
}
@media (max-width: 700px) {
  .upcoming-products { padding-top: 32px; }
  .upcoming-heading { gap: 16px; }
  .upcoming-heading .eyebrow { font-size: 10px; letter-spacing: .1em; gap: 10px; }
  .upcoming-heading .section-body { font-size: 15px; }
  .upcoming-grid { max-width: 540px; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-inline: auto; }
  .upcoming-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 22px 20px; gap: 14px; border-radius: 22px; }
  .upcoming-product-main { display: contents; }
  .upcoming-product-copy { grid-column: 1 / -1; display: grid; grid-template-columns: clamp(64px, 20vw, 88px) minmax(0, 1fr); gap: 4px 16px; align-items: center; }
  .upcoming-logo { grid-row: 1 / 3; width: 100%; margin: 0; }
  .upcoming-name { font-size: clamp(28px, 8vw, 34px); align-self: end; }
  .upcoming-category { margin: 0; font-size: 10px; line-height: 1.5; letter-spacing: .08em; align-self: start; }
  .upcoming-description { grid-column: 1 / -1; margin-top: 14px; line-height: 1.7; }
  .upcoming-visual { grid-column: 1; width: 100%; max-width: 180px; margin: 0 auto; }
  .upcoming-visual img { max-height: 180px; object-fit: contain; }
  .upcoming-features { grid-column: 2; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: space-evenly; gap: 10px; min-width: 0; }
  .upcoming-features li { padding: 8px 10px; font-size: 11px; text-align: center; text-wrap: balance; }
}

.testimate-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 24px; }
.steps { display: grid; align-content: start; gap: 4px; }
.step { display: flex; gap: 20px; align-items: center; padding: 16px; border-radius: 4px; }
.step-no { font: 600 12px var(--font-en); color: var(--ink-2); }
.step-title { font-size: 16px; font-weight: 600; flex: 1; }
.step:hover, .step.is-active { background: #DEE8EC; }
.htmx-request.step { opacity: .6; }
.stage-focus { padding: 28px 32px; background: #EAF0F0; border-radius: 6px; }
.stage-count { font: 600 46px/1.2 var(--font-en); color: var(--brand-blue); }
.stage-count > span { font-size: 14px; color: var(--ink-2); margin-left: 12px; }
.stage-focus h4 { margin-top: 16px; font-size: 22px; font-weight: 600; }
.stage-focus p { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.stage-progress { display: flex; gap: 8px; margin-top: 24px; }
.stage-progress span { width: 34px; height: 3px; background: #CAD6DC; }
.stage-progress .complete { background: var(--brand-blue); }
.legacy-product { padding: 0 0 72px; }
.legacy-disclosure { border: 1px solid var(--divider); border-radius: 8px; padding: 24px 28px; }
.legacy-disclosure > summary { display: flex; align-items: center; gap: 24px; }
.legacy-disclosure > summary img { width: 32px; height: 40px; object-fit: contain; }
.legacy-label { display: block; font-size: 11px; color: var(--ink-2); margin-bottom: 3px; }
.legacy-name { display: block; font-size: 19px; font-weight: 600; white-space: nowrap; }
.legacy-intro { font-size: 13px; color: var(--ink-2); margin-left: auto; max-width: 550px; line-height: 1.7; }
.disclosure-plus { margin-left: auto; font-size: 24px; font-family: var(--font-en); }
.legacy-disclosure[open] .disclosure-plus { transform: rotate(45deg); }
.legacy-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 36px; }
.legacy-detail figure img { width: 100%; max-height: 340px; object-fit: contain; }
.checklist { display: grid; gap: 8px; font-size: 14px; line-height: 1.6; }
.checklist li { display: flex; gap: 12px; align-items: baseline; }

/* Six streams, with shared capabilities as a foundation. */
.ecosystem { position: relative; background: var(--ink-1); color: var(--paper-0); }
.legacy-anchor { position: absolute; top: 0; }
.ecosystem .section-title { color: var(--paper-0); }
.ecosystem .section-body, .ecosystem .eyebrow { color: #BCCBD3; }
.ecosystem .section-head { margin-inline: auto; align-items: center; text-align: center; }
.ecosystem-word { white-space: nowrap; }
.ecosystem-streams { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ecosystem-node { position: relative; border: 1px solid rgba(247,246,240,.2); border-radius: 8px; padding: 32px; background: rgba(247,246,240,.025); }
.ecosystem-node-index { position: absolute; top: 30px; right: 30px; font: 500 12px var(--font-en); color: #BCCBD3; }
.ecosystem-node-mark { width: 74px; height: 62px; margin-bottom: 16px; }
.ecosystem-node h3 { font-size: 25px; font-weight: 600; line-height: 1.4; }
.ecosystem-node p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: #BCCBD3; max-width: 470px; }
.ecosystem-connectors { width: 100%; height: 60px; display: block; color: rgba(247,246,240,.3); }
.ecosystem-foundation { border: 1px solid rgba(247,246,240,.2); border-radius: 8px; padding: 26px 32px 32px; }
.ecosystem-foundation > h3 { color: #BCCBD3; font-size: 12px; font-weight: 500; text-align: center; margin-bottom: 24px; }
.ecosystem-capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ecosystem-capability h4 { font: 600 19px/1.4 var(--font-en); }
.ecosystem-capability p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: #BCCBD3; }

/* The way we work: human responsibility made visible. */
.approach-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.approach-step { position: relative; border-top: 1px solid var(--divider); padding-top: 24px; }
.approach-step-number { display: block; font: 500 36px/1 var(--font-en); letter-spacing: -.04em; color: var(--ink-2); margin-bottom: 20px; }
.approach-step:not(:last-child)::after { content: '→'; position: absolute; top: 32px; right: 8px; color: var(--ink-3); }
.approach-step h3 { font-size: 20px; font-weight: 600; line-height: 1.5; }
.approach-step p { font-size: 14px; line-height: 1.8; margin-top: 12px; color: var(--ink-2); }
.approach-ai { display: flex; align-items: center; justify-content: space-between; gap: 48px; background: #EAF0F0; padding: 28px 40px; border-radius: 8px; margin-top: 42px; }
.approach-ai-copy { max-width: 850px; }
.approach-ai h3 { font-size: 22px; font-weight: 600; }
.approach-ai p { font-size: 15px; color: var(--ink-2); line-height: 1.85; margin-top: 12px; }
.approach-ai-mascot { width: 92px; height: auto; flex: none; }
.values { padding-top: 92px; }
.values-header { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 36px 64px; margin-bottom: 88px; }
.values-wordmark { grid-column: 1 / -1; width: 210px; height: auto; margin-inline: auto; }
.values-heading, .values-intro { min-width: 0; }
.values-heading > .eyebrow { color: var(--ink-2); }
.values-heading > .eyebrow::before { content: none; }
.values-formula { display: flex; align-items: center; gap: 14px; margin-block: 12px 18px; font: 700 24px/1.2 var(--font-en); }
.values-formula > span { color: var(--tone, var(--ink-1)); }
.values-formula .tone-green { --tone: #4D893D; }
.values-formula .tone-gold { --tone: #A47500; }
.values-title { font-size: 25px; font-weight: 600; line-height: 1.55; text-wrap: balance; }
.values-intro-title { font-size: 24px; font-weight: 500; line-height: 1.55; }
.values-intro-title strong { font-weight: 700; }
.values-intro .section-body { color: var(--ink-2); font-size: 19px; font-weight: 500; line-height: 1.5; margin-top: 4px; text-wrap: pretty; }
.values-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-inline: -8px; }
.value-card { position: relative; isolation: isolate; container-type: inline-size; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 28px 28px 28px; color: var(--paper-0); text-align: center; }
.value-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('/img/values/card-frame.svg') center / 100% 100% no-repeat; }
.value-card:nth-child(even)::before { transform: scaleX(-1); }
.value-card.tone-gold { --tone: var(--brand-yellow); }
.value-symbol { width: 56px; height: 56px; object-fit: contain; margin-bottom: 16px; }
.value-name { color: var(--tone); font: 500 38px/1.2 var(--font-en); letter-spacing: -.035em; margin-bottom: 16px; }
.value-name strong { font-weight: 700; }
.value-copy { width: 100%; }
.value-title { color: var(--paper-0); font-size: 18px; font-weight: 600; line-height: 1.55; }
.value-body { color: var(--paper-0); font-size: 14px; line-height: 1.85; margin-top: 12px; text-wrap: pretty; }
.value-motto { margin-top: auto; padding-top: 16px; color: var(--tone); font: 700 min(13px, 6cqi)/1.65 var(--font-en); text-align: center; white-space: nowrap; }
.values-closing { margin-top: 28px; color: var(--ink-2); font: 600 22px/1.6 var(--font-en); text-align: center; text-wrap: balance; }
/* A small editorial window into the people behind the work. */
.life { padding-top: 12px; }
.life-kicker { display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.life-heading { max-width: 900px; gap: 20px; margin-bottom: 30px; }
.life-heading .section-title { text-wrap: balance; }
.life-heading > div { max-width: 760px; }
.life-heading .section-body { text-wrap: balance; }
.life-cta { margin-top: 20px; min-height: 36px; }
.life-cta:hover [aria-hidden] { transform: translateX(4px); }
.life-stories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 28px; max-width: 1000px; margin-inline: auto; scroll-margin-top: calc(var(--header-h) + 24px); }
.life-story { min-width: 0; }
.life-photo { position: relative; overflow: hidden; aspect-ratio: 2.1; background: var(--paper-1); border-radius: 12px; }
.life-photo img { width: 100%; height: 100%; object-fit: cover; }
.life-story.tone-green .life-photo img { object-position: center 62%; }
.life-story.tone-blue .life-photo img { object-position: center 43%; }
/* Recharge currently comes from the supplied layout reference: show only its photo. */
.life-photo--reference img { position: absolute; max-width: none; width: calc(100% * 2058 / 936); height: auto; left: calc(-100% * 1033 / 936); top: calc(-100% * 903 * 2.1 / 936); }
.life-photo figcaption { position: absolute; bottom: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 8px; background: var(--paper-0); color: var(--ink-1); border-radius: 4px; font-size: 10px; line-height: 1.5; }
.life-story-copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 16px; margin-top: 8px; padding-top: 16px; border-top: 3px solid var(--tone); }
.life-story.tone-gold .life-story-copy { border-color: var(--brand-yellow); }
.life-story-category { display: flex; align-items: baseline; gap: 12px; }
.life-story-letter { flex: none; color: var(--tone); font-size: 28px; font-weight: 700; line-height: 1; }
.life-story.tone-green .life-story-letter { color: #4D893D; }
.life-story.tone-gold .life-story-letter { color: #A47500; }
.life-story h3 { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.life-story-motto { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.life-story-activity { max-width: 100%; padding: 12px 18px; border-radius: 999px; background: var(--tone-tint); color: var(--ink-1); font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center; }
.proof { padding-top: 12px; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.proof-card { border-top: 2px solid var(--ink-1); padding-top: 24px; }
.proof-label { font-size: 12px; color: var(--ink-2); margin-bottom: 16px; }
.proof-title { font-size: 25px; font-weight: 600; line-height: 1.5; max-width: 450px; }
.proof-body { margin-top: 16px; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.proof-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.proof-tags li { padding: 6px 12px; border-radius: 3px; background: var(--paper-1); font-size: 11px; color: var(--ink-2); }

/* One invitation, two clear contact paths. */
.site-footer { border-top: 1px solid var(--divider); background: #EFEDE5; padding-top: 36px; }
.contact-invitation { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.contact-intro { width: 100%; max-width: 900px; text-align: center; }
.contact-intro .eyebrow { justify-content: center; margin-bottom: 32px; }
.contact-intro .eyebrow::before { display: none; }
.contact-enso { width: 132px; height: auto; margin-inline: auto; }
.contact-title { margin-top: 20px; font-size: clamp(44px,4.5vw,64px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.contact-title > span { display: block; text-wrap: balance; }
.contact-title > span:first-child { font-family: var(--font-th); }
.contact-title > span + span { margin-top: 4px; font-size: .625em; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.contact-intro .section-body { max-width: 740px; margin: 48px auto 0; font-size: 16px; line-height: 1.6; white-space: pre-line; text-wrap: balance; }
.contact-routes { display: flex; flex-direction: column; width: 100%; max-width: 400px; }
.contact-routes a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(12,31,51,.22); font-size: 16px; font-weight: 600; }
.contact-routes a:hover { color: var(--ink-2); }
.contact-routes a > span:last-child { font-size: 24px; font-family: var(--font-en); }
.contact-cols { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 64px; max-width: 1000px; margin: 48px auto 32px; }
.contact-col { display: flex; flex-direction: column; gap: 12px; }
.contact-label { font-size: 13px; color: var(--ink-2); }
.contact-item { display: flex; gap: 10px; align-items: center; font-size: 16px; min-width: 0; }
.contact-item > .icon { flex: none; }
.contact-item span:not(.icon) { font-family: var(--font-en); font-weight: 600; }
.contact-item.address { align-items: flex-start; font-size: 13px; line-height: 1.8; }
.contact-item.address .icon { margin-top: 4px; }
.footer-bar { background: var(--ink-1); color: var(--paper-0); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { flex: none; }
.footer-logo img { width: 172px; height: auto; }
.descriptor { padding-left: 12px; border-left: 1px solid rgba(247,246,240,.5); font: 500 16px/1.5 var(--font-en); }
.copyright { margin-left: auto; font: 500 14px/1.5 var(--font-en); }
.footer-bar :focus-visible { outline-color: var(--paper-0); }
.not-found { padding: 100px 0; }
.not-found .hero { display: flex; gap: 70px; align-items: center; }
.not-found .hero-body { max-width: 700px; }
.not-found .headline { font-size: 48px; line-height: 1.3; margin-block: 20px; }
.not-found .lead { color: var(--ink-2); margin-bottom: 20px; line-height: 1.8; }
.not-found .hero-ninja { width: 160px; }

@media (max-width: 1180px) {
  .nav-link { padding-inline: 8px; }
  .nav-link::after { left: 8px; right: 8px; }
  .site-nav { gap: 18px; }
  .nav-actions { gap: 16px; }
  .studio-hero { padding-bottom: 48px; }
  .hero-composition { grid-template-columns: 1fr; justify-items: center; gap: 44px; }
  .hero-copy { width: 100%; max-width: 640px; padding-bottom: 4px; text-align: center; }
  .hero-lead, .hero-copy .actions { margin-inline: auto; }
  .hero-art { max-width: 540px; margin-inline: auto; width: 100%; }
  .studio-headline { font-size: 50px; }
  .editorial-head, .portfolio-product { column-gap: 40px; }
  .delivery-grid, .approach-steps { gap: 24px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 32px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 16px var(--gutter) 28px; background: var(--paper-0); border-bottom: 1px solid var(--divider); box-shadow: 0 24px 40px rgba(12,31,51,.08); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .js .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-link { display: block; padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--divider); }
  .js .nav-link::after { display: none; }
  .js .nav-link.is-active { box-shadow: inset 3px 0 var(--brand-orange); padding-left: 14px; }
  .js .nav-actions { justify-content: space-between; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .site-nav { flex-wrap: wrap; justify-content: flex-start; }
  .studio-hero { padding-top: 36px; }
  .studio-headline { font-size: 44px; }
  .hero-lead { font-size: 15px; }
  .hero-copy .btn { font-size: 13px; padding-inline: 18px; }
  .hero-art > .hero-tagline, .hero-art figcaption { font-size: 20px; padding-inline: 12px; }
  .section { padding-block: 72px; }
  .enterprise { padding-top: 104px; }
  .delivery-grid, .approach-steps, .values-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .featured-logos { gap: 24px; }
  .featured-logos img { max-width: 100px; max-height: 40px; }
  .portfolio-product { column-gap: 30px; }
  .portfolio-name { font-size: 36px; }
  .portfolio-summary { font-size: 20px; }
  .product-actions { gap: 16px; }
  .portfolio-copy { gap: 12px; }
  .ecosystem-capabilities { gap: 32px; }
  .legacy-intro { max-width: 350px; }
  .proof { padding-top: 0; }
  .values-header { grid-template-columns: 1fr; gap: 32px; margin-bottom: 44px; text-align: center; }
  .values-intro { max-width: 680px; margin-inline: auto; }
  .values-formula { justify-content: center; }
  .life { padding-top: 0; }
  .life-stories { gap: 32px 24px; }
  .contact-cols { gap: 24px; }
  .footer-base { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  :root { --gutter: 22px; --header-h: 68px; }
  .logo { height: 46px; }
  .studio-hero { padding-top: 20px; padding-bottom: 40px; }
  .hero-copy { padding-block: 12px 4px; }
  .hero-copy > .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .studio-headline { font-size: clamp(35px,9.9vw,59px); }
  .studio-headline > span:last-child { font-size: .68em; margin-top: 6px; }
  .hero-lead { font-size: 16px; line-height: 1.85; margin-top: 22px; }
  .hero-copy .actions { margin-top: 22px; gap: 10px; }
  .hero-copy .btn { font-size: 14px; padding-inline: 16px; }
  .hero-note { font-size: 11px; }
  .hero-art > img { max-height: 300px; object-fit: contain; }
  .hero-art > .hero-tagline, .hero-art figcaption { padding: 0 4px; font-size: clamp(16px,4.7vw,20px); }
  .art-index { font-size: 9px; }
  .section { padding-block: 58px; }
  .enterprise { padding-top: 80px; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 29px; }
  .section-body { font-size: 15px; line-height: 1.85; }
  .life { padding-top: 0; }
  .life-kicker { flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
  .life-kicker .eyebrow { font-size: 11px; }
  .life-heading { gap: 16px; margin-bottom: 24px; }
  .life-cta { margin-top: 14px; }
  .life-stories { width: 88%; grid-template-columns: 1fr; gap: 32px; }
  .life-story-copy { padding-top: 14px; }
  .life-story-activity { margin-left: 30px; padding: 10px 16px; }
  .editorial-head { grid-template-columns: 1fr; gap: 20px; }
  .editorial-head .eyebrow { margin-bottom: 14px; }
  .trust-strip { padding-block: 48px 56px; }
  .studio-hero + .trust-strip { padding-top: 88px; }
  .trust-heading { margin-bottom: 44px; }
  .trust-heading h2 { font-size: 16px; line-height: 1.85; }
  .trust-title-number { font-size: 32px; }
  .featured-logos { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 24px; }
  .featured-logos li { height: 48px; }
  .featured-logos img { max-width: 94px; max-height: 34px; }
  .logo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .logo-grid li { min-height: 60px; padding: 10px; }
  .logo-grid img { max-height: 35px; }
  .delivery-grid { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .delivery-top { gap: 12px; margin-bottom: 12px; }
  .delivery-icon { width: 64px; height: 64px; }
  .card-title { font-size: 17px; }
  .card-body { font-size: 14px; line-height: 1.8; }
  .portfolio { padding-bottom: 16px; }
  .portfolio-product { grid-template-columns: 1fr; padding-block: 32px 38px; gap: 28px; }
  .portfolio-art > img { max-height: 360px; object-fit: contain; }
  .portfolio-art figcaption { padding-top: 10px; }
  .portfolio-copy { gap: 14px; }
  .portfolio-name { font-size: 38px; }
  .portfolio-summary { font-size: 22px; }
  .product-actions { gap: 20px; }
  .testimate-stage { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 12px; }
  .step-title { font-size: 15px; }
  .stage-focus { padding: 24px; }
  .legacy-product { padding-bottom: 48px; }
  .legacy-disclosure { padding: 20px; }
  .legacy-disclosure > summary { gap: 16px; flex-wrap: wrap; }
  .legacy-intro { order: 4; flex-basis: 100%; margin-left: 0; max-width: none; }
  .legacy-detail { grid-template-columns: 1fr; gap: 28px; }
  .ecosystem-node { padding: 24px; }
  .ecosystem-streams { grid-template-columns: 1fr; gap: 16px; }
  .ecosystem .section-head { text-align: left; align-items: flex-start; }
  .ecosystem-node h3 { font-size: 22px; }
  .ecosystem-node p { font-size: 14px; }
  .ecosystem-connectors { height: 32px; }
  .ecosystem-foundation { padding: 24px; }
  .ecosystem-foundation > h3 { text-align: left; line-height: 1.8; }
  .ecosystem-capabilities { grid-template-columns: 1fr; gap: 24px; }
  .ecosystem-capability + .ecosystem-capability { border-top: 1px solid rgba(247,246,240,.15); padding-top: 24px; }
  .approach-steps { gap: 28px 22px; }
  .approach-step-number { font-size: 30px; }
  .approach-step h3 { font-size: 18px; }
  .approach-step p { font-size: 14px; }
  .approach-step::after { display: none; }
  .approach-ai { padding: 24px; gap: 12px; align-items: flex-start; margin-top: 30px; }
  .approach-ai h3 { font-size: 20px; }
  .approach-ai p { font-size: 14px; }
  .approach-ai-mascot { width: 52px; }
  .proof { padding-top: 0; }
  .values-header { gap: 28px; margin-bottom: 36px; }
  .values-heading > .eyebrow { font-size: 11px; }
  .values-wordmark { width: 180px; }
  .values-title { font-size: 23px; }
  .values-intro-title { font-size: 21px; }
  .values-intro .section-body { font-size: 16px; line-height: 1.65; }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-inline: -10px; }
  .value-card { padding: 24px 20px; }
  .value-symbol { width: 44px; height: 44px; margin-bottom: 12px; }
  .value-name { font-size: 30px; margin-bottom: 12px; }
  .value-title { font-size: 16px; }
  .value-body { font-size: 14px; line-height: 1.75; }
  .value-motto { font-size: min(12px, 6cqi); }
  .values-closing { font-size: 18px; }
  .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .proof-title { font-size: 23px; }
  .proof-body { font-size: 14px; }
  .site-footer { padding-top: 40px; }
  .contact-invitation { gap: 24px; }
  .contact-intro .eyebrow { margin-bottom: 24px; }
  .contact-enso { width: 104px; }
  .contact-title { font-size: 44px; margin-top: 20px; }
  .contact-title > span + span { font-size: 28px; margin-top: 8px; }
  .contact-intro .section-body { margin-top: 28px; font-size: 15px; }
  .contact-routes a { font-size: 16px; padding-block: 20px; }
  .contact-cols { grid-template-columns: 1fr; gap: 28px; max-width: 400px; margin-block: 40px 36px; }
  .contact-item.address { font-size: 14px; }
  .footer-base { flex-direction: column; align-items: center; gap: 20px; padding-block: 24px; text-align: center; }
  .footer-brand { flex-direction: column; gap: 6px; }
  .descriptor { border-left: 0; padding-left: 0; font-size: 13px; }
  .copyright { margin-left: 0; }
  .not-found { padding-block: 60px; }
  .not-found .hero { flex-direction: column; gap: 30px; }
  .not-found .headline { font-size: 34px; }
}

@media (max-width: 370px) {
  :root { --gutter: 18px; }
  .hero-copy .btn { padding-inline: 12px; font-size: 12px; gap: 8px; }
  .delivery-grid, .approach-steps { grid-template-columns: 1fr; }
  .values-grid { gap: 10px; }
  .value-card { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
