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

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

:root {
  --navy: #153761;
  --deep: #0a213e;
  --blue: #0f70be;
  --sky: #87caff;
  --orange: #a2d8ff;
  --amber: #c0e7ff;
  --white: #f8fafb;
  --paper: #edf4fb;
  --border: #cee0eb;
  --muted: #3d586d;
  --gutter: clamp(1.25rem, 5vw, 3.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--deep); background: var(--white); font: 400 1rem/1.58 "DM Sans", Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #1371b1; outline-offset: 4px; }
.site-header a:focus-visible, .hero a:focus-visible, .contact a:focus-visible, .footer a:focus-visible { outline-color: var(--amber); }
::selection { background: var(--sky); color: var(--deep); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 76.25rem); margin-inline: auto; }
.skip { position: fixed; z-index: 3; inset: .5rem auto auto .5rem; padding: .7rem 1rem; color: var(--deep); background: var(--white); transform: translateY(-170%); }
.skip:focus { transform: none; }

.site-header { background: var(--navy); color: var(--white); }
.top { border-bottom: 1px solid #c9e9ff38; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1.4rem; min-height: 44px; font-size: .87rem; }
.top-inner a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; }
.top-inner a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.header { min-height: 5.15rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.1rem; }
.brand { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; }
.brand img { width: 4.85rem; height: auto; object-fit: contain; }
.header nav { display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 2.85vw, 2.8rem); }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: .94rem; font-weight: 700; }
.header nav a:hover { color: var(--sky); text-decoration: underline; text-underline-offset: .3rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .58rem; min-height: 3.35rem; padding: .72rem 1.4rem; border: 1px solid transparent; border-radius: 90px; color: var(--deep); background: var(--orange); font-size: .93rem; font-weight: 700; line-height: 1.2; text-align: center; transition: background-color .2s ease, border-color .2s ease; }
.button:hover { background: var(--amber); }
.header-button { min-height: 44px; justify-self: end; padding-inline: 1rem; }
.outline { color: var(--white); background: #d3ebf813; border-color: #d5edf77c; }
.outline:hover { background: #d3ebf831; border-color: var(--white); }

.hero { display: grid; align-items: center; min-height: clamp(36rem, 79svh, 48rem); color: var(--white); background: var(--deep); position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background:
  linear-gradient(90deg, #0a213e 0%, #0a213eee 32%, #0a213e86 62%, #0a213e20 100%),
  linear-gradient(0deg, #0a213ee6 0%, transparent 46%),
  url("./assets/deck.webp") right 47% / 80% auto no-repeat;
}
.hero-inner { padding-block: clamp(3.65rem, 8vw, 6.2rem); }
.hero-copy { max-width: 44rem; animation: settle .56s ease-out both; }
h1, h2, h3 { font-family: Barlow, "Arial Narrow", "DM Sans", sans-serif; font-weight: 700; line-height: 1.02; letter-spacing: -.026em; }
h1 { font-size: clamp(3rem, 5.7vw, 5.35rem); text-wrap: balance; }
h1 em { color: var(--sky); font-style: normal; }
.hero-lead { max-width: 42ch; margin-top: 1.55rem; color: #e4eef6; font-size: clamp(1.03rem, 1.6vw, 1.21rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin-top: 2.35rem; padding-top: .8rem; border-top: 1px solid #c9e9ff45; }
.shortcuts a { display: inline-flex; align-items: center; gap: .32rem; min-height: 44px; color: #e1f1fa; font-size: .94rem; font-weight: 700; }
.shortcuts a:hover { color: var(--orange); }

.section { padding-block: clamp(3.8rem, 7.7vw, 7.6rem); scroll-margin-top: .9rem; }
.eyebrow { margin-bottom: .78rem; color: #126693; font-size: .77rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
h2 { font-size: clamp(2.55rem, 4.65vw, 4.13rem); text-wrap: balance; }
h3 { font-size: clamp(1.58rem, 2.25vw, 1.93rem); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.65rem); margin-top: 2rem; }
.service { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: .78rem; background: #fff; scroll-margin-top: .9rem; }
.service img { width: 100%; height: auto; aspect-ratio: 1.86; object-fit: cover; background: var(--paper); }
.service-body { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: clamp(1.15rem, 2.6vw, 1.8rem); }
.service-body p, .work-copy p:not(.eyebrow) { color: var(--muted); }
.service-body p { flex: 1; }
.link { display: inline-flex; align-items: center; gap: .42rem; min-height: 44px; color: #095882; font-weight: 700; text-decoration: underline; text-underline-offset: .25rem; }
.link:hover { color: var(--deep); }

.work { background: var(--paper); }
.work-inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 1.75rem clamp(1.5rem, 5vw, 5rem); align-items: center; }
.work-copy p:not(.eyebrow), .contact p { margin-top: 1.1rem; max-width: 37ch; font-size: 1.09rem; }
.work-copy .link { margin-top: .7rem; }
.work-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.work-photos img { width: 100%; height: auto; aspect-ratio: .91; object-fit: cover; border-radius: .55rem; }

.contact { color: var(--white); background: var(--navy); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.7rem; }
.contact p { color: #e0edf5; }
.footer { color: var(--white); background: var(--deep); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.3rem; padding-block: .7rem; min-height: 6.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .15rem 1.12rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: .23rem; }

@keyframes settle { from { transform: translateY(8px); } to { transform: translateY(0); } }

@media (max-width: 800px) {
  .header { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .75rem; min-height: auto; padding-top: .42rem; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: clamp(.85rem, 5vw, 1.6rem); }
  .brand img { width: 4.2rem; }
  .header-button { white-space: nowrap; padding-inline: .9rem; }
  .hero { min-height: auto; }
  .hero::before { background:
    linear-gradient(90deg, #0a213ef2 0%, #0a213eb8 64%, #0a213e8c 100%),
    linear-gradient(0deg, #0a213e 0%, transparent 50%),
    url("./assets/deck.webp") center / cover no-repeat;
  }
  .desktop-break { display: none; }
  .hero-inner { padding-block: 3.4rem 2.15rem; }
  h1 { max-width: 13ch; text-wrap: initial; }
  .shortcuts { margin-top: 1.7rem; }
  .shortcuts a { font-size: .84rem; }
  .services, .work-inner { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .top-inner { font-size: .77rem; }
  .top-inner span:first-child { max-width: 11.2ch; line-height: 1.14; }
  .top-inner a { white-space: nowrap; }
  .actions .button { width: 100%; }
  h1 { font-size: clamp(2.58rem, 11vw, 3.08rem); }
  .shortcuts { grid-template-columns: max-content max-content 1fr; gap: clamp(.36rem, 2.6vw, .85rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .button { transition: none; }
}

.brand {gap:.65rem;font-size:clamp(1.25rem,2vw,1.75rem);font-weight:700;line-height:.95}
.brand small {display:block;font-size:.72rem;margin-top:.24rem;letter-spacing:.09em}
.brand img {width:3rem;height:3rem;padding:.19rem;border-radius:.28rem;background:white;object-fit:contain}
.mobile-nav {display:none}
.mobile-nav summary {min-height:44px;display:flex;align-items:center;justify-content:center;gap:.55rem;padding:0 .7rem;list-style:none;border:1px solid #cde2fb90;border-radius:.38rem;cursor:pointer}
.mobile-nav summary::-webkit-details-marker {display:none}
summary:focus-visible {outline:3px solid #48a2eb;outline-offset:3px}
.service {grid-template-rows:1fr}
.work-photos {grid-template-columns:repeat(3,minmax(0,1fr))}
.work-photos a {display:block}
.work-photos img{aspect-ratio:.72}
.inquiry {display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.questions details {border-top:1px solid var(--border)}
.questions details:last-child {border-bottom:1px solid var(--border)}
.questions summary{min-height:44px;padding:.6rem .2rem;cursor:pointer;font-weight:700}
.questions p{margin:.2rem .2rem .7rem;color:var(--muted)}
@media(max-width:850px){
 .header {grid-template-columns:minmax(0,1fr) auto;min-height:72px;padding-block:.42rem}
 .header .desktop-menu,.header .header-button {display:none}
 .mobile-nav{display:contents}
 .mobile-nav summary{grid-column:2}
 .header .mobile-nav:not([open]) nav{display:none}
 .header .mobile-nav nav{grid-column:1/-1;grid-row:auto;display:grid;gap:0;margin:.5rem 0 .3rem;padding-inline:.45rem;background:#ffffff13;border-radius:.32rem}
 .header .mobile-nav nav a{justify-content:flex-start}
 .inquiry{grid-template-columns:1fr}
}
@media(max-width:400px){.top-inner{display:grid;gap:0;padding:.2rem 0;justify-content:center;text-align:center;line-height:1.35}.top-inner span:first-child{max-width:none}.top-inner a{justify-content:center}.hero-copy .shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .75rem}.shortcuts a{font-size:.76rem}}
