/* HERO: a surveyed pipe-route line turns each page into a precise dispatch blueprint. */
@font-face {
  font-family: Pretendard;
  src: url("/assets/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}

@font-face {
  font-family: MaruBuri;
  src: url("https://cdn.jsdelivr.net/gh/fonts-archive/MaruBuri/MaruBuri-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy-950: #0a1f21;
  --navy-900: #102a2d;
  --navy-800: #17383a;
  --navy-700: #2a4d4f;
  --teal-600: #876128;
  --teal-500: #a77a38;
  --teal-400: #c89b57;
  --teal-100: #ebe0cc;
  --cream-100: #eee8dc;
  --cream-50: #f6f2ea;
  --paper: #fcfaf5;
  --ink: #14282a;
  --muted: #596765;
  --line: #d4cdbf;
  --line-dark: rgba(238, 232, 220, 0.18);
  --signal: #c89b57;
  --focus: #0b6668;
  --danger: #a33c2f;
  --font-display: MaruBuri, AppleMyungjo, "Nanum Myeongjo", serif;
  --font-body: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shadow-soft: 0 20px 60px rgba(6, 26, 37, 0.08);
  --shadow-lift: 0 24px 64px rgba(6, 26, 37, 0.17);
  --radius-sm: 0.15rem;
  --radius-md: 0.3rem;
  --radius-lg: 0.45rem;
  --content: 78rem;
  --gutter: clamp(1.1rem, 3vw, 2.25rem);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(9, 37, 51, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 37, 51, 0.025) 1px, transparent 1px),
    var(--cream-50);
  background-size: 2rem 2rem;
  font-family: var(--font-body);
  padding-bottom: 6rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--paper);
  background: var(--teal-600);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.section-dark :where(a, button, input, textarea, select, summary):focus-visible,
.cta-panel :where(a, button, input, textarea, select, summary):focus-visible,
.consult-dock :where(a, button, input, textarea, select):focus-visible {
  outline-color: #e3c18b;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.24;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.55rem);
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3.75rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--navy-950);
  border: 2px solid var(--teal-400);
  transform: translateY(-180%);
  transition: transform 160ms ease-out;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(9, 37, 51, 0.12);
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(18px) saturate(130%);
}

.site-header__inner,
.nav-shell {
  display: flex;
  width: min(100% - (var(--gutter) * 2), var(--content));
  min-height: 5.15rem;
  margin-inline: auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img,
.brand svg {
  width: auto;
  height: 3rem;
}

.brand__mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  color: var(--teal-500);
  background: var(--navy-950);
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(0.65rem, 1.7vw, 1.5rem);
}

.nav a {
  position: relative;
  padding-block: 0.55rem;
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav .nav-call {
  padding: 0.7rem 0.95rem;
  color: var(--paper);
  background: var(--navy-950);
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-sm);
}

.nav .nav-call::after {
  display: none;
}

.nav .nav-call:hover {
  color: var(--navy-950);
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.header-call {
  display: flex;
  min-height: 3.2rem;
  padding-left: 1.25rem;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  text-decoration: none;
}

.header-call span {
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.header-call strong {
  color: var(--navy-950);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-button i {
  display: block;
  height: 1px;
  margin-block: 0.35rem;
  background: var(--navy-950);
  transition: transform 180ms ease-out;
}

.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;
}

.site-header .btn {
  min-height: 2.8rem;
  padding: 0.62rem 1rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--navy-950);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.48), transparent 54%),
    var(--cream-100);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(20, 40, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 42, 0.08) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to right, transparent 5%, #000 55%, #000);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: 18%;
  width: 1px;
  height: 84%;
  content: "";
  background: linear-gradient(transparent, var(--teal-500) 14%, var(--teal-500) 86%, transparent);
}

.hero-grid {
  display: grid;
  width: min(100% - (var(--gutter) * 2), var(--content));
  min-height: clamp(39rem, 76vh, 49rem);
  margin-inline: auto;
  padding-block: clamp(5.2rem, 9vw, 8.6rem) clamp(3rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.hero__copy,
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

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

.hero__lead,
.hero-lead,
.hero > p {
  max-width: 39rem;
  color: #485957;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.2rem;
  align-items: center;
  gap: 0.75rem;
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: none;
}

.eyebrow::before {
  width: 2.3rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-actions {
  display: flex;
  margin-top: 2.15rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.82rem 1.3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 180ms ease-out,
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn--primary,
.btn-primary,
.btn.primary {
  color: var(--paper);
  background: var(--navy-950);
  border-color: var(--navy-950);
}

.btn--primary:hover,
.btn-primary:hover,
.btn.primary:hover {
  color: var(--navy-950);
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.btn--outline,
.btn-ghost,
.btn.secondary {
  color: currentColor;
  background: transparent;
  border-color: currentColor;
}

.btn--outline:hover,
.btn-ghost:hover,
.btn.secondary:hover {
  background: rgba(167, 122, 56, 0.09);
  border-color: var(--teal-400);
}

.section-dark .btn-ghost,
.cta-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
}

.cta-panel .btn-primary {
  color: var(--navy-950);
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.blueprint {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  border: 1px solid rgba(200, 155, 87, 0.36);
  background:
    linear-gradient(rgba(200, 155, 87, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 87, 0.08) 1px, transparent 1px),
    var(--navy-900);
  background-size: 1.5rem 1.5rem;
  box-shadow: var(--shadow-lift);
  clip-path: polygon(0 0, calc(100% - 2.2rem) 0, 100% 2.2rem, 100% 100%, 0 100%);
}

.blueprint::before {
  display: none;
}

.blueprint::after {
  position: absolute;
  top: 11%;
  right: 9%;
  width: 6rem;
  height: 6rem;
  content: "";
  border: 1px solid rgba(168, 224, 216, 0.34);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 0.8rem rgba(34, 184, 172, 0.04),
    inset 0 0 0 1.9rem rgba(34, 184, 172, 0.025);
}

.blueprint__label,
.blueprint-label {
  position: absolute;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  color: #d7e8e7;
  background: var(--navy-950);
  border-left: 2px solid var(--teal-400);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.blueprint__label:first-child,
.blueprint-label:first-child {
  top: 10%;
  left: 8%;
}

.blueprint__label:nth-child(2) {
  right: 7%;
  bottom: 9%;
}

.blueprint-label {
  top: 1.1rem;
  right: auto;
  left: 1.1rem;
}

.blueprint .pipe {
  position: absolute;
  z-index: 1;
  display: block;
  background: var(--teal-400);
  box-shadow: none;
}

.blueprint .pipe::after {
  position: absolute;
  content: "";
  background: rgba(218, 250, 245, 0.55);
}

.blueprint .pipe-a {
  top: 31%;
  left: 13%;
  width: 55%;
  height: 4px;
}

.blueprint .pipe-a,
.blueprint .pipe-c {
  transform-origin: left center;
  animation: pipe-draw-x 900ms cubic-bezier(0.16, 1, 0.3, 1) both 180ms;
}

.blueprint .pipe-b {
  transform-origin: center top;
  animation: pipe-draw-y 760ms cubic-bezier(0.16, 1, 0.3, 1) both 580ms;
}

.blueprint .pipe-a::after {
  top: -0.55rem;
  right: 0;
  width: 1px;
  height: 1.3rem;
}

.blueprint .pipe-b {
  top: 31%;
  left: 68%;
  width: 4px;
  height: 45%;
}

.blueprint .pipe-b::after {
  right: -0.55rem;
  bottom: 0;
  width: 1.3rem;
  height: 1px;
}

.blueprint .pipe-c {
  top: 61%;
  left: 38%;
  width: 30%;
  height: 4px;
}

.blueprint .node {
  position: absolute;
  z-index: 2;
  display: block;
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--navy-950);
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0.45rem rgba(241, 184, 91, 0.1);
}

.blueprint .node-a {
  top: calc(31% - 0.45rem);
  left: calc(13% - 0.45rem);
}

.blueprint .node-b {
  top: calc(31% - 0.45rem);
  left: calc(68% - 0.4rem);
  background: var(--teal-400);
  box-shadow: 0 0 0 0.45rem rgba(34, 184, 172, 0.1);
}

.blueprint .node-c {
  top: calc(76% - 0.45rem);
  left: calc(68% - 0.4rem);
}

.blueprint-note {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  bottom: 1.15rem;
  padding: 0.75rem 0.85rem;
  color: #cfe0e1;
  background: rgba(6, 26, 37, 0.88);
  border: 1px solid rgba(168, 224, 216, 0.2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.blueprint-note strong {
  color: var(--teal-400);
}

.blueprint-small {
  min-height: 22rem;
}

.blueprint__dial {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 49%;
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 1px solid rgba(207, 242, 237, 0.42);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(6, 26, 37, 0.92);
  box-shadow: 0 0 0 0.8rem rgba(34, 184, 172, 0.06);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  transform: translate(-50%, -50%);
}

.metric-strip {
  display: grid;
  color: var(--navy-950);
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-strip > * {
  min-width: 0;
  padding: 1.15rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
}

.metric-strip > *:last-child {
  border-right: 0;
}

.metric-strip strong,
.metric-strip b {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.metric-strip span,
.metric-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.section {
  width: 100%;
  margin-inline: 0;
  padding-block: clamp(4.8rem, 9vw, 8rem);
}

.section + .section {
  border-top: 1px solid rgba(9, 37, 51, 0.1);
}

.section-dark {
  color: var(--paper);
  background: var(--navy-900);
  border-color: var(--line-dark) !important;
}

.section-dark .section-head p,
.section-dark .process-step p {
  color: #c9d7d9;
}

.section-dark .eyebrow {
  color: var(--teal-400);
}

.section-dark .process-step > b {
  border-color: var(--teal-400);
  color: var(--navy-950);
  background: var(--teal-400);
}

.section-tint {
  background: #ede8de;
}

.section-compact {
  padding-block: clamp(2.2rem, 5vw, 3.7rem);
}

.section-cta {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.section-head {
  display: grid;
  width: min(100%, 62rem);
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
  margin-inline: auto;
  align-items: end;
  justify-items: center;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}

.section-head h2 {
  max-width: 17ch;
  margin-bottom: 0;
  text-wrap: balance;
}

.section-head p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
}

.section-head .eyebrow {
  margin-bottom: 0;
  color: var(--teal-600);
}

.section-head-row {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-items: stretch;
  text-align: left;
}

.section-head-row > div {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.section-head-row > div h2 {
  max-width: 15ch;
  margin-bottom: 0;
}

.section-head-row > a {
  justify-self: end;
  color: var(--teal-600);
  font-weight: 750;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  overflow: hidden;
  background: var(--paper);
  transition:
    color 200ms ease-out,
    background-color 200ms ease-out,
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.card::before {
  display: none;
}

.card:hover {
  z-index: 1;
  background: #f3ede2;
}

.card:hover::before {
  width: 0;
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card > span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

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

.card a {
  display: inline-flex;
  margin-top: 1.35rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-600);
  font-weight: 750;
  text-decoration: none;
}

.card a::after {
  content: "\2192";
  font-family: var(--font-mono);
  transition: transform 180ms ease-out;
}

.card a:hover::after {
  transform: translateX(0.3rem);
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.process::before {
  position: absolute;
  top: 1.3rem;
  right: 7%;
  left: 7%;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(
    to right,
    var(--teal-500) 0 0.4rem,
    transparent 0.4rem 0.8rem
  );
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-step::before {
  display: none;
  content: "";
}

.process-step > b {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.25rem;
  place-items: center;
  color: var(--navy-950);
  background: var(--cream-50);
  border: 1px solid var(--teal-500);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 0.65rem;
}

.process-step p {
  color: var(--muted);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.area-card {
  position: relative;
  display: block;
  min-height: 8.5rem;
  padding: 1.35rem;
  overflow: hidden;
  color: var(--navy-900);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    color 200ms ease-out,
    border-color 200ms ease-out,
    background-color 200ms ease-out,
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.area-card::before {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border: 1px solid var(--teal-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0.3rem rgba(13, 160, 149, 0.08);
}

.area-card::after {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  content: "\2197";
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.area-card > span,
.area-card > strong,
.area-card > small,
.area-card > p {
  display: block;
  max-width: calc(100% - 1.8rem);
}

.area-card > span {
  margin-bottom: 0.65rem;
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.area-card > strong {
  font-family: var(--font-display);
  font-size: 1.07rem;
  line-height: 1.35;
}

.area-card > p,
.area-card > small {
  margin-top: 0.6rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.area-card:hover > span,
.area-card:hover > p,
.area-card:hover > small {
  color: #c9dfe0;
}

.area-card-wide {
  min-height: 13rem;
}

.area-card:hover {
  color: var(--paper);
  background: var(--navy-900);
  border-color: var(--navy-900);
  transform: translateY(-3px);
}

.area-card:hover::after {
  color: var(--teal-400);
}

.notice {
  position: relative;
  margin-block: 2rem;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.7rem);
  color: var(--navy-900);
  background: var(--teal-100);
  border-left: 5px solid var(--teal-600);
}

.notice strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 750;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  content: "+";
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 1.45rem;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > :not(summary) {
  max-width: 55rem;
  padding: 0 3rem 1.45rem 0;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  display: grid;
  padding: clamp(2.2rem, 6vw, 5rem);
  overflow: hidden;
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(34, 184, 172, 0.08) 1px, transparent 1px),
    var(--navy-950);
  background-size: 3rem 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  clip-path: polygon(0 0, calc(100% - 2.2rem) 0, 100% 2.2rem, 100% 100%, 0 100%);
}

.cta-panel::after {
  position: absolute;
  right: 8%;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  content: "";
  border: 1px solid rgba(34, 184, 172, 0.28);
  border-radius: 50%;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 16ch;
  margin-bottom: 0.7rem;
  font-size: clamp(1.85rem, 4vw, 3.35rem);
}

.cta-panel p {
  max-width: 42rem;
  margin-bottom: 0;
  color: #cbdadc;
}

.cta-panel .hero-actions,
.cta-actions {
  margin-top: 0;
  flex-wrap: nowrap;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-footer {
  color: #c7d4d5;
  background: var(--navy-950);
  border-top: 1px solid rgba(214, 236, 232, 0.12);
}

.site-footer__inner,
.footer-grid {
  display: grid;
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
  padding-block: 3.2rem 7rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
}

.footer-grid > div:first-child > img {
  filter: brightness(0) invert(1);
}

.footer-grid > div:first-child p {
  max-width: 35rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.footer-contact {
  display: grid;
  align-content: start;
  text-align: right;
}

.footer-contact span {
  color: var(--teal-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.footer-contact a {
  margin-block: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-footer a {
  color: var(--paper);
}

.site-footer small,
.site-footer p {
  color: #9fb1b4;
}

.site-footer small {
  display: block;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.7rem 1.2rem;
}

.mobile-bar {
  position: fixed;
  z-index: 200;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 0.65rem max(0.8rem, env(safe-area-inset-right))
    calc(0.65rem + env(safe-area-inset-bottom))
    max(0.8rem, env(safe-area-inset-left));
  gap: 0.55rem;
  background: rgba(6, 26, 37, 0.97);
  border-top: 1px solid rgba(180, 226, 219, 0.25);
  box-shadow: 0 -0.9rem 2rem rgba(6, 26, 37, 0.2);
}

.mobile-bar a,
.mobile-bar button {
  display: inline-flex;
  min-height: 3.2rem;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(223, 242, 239, 0.3);
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.mobile-bar .mobile-call,
.mobile-bar .primary {
  color: var(--navy-950);
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.breadcrumbs {
  display: flex;
  margin: 0 0 1.25rem;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.3rem 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.65rem;
  color: var(--teal-600);
  content: "/";
}

.region-hero {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  color: var(--paper);
  background: var(--navy-900);
  border-bottom: 0.3rem solid var(--teal-500);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.8rem, 10vw, 8rem);
  color: var(--navy-950);
  background:
    linear-gradient(rgba(20, 40, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 42, 0.055) 1px, transparent 1px),
    var(--cream-100);
  background-size: 5rem 5rem;
  border-bottom: 0.25rem solid var(--teal-500);
}

.page-hero::after {
  position: absolute;
  top: 8%;
  right: 18%;
  width: 1px;
  height: 84%;
  content: "";
  background: linear-gradient(transparent, var(--teal-500) 14%, var(--teal-500) 86%, transparent);
}

.page-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.45rem, 5.5vw, 4.9rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 48rem;
  color: #4d5e5c;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.story-grid article {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  background: rgba(252, 250, 245, 0.82);
}

.story-grid h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.story-grid p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.split-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.check-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  content: "";
  border: 2px solid var(--teal-500);
}

.keyword-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  color: var(--navy-900);
  background: var(--teal-100);
  border-left: 3px solid var(--teal-600);
}

.notice-spaced {
  margin-top: 3rem;
}

.related-links {
  margin-top: 3.5rem;
}

.related-links h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.related-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.related-links a {
  padding: 0.58rem 0.85rem;
  color: var(--navy-900);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.related-links a:hover {
  color: var(--paper);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.region-hero > * {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.region-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.region-hero p {
  max-width: 43rem;
  color: #d5e1e2;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: clamp(2rem, 6vw, 6rem);
}

.article-copy > * + * {
  margin-top: 1.2rem;
}

.article-copy h2 {
  margin-top: 3.2rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.article-copy h3 {
  margin-top: 2.2rem;
}

.article-copy li + li {
  margin-top: 0.55rem;
}

.sidebar-card {
  position: sticky;
  top: 7rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.sidebar-card .btn {
  width: 100%;
  margin-top: 0.6rem;
}

.reveal,
.hero__copy,
.hero-copy,
.blueprint {
  animation: rise-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blueprint {
  animation-delay: 110ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blueprint-scan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(660%);
  }
}

@media (max-width: 62rem) {
  .site-header__inner,
  .nav-shell {
    min-height: 4.7rem;
  }

  .nav {
    gap: 0.8rem;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
    gap: 2.3rem;
  }

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

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

  .process::before {
    display: none;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
  }

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

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

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

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 47.5rem) {
  html {
    scroll-padding-top: 5rem;
  }

  body {
    padding-bottom: calc(4.55rem + env(safe-area-inset-bottom));
    font-size: 0.97rem;
  }

  .site-header__inner,
  .nav-shell {
    min-height: 4.35rem;
  }

  .brand img,
  .brand svg {
    height: 2.3rem;
  }

  .brand__text {
    font-size: 1rem;
  }

  .nav {
    display: flex;
    margin-left: auto;
  }

  .nav a:not(.nav-call) {
    display: none;
  }

  .nav .nav-call {
    padding: 0.56rem 0.7rem;
    font-size: 0.79rem;
  }

  .site-header .btn {
    margin-left: auto;
    min-height: 2.65rem;
    padding: 0.58rem 0.75rem;
    font-size: 0.82rem;
  }

  .hero::after {
    top: auto;
    right: -12rem;
    bottom: -12rem;
  }

  .hero-grid {
    padding-block: 4.5rem 3rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 {
    max-width: 10ch;
    margin-bottom: 1.15rem;
    font-size: clamp(2.6rem, 13vw, 4rem);
    line-height: 1.1;
  }

  .hero__lead,
  .hero > p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 0.7rem;
  }

  .blueprint {
    min-height: 18rem;
  }

  .blueprint__dial {
    width: 5.5rem;
    height: 5.5rem;
  }

  .blueprint::after {
    width: 4rem;
    height: 4rem;
  }

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

  .metric-strip > * {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .metric-strip > *:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 4.3rem;
  }

  .section-head {
    display: block;
    margin-bottom: 2.4rem;
  }

  .section-head .eyebrow {
    margin-bottom: 1rem;
  }

  .section-head h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .card {
    padding: 1.5rem;
  }

  .process {
    gap: 2rem;
  }

  .process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
  }

  .process-step > b {
    grid-row: 1 / span 2;
  }

  .process-step h3 {
    align-self: end;
  }

  .process-step p {
    margin-bottom: 0;
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .area-card {
    min-height: 7.2rem;
    padding: 1.05rem;
  }

  .notice {
    margin-inline: calc(var(--gutter) * -0.15);
  }

  .faq summary {
    padding-block: 1.2rem;
  }

  .cta-panel {
    margin-inline: calc(var(--gutter) * -0.25);
    padding: 2rem 1.4rem;
    clip-path: polygon(0 0, calc(100% - 1.3rem) 0, 100% 1.3rem, 100% 100%, 0 100%);
  }

  .cta-panel .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 10rem;
  }

  .site-footer__inner,
  .footer-grid {
    padding-block: 2.5rem 2.7rem;
    grid-template-columns: 1fr;
  }

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

  .mobile-bar {
    display: flex;
  }

  .region-hero {
    padding-block: 4rem;
  }

  .page-hero {
    padding-block: 4rem;
  }
}

@media (max-width: 24.5rem) {
  .site-header .btn {
    padding-inline: 0.6rem;
  }

  .site-header .btn span {
    display: none;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

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

.consult-dock {
  position: fixed;
  z-index: 240;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 6rem;
  color: var(--paper);
  background: rgba(10, 31, 33, 0.985);
  border-top: 1px solid rgba(238, 232, 220, 0.2);
  box-shadow: 0 -1rem 2.8rem rgba(10, 31, 33, 0.18);
  grid-template-columns: 15.5rem minmax(0, 1fr);
}

.dock-call {
  display: flex;
  min-width: 0;
  padding: 0.8rem 1.4rem;
  flex-direction: column;
  justify-content: center;
  color: var(--navy-950);
  background: var(--cream-50);
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.dock-call span,
.intake-toggle span {
  color: var(--teal-600);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.dock-call strong {
  margin-top: 0.16rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.intake-toggle {
  display: none;
}

.quick-intake {
  display: grid;
  min-width: 0;
  padding: 0.65rem clamp(0.8rem, 2vw, 2rem);
  align-items: center;
  gap: clamp(0.55rem, 1.1vw, 1rem);
  grid-template-columns: minmax(8rem, 0.55fr) minmax(10.5rem, 0.75fr) minmax(16rem, 1.25fr) 10rem;
}

.intake-head {
  display: none;
}

.intake-field {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.intake-field > span {
  color: #c9c5bb;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.intake-field input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.85rem;
  color: var(--paper);
  background: #173033;
  border: 1px solid #526568;
  border-radius: 0;
  outline: 0;
  font-size: 0.9rem;
}

.intake-field input::placeholder {
  color: #8f9c9b;
}

.intake-field input:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 2px rgba(200, 155, 87, 0.24);
}

.intake-agreement {
  min-width: 0;
}

.intake-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
}

.intake-consent input {
  width: 1rem;
  height: 1rem;
  margin: 0.08rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--teal-500);
}

.intake-consent b {
  color: #e3c18b;
}

.intake-agreement small {
  display: block;
  margin: 0.3rem 0 0 1.5rem;
  color: #a9b3b1;
  font-size: 0.61rem;
  line-height: 1.35;
}

.intake-submit {
  height: 3.1rem;
  color: var(--navy-950);
  background: var(--teal-400);
  border: 0;
  font-weight: 800;
  transition: background 180ms ease-out, transform 180ms ease-out;
}

.intake-submit:hover {
  background: #d9b476;
  transform: translateY(-1px);
}

@keyframes pipe-draw-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pipe-draw-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (max-width: 56rem) {
  body {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
  }

  .consult-dock {
    min-height: 4.6rem;
    grid-template-columns: 1fr 1fr;
  }

  .dock-call {
    min-height: 4.6rem;
    padding: 0.55rem 0.8rem;
    align-items: center;
  }

  .dock-call strong {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 800;
  }

  .intake-toggle {
    display: flex;
    min-height: 4.6rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--paper);
    background: var(--teal-600);
    border: 0;
  }

  .intake-toggle span {
    color: #f2dfbf;
  }

  .intake-toggle strong {
    margin-top: 0.16rem;
    font-size: 0.86rem;
  }

  .quick-intake {
    position: fixed;
    z-index: 260;
    right: 0.75rem;
    bottom: calc(5.3rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    display: none;
    padding: 1.2rem;
    color: var(--navy-950);
    background: var(--cream-50);
    border: 1px solid var(--line);
    box-shadow: 0 -1.2rem 3.5rem rgba(10, 31, 33, 0.24);
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .quick-intake[data-open] {
    display: grid;
    animation: rise-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .intake-head {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .intake-head strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
  }

  .intake-head button {
    padding: 0.35rem;
    color: var(--muted);
    background: transparent;
    border: 0;
  }

  .intake-field > span {
    color: var(--muted);
  }

  .intake-field input {
    color: var(--navy-950);
    background: var(--paper);
    border-color: #aaa59a;
  }

  .intake-agreement,
  .intake-submit {
    grid-column: 1 / -1;
  }

  .intake-consent b {
    color: var(--teal-600);
  }

  .intake-agreement small {
    color: var(--muted);
  }
}

@media (max-width: 47.5rem) {
  .nav-shell {
    position: relative;
    gap: 0.65rem;
  }

  .brand img,
  .brand svg {
    height: 2.2rem;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: calc(var(--gutter) * -1);
    left: calc(var(--gutter) * -1);
    display: none;
    margin-left: 0;
    padding: 0.75rem var(--gutter) 1rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(246, 242, 234, 0.99);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--navy-950);
  }

  .nav[data-open] {
    display: flex;
  }

  .nav a:not(.nav-call) {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-call {
    min-height: 2.75rem;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
    text-align: right;
  }

  .header-call span {
    display: none;
  }

  .header-call strong {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .menu-button {
    display: block;
  }

  .hero::after,
  .page-hero::after {
    display: none;
  }

  .section-head-row {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-head-row > div {
    justify-items: center;
  }

  .section-head-row > a {
    justify-self: center;
  }
}

@media (max-width: 32rem) {
  .quick-intake {
    grid-template-columns: 1fr;
  }

  .intake-head,
  .intake-agreement,
  .intake-submit {
    grid-column: 1;
  }

  .intake-agreement small {
    margin-left: 0;
  }
}

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

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

@media print {
  .site-header,
  .mobile-bar,
  .consult-dock,
  .hero-actions,
  .cta-panel {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

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