:root {
  --paper: #f6f2ea;
  --paper-deep: #ebe5da;
  --ink: #141a39;
  --brand-blue: #141a39;
  --muted: #6d6a63;
  --line: #ccc5b9;
  --coral: #ff654a;
  --coral-dark: #d9432d;
  --white: #fffdf8;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 10vw, 10rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans Flex", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection { color: var(--white); background: var(--coral); }

a { color: inherit; }

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
  padding: 0 var(--pad);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  color: var(--white);
  background: var(--brand-blue);
  transition: background-color .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  border-color: color-mix(in srgb, var(--white) 22%, transparent);
  background: color-mix(in srgb, var(--brand-blue) 94%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}

.brand img { width: 142px; height: 96px; object-fit: contain; object-position: left center; }

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: .94rem;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.brand-name b { color: var(--coral-dark); font-size: .68rem; letter-spacing: .08em; white-space: nowrap; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 2.5rem; }

.site-nav a,
.header-cta,
.text-link,
.contact-detail {
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
}

.site-nav a { position: relative; padding: .6rem 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 .3rem;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-cta { position: relative; z-index: 0; justify-self: end; overflow: hidden; padding: .7rem 1rem; border: 1px solid color-mix(in srgb, var(--white) 70%, transparent); color: var(--white); transition: color .35s ease, border-color .35s ease; }
.header-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--coral); transform: translateY(101%); transition: transform .42s cubic-bezier(.16, 1, .3, 1); }
.header-cta:hover,
.header-cta:focus-visible { border-color: var(--coral); color: var(--ink); }
.header-cta:hover::before,
.header-cta:focus-visible::before { transform: translateY(0); }
.header-cta span, .text-link span { color: var(--coral-dark); }

.menu-toggle { display: none; }

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

.hero {
  min-height: max(100svh, 940px);
  padding: clamp(7rem, 12vh, 9rem) var(--pad) clamp(3.5rem, 7vh, 5.5rem);
  background: #f1e4d7;
  color: var(--ink);
  overflow: hidden;
}

.section-kicker {
  margin: 0 0 2rem;
  color: var(--coral-dark);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-heading {
  position: relative;
  z-index: 5;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero-overline {
  margin: 0 0 1.2rem;
  color: var(--coral-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  animation: blueprint-copy-in .55s .08s ease forwards;
}

.hero-heading h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(3.6rem, 7.2vw, 7.8rem);
  font-weight: 520;
  line-height: .9;
  letter-spacing: -.065em;
  opacity: 0;
  transform: translateY(25px);
  animation: blueprint-copy-in .75s .16s cubic-bezier(.2, .8, .2, 1) forwards;
}

.hero-heading h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-statement {
  max-width: 790px;
  margin: 1.65rem auto 0;
  color: #695e55;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(18px);
  animation: blueprint-copy-in .65s .42s ease forwards;
}

@keyframes blueprint-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

.blueprint {
  position: relative;
  width: min(100%, 1500px);
  height: clamp(480px, 42vw, 640px);
  margin: clamp(1.8rem, 4vh, 3.25rem) auto 0;
}

.blueprint-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.blueprint-grid-lines path,
.blueprint-grid-lines circle {
  fill: none;
  stroke: #a79080;
  stroke-width: 1;
  stroke-dasharray: 3 9;
  opacity: .35;
}

.blueprint-connections path {
  fill: none;
  stroke: #7c6a5e;
  stroke-width: 1.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke .25s ease, stroke-width .25s ease;
  animation: blueprint-line-in .8s cubic-bezier(.2, .8, .2, 1) forwards;
}

.blueprint-connections path:nth-child(1) { animation-delay: .7s; }
.blueprint-connections path:nth-child(2) { animation-delay: .82s; }
.blueprint-connections path:nth-child(3) { animation-delay: .94s; }
.blueprint-connections path:nth-child(4) { animation-delay: 1.06s; }
.blueprint-connections path:nth-child(5) { animation-delay: 1.18s; }

@keyframes blueprint-line-in { to { stroke-dashoffset: 0; } }

.blueprint-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(118px, 11vw, 160px);
  aspect-ratio: 1;
  border: 1px solid var(--coral);
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%) scale(.72);
  opacity: 0;
  animation: blueprint-core-in .65s .58s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes blueprint-core-in { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

.blueprint-core img { width: 68%; height: 68%; object-fit: contain; }
.core-ring { position: absolute; inset: -14px; border: 1px solid rgba(255, 101, 74, .4); border-radius: 50%; }
.blueprint-core small {
  position: absolute;
  top: calc(100% + 1.1rem);
  width: 220px;
  color: #74675d;
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.blueprint-node {
  --node-x: -50%;
  --node-y: -8.5px;
  position: absolute;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: .35rem;
  width: min(230px, 19vw);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transform: translate(var(--node-x), var(--node-y)) scale(.7);
  transform-origin: 50% 8.5px;
  animation: blueprint-node-in .5s cubic-bezier(.2, .8, .2, 1) forwards;
}

.node-top { --node-y: calc(-100% + 8.5px); top: 10%; left: 50%; animation-delay: .9s; }
.node-left { --node-x: -8.5px; top: 33.077%; left: 12.5%; justify-items: start; text-align: left; animation-delay: 1.02s; }
.node-right { --node-x: calc(-100% + 8.5px); top: 33.077%; left: 87.5%; justify-items: end; text-align: right; animation-delay: 1.14s; }
.node-bottom-left { top: 87.308%; left: 23.167%; animation-delay: 1.26s; }
.node-bottom-right { top: 87.308%; left: 76.833%; animation-delay: 1.38s; }

@keyframes blueprint-node-in { to { opacity: 1; transform: translate(var(--node-x), var(--node-y)) scale(1); } }

.node-dot {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: #f1e4d7;
  transition: background-color .25s ease, transform .25s ease;
}

.node-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(217, 67, 45, .35);
  border-radius: 50%;
  transform: scale(.65);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.node-number { color: var(--coral-dark); font-size: .62rem; font-weight: 750; letter-spacing: .15em; }
.node-name { max-width: 220px; font-size: clamp(.86rem, 1.15vw, 1.08rem); font-weight: 650; line-height: 1.15; }
.node-top .node-name { order: 1; }
.node-top .node-number { order: 2; }
.node-top .node-dot { order: 3; }

.node-card {
  position: absolute;
  z-index: 20;
  top: calc(100% + .8rem);
  left: 50%;
  display: block;
  width: 300px;
  padding: 1.1rem;
  border: 1px solid var(--ink);
  background: #fffaf4;
  box-shadow: 7px 7px 0 rgba(91, 70, 56, .14);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.96);
  transition: opacity .2s ease, transform .25s ease;
}

.node-card b { display: block; margin-bottom: .55rem; font-size: .95rem; }
.node-card small { display: block; color: #685c53; font-size: .78rem; line-height: 1.45; }
.node-left .node-card { top: 50%; left: calc(100% + .8rem); transform: translate(0, -50%) scale(.96); }
.node-right .node-card { top: 50%; right: calc(100% + .8rem); left: auto; transform: translate(0, -50%) scale(.96); }
.node-bottom-left .node-card,
.node-bottom-right .node-card { top: auto; bottom: calc(100% + .8rem); transform: translate(-50%, -8px) scale(.96); }

.blueprint-node:is(:hover, :focus-visible, .is-active) { z-index: 15; outline: none; }
.blueprint-node:is(:hover, :focus-visible, .is-active) .node-dot { background: var(--coral); transform: scale(1.1); }
.blueprint-node:is(:hover, :focus-visible, .is-active) .node-dot::after { opacity: 1; transform: scale(1); }
.blueprint-node:is(:hover, :focus-visible, .is-active) .node-name { color: var(--coral-dark); }
.blueprint-node:is(:hover, :focus-visible, .is-active) .node-card { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.node-left:is(:hover, :focus-visible, .is-active) .node-card,
.node-right:is(:hover, :focus-visible, .is-active) .node-card { transform: translate(0, -50%) scale(1); }
.node-bottom-left:is(:hover, :focus-visible, .is-active) .node-card,
.node-bottom-right:is(:hover, :focus-visible, .is-active) .node-card { transform: translate(-50%, 0) scale(1); }

.blueprint:has(.node-top:is(:hover, .is-active)) .blueprint-connections path:nth-child(1),
.blueprint:has(.node-left:is(:hover, .is-active)) .blueprint-connections path:nth-child(2),
.blueprint:has(.node-right:is(:hover, .is-active)) .blueprint-connections path:nth-child(3),
.blueprint:has(.node-bottom-left:is(:hover, .is-active)) .blueprint-connections path:nth-child(4),
.blueprint:has(.node-bottom-right:is(:hover, .is-active)) .blueprint-connections path:nth-child(5) {
  stroke: var(--coral);
  stroke-width: 2;
}

.section-pad { padding: var(--section) var(--pad); }

.intro { border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 9vw; align-items: end; }
.intro h2,
.section-heading h2,
.systems-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.7vw, 6.4rem);
  font-weight: 520;
  line-height: .98;
  letter-spacing: -.055em;
}
.intro h2 { max-width: 1000px; }
.scroll-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-inline: .04em;
}
.scroll-highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.02em;
  right: -.02em;
  bottom: .06em;
  height: .22em;
  background: var(--coral);
  border-radius: .06em;
  transform: scaleX(0);
  transform-origin: left center;
}
h2.is-visible .scroll-highlight::after {
  animation: highlight-sweep .58s .38s cubic-bezier(.22, 1, .36, 1) forwards;
}
h2.is-visible .scroll-highlight-delay::after { animation-delay: .82s; }
@keyframes highlight-sweep {
  to { transform: scaleX(1); }
}
.intro-copy { padding-left: 1.5rem; border-left: 1px solid var(--coral); color: var(--muted); font-size: 1.05rem; }
.intro-copy p { margin: 0; }
.intro-copy p + p { margin-top: 1rem; }

.services { background: var(--ink); color: var(--white); }
.services .section-kicker { color: var(--coral); }
.section-heading { display: grid; grid-template-columns: minmax(170px, .35fr) 1fr; gap: 3rem; align-items: start; margin-bottom: clamp(4rem, 8vw, 7rem); }
.section-heading h2 { max-width: 900px; }

.service-list { border-top: 1px solid #35405f; }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(300px, 1.3fr) minmax(220px, .7fr) 40px;
  gap: 2rem;
  align-items: start;
  min-height: 210px;
  padding: 2.25rem 0;
  border-bottom: 1px solid #35405f;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coral);
  transform: translateY(101%);
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
}
.service:hover::before { transform: translateY(0); }
.service > * { position: relative; z-index: 1; }
.service-number { color: var(--coral); font-size: .72rem; font-weight: 750; letter-spacing: .12em; transition: color .3s ease; }
.service-name h3 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.service-name p { max-width: 600px; margin: 1.25rem 0 0; color: #adada4; transition: color .3s ease; }
.service ul { margin: .2rem 0 0; padding: 0; list-style: none; color: #adada4; transition: color .3s ease; }
.service li + li { margin-top: .4rem; }
.service-mark { justify-self: end; font-size: 1.4rem; color: var(--coral); transition: color .3s ease, transform .3s ease; }
.service:hover .service-number,
.service:hover .service-name p,
.service:hover ul,
.service:hover .service-mark { color: var(--ink); }
.service:hover .service-mark { transform: translate(4px, -4px); }

/* Editorial service gallery */
.services .section-heading { grid-template-columns: 1fr; }
.services .section-heading h2 { max-width: 1050px; }
.services .scroll-highlight::after { background: var(--coral); }
.service-list.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #35405f;
  border: 1px solid #35405f;
}
.service.service-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(250px, 1fr) auto;
  gap: 0;
  min-height: 500px;
  padding: 0;
  border: 0;
  background: #192143;
  transition: background .35s ease;
}
.service.service-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  grid-template-rows: none;
  min-height: 560px;
}
.service.service-card::before { display: none; }
.service-card .service-number,
.service-card ul,
.service-card .service-mark { display: none; }
.service-visual {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: #20294e;
  overflow: hidden;
  transition: background .35s ease;
}
.service-visual svg {
  width: 100%;
  height: 100%;
  max-height: 390px;
  fill: none;
  stroke: #8a8a81;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
}
.service-visual svg .fill { fill: var(--coral); stroke: var(--coral); }
.service-card:hover,
.service-card:hover .service-visual { background: var(--paper); }
.service-card:hover .service-name h3,
.service-card:hover .service-name p { color: var(--ink); }
.service-card:hover .service-visual svg { stroke: var(--ink); }
.service-card:hover .service-visual svg .fill { fill: var(--ink); stroke: var(--ink); }
.service-card:hover .service-visual svg { transform: scale(1.035); }
.service-card .service-name { align-self: end; padding: clamp(1.6rem, 3vw, 2.75rem); }
.service-card .service-name h3 { max-width: 620px; font-size: clamp(1.55rem, 2.4vw, 2.55rem); transition: color .35s ease; }
.service-card-featured .service-name h3 { font-size: clamp(1.8rem, 3vw, 3.15rem); }
.service-card .service-name p { max-width: 590px; margin-top: 1rem; color: #adada4; font-size: 1rem; line-height: 1.65; transition: color .35s ease; }
.visual-mobile { background: #1d294d; }
.visual-design { background: #172442; }
.visual-software { background: #202746; }
.visual-social { background: #182340; }

.systems { --journey-progress: 0; position: relative; overflow: hidden; background: var(--paper-deep); }
.systems-copy { display: grid; grid-template-columns: minmax(170px, .35fr) minmax(0, 1fr); gap: 2rem 3rem; }
.systems-copy h2 { max-width: 920px; }
.systems-copy > p:last-child { grid-column: 2; max-width: 680px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.journey { position: relative; height: 480px; margin-top: clamp(4rem, 8vw, 8rem); }
.journey-route { position: absolute; inset: 28px 0 auto; width: 100%; height: 390px; overflow: visible; }
.journey-route path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey-route-base { stroke: var(--line); }
.journey-route-progress { stroke: var(--ink); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--journey-progress)); }
.journey-signal {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 28px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--paper-deep);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
  transform: translate(-50%, -50%);
}
.journey-stop { position: absolute; width: min(18vw, 220px); opacity: .36; transition: opacity .4s ease, transform .4s ease; }
.journey-stop span { display: block; width: 11px; height: 11px; margin-bottom: 1.1rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper-deep); transition: background .35s ease, transform .35s ease; }
.journey-stop h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.035em; }
.journey-stop p { max-width: 190px; margin: .55rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.journey-stop.is-active { opacity: 1; transform: translateY(-5px); }
.journey-stop.is-active span { background: var(--ink); transform: scale(1.15); }
.stop-1 { left: 2.7%; top: 292px; }
.stop-2 { left: 26.8%; top: 100px; }
.stop-3 { left: 50.7%; top: 312px; }
.stop-4 { left: 75.6%; top: 88px; }
.stop-5 { right: 0; top: 240px; }

.approach { border-top: 1px solid var(--line); }
.approach .section-heading { margin-bottom: 3rem; }
.approach-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.approach-list li { position: relative; min-height: 300px; padding: 1.5rem 2rem; border-right: 1px solid var(--line); overflow: hidden; }
.approach-list li::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 82px 0, 0 82px);
  transition: clip-path .72s cubic-bezier(.16, 1, .3, 1);
}
.approach-list li:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.approach-list li + li { padding-left: 2rem; }
.approach-list li:last-child { border-right: 0; }
.approach-list span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  width: 82px;
  height: 82px;
  padding: 12px;
  color: var(--white);
  background: transparent;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .1em;
}
.approach-list h3 { position: relative; z-index: 1; margin: 5rem 0 1rem; font-size: 1.65rem; font-weight: 550; letter-spacing: -.03em; transition: color .3s .08s ease; }
.approach-list p { position: relative; z-index: 1; margin: 0; color: var(--muted); transition: color .3s .08s ease; }
.approach-list li:hover h3,
.approach-list li:hover p { color: var(--white); }

.contact { overflow: hidden; padding: var(--section) var(--pad) 0; background: var(--coral); }
.contact .section-kicker { color: var(--ink); }
.contact h2 { font-size: clamp(3.4rem, 8vw, 8.7rem); }
.contact h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.contact-white-letter { color: var(--ink); transition: color .16s ease; }
.contact-white-letter.is-white { color: var(--white); }
.contact-layout { margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(3rem, 7vw, 6rem) 0 var(--section); background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.contact-info { color: var(--ink); text-align: center; }
.contact-info > p { max-width: 720px; margin: 0 auto; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.contact-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; margin: 3rem auto 0; border: 1px solid var(--ink); }
.contact-method { position: relative; display: grid; gap: .45rem; min-width: 0; padding: 1.5rem; color: var(--ink); text-align: left; text-decoration: none; transition: color .3s ease, background-color .3s ease; }
.contact-method + .contact-method { border-left: 1px solid var(--ink); }
.contact-method small { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-method strong { overflow-wrap: anywhere; font-size: clamp(.9rem, 1.4vw, 1.1rem); }
.contact-method:hover { color: var(--white); background: var(--ink); }
.contact-form { display: grid; gap: 1.5rem; width: min(100%, 1100px); margin: clamp(3rem, 6vw, 5rem) auto 0; padding: clamp(1.5rem, 4vw, 3rem); color: var(--ink); background: var(--white); text-align: left; scroll-margin-top: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-form label { display: grid; gap: .55rem; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.contact-form input,
.contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 42%, transparent); border-radius: 0; padding: .75rem 0; color: var(--ink); background: transparent; font: inherit; font-size: 1rem; text-transform: none; outline: none; transition: border-color .25s ease; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: color-mix(in srgb, var(--ink) 72%, transparent); opacity: 1; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--ink); }
.form-submit { display: inline-flex; justify-content: space-between; align-items: center; gap: 3rem; justify-self: start; min-width: 220px; padding: 1rem 1.2rem; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; transition: color .3s ease, background-color .3s ease; }
.form-submit:hover { color: var(--white); background: var(--ink); }

.site-footer { padding: 0 var(--pad); background: var(--ink); color: var(--white); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; min-height: 210px; padding: 3.5rem 0 2.5rem; }
.footer-brand { flex: 0 0 auto; }
.footer-brand img { width: 170px; height: 122px; object-fit: contain; object-position: left center; }
.footer-social { display: grid; justify-items: end; gap: 1rem; }
.footer-social > span { color: #aaa9a1; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-social-links { display: flex; align-items: center; gap: 1.3rem; }
.footer-social-links a { display: grid; place-items: center; width: 26px; height: 30px; color: #d7d5cf; transition: color .25s ease, transform .25s ease; }
.footer-social-links a:hover { color: var(--coral); transform: translateY(-3px); }
.footer-social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-social-links .icon-fill { fill: currentColor; stroke: none; }
.footer-contact { display: grid; justify-items: end; gap: .35rem; margin-top: .25rem; }
.footer-contact a { color: #c8c8c0; font-size: .78rem; text-decoration: none; transition: color .25s ease; }
.footer-contact a:hover { color: var(--coral); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 1.4rem 0 1.6rem; border-top: 1px solid #35405f; color: #aaa9a1; font-size: .76rem; }
.footer-note { text-align: center; }
.footer-to-top { justify-self: end; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #55554f; border-radius: 50%; color: var(--white); transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.footer-to-top:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); transform: translateY(-3px); }
.footer-to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.contact :focus-visible { outline-color: var(--ink); }

@media (max-width: 1050px) {
  .service { grid-template-columns: 50px 1fr 220px 30px; }
  .systems { grid-template-columns: 1fr; }
  .systems-copy { max-width: 780px; }
  .approach-list { grid-template-columns: repeat(2, 1fr); }
  .approach-list li:nth-child(2) { border-right: 0; }
  .approach-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .approach-list li:nth-child(3) { padding-left: 0; }
}

@media (max-width: 760px) {
  .service-list.service-gallery { grid-template-columns: 1fr; }
  .service.service-card,
  .service.service-card-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 1fr) auto;
    min-height: 440px;
  }
  .systems-copy { grid-template-columns: 1fr; }
  .systems-copy h2 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .systems-copy > p:last-child { grid-column: 1; }
  .journey { display: grid; gap: 0; height: auto; min-height: 0; margin-top: 3.5rem; padding: .5rem 0 .5rem 3rem; }
  .journey::before,
  .journey::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; transform-origin: top; }
  .journey::before { background: var(--line); }
  .journey::after { background: var(--ink); transform: scaleY(var(--journey-progress)); }
  .journey-route { display: none; }
  .journey-signal { left: 8px !important; top: clamp(8px, calc(var(--journey-progress) * 100%), calc(100% - 8px)) !important; }
  .journey-stop,
  .stop-1, .stop-2, .stop-3, .stop-4, .stop-5 { position: relative; inset: auto; width: auto; min-height: 128px; align-self: auto; padding: 0 0 2rem; }
  .journey-stop:last-child { min-height: 72px; padding-bottom: 0; }
  .journey-stop span { position: absolute; left: calc(-3rem + 2.5px); top: .35rem; margin: 0; }
  .journey-stop h3 { font-size: 1.45rem; }
  .journey-stop p { max-width: 270px; font-size: .9rem; }
  .journey-stop.is-active { transform: translateX(4px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 86px; }
  .site-header .brand img { width: 112px; height: 80px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .5rem 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: .8rem;
    font-weight: 650;
  }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 20px; height: 1px; background: var(--white); transition: transform .25s ease; }
  .menu-toggle i { position: relative; }
  .menu-toggle i::before { content: ""; position: absolute; top: -6px; }
  .menu-open .menu-toggle i { transform: rotate(45deg); }
  .menu-open .menu-toggle i::before { top: 0; transform: rotate(90deg); }
  .site-nav {
    position: fixed;
    inset: 86px 0 auto;
    display: grid;
    gap: 0;
    padding: 1.5rem var(--pad) 2.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--brand-blue);
    color: var(--white);
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .menu-open .site-nav { transform: translateY(0); }
  .site-nav a { padding: .85rem 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .hero { min-height: max(100svh, 880px); padding: 6.5rem 1rem 3rem; }
  .hero-heading h1 { max-width: 700px; font-size: clamp(3.1rem, 12vw, 5.3rem); }
  .hero-statement { max-width: 650px; margin-top: 1.25rem; }
  .blueprint { height: 590px; margin-top: 1rem; }
  .blueprint-core { width: 112px; }
  .blueprint-core small { width: 180px; font-size: .55rem; }
  .blueprint-node { width: min(145px, 34vw); }
  .node-top { top: 10%; }
  .node-left { top: 33.077%; left: 12.5%; }
  .node-right { top: 33.077%; left: 87.5%; }
  .node-bottom-left { top: 87.308%; left: 23.167%; }
  .node-bottom-right { top: 87.308%; left: 76.833%; }
  .node-name { max-width: 145px; font-size: .78rem; }
  .node-card,
  .node-left .node-card,
  .node-right .node-card,
  .node-bottom-left .node-card,
  .node-bottom-right .node-card {
    position: fixed;
    z-index: 100;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    transform: translateY(14px) scale(.98);
  }
  .blueprint-node:is(:hover, :focus-visible, .is-active) .node-card,
  .node-left:is(:hover, :focus-visible, .is-active) .node-card,
  .node-right:is(:hover, :focus-visible, .is-active) .node-card,
  .node-bottom-left:is(:hover, :focus-visible, .is-active) .node-card,
  .node-bottom-right:is(:hover, :focus-visible, .is-active) .node-card { transform: translateY(0) scale(1); }
  .intro-grid, .section-heading { grid-template-columns: 1fr; gap: 2rem; }
  .intro-copy { max-width: 620px; }
  .service { grid-template-columns: 36px 1fr 26px; gap: 1rem; min-height: 0; }
  .service ul { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: 1rem; font-size: .82rem; }
  .service li + li { margin-top: 0; }
  .service-name p { font-size: .92rem; }
  .service-mark { grid-column: 3; grid-row: 1; }
  .approach-list { grid-template-columns: 1fr; }
  .approach-list li,
  .approach-list li + li,
  .approach-list li:nth-child(3) { min-height: auto; padding: 1.5rem 1.25rem 2.5rem; border-right: 0; border-top: 1px solid var(--line); }
  .approach-list h3 { margin: 4rem 0 .8rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-method + .contact-method { border-top: 1px solid var(--ink); border-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { min-height: 180px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: .5rem 1.5rem; }
  .footer-note { grid-column: 1; grid-row: 2; text-align: left; }
  .footer-to-top { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 500px) {
  .footer-main { align-items: center; gap: 1.5rem; min-height: 160px; padding: 2.5rem 0 2rem; }
  .footer-brand img { width: 126px; height: 90px; }
  .footer-social-links { gap: .85rem; }
  .footer-bottom { padding: 1.25rem 0 1.5rem; }
  .footer-note { max-width: 210px; }
  .hero { min-height: max(100svh, 820px); padding-right: .75rem; padding-left: .75rem; }
  .hero-overline { font-size: .6rem; }
  .hero-heading h1 { font-size: clamp(2.8rem, 13.5vw, 4.1rem); }
  .hero-statement { font-size: .92rem; }
  .blueprint { height: 535px; }
  .blueprint-core { width: 96px; }
  .blueprint-core small { top: calc(100% + .8rem); }
  .node-name { font-size: .7rem; }
  .node-number { font-size: .55rem; }
  .map-row { grid-template-columns: 1fr 1fr; }
  .map-row span { grid-column: 1 / -1; padding-bottom: .25rem; }
  .core-row { grid-template-columns: 1fr; }
  .map-row b { min-height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-overline, .hero-heading h1, .hero-statement, .reveal { opacity: 1; transform: none; }
  .scroll-highlight::after { transform: scaleX(1); }
  .blueprint-connections path { stroke-dashoffset: 0; }
  .blueprint-core { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .blueprint-node { opacity: 1; transform: translate(var(--node-x), var(--node-y)) scale(1); }
}
