/*
 * Puffin portfolio stylesheet, adapted from the Hielo template by TEMPLATED.
 * Hielo is licensed under Creative Commons Attribution 3.0.
 */

:root {
  --navy-950: #031d35;
  --navy-900: #073763;
  --navy-800: #084a80;
  --blue-700: #096bc7;
  --blue-600: #0b78dc;
  --blue-100: #dbeeff;
  --cyan: #09c9ed;
  --cyan-soft: #a9effb;
  --ink: #0d2238;
  --muted: #52677c;
  --line: #cddceb;
  --surface: #ffffff;
  --surface-alt: #f2f7fb;
  --surface-blue: #eaf4fc;
  --green: #0aa979;
  --orange: #f0a51a;
  --red: #de4138;
  --shadow: 0 18px 48px rgba(3, 29, 53, 0.12);
  --shadow-small: 0 8px 24px rgba(3, 29, 53, 0.09);
  --shell: 1240px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  color: var(--navy-950);
  background: var(--cyan-soft);
}

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

figure,
blockquote {
  margin-right: 0;
  margin-left: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

p {
  margin-bottom: 1.25rem;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--navy-950);
  background: var(--cyan);
  font-weight: 750;
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(205, 220, 235, 0.85);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 30px);
}

.site-nav a {
  position: relative;
  color: #354c63;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--blue-600);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--blue-700);
}

.site-nav a:hover::after,
.site-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 12px;
  border: 0;
  color: var(--navy-900);
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before {
  position: absolute;
  top: -7px;
}

.menu-toggle__icon::after {
  position: absolute;
  top: 7px;
}

.nav-open .menu-toggle__icon {
  background: transparent;
}

.nav-open .menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  flex-direction: column;
  padding: calc(var(--header-height) + 72px) 0 40px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(42, 139, 216, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 139, 216, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
}

.hero__layout {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero__copy {
  max-width: 680px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 820;
  letter-spacing: -0.05em;
}

.hero__brand img {
  width: 76px;
  height: 76px;
}

.hero h1 {
  color: #fff;
}

.hero__lede {
  max-width: 620px;
  margin-bottom: 34px;
  color: #c3d9eb;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--cyan-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button--cyan {
  color: var(--navy-950);
  background: var(--cyan);
}

.button--cyan:hover {
  background: #5ee3fa;
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  border-color: var(--cyan);
}

.hero__system {
  position: relative;
}

.hero__system::before,
.hero__system::after {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(9, 201, 237, 0.22);
  content: "";
}

.hero__system::before {
  top: -24px;
  right: -24px;
  border-bottom: 0;
  border-left: 0;
}

.hero__system::after {
  bottom: -24px;
  left: -24px;
  border-top: 0;
  border-right: 0;
}

.system-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(135, 197, 235, 0.35);
  border-radius: 10px;
  background: #082946;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.system-window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(135, 197, 235, 0.24);
  background: #061d33;
}

.system-window__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #577086;
}

.system-window__bar span:first-child {
  background: var(--cyan);
}

.system-window__bar b {
  margin-left: auto;
  color: #8fb3d0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.system-window__body {
  padding: 20px;
}

.pipeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  min-height: 72px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(135, 197, 235, 0.16);
}

.pipeline-step__index {
  color: #6e99ba;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.pipeline-step b,
.pipeline-output b {
  display: block;
  color: #fff;
}

.pipeline-step small,
.pipeline-output small {
  display: block;
  color: #83a8c5;
  font-size: 0.73rem;
}

.pipeline-step i {
  width: 9px;
  height: 9px;
  border: 2px solid #60edc7;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(96, 237, 199, 0.1);
}

.pipeline-output {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(9, 201, 237, 0.44);
  background: #073763;
}

.pipeline-output img {
  width: 48px;
  height: 48px;
}

.hero__footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(135, 197, 235, 0.25);
  color: #789bb6;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 8vw, 110px) 0;
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section--overview {
  padding-top: 80px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.section--tint {
  background: var(--surface-alt);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading > p:not(.eyebrow),
.section-heading--split > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: end;
  max-width: none;
}

.section-heading--split > p {
  padding-bottom: 10px;
}

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

.glance-card {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.glance-card--problem {
  color: #fff;
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.glance-card--problem h3 {
  color: #fff;
}

.glance-card.glance-card--problem p {
  color: #d5e6f3;
}

.glance-card--team {
  border-color: var(--blue-700);
  background: var(--surface-blue);
}

.card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue-700);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
}

.glance-card--problem .card-number {
  color: var(--cyan-soft);
}

.glance-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.story-map {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.story-map div {
  position: relative;
  padding: 22px 10px 0 0;
}

.story-map div::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue-700);
  border-radius: 50%;
  background: var(--surface-alt);
  content: "";
}

.story-map b {
  margin-right: 8px;
  color: var(--blue-700);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.story-map span {
  font-size: 0.82rem;
  font-weight: 750;
}

.process-shell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
}

.process-content {
  min-width: 0;
}

.process-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.process-marker span {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--blue-700);
  color: var(--blue-700);
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 750;
}

.process-marker i {
  position: absolute;
  top: 50px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}

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

.participant-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 4px 16px;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.participant-card__code {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--blue-700);
  color: var(--blue-700);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 800;
}

.participant-card h3 {
  margin-bottom: 2px;
}

.participant-card > div p {
  margin: 0;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.participant-card > p {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  color: var(--muted);
}

.privacy-note {
  margin: 14px 0 0;
  color: #5c7085;
  font-size: 0.76rem;
}

.insight-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  margin-top: 58px;
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  background: var(--navy-900);
}

.insight-band h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.insight-band ul {
  margin-bottom: 0;
  padding-left: 20px;
  color: #cfdfeb;
}

.insight-band li + li {
  margin-top: 12px;
}

.insight-band b {
  color: #fff;
}

.question-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.question-grid blockquote {
  min-height: 250px;
  margin-bottom: 0;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.question-grid span,
.concept-card figcaption > span,
.evidence-grid article > span,
.feature-card__copy > span,
.feature-card--text > span,
.finding-stack article > span,
.reflection-grid article > span,
.product-hero figcaption > span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.question-grid p {
  margin-bottom: 0;
  color: var(--navy-950);
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  font-weight: 680;
  line-height: 1.35;
}

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

.concept-card {
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.concept-card--selected {
  border: 2px solid var(--blue-700);
}

.concept-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.concept-card figcaption {
  min-height: 245px;
  padding: 24px;
}

.concept-card figcaption > span {
  margin-bottom: 12px;
}

.concept-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.decision-line {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.decision-line i {
  position: relative;
  height: 1px;
  background: var(--line);
}

.decision-line i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  content: "";
  transform: rotate(45deg);
}

.decision-line__result {
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-700);
}

.causal-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr);
  align-items: stretch;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.causal-step {
  min-width: 0;
  padding: 24px 22px;
}

.causal-step > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.causal-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 610;
  line-height: 1.55;
}

.causal-step--result {
  background: var(--surface-blue);
}

.causal-chain > i {
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-size: 1.15rem;
  font-style: normal;
}

.causal-chain--dark {
  border-color: rgba(135, 197, 235, 0.25);
  background: #061d33;
}

.causal-chain--dark .causal-step > span,
.causal-chain--dark > i {
  color: var(--cyan-soft);
}

.causal-chain--dark .causal-step p {
  color: #c3d7e6;
}

.causal-chain--dark .causal-step--result {
  background: var(--navy-900);
}

.task-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
  border: 1px solid var(--line);
}

.task-strip div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}

.task-strip div + div {
  border-left: 1px solid var(--line);
}

.task-strip b {
  color: var(--blue-700);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.task-strip span {
  font-weight: 750;
}

.lofi-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.lofi-gallery figure {
  margin-bottom: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.lofi-gallery__large {
  grid-row: span 2;
}

.lofi-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}

.lofi-gallery__large img {
  height: 610px;
}

.lofi-gallery figcaption {
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.evidence-grid article {
  padding: 28px;
  border-top: 3px solid var(--line);
  background: var(--surface-alt);
}

.evidence-grid article > span {
  margin-bottom: 28px;
}

.evidence-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.evidence-grid__decision {
  color: #fff;
  border-top-color: var(--cyan) !important;
  background: var(--navy-900) !important;
}

.evidence-grid__decision h3 {
  color: #fff;
}

.evidence-grid article.evidence-grid__decision > span {
  color: var(--cyan-soft);
}

.evidence-grid__decision p {
  color: #d0e2ef;
}

.section--dark {
  color: #fff;
  background: var(--navy-950);
}

.process-marker--dark span {
  color: var(--cyan);
  border-color: rgba(9, 201, 237, 0.7);
  background: var(--navy-950);
}

.process-marker--dark i {
  background: rgba(135, 197, 235, 0.25);
}

.section-heading--light h2,
.section-heading--light h3 {
  color: #fff;
}

.section-heading--light > p:not(.eyebrow),
.section-heading--light.section-heading--split > p {
  color: #b9cee0;
}

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

.hifi-grid figure {
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid rgba(135, 197, 235, 0.24);
  background: #082946;
}

.hifi-grid__chosen {
  border-color: var(--cyan) !important;
}

.hifi-grid__chosen::after {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  color: var(--navy-950);
  background: var(--cyan);
  content: "Chosen";
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hifi-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid rgba(135, 197, 235, 0.24);
}

.hifi-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
}

.hifi-grid figcaption b {
  color: #fff;
}

.hifi-grid figcaption span {
  color: #8eacc5;
  font-size: 0.83rem;
}

.critique-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid rgba(135, 197, 235, 0.24);
}

.critique-flow div {
  padding: 24px;
}

.critique-flow div + div {
  border-left: 1px solid rgba(135, 197, 235, 0.24);
}

.critique-flow span {
  color: var(--cyan-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.critique-flow p {
  margin: 12px 0 0;
  color: #c6d9e7;
  font-size: 0.9rem;
}

.pull-quote {
  max-width: 900px;
  margin: 70px auto 0;
  padding-left: 30px;
  border-left: 3px solid var(--cyan);
}

.pull-quote p {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.pull-quote cite {
  color: #91aec5;
  font-size: 0.8rem;
  font-style: normal;
}

.section--build {
  background: #fff;
}

.product-hero {
  margin: 0 0 32px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #edf4f9;
}

.browser-frame__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aac0d2;
}

.browser-frame__bar span:first-child {
  background: var(--blue-600);
}

.browser-frame__bar b {
  margin-left: 6px;
  color: #52687c;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 500;
}

.browser-frame__viewport {
  position: relative;
  overflow: hidden;
  background: #eef4fa;
}

.browser-frame__viewport--crop-bottom {
  aspect-ratio: 16 / 8.55;
}

.browser-frame__viewport img {
  width: 100%;
  height: auto;
}

.product-hero figcaption {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-hero figcaption > span {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.feature-card__image {
  height: 330px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.feature-card__copy,
.feature-card--text {
  padding: 28px;
}

.feature-card__copy p,
.feature-card--text p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card--text {
  min-height: 250px;
  border-top: 3px solid var(--blue-700);
  background: var(--surface-alt);
}

.build-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.build-proof div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 28px 18px;
}

.build-proof div + div {
  border-left: 1px solid var(--line);
}

.build-proof strong {
  color: var(--blue-700);
  font-size: 2.2rem;
  line-height: 1;
}

.build-proof span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section--evaluate {
  background: var(--surface-alt);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 46px;
}

.metric-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.metric-card--primary {
  color: #fff;
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.metric-card__value {
  display: block;
  margin-bottom: 50px;
  color: var(--blue-700);
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.metric-card__value span {
  font-size: 0.45em;
}

.metric-card--primary .metric-card__value,
.metric-card--primary h3 {
  color: #fff;
}

.metric-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.metric-card--primary p {
  color: #e5f3fb;
}

.evaluation-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.evaluation-chart {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  margin-bottom: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.evaluation-chart img {
  width: 100%;
  min-height: 260px;
  object-fit: contain;
}

.evaluation-chart figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.finding-stack {
  display: grid;
  gap: 14px;
}

.finding-stack article {
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.finding-stack article > span {
  margin-bottom: 16px;
}

.finding-stack article > p {
  color: var(--muted);
}

.finding-stack article > b {
  display: block;
  margin-top: 22px;
  color: var(--navy-900);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finding-stack article > b + p {
  margin: 6px 0 0;
  color: var(--blue-700);
  font-weight: 650;
}

.evaluation-quote {
  margin: 60px 0 0;
  padding: clamp(32px, 6vw, 64px);
  color: #fff;
  background: var(--navy-900);
}

.evaluation-quote p {
  max-width: 900px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.evaluation-quote cite {
  color: var(--cyan-soft);
  font-size: 0.8rem;
  font-style: normal;
}

.section--reflection {
  color: #fff;
  background: var(--navy-950);
}

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

.reflection-grid article {
  min-height: 360px;
  padding: 30px;
  border: 1px solid rgba(135, 197, 235, 0.25);
  background: rgba(7, 55, 99, 0.42);
}

.reflection-grid h3 {
  color: #fff;
}

.reflection-grid article > span {
  color: var(--cyan-soft);
}

.reflection-grid p {
  color: #bfd2e2;
}

.closing-statement {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 62px;
  padding-top: 42px;
  border-top: 1px solid rgba(135, 197, 235, 0.25);
}

.closing-statement img {
  width: 70px;
  height: 70px;
}

.closing-statement p {
  margin-bottom: 0;
  color: #bfd2e2;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.35;
}

.closing-statement b {
  color: #fff;
}

.site-footer {
  color: #c2d3e1;
  background: #021527;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 50px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.brand--footer {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0;
  color: #91a9bd;
  font-size: 0.86rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--cyan-soft);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(135, 197, 235, 0.18);
}

.site-footer__bottom p:last-child {
  text-align: right;
}

@media (max-width: 1080px) {
  .hero__layout {
    grid-template-columns: 1fr 440px;
    gap: 42px;
  }

  .concept-card img {
    height: 270px;
  }

  .hifi-grid img {
    height: 250px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 28px max(24px, calc((100vw - var(--shell)) / 2));
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }

  .site-nav a::after {
    display: none;
  }

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

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

  .hero__copy {
    max-width: 720px;
  }

  .hero__system {
    max-width: 620px;
  }

  .hero__footer {
    position: relative;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .concept-grid,
  .hifi-grid,
  .evidence-grid,
  .reflection-grid {
    grid-template-columns: 1fr;
  }

  .concept-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .concept-card img {
    height: 100%;
    min-height: 300px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .concept-card figcaption {
    min-height: auto;
  }

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

  .hifi-grid__chosen {
    grid-column: 1 / -1;
  }

  .feature-grid,
  .evaluation-layout {
    grid-template-columns: 1fr;
  }

  .evaluation-chart {
    position: static;
  }

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

  .metric-card--primary {
    grid-column: 1 / -1;
  }

  .causal-chain {
    grid-template-columns: 1fr;
  }

  .causal-chain > i {
    min-height: 28px;
    transform: rotate(90deg);
  }

  .causal-step {
    padding: 20px 22px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero {
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero__brand img {
    width: 64px;
    height: 64px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__footer {
    display: none;
  }

  .process-shell {
    grid-template-columns: 1fr;
  }

  .process-marker {
    display: none;
  }

  .glance-grid,
  .participant-grid,
  .question-grid,
  .insight-band,
  .lofi-gallery,
  .feature-grid,
  .metric-grid,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .card-number {
    margin-bottom: 46px;
  }

  .story-map {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }

  .participant-card,
  .glance-card {
    min-height: 0;
  }

  .insight-band {
    gap: 28px;
  }

  .concept-card {
    display: block;
  }

  .concept-card img {
    height: 300px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .decision-line i {
    width: 1px;
    height: 24px;
    margin-left: 12px;
  }

  .decision-line i::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .task-strip,
  .critique-flow,
  .build-proof {
    grid-template-columns: 1fr;
  }

  .task-strip div + div,
  .critique-flow div + div,
  .build-proof div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lofi-gallery__large {
    grid-row: auto;
  }

  .lofi-gallery__large img,
  .lofi-gallery img {
    height: auto;
    max-height: 500px;
    object-fit: contain;
  }

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

  .hifi-grid__chosen {
    grid-column: auto;
  }

  .hifi-grid img {
    height: 230px;
  }

  .browser-frame__viewport--crop-bottom {
    aspect-ratio: 1.35;
  }

  .browser-frame__viewport img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
  }

  .product-hero figcaption {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .feature-card__image {
    height: 240px;
  }

  .metric-card--primary {
    grid-column: auto;
  }

  .reflection-grid article {
    min-height: 0;
  }

  .closing-statement {
    align-items: flex-start;
  }

  .closing-statement img {
    width: 54px;
    height: 54px;
  }

  .site-footer__top {
    gap: 34px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .system-window__body {
    padding: 12px;
  }

  .pipeline-step {
    grid-template-columns: 34px 1fr 16px;
  }

  .story-map {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

@media print {
  .site-header,
  .hero__actions,
  .scroll-progress {
    display: none;
  }

  .hero,
  .section,
  .site-footer {
    color: #000;
    background: #fff;
  }

  .hero h1,
  .section--dark h2,
  .section--reflection h2 {
    color: #000;
  }
}
