@font-face {
  font-family: "Public Sans";
  src: url("/assets/public-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0c1724;
  --deep: #101f2e;
  --paper: #f1eee6;
  --white: #f8fafb;
  --blue: #b4d8fc;
  --muted-light: #c4d1dd;
  --muted-dark: #465360;
  --line-light: #314255;
  --line-dark: #c7c7bb;
  --header-height: 94px;
  --gutter: clamp(16px, 5.35vw, 90px);
  --content-max: 1440px;
  --display: "Barlow Condensed", "Arial Narrow", "Public Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 14px); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Public Sans", Arial, sans-serif;
  line-height: 1.55;
}

body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #3688d5; outline-offset: 4px; }

.wrap {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip { position: fixed; z-index: 5; inset: 12px auto auto 12px; transform: translateY(-200%); padding: 10px 14px; background: var(--white); }
.skip:focus { transform: none; }

.header {
  position: fixed;
  z-index: 4;
  inset: 0 0 auto;
  color: var(--white);
  background-color: var(--ink);
  border-bottom: 1px solid #3b4b5a;
  transition: background-color 230ms ease, border-color 230ms ease;
}

.home .header:not(.is-scrolled) {
  background-color: #0a1523a8;
  border-color: #ffffff30;
}

.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; width: 124px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2.8vw, 44px); }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 45px; color: #dbe6f1; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a[aria-current]::after { position: absolute; inset: auto 0 4px; height: 2px; background: var(--blue); content: ""; }
.header-phone { color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: clip;
  color: var(--white);
  background: var(--ink);
}

.hero-photo, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 61% 55%; }
.hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, #050d18ed 0%, #081321b3 34%, #101d2c32 64%, #0d192224 100%),
    linear-gradient(0deg, #0c1724 0%, #0c172418 28%, #0c172400 65%);
  content: "";
}

.hero-wrap { padding-block: calc(var(--header-height) + 54px) 96px; }
.hero-copy { width: min(100%, 800px); animation: enter 500ms ease-out both; }
.location { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #dfebf7; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.location span { width: 15px; height: 2px; flex: none; background: var(--blue); }
.hero h1, .page-title { font: 700 clamp(3.8rem, 7.15vw, 7rem)/.9 var(--display); letter-spacing: -.018em; text-transform: uppercase; }
.hero h1 strong { color: var(--blue); font: inherit; }
.hero-description { max-width: 29rem; margin-top: 24px; color: #e5eef7; font-size: clamp(1rem, 1.6vw, 1.19rem); }
.hero-caption {
  position: absolute;
  inset: auto var(--gutter) 18px auto;
  border-left: 2px solid var(--blue);
  padding: 4px 8px;
  color: #f0f4f9;
  background: #0c1724b8;
  font-size: 12px;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; }
.hero .actions { margin-top: 28px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 12px 18px;
  color: #102033;
  background: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { background: #d8eaff; }
.button:active { transform: translateY(2px); }
.button-dark { color: #fff; background: #153450; }
.button-dark:hover { color: #fff; background: #285476; }
.button-outline { border-color: #6e7b7f; color: var(--ink); background: transparent; }
.button-outline:hover { background: #e2e6e7; }
.text-action { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 650; text-underline-offset: 5px; }
.text-action:hover { text-decoration-thickness: 2px; }

.ink-section { color: var(--white); background: var(--ink); }
.paper-section { color: var(--ink); background: var(--paper); }
.section-block { padding-block: clamp(40px, 6vw, 88px); }
.section-intro { display: grid; gap: 12px; }
.section-intro h2, .callout h2, .service-panel h2, .review-panel h2 { font: 700 clamp(2.25rem, 4.4vw, 4.6rem)/.98 var(--display); }
.section-intro p { max-width: 34rem; color: var(--muted-light); }
.home-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-block: 1px solid var(--line-light); }
.home-services a { display: grid; grid-template-rows: auto 1fr auto; gap: 9px; padding: 24px; text-decoration: none; transition: background-color 180ms ease; }
.home-services a:first-child { padding-left: 12px; }
.home-services a + a { border-left: 1px solid var(--line-light); }
.home-services a:hover { background: var(--deep); }
.home-services h3 { font: 700 clamp(1.5rem, 2.9vw, 2.8rem)/1 var(--display); }
.home-services p { max-width: 30ch; color: var(--muted-light); font-size: 15px; }
.home-services span { width: fit-content; color: var(--blue); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.callout { display: flex; min-height: 250px; align-items: center; justify-content: space-between; gap: 26px; padding-block: 48px; }
.callout p { max-width: 45ch; margin-top: 10px; color: var(--muted-dark); }
.callout .button { flex: none; }

.inner main { min-height: 74vh; padding-top: var(--header-height); }
.inner-wrap { padding-block: clamp(30px, 5vw, 72px) clamp(40px, 6vw, 90px); }
.page-title { margin-bottom: clamp(20px, 3vw, 38px); font-size: clamp(2.85rem, 6.2vw, 6.65rem); }
.page-intro { max-width: 39ch; margin-bottom: 24px; color: var(--muted-dark); font-size: clamp(1rem, 1.65vw, 1.18rem); }
.feature-layout, .service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; gap: clamp(26px, 5.2vw, 80px); }
.feature-image { position: relative; overflow: clip; background: #d9d8cd; }
.feature-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-image figcaption { padding: 8px 11px; color: #3b4750; font-size: 12px; }
.service-nav { display: flex; flex-wrap: wrap; gap: 0 28px; margin-bottom: 22px; border-block: 1px solid var(--line-dark); }
.service-nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 3px solid transparent; padding: 5px 0 3px; font-size: 15px; font-weight: 650; text-decoration: none; transition: border-color 180ms ease, color 180ms ease; }
.service-nav a:hover, .service-nav a[aria-current] { color: #17476b; border-color: #275f8b; }
.service-panel + .service-panel { margin-top: 30px; }
.js .service-panel { margin-top: 0; }
.service-panel p { max-width: 41ch; margin-top: 14px; color: var(--muted-dark); }
.service-panel .field-intro { margin-top: 24px; color: var(--ink); font-weight: 700; }
.detail-list { display: grid; gap: 6px; margin: 9px 0 24px; padding-left: 20px; }
.detail-list li::marker { color: #36668a; }
.questions { margin-bottom: 26px; border-top: 1px solid var(--line-dark); }
.questions details { border-bottom: 1px solid var(--line-dark); }
.questions summary { min-height: 52px; padding: 14px 0; cursor: pointer; font-weight: 700; }
.questions summary::marker { color: #2b638b; }
.questions details > p { padding: 0 10px 16px 16px; color: var(--muted-dark); }
.questions details[open] > p { animation: enter 220ms ease-out; }

.project-form { display: grid; justify-items: start; gap: 8px; }
.project-form label, .review-panel label { font-weight: 650; }
.project-form label span { color: var(--muted-dark); font-size: 14px; font-weight: 400; }
.project-form input, .project-form select, textarea { width: 100%; min-height: 46px; border: 1px solid #a7adac; border-radius: 3px; padding: 9px 12px; background: #fcfbf7; }
.project-form label:not(:first-child) { margin-top: 10px; }
.project-form button { margin-top: 9px; }
textarea { display: block; resize: vertical; }
.contact-aside { padding: 22px 0 0; }
.contact-aside h2 { margin-bottom: 5px; font: 700 2.05rem/1 var(--display); }
.contact-aside a { font-weight: 650; text-underline-offset: 4px; }
.contact-aside p { margin-block: 7px 10px; color: var(--muted-dark); }
.review-panel { margin-top: 25px; border-top: 1px solid var(--line-dark); padding-top: 20px; animation: enter 230ms ease-out; }
.review-panel h2 { margin-bottom: 12px; font-size: 2.6rem; }
.review-panel textarea { margin-top: 6px; }
.review-panel .actions { margin-top: 14px; gap: 8px; }
.copy-status { min-height: 1.55em; margin-top: 8px; color: #244d65; }

.footer { padding-top: 42px; color: var(--white); background: #111921; }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; padding-bottom: 32px; }
.footer-main nav, .footer-contact { display: grid; align-content: start; justify-items: start; gap: 6px; }
.footer-main a { text-underline-offset: 4px; }
.footer-main p { margin: 4px 0; color: #c4d1dd; font-size: 14px; }
.footer-brand { font: 700 1.65rem/1.08 var(--display); text-decoration: none; }
.footer-main nav a, .footer-contact a, .license { color: #d6e3ee; font-size: 14px; }
.footer-bottom { display: flex; min-height: 63px; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #35434d; }
.footer-bottom > span { color: #c4d1dd; font-size: 12px; }
.built-by { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; color: #e3e3e8; text-decoration: none; }
.built-by > span { font: 400 8px/1.8 "Public Sans", sans-serif; }
.credit-logo { display: block; overflow: visible; width: 54px; height: 29px; max-width: none; }

@keyframes enter { from { opacity: .55; transform: translateY(9px); } to { opacity: 1; transform: none; } }
[data-reveal].is-visible { animation: enter 460ms ease-out both; }

@media (max-width: 980px) {
  .hero h1 { font-size: clamp(3.7rem, 9.3vw, 6.2rem); }
}

@media (max-width: 860px) {
  :root { --header-height: 75px; }
  .header-wrap { gap: 16px; }
  .header-phone { display: none; }
  .brand { width: 100px; }
  .js .menu-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border: 1px solid #7f91a1;
    border-radius: 3px;
    padding: 8px 10px;
    color: var(--white);
    background: #0c1724a8;
    font-size: 14px;
    font-weight: 650;
  }
  .menu-toggle span { display: inline-block; width: 13px; height: 8px; border-block: 1px solid currentColor; }
  .site-nav { flex-wrap: wrap; gap: 2px 15px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 0;
    border-bottom: 1px solid #586b7a;
    padding: 8px var(--gutter) 12px;
    background: var(--ink);
    animation: enter 180ms ease-out both;
  }
  .site-nav a[aria-current]::after { right: auto; width: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .feature-layout, .service-layout { grid-template-columns: 1fr; }
  .feature-image img { aspect-ratio: 3 / 2; }
  .home-services { grid-template-columns: 1fr; }
  .home-services a, .home-services a:first-child { padding: 18px 4px; }
  .home-services a + a { border-left: 0; border-top: 1px solid var(--line-light); }
  .home-services p { max-width: 48ch; }
  .callout { min-height: 0; align-items: flex-start; flex-direction: column; }
  .service-panel { scroll-margin-top: 68px; }
  .built-by { margin-left: auto; gap: 7px; }
  .built-by > span { font-size: 7px; }
}

@media (max-width: 600px) {
  .hero::before {
    background:
      linear-gradient(180deg, #0711206e 0%, #071120ad 20%, #071120b9 45%, #07112049 69%, #0c1724ed 100%),
      linear-gradient(90deg, #040e18b8 0%, #040e1840 92%);
  }
  .hero-photo { object-position: 70% 62%; }
  .hero { align-items: start; }
  .hero-wrap { padding-block: clamp(136px, 26svh, 210px) 80px; }
  .hero h1 { font-size: clamp(2.36rem, 11.2vw, 4.27rem); }
  .location { margin-bottom: 14px; gap: 7px; font-size: 11px; letter-spacing: .1em; }
  .hero-description { max-width: 27ch; margin-top: 17px; }
  .hero .actions { margin-top: 18px; gap: 6px 17px; }
  .hero .text-action { font-size: 14px; }
  .service-nav { gap: 0 16px; }
  .service-nav a { font-size: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 16px; }
  .footer-main nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
}

@media (max-width: 370px) {
  .built-by { gap: 5px; }
}

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