:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --surface: #fbfaf5;
  --surface-strong: #ede8dc;
  --ink: #11100d;
  --muted: #68635a;
  --line: #d7d0c1;
  --blue: #11100d;
  --blue-dark: #000000;
  --teal: #5d6b54;
  --amber: #9a6a2f;
  --rose: #8b4a45;
  --violet: #635a73;
  --shadow: none;
  --radius: 6px;
  --max: 1120px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080807;
  --surface: #0e0e0c;
  --surface-strong: #171613;
  --ink: #f4f0e7;
  --muted: #aaa398;
  --line: #302d27;
  --blue: #f4f0e7;
  --blue-dark: #ffffff;
  --teal: #b7c0a6;
  --amber: #c7a66a;
  --rose: #c58980;
  --violet: #aaa0bd;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.45;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  font-weight: 800;
}

.brand-photo {
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--blue) 30%, var(--line));
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: 0 8px 22px rgba(18, 24, 38, 0.14);
}

.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--surface-strong);
  color: var(--ink);
}

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

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button {
  padding: 0 16px;
  font-weight: 750;
}

.icon-button {
  width: 42px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 11px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  background: var(--surface-strong);
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, #fff4cc, #d9e7ff);
}

.theme-symbol,
.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
}

.theme-symbol-sun {
  left: 9px;
  width: 10px;
  height: 10px;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.theme-symbol-moon {
  right: 9px;
  width: 13px;
  height: 13px;
  background: #475569;
}

.theme-symbol-moon::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d9e7ff;
}

.theme-toggle-thumb {
  left: 4px;
  z-index: 1;
  width: 22px;
  height: 22px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(18, 24, 38, 0.22);
  transition: transform 180ms ease;
}

.theme-toggle-text {
  min-width: 72px;
  text-align: left;
  font-size: 0.85rem;
}

html[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(90deg, #22304a, #111827);
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translate(24px, -50%);
}

html[data-theme="dark"] .theme-symbol-moon::after {
  background: #111827;
}

.button-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-quiet {
  background: var(--surface);
  color: var(--ink);
}

.button-quiet:hover {
  background: var(--surface-strong);
}

.hero-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 22px 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: center;
  padding: 38px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.96;
}

.hero-kicker {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.58;
}

.hero-portrait {
  width: min(190px, 42vw);
  aspect-ratio: 1;
  margin: 8px 0 24px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--blue) 26%, var(--line));
  border-radius: 50%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 16%, transparent), transparent 52%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 34%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.hero-tags span,
.chip,
.drawer-tools span,
.tool-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.experience-panel {
  display: grid;
  min-height: 560px;
  align-content: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 14%, transparent), transparent 42%),
    linear-gradient(45deg, color-mix(in srgb, var(--teal) 12%, transparent), transparent 36%),
    var(--surface);
  box-shadow: var(--shadow);
}

.experience-heading h2 {
  max-width: 520px;
  margin: 0;
  font-size: 1.78rem;
  line-height: 1.08;
}

.experience-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.experience-metrics div,
.experience-lanes article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.experience-metrics div {
  min-height: 112px;
  padding: 16px;
}

.experience-metrics span {
  display: block;
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1;
}

.experience-metrics strong {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.experience-lanes {
  display: grid;
  gap: 10px;
}

.experience-lanes article {
  padding: 14px 16px;
}

.experience-lanes span {
  display: block;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-lanes strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  line-height: 1.25;
}

.experience-lanes small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 74px 22px;
}

.project-stage,
.contact-stage {
  background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.05;
}

.section-heading p:not(.section-label) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent, var(--blue));
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(18, 24, 38, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-card h3 {
  margin: 12px 0 10px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.project-card-top,
.project-card-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-type {
  color: var(--accent, var(--blue));
  font-size: 0.82rem;
  font-weight: 900;
}

.project-year {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.project-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.project-clients span,
.project-clients a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 30%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent, var(--blue)) 8%, var(--surface));
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.project-clients a:hover,
.drawer-clients a:hover {
  border-color: var(--accent, var(--blue));
  color: var(--accent, var(--blue));
}

.project-card .button {
  margin-top: 18px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.thinking-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(420px, 0.58fr);
  gap: 20px;
  align-items: stretch;
}

.thinking-core,
.funnel-system {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.thinking-core {
  display: flex;
  min-height: 540px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.thinking-core h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.thinking-core p:not(.section-label) {
  color: var(--muted);
  line-height: 1.6;
}

.thinking-principles {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.thinking-principles div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.thinking-principles span {
  grid-row: span 2;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.thinking-principles strong,
.thinking-principles small {
  display: block;
}

.thinking-principles small {
  color: var(--muted);
  line-height: 1.45;
}

.funnel-system {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 540px;
  padding: 22px;
  overflow: hidden;
}

.funnel-system::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 42px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--teal), var(--amber), var(--rose));
}

.funnel-stage {
  position: relative;
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 112px;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.funnel-stage::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--stage-color, var(--blue));
  box-shadow: 0 0 0 1px var(--line);
  transform: translateY(-50%);
}

.funnel-stage:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--stage-color, var(--blue)) 38%, var(--line));
  box-shadow: 0 16px 38px rgba(18, 24, 38, 0.09);
}

.funnel-stage span {
  color: var(--stage-color, var(--blue));
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.funnel-stage strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.funnel-stage small {
  color: var(--muted);
  line-height: 1.45;
}

.stage-awareness {
  --stage-color: var(--blue);
}

.stage-consideration {
  --stage-color: var(--teal);
}

.stage-conversion {
  --stage-color: var(--amber);
}

.stage-nurture {
  --stage-color: var(--rose);
}

.thinking-deck {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 109, 246, 0.12), transparent 36%),
    linear-gradient(45deg, rgba(190, 18, 60, 0.1), transparent 42%),
    #100d1b;
  box-shadow: var(--shadow);
}

.deck-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.deck-toolbar .section-label {
  margin-bottom: 6px;
  color: #ffb44c;
}

.deck-toolbar h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.deck-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.deck-controls span:not([aria-hidden]) {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  font-weight: 900;
}

.deck-button {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.deck-button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.deck-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #100d1b;
}

.deck-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.deck-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.deck-thumbs button {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #100d1b;
  cursor: pointer;
  opacity: 0.68;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.deck-thumbs button:hover,
.deck-thumbs button[aria-selected="true"] {
  border-color: #ffb44c;
  opacity: 1;
  transform: translateY(-2px);
}

.deck-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.deck-thumbs span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(16, 13, 27, 0.86);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.capability-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.capability-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.capability-proof {
  display: block;
  margin-top: 18px;
  color: var(--accent, var(--blue));
  font-weight: 900;
}

.tool-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-panel {
  display: grid;
  gap: 24px;
}

.contact-heading {
  max-width: none;
  margin-bottom: 0;
  text-align: center;
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-action {
  display: grid;
  min-height: 116px;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contact-action:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.contact-action span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-action strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.35;
}

.contact-action-primary {
  border-color: color-mix(in srgb, var(--blue) 52%, var(--line));
  background: color-mix(in srgb, var(--blue) 9%, var(--surface));
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-weight: 800;
}

.footer div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 13, 24, 0.52);
}

.case-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  width: min(520px, calc(100vw - 22px));
  height: 100vh;
  padding: 34px;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -22px 0 70px rgba(0, 0, 0, 0.2);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.case-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.case-drawer h2 {
  margin: 18px 50px 0 0;
  font-size: 2rem;
  line-height: 1.08;
}

.drawer-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.drawer-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-clients span,
.drawer-clients a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.drawer-section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.drawer-section h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.drawer-section p,
.drawer-section li {
  color: var(--muted);
  line-height: 1.55;
}

.drawer-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.drawer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1060px) {
  .hero-grid,
  .thinking-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding-bottom: 12px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .top-actions {
    width: 100%;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero-kicker {
    font-size: 1.08rem;
  }

  .thinking-core,
  .funnel-system {
    min-height: auto;
  }

  .deck-toolbar {
    flex-direction: column;
  }

  .deck-controls {
    width: 100%;
    justify-content: space-between;
  }

  .project-grid,
  .capability-grid,
  .contact-action-grid,
  .experience-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 18px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-shell {
    padding: 36px 16px 24px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .section-heading h2,
  .thinking-core h3,
  .case-drawer h2 {
    font-size: 1.72rem;
  }

  .experience-panel {
    min-height: auto;
    padding: 18px;
  }

  .case-drawer {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Clean editorial pass inspired by the amolw.me reference. */
.topbar {
  min-height: 66px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  gap: 10px;
}

.brand-photo {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.brand-photo img {
  filter: grayscale(0.12) saturate(0.92);
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  gap: 2px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: transparent;
  color: var(--ink);
}

.button,
.icon-button,
.theme-toggle {
  box-shadow: none;
}

.button,
.icon-button {
  min-height: 40px;
  border-radius: 999px;
}

.button {
  padding: 0 15px;
  font-size: 0.9rem;
  font-weight: 760;
}

.icon-button {
  width: 40px;
}

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

.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-quiet {
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover,
.icon-button:hover {
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
}

.theme-toggle {
  min-height: 40px;
  padding: 5px 12px 5px 6px;
  background: transparent;
  border-radius: 999px;
}

.theme-toggle:hover {
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  border-color: var(--line);
}

.theme-toggle-track {
  width: 46px;
  height: 26px;
  background: transparent;
}

.theme-symbol-sun {
  left: 8px;
  width: 8px;
  height: 8px;
  background: #c7a66a;
  box-shadow: 0 0 0 3px color-mix(in srgb, #c7a66a 18%, transparent);
}

.theme-symbol-moon {
  right: 8px;
  width: 11px;
  height: 11px;
  background: var(--muted);
}

.theme-symbol-moon::after {
  background: var(--bg);
}

.theme-toggle-thumb {
  width: 18px;
  height: 18px;
  background: var(--ink);
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle-track {
  background: transparent;
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translate(20px, -50%);
  background: var(--ink);
}

html[data-theme="dark"] .theme-symbol-moon::after {
  background: var(--bg);
}

.theme-toggle-text {
  min-width: 72px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.hero-shell {
  padding: 72px 22px 66px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.74fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.hero-copy {
  min-height: auto;
  padding: clamp(32px, 6vw, 72px) 0 24px;
}

.eyebrow,
.section-label {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 820;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.45rem, 7.5vw, 6.25rem);
  font-weight: 790;
  line-height: 0.96;
}

.hero-kicker {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.52;
}

.hero-portrait {
  width: min(172px, 38vw);
  margin: 14px 0 26px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.hero-portrait img {
  filter: grayscale(0.12) saturate(0.92);
}

.hero-tags {
  gap: 8px;
  margin: 30px 0 34px;
}

.hero-tags span,
.chip,
.drawer-tools span,
.tool-cloud span {
  min-height: 30px;
  padding: 5px 10px;
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 660;
}

.experience-panel {
  min-height: auto;
  align-content: start;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px) 0 clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.experience-heading h2 {
  max-width: 540px;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  font-weight: 790;
  line-height: 0.98;
}

.experience-metrics {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-metrics div,
.experience-lanes article {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.experience-metrics div {
  min-height: 0;
  padding: 18px 18px 18px 0;
}

.experience-metrics div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.experience-metrics span {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  font-weight: 790;
}

.experience-metrics strong {
  color: var(--muted);
  font-weight: 680;
}

.experience-lanes {
  gap: 0;
  border-top: 1px solid var(--line);
}

.experience-lanes article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.experience-lanes span,
.project-type,
.contact-action span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.experience-lanes strong {
  color: var(--ink);
  font-weight: 760;
}

.section {
  padding: 96px 22px;
  border-top: 1px solid var(--line);
}

.project-stage,
.contact-stage {
  background: transparent;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-heading h2 {
  max-width: 780px;
  font-size: clamp(2.05rem, 4.4vw, 4.1rem);
  font-weight: 790;
  line-height: 1;
}

.thinking-stage .section-heading {
  max-width: 760px;
}

.thinking-stage .section-heading h2 {
  max-width: 680px;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.04;
}

.section-heading p:not(.section-label) {
  max-width: 730px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.project-grid {
  counter-reset: project-card;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.project-card {
  counter-increment: project-card;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 36px);
  min-height: 0;
  align-items: start;
  padding: 31px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.project-card::before {
  content: counter(project-card, decimal-leading-zero);
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
}

.project-card:hover {
  background: color-mix(in srgb, var(--surface-strong) 22%, transparent);
  box-shadow: none;
  transform: none;
}

.project-card h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  font-weight: 790;
  line-height: 1;
}

.project-card p {
  max-width: 800px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.project-card-top,
.project-card-bottom {
  justify-content: flex-start;
  gap: 10px;
}

.project-year {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-clients {
  gap: 7px;
  margin-top: 18px;
}

.project-clients span,
.project-clients a,
.drawer-clients span,
.drawer-clients a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 9px;
  border-color: var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 660;
}

.client-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 5px;
  background: var(--surface-strong);
  object-fit: cover;
}

.client-icon-logo {
  width: 40px;
  padding: 1px 3px;
  background: #ffffff;
  object-fit: contain;
}

.client-icon-placeholder {
  opacity: 0.82;
}

.client-name {
  min-width: 0;
  line-height: 1.1;
}

.project-clients a:hover,
.drawer-clients a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.project-card .button {
  align-self: center;
  justify-self: end;
  margin-top: 0;
  white-space: nowrap;
}

.empty-state {
  border-radius: 0;
  background: transparent;
}

.thinking-layout {
  grid-template-columns: minmax(300px, 0.42fr) minmax(420px, 0.58fr);
  gap: 0;
}

.thinking-core,
.funnel-system {
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.thinking-core {
  padding: 0 34px 0 0;
  border-right: 1px solid var(--line);
}

.thinking-core h3 {
  font-size: clamp(1.8rem, 3vw, 2.85rem);
  font-weight: 790;
  line-height: 1.02;
}

.thinking-core p:not(.section-label) {
  color: var(--muted);
  line-height: 1.62;
}

.thinking-principles {
  gap: 0;
}

.thinking-principles div {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.thinking-principles span {
  color: var(--muted);
}

.funnel-system {
  padding: 0 0 0 34px;
  overflow: visible;
}

.funnel-system::before {
  top: 0;
  bottom: 0;
  left: 11px;
  width: 1px;
  background: var(--line);
}

.funnel-stage {
  min-height: auto;
  padding: 20px 0 20px 44px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.funnel-stage::before {
  left: 4px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}

.funnel-stage:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.funnel-stage span {
  color: var(--muted);
}

.thinking-deck {
  margin-top: 56px;
  padding: 0;
  border-color: var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.deck-toolbar {
  margin-bottom: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.deck-toolbar .section-label {
  color: var(--muted);
}

.deck-toolbar h3 {
  color: var(--ink);
  font-size: 1.3rem;
}

.deck-controls span:not([aria-hidden]) {
  border-color: var(--line);
  color: var(--muted);
}

.deck-button {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.deck-button:hover {
  background: var(--surface-strong);
}

.deck-frame {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
}

.deck-thumbs {
  gap: 0;
  margin-top: 0;
  padding: 12px;
}

.deck-thumbs button {
  border-radius: 0;
  border-color: var(--line);
  background: var(--surface);
}

.deck-thumbs button:hover,
.deck-thumbs button[aria-selected="true"] {
  border-color: var(--ink);
  transform: none;
}

.deck-thumbs span {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  color: var(--ink);
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 30px;
}

.capability-card {
  min-height: 0;
  padding: 24px 24px 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.capability-card h3 {
  font-size: 1.18rem;
  font-weight: 760;
}

.capability-card p {
  color: var(--muted);
}

.capability-proof {
  color: var(--muted);
  font-weight: 760;
}

.tool-cloud {
  gap: 7px;
}

.contact-panel {
  gap: 28px;
}

.contact-heading {
  text-align: left;
}

.contact-action-grid {
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-action {
  min-height: 116px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
  box-shadow: none;
}

.contact-action:hover {
  background: color-mix(in srgb, var(--surface-strong) 22%, transparent);
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.contact-action-primary {
  background: transparent;
}

.footer {
  background: transparent;
}

.case-drawer {
  background: var(--surface);
  box-shadow: none;
}

@media (max-width: 1060px) {
  .hero-grid,
  .thinking-layout {
    grid-template-columns: 1fr;
  }

  .experience-panel {
    padding: 34px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .thinking-core {
    padding: 0 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .funnel-system {
    padding: 34px 0 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: stretch;
    gap: 12px;
  }

  .top-actions {
    width: 100%;
  }

  .top-actions .button {
    flex: 1 1 auto;
  }

  .hero-shell {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .project-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 27px 0;
  }

  .project-card .button {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  .capability-grid,
  .contact-action-grid,
  .experience-metrics {
    grid-template-columns: 1fr;
  }

  .experience-metrics div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 68px 18px;
  }
}

@media (max-width: 520px) {
  .hero-shell {
    padding: 38px 16px 34px;
  }

  .section {
    padding: 58px 16px;
  }

  .hero-actions,
  .top-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card .button {
    grid-column: auto;
  }

  .project-card::before {
    padding-top: 0;
  }

  .deck-toolbar {
    padding: 16px;
  }

  .case-drawer {
    width: min(100vw, calc(100vw - 12px));
  }
}
