/* ==========================================================================
   Achanent — presentation layer
   --------------------------------------------------------------------------
   Visual system matched to the supplied reference: warm off-white paper,
   translucent dark-green chrome over a pixel-art hero, white cards with a
   soft drop shadow, mono micro-labels, and a full-bleed blue band whose edges
   dissolve into the page through a pixel dither mask.

   Plain CSS. No framework, no runtime compilation.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces and ink */
  --bg: #f5f5f1;
  --bg-soft: #fafaf6;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --ink-soft: #3a3a36;
  --muted: #6f6f69;
  --faint: #a3a39c;
  --line: #e6e5df;
  --line-soft: #efeee8;

  /* Accents */
  --blue: #3495e9;
  --blue-deep: #2a86d6;
  --blue-pale: #e8f4fe;
  --accent: #b2e7ff;
  --chip: 18, 52, 44;
  --dot-done: #7fe08b;
  --dot-run: #f0b23f;

  /* Type */
  --sans: "Inter", ui-sans-serif, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --shell: 1330px;
  --pad: clamp(20px, 2.8vw, 34px);
  --nav-h: 76px;
  --section-y: 108px;
  --r-sm: 8px;
  --r-card: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(24, 32, 26, 0.04), 0 6px 16px -10px rgba(24, 32, 26, 0.18);
  --shadow: 0 2px 4px rgba(24, 32, 26, 0.04), 0 18px 40px -22px rgba(24, 32, 26, 0.35);
  --shadow-float: 0 24px 60px -28px rgba(24, 32, 26, 0.45), 0 2px 6px rgba(24, 32, 26, 0.06);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, address {
  margin: 0;
}

address {
  font-style: normal;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

section[id] {
  scroll-margin-top: var(--nav-h);
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.band :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline-color: #ffffff;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  border-radius: var(--r-sm);
}
.skip-link:focus {
  top: 10px;
}

/* Typography -------------------------------------------------------------- */
.label,
.mono,
.chapter-label,
.chapter-link,
.chapter-kicker,
.band-note-label,
.footer-nav-strip,
.footer-legal,
.letters,
.scene-caption,
.feature-note,
.row-tags,
.ph,
.footer-col h2,
.steps li > span,
.diagram-guard,
.diagram-node > span,
.service-index,
.task-time,
.window-tag,
.window-title,
.console-head span,
.console-foot,
.run .meta,
.run time,
.hero-facts dt,
.proof-item span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.display,
.hero-title,
.page-title {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-title,
.service-title,
.form-card h2,
.band h2,
.practices-intro h2,
.chapters-head h2,
.industries-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.display em,
.section-title em,
.service-title em,
.page-title em,
.chapter-art em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.lede,
.is-lede,
.service-intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.body-copy,
.section-note,
.page-note,
.form-note,
.about-body p,
.method-step p,
.principle p,
.panel p,
.cap-list p,
.practice-row p,
.practice-index p,
.feature-list p,
.steps p,
.diagram-node p,
.form-foot p,
.footer-brand p,
.footer-signature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* Layout ----------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--section-y);
}

.section-tint {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: 32px;
  align-items: start;
}
.section-head .section-title {
  grid-column: 2;
}
.section-head .section-note {
  grid-column: 3;
  padding-top: 6px;
}
.section-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
}

/* Buttons and links ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn .arrow {
  font-size: 12px;
  opacity: 0.7;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-light {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(18, 30, 24, 0.08);
}
.btn-light:hover {
  background: #f7f7f2;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.26);
}

.btn-dark,
.btn-sm.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.btn-dark:hover {
  background: #2c2c28;
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: #d5d4cc;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12.5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13.5px;
  line-height: 1.4;
}
.text-link .arrow {
  transition: transform 200ms var(--ease);
}
.text-link:hover .arrow {
  transform: translateX(2px);
}

/* Header -----------------------------------------------------------------
   Transparent while it floats over the hero image; solid paper once the page
   is scrolled or on interior pages that have no hero photograph.
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  background: transparent;
  color: var(--ink);
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.055em;
  color: #ffffff;
}

body.no-hero .site-header:not(.is-scrolled) .wordmark,
.site-header.is-scrolled .wordmark {
  color: var(--ink);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 11px;
  background: rgba(var(--chip), 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px -16px rgba(9, 26, 21, 0.6);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.header-nav a {
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms var(--ease), background 180ms var(--ease);
}
.header-nav a + a {
  position: relative;
}
.header-nav a + a::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 9px;
  bottom: 9px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.header-nav a:hover {
  color: #ffffff;
}
.header-nav a[aria-current="page"] {
  color: #ffffff;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .btn {
  min-height: 40px;
  font-size: 12.5px;
}

/* Nav variant when the header sits on the paper background */
.site-header.is-scrolled,
body.no-hero .site-header {
  background: rgba(245, 245, 241, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .header-nav,
body.no-hero .header-nav {
  background: rgba(29, 29, 27, 0.05);
  border-color: rgba(29, 29, 27, 0.08);
  box-shadow: none;
}
.site-header.is-scrolled .header-nav a,
body.no-hero .header-nav a {
  color: var(--muted);
}
.site-header.is-scrolled .header-nav a + a::before,
body.no-hero .header-nav a + a::before {
  background: rgba(29, 29, 27, 0.12);
}
.site-header.is-scrolled .header-nav a:hover,
body.no-hero .header-nav a:hover,
.site-header.is-scrolled .header-nav a[aria-current="page"],
body.no-hero .header-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-header.is-scrolled .nav-toggle,
body.no-hero .nav-toggle {
  color: var(--ink);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(var(--chip), 0.45);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  padding: 8px var(--pad) 26px;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.mobile-menu a.btn {
  width: 100%;
  margin-top: 18px;
  border-bottom: 0;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: clamp(620px, 92vh, 940px);
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 120px;
  background: var(--blue);
  color: #ffffff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: -1; 
}

/* Cream dither that erodes the bottom of the artwork into the page */
.hero-dissolve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 35px;
  background: url("../img/edge.png") center bottom / 100% 100% no-repeat;
  pointer-events: none;
  image-rendering: pixelated;
}

.hero-inner {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 620px;
}

.hero-title {
  color: #000000;
  max-width: 720px;
  font-size: clamp(32px, 3.4vw, 48px);
  text-shadow: 0 1px 0 rgba(12, 40, 70, 0.06);
}

.hero-sub {
  max-width: 430px;
  margin-top: 20px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

/* Floating task chips (right side of the artwork) */
.hero-chips {
  position: absolute;
  right: 20%;
  top: 36%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
  width: 250px;
  max-width: 39vw;
}

.float-chip {
  display: grid;
  grid-template-columns: 9px auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(196, 235, 222, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(var(--chip), 0.72);
  box-shadow: 0 10px 26px -16px rgba(6, 26, 21, 0.75);
  backdrop-filter: blur(7px) saturate(120%);
  -webkit-backdrop-filter: blur(7px) saturate(120%);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.3;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot-done);
  box-shadow: 0 0 0 3px rgba(127, 224, 139, 0.14);
}
.float-chip.is-running .chip-dot {
  background: var(--dot-run);
  box-shadow: 0 0 0 3px rgba(240, 178, 63, 0.16);
}

.chip-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #b8d8bf;
  white-space: nowrap;
}

.chip-task {
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Statement section ------------------------------------------------------- */
.intro {
  padding-top: 104px;
  padding-bottom: 0;
  text-align: center;
}

.intro h2 {
  margin-inline: auto;
  max-width: 800px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

.intro-sub {
  max-width: 430px;
  margin: 18px auto 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.showcase {
  max-width: 1104px;
  margin: 54px auto 0;
}

.workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 352px;
  height: 540px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.workspace-canvas {
  position: relative;
  background-color: #fbfbf7;
  background-image: radial-gradient(circle, #e2e5dd 1px, transparent 1px);
  background-size: 22px 22px;
  border-right: 1px solid var(--line-soft);
}

.canvas-bar {
  position: absolute;
  inset: 14px 14px auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
}

.pill-mono {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.canvas-map {
  position: absolute;
  inset: 56px 24px 24px;
}

.canvas-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #a3afa0;
}
.canvas-lines line,
.canvas-lines path {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-dasharray: 2 2;
  vector-effect: non-scaling-stroke;
}

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 7px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(24, 32, 26, 0.05);
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--ink-soft);
  white-space: nowrap;
}

.node-hub {
  padding: 9px 14px;
  border-color: #cfd8cd;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px -12px rgba(24, 32, 26, 0.5);
}
.node-hub::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(52, 149, 233, 0.14);
}

.node-soft {
  color: var(--faint);
  background: #fdfdfa;
  border-style: dashed;
}

.workspace-chat {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--surface);
}

.chat-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.chat-tabs span:first-child {
  color: var(--ink);
}

.chat-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 16px;
  overflow: hidden;
}

.bubble {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.55;
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  background: #fbfbf8;
}
.bubble-user {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.bubble strong {
  font-weight: 500;
}

.bubble-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  font-size: 11.5px;
  color: var(--ink-soft);
  background: #fdfdfa;
}
.bubble-row .tag {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11.5px;
  color: var(--faint);
}
.chat-composer span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-send {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
}

.intro-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0;
  text-align: left;
}
.intro-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.intro-note strong {
  font-weight: 600;
  color: var(--ink);
}

/* Chapter cards ----------------------------------------------------------- */
.chapters {
  position: relative;
  padding-block: 96px 110px;
  margin-top: 56px;
}

.chapters::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #eae9e2 1px, transparent 1px),
    linear-gradient(to bottom, #eae9e2 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
  pointer-events: none;
}
.chapters > .shell {
  position: relative;
}

.chapters-head {
  text-align: center;
}
.chapters-head h2 {
  margin-inline: auto;
  max-width: 720px;
}
.chapters-head p {
  max-width: 420px;
  margin: 16px auto 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 88px;
  max-width: 648px;
  margin: 60px auto 0;
}

.chapter {
  position: relative;
}

/* Ghost card peeking out behind the real one */
.chapter::after {
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px -30px rgba(24, 32, 26, 0.5);
  z-index: 0;
}

.chapter-card {
  position: relative;
  z-index: 1;
  padding: 20px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.chapter:hover .chapter-card {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.chapter-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.chapter-title span {
  display: block;
}

.chapter-rule {
  height: 1px;
  margin: 16px 0 12px;
  background: var(--line-soft);
}

.chapter-label {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.chapter-art {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 5px;
  background: #eef4f8;
}
.chapter-art img {
  width: 100%;
  aspect-ratio: 8 / 7;
  object-fit: cover;
  image-rendering: pixelated;
}

.chapter-foot {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.bar {
  height: 5px;
  border-radius: 2px;
  background: #f0efe9;
}
.bar-strong {
  width: 34%;
  background: #e5e4dd;
}
.bar-row {
  display: flex;
  gap: 6px;
}
.bar-row .bar {
  flex: 1;
}

.chapter-link {
  display: block;
  margin-top: 22px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  transition: color 180ms var(--ease);
}
.chapter-link:hover {
  color: var(--ink);
}

.chapters-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}
.chapters-cta .btn {
  gap: 10px;
}
.btn-badge {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 10px;
}

/* Practices --------------------------------------------------------------- */
.practices {
  padding-block: 96px 40px;
}

.practices-intro {
  max-width: 620px;
}
.practices-intro h2 span {
  color: var(--faint);
}
.practices-intro p {
  max-width: 400px;
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.practice-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
  padding-block: 68px;
  border-top: 1px solid var(--line);
}
.practice-row:first-of-type {
  border-top: 0;
}
.practices .practice-row:first-of-type {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.practice-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
}
.practice-icon svg {
  width: 26px;
  height: 26px;
}

.practice-copy h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.3;
}
.practice-copy p {
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.practice-copy .chapter-link {
  margin-top: 18px;
  text-align: left;
  color: var(--faint);
}
.practice-copy .chapter-link:hover {
  color: var(--ink);
}

/* Generic light mock panels used beside each practice */
.ui-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  font-size: 12px;
  color: var(--ink-soft);
}

.ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.ui-head strong {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.ui-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ui-row .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ui-row time,
.ui-row .tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.ui-row .tag {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--blue-pale);
  color: var(--blue-deep);
}
.ui-row .tag.is-green {
  background: #ecf6ea;
  color: #4c7c3f;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot-done);
  flex: none;
}
.status-dot.is-run {
  background: var(--dot-run);
}
.status-dot.is-idle {
  background: #d7d7cf;
}

.ui-bars {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}
.ui-bar {
  height: 6px;
  border-radius: 3px;
  background: #f1f0ea;
  overflow: hidden;
}
.ui-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
}
.ui-bar i.is-green {
  background: #93c98a;
}

.ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 120px;
  margin-top: 16px;
}
.ui-chart i {
  flex: 1;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, #bfe4fb, #8ccbf2);
}
.ui-chart i:nth-child(3n) {
  background: linear-gradient(180deg, #d5ecd0, #a7d59c);
}

.ui-message {
  padding: 10px 12px;
  border-radius: 9px;
  background: #fbfbf7;
  border: 1px solid var(--line-soft);
  margin-top: 14px;
  line-height: 1.55;
}
.ui-message strong {
  font-weight: 500;
  color: var(--ink);
}

/* Blue band --------------------------------------------------------------- */
.band {
  position: relative;
  margin-top: 40px;
  padding-block: 132px 136px;
  background: var(--blue);
  color: #ffffff;
  overflow: hidden;
}

.band::before,
.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  background: url("../img/edge.png") center / 100% 100% no-repeat;
  pointer-events: none;
  image-rendering: pixelated;
}
.band::before {
  top: -1px;
  transform: scaleY(-1);
}
.band::after {
  bottom: -1px;
}

.band h2 {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  color: #ffffff;
}

.band-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 44px auto 0;
}
.band-note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.band-note strong {
  font-weight: 600;
  color: #ffffff;
}

.band-panel {
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  max-width: 1020px;
  margin: 52px auto 0;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(9, 45, 76, 0.55);
  overflow: hidden;
  color: var(--ink);
}

.band-form {
  padding: 22px;
  border-right: 1px solid var(--line-soft);
  background: #fdfdfa;
}
.band-form h3 {
  font-size: 13.5px;
  font-weight: 600;
}
.field-static {
  margin-top: 18px;
}
.field-static p {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.field-static div {
  margin-top: 7px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-soft);
}
.field-static div.is-area {
  min-height: 92px;
  color: var(--faint);
}

.band-flow {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px 24px;
  background-color: #fbfbf8;
  background-image: radial-gradient(circle, #e3e6de 1px, transparent 1px);
  background-size: 20px 20px;
}

.flow-pill {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #ffffff;
  font-size: 10.5px;
  letter-spacing: 0.01em;
}
.flow-pill.is-light {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 158px;
  padding: 9px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.flow-node .avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 10px;
}
.flow-node small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.flow-fan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px dashed #d9dcd3;
}
.flow-fan .flow-node {
  min-width: 0;
  justify-content: center;
}

/* Industry letter grid ---------------------------------------------------- */
.industries {
  padding-block: 110px 96px;
  text-align: center;
}

.industries-head p {
  max-width: 440px;
  margin: 16px auto 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.letters {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 46px auto 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 400;
  color: #b6b6ae;
}
.letters > span:not(.mark) {
  display: grid;
  place-items: center;
  height: 40px;
}

.letters > .mark {
  height: 34px;
  margin-block: 3px;
}

.mark {
  grid-column: span var(--span, 4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62em;
  height: 34px;
  margin-block: 3px;
  border: 1px solid #a9d3f6;
  border-radius: var(--r-pill);
  background: rgba(52, 149, 233, 0.06);
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* CTA band (interior pages) ----------------------------------------------- */
.cta-band {
  position: relative;
  margin-top: 24px;
  padding-block: 112px 118px;
  background: var(--blue);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  background: url("../img/edge.png") center / 100% 100% no-repeat;
  pointer-events: none;
  image-rendering: pixelated;
}
.cta-band::before {
  top: -1px;
  transform: scaleY(-1);
}
.cta-band::after {
  bottom: -1px;
}

.cta-band .label {
  color: rgba(255, 255, 255, 0.75);
}
.cta-band h2 {
  max-width: 620px;
  margin: 16px auto 0;
  color: #ffffff;
}
.cta-band p:not(.label) {
  max-width: 480px;
  margin: 16px auto 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.cta-band .text-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  padding-top: 24px;
  background: var(--bg);
}

.footer-panel {
  padding: 56px 48px 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: start;
}

.footer-brand h2 {
  max-width: 420px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.footer-brand h2 span {
  color: var(--faint);
}

.footer-nav-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.footer-nav-strip a:hover {
  color: var(--ink);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  max-width: 380px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12px;
  color: var(--ink-soft);
  transition: transform 200ms var(--ease);
}
.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-legal {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.8;
  text-transform: none;
  color: var(--faint);
}
.footer-legal > span {
  display: block;
}

.footer-card {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #2f6b3f;
}
.footer-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 62%;
  image-rendering: pixelated;
}
.footer-card-body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(47, 107, 63, 0) 0%, rgba(40, 92, 54, 0.86) 42%, rgba(32, 76, 44, 0.96) 100%);
  color: #ffffff;
}
.footer-card-body p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #ffffff;
}
.footer-card-body .btn {
  justify-self: start;
  min-height: 36px;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--faint);
}
.footer-bottom a:hover {
  color: var(--ink);
}

.footer-grass {
  position: relative;
  margin-top: 26px;
  padding-top: 26px;
  padding-bottom: 14px;
  background: url("../img/grass.png") center top / 1440px 52px repeat-x;
  image-rendering: pixelated;
  text-align: center;
}
.footer-grass p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #eff8e2;
}

/* Interior page heads ----------------------------------------------------- */
.page-head {
  padding-top: calc(var(--nav-h) + 84px);
  padding-bottom: 44px;
}
.label-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-title {
  max-width: 17em;
  margin-top: 40px;
}
.page-head-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.page-head-body .page-note {
  padding-top: 2px;
}

/* Services ---------------------------------------------------------------- */
.services-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: var(--section-y);
}

.chapter-nav {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: grid;
  gap: 16px;
}
.chapter-nav ol {
  display: grid;
  margin-top: 4px;
}
.chapter-nav li a {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  transition: color 180ms var(--ease), padding-left 180ms var(--ease);
}
.chapter-nav li a:hover {
  color: var(--ink);
  padding-left: 4px;
}
.chapter-nav li a span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.chapter-nav .btn {
  justify-self: start;
}

.service-section {
  padding-block: 64px;
  border-top: 1px solid var(--line);
}
.service-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.service-title {
  margin-top: 14px;
}
.service-links {
  margin-top: 18px;
}

.cap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.cap-list li {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.cap-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cap-list li h3 {
  font-size: 16px;
  font-weight: 500;
}
.cap-list li p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
}
.cap-list.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.cap-list.is-single li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
}
.cap-list.is-single li p {
  margin-top: 0;
}

/* Diagrams ---------------------------------------------------------------- */
.diagram {
  margin-top: 28px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}
.diagram-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.diagram-node {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
}
.diagram-node strong {
  font-size: 14px;
  font-weight: 500;
}
.diagram-node p {
  font-size: 12px;
}
.diagram-arrow {
  color: var(--faint);
}
.diagram-guard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 10px;
}
.diagram-guard b {
  font-weight: 500;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.diagram figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}

/* About ------------------------------------------------------------------- */
.about-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.about-body {
  display: grid;
  gap: 16px;
}
.about-body .is-lede {
  color: var(--ink);
}
.about-body p.pull {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.practice-index {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}
.practice-index a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 2fr) 24px;
  gap: 24px;
  align-items: center;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.practice-index a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.practice-index .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.practice-index h3 {
  font-size: 16px;
  font-weight: 500;
}
.practice-index p {
  font-size: 13.5px;
}
.practice-index .row-arrow {
  text-align: right;
  color: var(--faint);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.panel {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}
.panel h2 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.25;
}
.panel p:not(.label) {
  margin-top: 14px;
}
.panel-dark {
  background: #23372e;
  border-color: #23372e;
  color: #ffffff;
  box-shadow: var(--shadow);
}
.panel-dark .label {
  color: #a8c9b2;
}
.panel-dark h2 {
  color: #ffffff;
}
.panel-dark p:not(.label) {
  color: rgba(255, 255, 255, 0.78);
}

/* Method / principles (interior pages) ------------------------------------ */
.method,
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.method-step,
.principle {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.method-step:hover,
.principle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.method-step h3,
.principle h3 {
  margin-top: 14px;
  font-size: 17px;
}
.method-step p:last-child,
.principle p {
  margin-top: 8px;
}

.principle > span,
.method-step > .label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Contact ----------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
  padding-bottom: var(--section-y);
}

.form-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 24px;
}
.form-card .form-note {
  margin-top: 8px;
  font-size: 13px;
}
.field-group {
  margin-top: 22px;
}
.field-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-required {
  color: var(--blue-deep);
}

.field {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.field::placeholder {
  color: var(--faint);
}
.field:hover {
  border-color: #d8d7cf;
}
.field:focus {
  background: var(--surface);
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 149, 233, 0.14);
}
.field[aria-invalid="true"] {
  border-color: #c25a4b;
  box-shadow: 0 0 0 3px rgba(194, 90, 75, 0.12);
}
textarea.field {
  min-height: 138px;
  resize: vertical;
}

.field-error {
  margin-top: 7px;
  font-size: 12.5px;
  color: #a33f30;
}
.field-error:empty {
  display: none;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}
.form-foot p {
  max-width: 34ch;
  font-size: 12.5px;
}

.form-status {
  margin-top: 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.55;
}
.form-status:empty {
  display: none;
}
.form-status[data-state] {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.form-status[data-state="success"] {
  background: #eef7ec;
  border-color: #cfe6c8;
  color: #3c6b31;
}
.form-status[data-state="error"] {
  background: #fdf3f1;
  border-color: #f0cfc8;
  color: #a33f30;
}

.contact-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}
.notice {
  padding: 12px 14px;
  background: var(--blue-pale);
  border: 1px solid #d3e9fa;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  line-height: 1.6;
  color: #2c5f83;
}
.notice strong {
  font-weight: 600;
}
.detail-list li {
  display: grid;
  gap: 5px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.detail-list .value {
  font-size: 14px;
}
.detail-list .value a {
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}
.steps li > span {
  font-size: 10px;
  color: var(--faint);
}
.steps p {
  font-size: 13.5px;
}

/* Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .practice-row,
  .practice-index a,
  .cap-list li,
  .method-step,
  .principle,
  .panel,
  .diagram {
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  }

  .js .reveal {
    opacity: 0;
    translate: 0 10px;
    transition: opacity 400ms var(--ease) var(--delay, 0ms), translate 400ms var(--ease) var(--delay, 0ms);
  }
  .js .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
  }

  /* Hero chips float up and fade in on load */
  .hero-chips .float-chip {
    animation: chipIn 620ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .hero-chips .float-chip:nth-child(1) { animation-delay: 180ms; }
  .hero-chips .float-chip:nth-child(2) { animation-delay: 320ms; }
  .hero-chips .float-chip:nth-child(3) { animation-delay: 460ms; }

  .chip-dot {
    animation: dotPulse 2.4s ease-in-out infinite;
  }

  .float-chip.is-running .chip-dot {
    animation-duration: 1.6s;
  }

  /* Text change inside a chip */
  .chip-task.is-swapping {
    opacity: 0;
    transform: translateY(-3px);
  }
  .chip-task {
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chips .float-chip,
  .chip-dot {
    animation: none;
  }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero-chips {
    right: 4%;
    width: 280px;
  }
  .practice-row {
    gap: 44px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
    height: 500px;
  }
}

@media (max-width: 960px) {
  .header-nav {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .mobile-menu:not([hidden]) {
    display: block;
  }

  .section-head,
  .feature,
  .about-overview,
  .page-head-body,
  .service-head,
  .services-layout,
  .contact-grid,
  .practice-row,
  .footer-grid,
  .band-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-head .section-title,
  .section-head .section-note {
    grid-column: 1;
  }
  .section-head {
    gap: 16px;
  }

  .services-layout {
    gap: 32px;
  }
  .chapter-nav {
    position: static;
  }

  .hero {
    min-height: 620px;
    padding-bottom: 96px;
  }
  .hero-chips {
    display: none;
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .workspace-chat {
    border-top: 1px solid var(--line-soft);
  }
  .workspace-canvas {
    min-height: 380px;
    border-right: 0;
  }
  .chat-body {
    padding: 16px;
  }

  .intro-notes,
  .band-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .chapter-grid {
    max-width: 560px;
    gap: 48px;
  }

  .practices-intro {
    margin-bottom: 24px;
  }
  .practice-row {
    padding-block: 46px;
  }
  .practice-copy p {
    max-width: 52ch;
  }

  .band,
  .cta-band {
    padding-block: 104px;
  }
  .band-form {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-panel {
    padding: 36px 24px 28px;
  }
  .footer-card {
    max-width: 300px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-y: 64px;
  }

  .hero {
    min-height: 560px;
    padding-top: calc(var(--nav-h) + 44px);
  }

  /* the narrow crop puts more artwork behind the copy, so add a soft scrim */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 38, 60, 0.26) 0%, rgba(10, 38, 60, 0.06) 58%, rgba(10, 38, 60, 0) 100%);
    pointer-events: none;
  }
  .hero-inner,
  .hero-chips,
  .hero-dissolve {
    position: relative;
    z-index: 1;
  }
  .hero-chips {
    position: absolute;
  }
  .hero-dissolve {
    position: absolute;
    z-index: 1;
  }
  .hero-title {
    font-size: clamp(29px, 8vw, 36px);
  }
  .wide-break {
    display: none;
  }

  .intro {
    padding-top: 64px;
  }
  .showcase {
    margin-top: 36px;
  }
  .workspace-canvas {
    min-height: 320px;
  }
  .canvas-map {
    inset: 52px 16px 16px;
  }
  .node {
    font-size: 10px;
    padding: 6px 9px;
  }

  .chapter-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .chapter::after {
    inset: 10px -8px -10px 8px;
  }

  .letters {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .letters > span:not(.mark) {
    height: 34px;
  }
  .letters > .mark {
    height: 28px;
    gap: 0.34em;
    font-size: 9px;
    letter-spacing: 0;
  }

  .hero-meta,
  .label-row,
  .scene-caption,
  .feature-note,
  .form-foot,
  .diagram figcaption,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero-facts {
    flex-wrap: wrap;
  }

  .practice-index a {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 16px;
  }
  .practice-index a p {
    grid-column: 2;
  }
  .practice-index .row-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .method,
  .principles,
  .panel-grid,
  .cap-list,
  .cap-list.is-single li,
  .diagram-flow,
  .flow-fan {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter-grid {
    gap: 40px;
  }
  .diagram-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .form-foot .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .form-card,
  .panel {
    padding: 22px;
  }

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-card {
    max-width: 100%;
  }
  .footer-grass {
    background-size: 900px 40px;
  }
}

/* Footer legal links ------------------------------------------------------ */
.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(163, 163, 156, 0.55);
}
.footer-legal a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* Inline links in body copy ----------------------------------------------- */
.body-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(163, 163, 156, 0.55);
}
.body-copy a:hover {
  text-decoration-color: currentColor;
}

/* FAQ Accordion */
.faq-question {
  -webkit-appearance: none;
  appearance: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.2s ease;
  color: var(--muted);
}
.faq-item:hover .faq-question {
  color: var(--ink);
}
.faq-item:hover .faq-icon {
  color: var(--ink);
}

/* Mobile hero video fix */
@media (max-width: 720px) {
  .hero-video {
    object-position: 75% bottom;
  }
}

/* Selected work ----------------------------------------------------------- */
.work-card {
  margin-top: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.work-card:first-of-type {
  margin-top: 48px;
}
.work-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 48px;
  align-items: start;
}
.work-visual {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 24px;
}
.work-more {
  margin-top: 24px;
  padding: 48px 32px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  text-align: center;
}

/* ==========================================================================
   MOBILE OVERRIDES (Fixes cropping, constricting, and layout issues)
   ========================================================================== */
@media (max-width: 768px) {

  /* 1. Global padding & overflow fixes */
  body { overflow-x: hidden; }
  .shell { padding-inline: 16px; }
  .section, .chapters, .practices, .band, .industries {
    padding-block: 56px; /* Reduce massive desktop spacing */
  }

  /* 2. Hero fixes (Text + Video) */
  .hero {
    min-height: 600px;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
  }
  .hero-video {
    object-position: 60% bottom; /* Keep laptop visible */
  }
  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.1;
  }
  .hero-sub {
    font-size: 14px;
    max-width: 100%;
  }
  .hero::before {
    /* Darken background slightly for text readability */
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  }

  /* 3. Workspace Mockup */
  .workspace {
    height: auto !important;
    min-height: 400px;
    grid-template-columns: 1fr; /* Stack canvas and chat */
  }
  .workspace-canvas {
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .canvas-map { inset: 40px 10px 10px; }
  .node { font-size: 10px; padding: 4px 6px; }
  .chat-body { padding: 14px; }
  .bubble { font-size: 11.5px; }

  /* 4. Work Cards */
  .work-card-inner {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
    gap: 24px;
  }
  .work-card { padding: 20px; }
  .work-visual { padding: 16px; }
  .work-more { padding: 32px 20px; }

  /* 5. Chapters */
  .chapter-grid { gap: 32px; }
  .chapter::after { inset: 8px -8px -8px 8px; }

  /* 6. Practice Rows */
  .practice-row { gap: 32px; padding-block: 32px; }
  .ui-card { padding: 16px; }
  .ui-row { font-size: 11px; }

  /* 7. Band */
  .band-panel { border-radius: 12px; }
  .band-form { padding: 20px; }

  /* 8. Footer */
  .footer-panel { padding: 24px 16px; }
  .footer-card { aspect-ratio: 4/3; }
  .footer-legal { font-size: 11px; }

  /* 9. Typography */
  .display, .page-title { font-size: clamp(28px, 7vw, 36px); }
  .section-title { font-size: clamp(24px, 6vw, 32px); }
}