:root {
  color-scheme: light;
  --navy: #10263b;
  --ink: #172d40;
  --body: #405469;
  --blue: #12557c;
  --line: #ccd9e3;
  --tint: #f1f6f9;
  --white: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid #c97519; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 14ch; font-size: clamp(2.5rem, 5.5vw, 4.8rem); margin-bottom: .3em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(calc(100% - 3rem), 72rem); margin-inline: auto; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 2; padding: .7rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); text-decoration: none; line-height: 1.2; }
.brand img { object-fit: contain; flex: none; }
.brand strong { display: block; font-size: 1.45rem; }
.brand-detail { font-size: .86rem; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
nav a { padding-block: .65rem; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
nav a:hover { text-decoration: underline; }

.hero, .contact { background: var(--navy); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-block: clamp(3.5rem, 8vw, 7rem); }
.tagline, .note-label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tagline { color: #b3d9ec; }
.hero-copy { max-width: 55ch; color: #deebf3; font-size: 1.13rem; }
.hero-note { border-top: 3px solid #83c4e5; padding: 1.4rem; background: #1b354c; }
.hero-note h2 { font-size: 1.45rem; }
.hero-note .note-label, .hero-note a { color: #b3d9ec; }
.blueprint {
  display: grid;
  place-items: center;
  height: 7.75rem;
  margin-bottom: .35rem;
  border: 1px solid #41617b;
  color: #94c5de;
  background-color: #152e44;
  background-image:
    linear-gradient(#ffffff0d 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 12px 12px;
}
.blueprint-frame {
  display: flex;
  align-items: end;
  width: min(78%, 13rem);
  height: 5.5rem;
  padding-inline: 1rem;
  border-bottom: 1px solid currentColor;
  background: linear-gradient(90deg, #94c5de80 1px, transparent 1px) left center / 100% 100% no-repeat;
}
.blueprint-building { display: flex; flex: 2; flex-direction: column-reverse; }
.blueprint-building span, .blueprint-wing {
  border: 1px solid currentColor;
  border-bottom: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #94c5de80 calc(25% - 1px) 25%);
}
.blueprint-building span { height: 1.25rem; }
.blueprint-wing {
  flex: 1;
  height: 2.5rem;
  border-left: 0;
  background-image: linear-gradient(transparent calc(50% - 1px), #94c5de80 calc(50% - 1px) 50%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 1px), #94c5de80 calc(33.33% - 1px) 33.33%);
}

.blueprint-replay {
  min-height: 44px;
  margin-bottom: .65rem;
  padding: 0;
  border: 0;
  color: #b3d9ec;
  background: transparent;
  font: inherit;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.blueprint-replay:focus-visible { outline: 3px solid #c97519; outline-offset: 4px; }
.is-building .blueprint-building span, .is-building .blueprint-wing { animation: reveal-floor .45s ease-out .35s both; }
.is-building .blueprint-building span:nth-child(2) { animation-delay: .8s; }
.is-building .blueprint-building span:nth-child(3) { animation-delay: 1.25s; }
.is-building .blueprint-building span:nth-child(4) { animation-delay: 1.7s; }
.is-building .blueprint-wing { animation-delay: 1.7s; }
@keyframes reveal-floor {
  from { opacity: 0; clip-path: inset(100% 0 0); }
  to { opacity: 1; clip-path: inset(0); }
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid #9fc4d9; border-radius: .25rem; font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { text-decoration: underline; }
.primary { background: #d0ebfa; color: var(--navy); }
.secondary { color: var(--white); }
.secondary:hover { background: #1b354c; }

.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.band { background: var(--tint); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1.55fr; gap: 1rem clamp(2rem, 6vw, 5rem); }
.section p { color: var(--body); }
.section .intro { font-size: 1.12rem; color: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.flagship, .service, .finding { background: var(--white); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.flagship { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.25rem 2rem; border-left: 4px solid var(--blue); }
.flagship h3 { font-size: 1.65rem; }
.pricing { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.pricing p { margin-top: .35rem; font-size: .9rem; }
.service { border-top: 2px solid #8eacbf; }
.service .quote, .finding .note-label { color: var(--blue); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-left: 1.6rem; margin: 1.5rem 0 0; }
.steps li { padding: .8rem .5rem 0 .25rem; border-top: 1px solid var(--line); }
.steps li::marker { color: var(--blue); font-weight: 700; }
.finding { border-left: 4px solid var(--blue); }
.boundaries p { max-width: 76ch; }
.contact p { color: #deebf3; }
.email { display: inline-block; margin-top: 1rem; color: #d0ebfa; overflow-wrap: anywhere; }
.email-draft {
  width: min(34rem, calc(100% - 2rem));
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .35rem;
  color: var(--ink);
}
.email-draft::backdrop { background: #10263bcc; }
.email-draft h2 { padding-right: 2.25rem; }
.email-draft label { display: block; margin-bottom: .3rem; font-weight: 700; }
.email-draft textarea { width: 100%; padding: .65rem; border: 1px solid #8198a9; font: inherit; }
.draft-close { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); font-size: 1.5rem; cursor: pointer; }
.draft-copy { color: var(--navy); background: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.draft-status { margin: .6rem 0 0; }
.site-footer { background: var(--tint); color: var(--body); font-size: .9rem; }
.footer-inner { padding-block: 1.1rem; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-note { max-width: 35rem; }
  .service-grid, .steps, .split { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .25rem; padding-bottom: .35rem; }
  .brand img { width: 46px; height: 46px; }
  nav { gap: .2rem 1.15rem; }
  .flagship { grid-template-columns: 1fr; }
  .pricing { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .actions { display: grid; grid-template-columns: 1fr; }
  .steps { gap: 1.2rem; }
}
