@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-500.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-serif-500.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-serif-600.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-serif-700.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-600.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-700.ttf") format("truetype");
}

:root {
  --ink: #172423;
  --muted: #5d6b67;
  --paper: #f6f4eb;
  --mist: #e7f0ed;
  --panel: #fffdfa;
  --reef: #087579;
  --deep: #123f53;
  --night: #102d3b;
  --signal: #d9a441;
  --coral: #b4573d;
  --action: #123f53;
  --action-ink: #fffdf8;
  --line: rgba(23, 36, 35, 0.16);
  --shadow: 0 28px 70px rgba(18, 63, 83, 0.14);
  --font-body: "IBM Plex Sans", "Aptos", "Segoe UI", sans-serif;
  --font-heading: "IBM Plex Serif", "Iowan Old Style", "Georgia", serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #eef7f2;
  --muted: #adc1bd;
  --paper: #0d181d;
  --mist: #12272f;
  --panel: #142b34;
  --reef: #54c5bf;
  --deep: #d7f0e8;
  --night: #091217;
  --signal: #e5b85b;
  --coral: #e08c72;
  --action: #1b5967;
  --action-ink: #eef7f2;
  --line: rgba(238, 247, 242, 0.16);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(8, 117, 121, 0.08), transparent 32rem),
    linear-gradient(135deg, var(--paper) 0%, var(--mist) 58%, #fbf7ed 100%);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

:root[data-theme="dark"] body {
  background:
    linear-gradient(120deg, rgba(84, 197, 191, 0.1), transparent 32rem),
    linear-gradient(135deg, #0d181d 0%, #10252d 58%, #091217 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(18, 63, 83, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 83, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 3rem);
  background: rgba(246, 244, 235, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

:root[data-theme="dark"] .site-header {
  background: rgba(13, 24, 29, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--deep);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--reef);
}

nav a[aria-current="true"] {
  color: var(--deep);
  font-weight: 900;
}

nav a[aria-current="true"]::after {
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--signal);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  color: var(--deep);
  font: inherit;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 253, 250, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: #fffdf8;
  background: var(--reef);
  outline: none;
}

:root[data-theme="dark"] .theme-toggle {
  color: var(--deep);
  background: rgba(238, 247, 242, 0.08);
}

.nav-cta {
  color: var(--deep);
  font-weight: 900;
}

.hero,
.page-hero,
.section,
.split-section,
.founder {
  padding-inline: clamp(1rem, 5vw, 5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding-block: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--reef);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  color: var(--deep);
  font-size: clamp(3.1rem, 7.2vw, 7.3rem);
}

h2 {
  color: var(--deep);
  font-size: clamp(2.15rem, 3.8vw, 4.4rem);
}

h3 {
  color: var(--deep);
  font-size: 1.55rem;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.58;
}

.hero-actions,
.section-heading,
.outreach,
.insight-band {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--action);
  color: var(--action-ink);
  border-color: var(--action);
}

.button.secondary {
  background: rgba(255, 253, 250, 0.72);
  color: var(--deep);
}

:root[data-theme="dark"] .button.secondary {
  background: rgba(238, 247, 242, 0.08);
  border-color: rgba(238, 247, 242, 0.2);
}

:root[data-theme="dark"] .button.primary {
  border-color: rgba(84, 197, 191, 0.42);
}

.button:hover {
  transform: translateY(-1px);
}

.section-continue {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.6rem;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--action);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-continue::after {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--action-ink);
  content: "↓";
  background: var(--action);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 63, 83, 0.18);
}

.section-continue:hover::after {
  background: var(--reef);
  transform: translateY(2px);
}

.light-continue {
  color: #fffdf8;
}

.light-continue::after {
  color: var(--action);
  background: #fffdf8;
}

:root[data-theme="dark"] .light-continue::after {
  color: var(--night);
  background: var(--ink);
}

.light-button {
  background: rgba(255, 253, 248, 0.1);
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.28);
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

:root[data-theme="dark"] .hero-media,
:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .signal-grid article,
:root[data-theme="dark"] .detail-stack article,
:root[data-theme="dark"] .article-index article,
:root[data-theme="dark"] .posts-list article,
:root[data-theme="dark"] .company-grid article,
:root[data-theme="dark"] .deliverable-grid p,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .contact-panel a,
:root[data-theme="dark"] .process-detail,
:root[data-theme="dark"] .independence-note article,
:root[data-theme="dark"] .engagement-timeline article,
:root[data-theme="dark"] .outreach,
:root[data-theme="dark"] .portrait-panel {
  background: rgba(20, 43, 52, 0.86);
}

.hero-media img {
  display: block;
  width: 100%;
  min-height: 23rem;
  object-fit: cover;
}

.command-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(16, 45, 59, 0.78));
}

.panel-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  width: min(23rem, calc(100% - 2rem));
  padding: 1rem;
  color: #fffdf8;
  background: rgba(16, 45, 59, 0.84);
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.panel-kicker {
  margin-bottom: 0.75rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-overlay ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.76);
}

:root[data-theme="dark"] .cred-strip {
  background: rgba(20, 43, 52, 0.72);
}

.cred-strip p {
  margin: 0;
  padding: 1.3rem clamp(1rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.cred-strip p:last-child {
  border-right: 0;
}

.cred-strip strong {
  display: block;
  color: var(--deep);
  font-size: 1.15rem;
}

.section,
.split-section,
.founder,
.page-hero {
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.compact-section {
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 13ch;
}

.signal-grid,
.service-grid,
.deliverable-grid,
.article-index {
  display: grid;
  gap: 1rem;
}

.signal-grid {
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid article,
.service-card,
.detail-stack article,
.article-index article {
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 63, 83, 0.08);
}

.signal-grid article {
  min-height: 17rem;
  padding: 1.2rem;
}

.signal-grid span,
.card-mark {
  display: inline-block;
  margin-bottom: 3.5rem;
  color: var(--signal);
  font-family: var(--font-mono);
  font-weight: 950;
}

.signal-grid p,
.service-card p,
.method-list p,
.founder-panel p,
.outreach p,
.detail-stack p,
.article-index p,
.insight-band p,
.outcome-list p {
  color: var(--muted);
  line-height: 1.65;
}

:root[data-theme="dark"] .outcome-list p,
:root[data-theme="dark"] .outcomes-section,
:root[data-theme="dark"] .contact-section,
:root[data-theme="dark"] .engagement-section,
:root[data-theme="dark"] .engagement-page-section {
  background: rgba(20, 43, 52, 0.52);
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 22rem;
  padding: 1.4rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.text-link {
  margin-top: auto;
  color: var(--deep);
  font-weight: 900;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.25em;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  background:
    linear-gradient(135deg, rgba(8, 117, 121, 0.38), transparent 54%),
    var(--night);
}

.split-section h2,
.split-section .eyebrow,
.method-list strong,
.insight-band h2,
.insight-band .eyebrow {
  color: #fffdf8;
}

.method-list {
  display: grid;
  gap: 1rem;
}

.method-list p {
  margin: 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
  color: rgba(255, 253, 248, 0.78);
}

.engagement-section {
  background:
    linear-gradient(135deg, rgba(8, 117, 121, 0.1), transparent 45%),
    rgba(255, 253, 250, 0.52);
  border-bottom: 1px solid var(--line);
}

.engagement-heading {
  align-items: flex-end;
}

.engagement-heading > p {
  max-width: 35rem;
  color: var(--muted);
  line-height: 1.65;
}

.process-flow {
  display: grid;
  gap: 1.2rem;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 1.1rem 0;
}

.process-track::before,
.process-track::after {
  position: absolute;
  right: 4%;
  left: 4%;
  top: 50%;
  height: 4px;
  content: "";
  border-radius: 999px;
  transform: translateY(-50%);
}

.process-track::before {
  background: rgba(18, 63, 83, 0.14);
}

:root[data-theme="dark"] .process-track::before {
  background: rgba(238, 247, 242, 0.14);
}

.process-track::after {
  width: 34%;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  animation: pipe-flow 4.8s linear infinite;
}

.process-node {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  align-content: center;
  min-height: 8.5rem;
  padding: 0.9rem 0.75rem;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 63, 83, 0.08);
}

:root[data-theme="dark"] .process-node {
  color: var(--muted);
  background: rgba(20, 43, 52, 0.94);
  border-color: rgba(238, 247, 242, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.process-node:hover,
.process-node:focus-visible {
  border-color: rgba(8, 117, 121, 0.45);
  outline: none;
  transform: translateY(-2px);
}

:root[data-theme="dark"] .process-node:hover,
:root[data-theme="dark"] .process-node:focus-visible {
  border-color: rgba(84, 197, 191, 0.58);
}

.process-node span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-weight: 950;
}

.process-node strong {
  color: var(--deep);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.05;
}

:root[data-theme="dark"] .process-node strong {
  color: var(--ink);
}

.process-node.is-active {
  color: var(--action-ink);
  background:
    linear-gradient(135deg, rgba(8, 117, 121, 0.42), transparent 62%),
    var(--action);
  border-color: rgba(255, 253, 248, 0.3);
  box-shadow: 0 22px 54px rgba(18, 63, 83, 0.22);
}

:root[data-theme="dark"] .process-node.is-active {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(84, 197, 191, 0.24), transparent 62%),
    #153847;
  border-color: rgba(84, 197, 191, 0.5);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.process-node.is-active strong {
  color: var(--action-ink);
}

:root[data-theme="dark"] .process-node.is-active strong {
  color: var(--ink);
}

.process-detail {
  display: grid;
  gap: 0.85rem;
  min-height: 20rem;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-detail.is-refreshing {
  animation: detail-in 220ms ease both;
}

.process-detail h3 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.process-detail p,
.process-detail li,
.independence-note p {
  color: var(--muted);
  line-height: 1.65;
}

.process-detail ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.independence-note {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.independence-note article {
  padding: 1.2rem;
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.independence-note h3 {
  font-size: 1.55rem;
}

.engagement-preview-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.engagement-page-section {
  background: rgba(255, 253, 250, 0.48);
}

.engagement-timeline {
  display: grid;
  gap: 1rem;
  counter-reset: engagement;
}

.engagement-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.48fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: rgba(255, 253, 250, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 63, 83, 0.08);
}

.engagement-timeline span {
  color: var(--signal);
  font-family: var(--font-mono);
  font-weight: 950;
}

.engagement-timeline h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.engagement-timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.engagement-principles {
  border-top: 1px solid var(--line);
}

.compact-contact {
  border-top: 1px solid var(--line);
}

@keyframes pipe-flow {
  from {
    transform: translate(-38%, -50%);
  }

  to {
    transform: translate(210%, -50%);
  }
}

@keyframes detail-in {
  from {
    opacity: 0.72;
    transform: translateY(0.3rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.outcomes-section {
  background: rgba(255, 253, 250, 0.42);
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.outcome-list p {
  margin: 0;
  padding: 1.25rem;
  background: rgba(255, 253, 250, 0.82);
}

.outcome-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--deep);
}

.insight-band {
  justify-content: space-between;
  margin: clamp(3rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 4rem);
  background:
    linear-gradient(135deg, rgba(180, 87, 61, 0.32), transparent 54%),
    var(--deep);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.insight-band div {
  max-width: 50rem;
}

.insight-band p {
  max-width: 42rem;
  color: rgba(255, 253, 248, 0.78);
}

.outreach {
  justify-content: space-between;
  margin: clamp(3rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.outreach div {
  max-width: 48rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(217, 164, 65, 0.18), transparent 52%),
    rgba(255, 253, 250, 0.54);
  border-top: 1px solid var(--line);
}

.contact-copy {
  position: sticky;
  top: 6.5rem;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-workspace,
.contact-panel,
.contact-form {
  display: grid;
}

.contact-workspace {
  gap: 1rem;
}

.contact-form {
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--deep);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form select,
:root[data-theme="dark"] .contact-form textarea {
  background: #0d181d;
  border-color: rgba(238, 247, 242, 0.18);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--reef);
  outline: 3px solid rgba(8, 117, 121, 0.16);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.acknowledgement {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 0.9rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
  background: rgba(217, 164, 65, 0.12);
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 6px;
}

:root[data-theme="dark"] .acknowledgement {
  background: rgba(229, 184, 91, 0.1);
  border-color: rgba(229, 184, 91, 0.28);
}

.acknowledgement input {
  width: auto;
  min-height: auto;
  margin-top: 0.25rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-status[data-tone="success"] {
  color: var(--reef);
}

.form-status[data-tone="warning"] {
  color: #8a5a0a;
}

.form-status[data-tone="error"] {
  color: var(--coral);
}

.contact-panel {
  gap: 0.8rem;
}

.contact-panel a {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.2rem 1rem;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 63, 83, 0.08);
}

.contact-panel a:hover {
  border-color: rgba(8, 117, 121, 0.42);
  transform: translateY(-1px);
}

.contact-panel span {
  grid-row: span 2;
  color: var(--signal);
  font-weight: 950;
}

.contact-panel strong {
  color: var(--deep);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.05;
}

.contact-panel small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.founder-panel {
  max-width: 58rem;
  padding-top: 2rem;
  border-top: 4px solid var(--signal);
}

.page-hero {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 14ch;
}

.narrow-hero h1,
.about-hero h1 {
  max-width: 16ch;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.portrait-panel {
  position: sticky;
  top: 6.5rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center top;
}

.portrait-panel div {
  padding: 1.25rem;
}

.portrait-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-note {
  max-width: 22rem;
  color: var(--muted);
  line-height: 1.65;
}

.detail-stack {
  display: grid;
  gap: 1rem;
}

.detail-stack article {
  padding: 1.25rem;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.company-grid article {
  min-height: 15rem;
  padding: 1.25rem;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 63, 83, 0.08);
}

.company-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.deliverable-grid {
  grid-template-columns: repeat(3, 1fr);
}

.deliverable-grid p {
  min-height: 8rem;
  margin: 0;
  padding: 1rem;
  color: var(--deep);
  font-weight: 900;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-index {
  grid-template-columns: 1fr;
  max-width: 64rem;
}

.article-index article {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.article-index h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.article-index a,
.posts-list a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.posts-list {
  display: grid;
  gap: 1rem;
  max-width: 70rem;
}

.posts-list article {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 63, 83, 0.08);
}

.posts-list h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.posts-list p {
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.65;
}

.post-page {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.policy-page {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.post-header {
  max-width: 68rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.post-header h1 {
  max-width: 13ch;
}

.post-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 600;
}

.post-meta span::before {
  color: var(--signal);
  content: "/";
  margin-right: 0.8rem;
}

.post-body {
  max-width: 48rem;
  color: var(--ink);
  font-size: clamp(1.06rem, 1.2vw, 1.16rem);
  line-height: 1.78;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
  line-height: 1.08;
}

.post-body h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.post-body p,
.post-body li {
  color: var(--muted);
}

.post-body p {
  margin-bottom: 1.25rem;
}

.post-body ul,
.post-body ol {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.3rem;
}

.post-body code {
  padding: 0.08rem 0.28rem;
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(217, 164, 65, 0.16);
  border-radius: 4px;
}

.post-body pre {
  overflow: auto;
  padding: 1rem;
  background: var(--night);
  border-radius: 8px;
}

.post-body pre code {
  padding: 0;
  color: #fffdf8;
  background: transparent;
}

.post-cta {
  max-width: 58rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(8, 117, 121, 0.32), transparent 58%),
    var(--deep);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-cta h2,
.post-cta .eyebrow {
  color: #fffdf8;
}

.post-cta p {
  max-width: 42rem;
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.65;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.back-to-top {
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 12;
  min-width: 7.5rem;
  min-height: 3.25rem;
  padding: 0.65rem 0.8rem;
  color: var(--action-ink);
  font: inherit;
  font-family: var(--font-mono);
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  pointer-events: none;
  background: var(--action);
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(18, 63, 83, 0.28);
  opacity: 0;
  transform: translate(-50%, 0.75rem);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

:root[data-theme="dark"] .back-to-top {
  border-color: rgba(84, 197, 191, 0.38);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.back-to-top:hover {
  background: var(--reef);
}

.back-to-top.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-track::before,
  .process-track::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero,
  .split-section,
  .detail-layout,
  .founder-story,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .process-track {
    grid-template-columns: 1fr;
    padding-left: 1rem;
  }

  .process-track::before {
    top: 1.2rem;
    bottom: 1.2rem;
    left: 1rem;
    display: block;
    width: 4px;
    height: auto;
    transform: none;
  }

  .process-node {
    min-height: auto;
    padding: 1rem 1rem 1rem 1.35rem;
  }

  .independence-note {
    grid-template-columns: 1fr;
  }

  .engagement-timeline article {
    grid-template-columns: 3rem 1fr;
  }

  .engagement-timeline p {
    grid-column: 2;
  }

  .portrait-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(10rem, 0.45fr) 1fr;
    align-items: stretch;
  }

  .portrait-panel img {
    height: 100%;
    min-height: 16rem;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 5.5rem);
  }

  .cred-strip,
  .service-grid,
  .company-grid,
  .form-grid,
  .deliverable-grid,
  .outcome-list {
    grid-template-columns: 1fr;
  }

  .cred-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .insight-band,
  .outreach {
    margin-inline: 1rem;
  }
}

@media (max-width: 620px) {
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    transform: none;
  }

  .panel-overlay {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    border-radius: 0;
  }

  .command-panel::after {
    display: none;
  }

  .button {
    width: 100%;
  }

  .portrait-panel {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
