:root {
  color-scheme: light;
  --navy: #0b2037;
  --navy-deep: #07182b;
  --paper: #f3f5f7;
  --ink: #14253a;
  --muted: #495b6e;
  --line: #dce3ea;
  --orange: #ff893e;
  --orange-dark: #a23e0b;
  --page: 73rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2673ba; outline-offset: 4px; }
.hero :focus-visible, .camera :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: white; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--page)); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 10;
  inset: 0 auto auto 1rem;
  padding: .6rem 1rem;
  background: white;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(.65rem); }

.topbar { background: var(--navy); color: #e2e9ef; font-size: .86rem; }
.topbar-inner, .header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-inner { gap: .8rem; min-height: 2.15rem; }
.topbar a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.header-inner { min-height: 5.15rem; gap: 1rem; position: relative; }
.logo { flex: none; width: clamp(9.5rem, 17vw, 12rem); }
.logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.3rem); }
.nav > a { text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav > a:not(.button):hover { color: var(--orange-dark); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  min-height: 3.1rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  background: var(--orange);
  color: #141e29;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { background: #ffac72; }
.button-header { min-height: 2.75rem; }
.button-outline { background: transparent; border-color: #a9b9c9; color: #fff; }
.button-outline:hover { background: white; border-color: white; color: var(--navy); }

.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  color: white;
  border-bottom: .28rem solid var(--orange);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgb(7 24 43 / .92) 3%, rgb(11 32 55 / .45) 64%),
    repeating-linear-gradient(0deg, transparent 0 35px, rgb(165 189 212 / .13) 35px 36px),
    repeating-linear-gradient(90deg, transparent 0 35px, rgb(165 189 212 / .13) 35px 36px),
    var(--navy);
}
.hero-photo { position: absolute; inset: 0 0 0 39%; z-index: -1; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, var(--navy-deep) 0%, rgb(7 24 43 / .68) 22%, transparent 57%), linear-gradient(0deg, rgb(7 24 43 / .35), transparent 47%);
}
.hero-inner { min-height: clamp(29.75rem, 42vw, 36rem); display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 3.4rem 4rem; }
.eyebrow { display: flex; gap: .7rem; align-items: center; font-size: .85rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .9rem; color: var(--orange-dark); }
.eyebrow::before { content: ""; width: 1.65rem; height: 2px; background: currentColor; flex: none; }
.hero .eyebrow, .camera .eyebrow, .contact .eyebrow { color: #ffa56a; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { font-size: clamp(3.25rem, 6.5vw, 6rem); font-weight: 800; letter-spacing: -.065em; }
h1 span { color: #ffa56a; }
h2 { font-size: clamp(2.2rem, 4vw, 3.55rem); font-weight: 790; letter-spacing: -.05em; }
.hero-description { max-width: 29rem; color: #e3ebf3; font-size: clamp(1rem, 1.65vw, 1.2rem); margin: 1.25rem 0 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.section { padding-block: clamp(3.1rem, 7vw, 6.1rem); }
.services { background: var(--paper); }
.section-heading { text-align: center; max-width: 38rem; margin: 0 auto clamp(1.9rem, 4vw, 2.9rem); }
.section-heading h2::after { content: ""; display: block; width: 3.2rem; height: .2rem; margin: .9rem auto; background: #d86121; }
.section-heading p { color: var(--muted); margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.45rem); }
.service { background: white; border: 1px solid var(--line); border-radius: .36rem; overflow: hidden; display: flex; flex-direction: column; }
.service > img { width: 100%; height: auto; aspect-ratio: 1.53; object-fit: cover; object-position: center 42%; border-bottom: 3px solid var(--orange); }
.service-copy { flex: 1; padding: 1.05rem 1.17rem 1.25rem; display: flex; flex-direction: column; align-items: flex-start; }
.service h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.service p { color: var(--muted); margin: .65rem 0 1rem; }
.service a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; color: var(--orange-dark); font-weight: 700; text-underline-offset: .24em; }
.service a:hover { text-decoration-thickness: 2px; }

.camera { color: white; background: var(--navy); padding-block: clamp(3.15rem, 6.6vw, 5.5rem); }
.camera-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(2.2rem, 7vw, 6.5rem); }
.camera-figure { margin: 0; position: relative; isolation: isolate; }
.camera-figure::before { content: ""; position: absolute; inset: .65rem .65rem -.65rem -.65rem; border: 1px solid #f88943; z-index: -1; }
.camera-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: .2rem; }
.camera-copy > p:not(.eyebrow), .contact p:not(.eyebrow) { color: #d3dfeb; }
.camera-copy > p:not(.eyebrow) { margin-bottom: 1.5rem; }

.about-inner { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(1rem, 7vw, 6.5rem); align-items: center; }
.about-role { margin: .45rem 0 0; font-weight: 650; }
.about-inner > div:nth-child(2) p { color: var(--muted); margin: 0; }

.contact { background: var(--navy-deep); color: white; padding-block: clamp(3rem, 7vw, 5.5rem); border-top: .25rem solid var(--orange); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(1.75rem, 7vw, 6.5rem); }
.direct-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .38rem; overflow-wrap: anywhere; }
.direct-contact a { color: #ffb685; font-weight: 650; text-underline-offset: .24em; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; background: #132e4a; padding: clamp(1.2rem, 3.2vw, 2rem); border: 1px solid #34506d; border-radius: .36rem; }
.contact-form label { font-weight: 650; }
.contact-form select, .contact-form textarea { display: block; width: 100%; color: var(--ink); background: white; border: 1px solid #d4dfe8; border-radius: .24rem; padding: .6rem .8rem; }
.contact-grid > *, .contact-form > * { min-width: 0; }
.contact-form select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, #506277 50%) right 1rem center / .32rem .32rem no-repeat, linear-gradient(135deg, #506277 50%, transparent 50%) right .69rem center / .32rem .32rem no-repeat, white; }
.contact-form textarea { resize: vertical; }
.contact-form label:not(:first-child), .contact-form button { margin-top: .55rem; }
.contact-form button { justify-self: start; }
.footer { background: #061322; color: #d5e0ea; font-size: .88rem; }
.footer-inner { gap: .5rem 1.25rem; flex-wrap: wrap; justify-content: flex-start; padding-block: 1rem; }
.footer p { margin: 0 auto 0 0; color: white; font-weight: 700; }
.footer a { text-underline-offset: .24em; }

@media (max-width: 57rem) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-photo { inset-inline-start: 33%; }
  .hero-photo::after { background: linear-gradient(90deg, var(--navy-deep), rgb(7 24 43 / .62) 38%, rgb(7 24 43 / .12) 72%); }
}

@media (max-width: 43rem), (pointer: coarse) and (max-width: 57rem) {
  :root { --mobile-header-height: 4.7rem; }
  html.menu-ready { scroll-padding-top: calc(var(--mobile-header-height) + .45rem); }
  .menu-ready .header {
    position: sticky;
    inset-block-start: 0;
    z-index: 5;
    background: white;
    box-shadow: 0 1px 0 var(--line);
  }
  .header-inner { min-height: var(--mobile-header-height); flex-wrap: wrap; }
  .menu-ready .header-inner { flex-wrap: nowrap; }
  .header .logo { width: min(9.5rem, 50%); }
  .menu-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: .25rem; color: var(--navy); background: white; font-weight: 650; }
  .menu-toggle[aria-expanded="true"] { background: var(--paper); border-color: var(--muted); }
  .menu-icon { display: block; width: .95rem; height: .65rem; border-block: 2px solid; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
  .nav { flex: 1 0 100%; flex-wrap: wrap; gap: .45rem 1.2rem; padding-bottom: 1rem; }
  .nav > a { padding-block: .6rem; }
  .menu-ready .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--mobile-header-height) - 3.75rem);
    overflow: auto;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: 0 0 .45rem .45rem;
    background: white;
    box-shadow: 0 .65rem 1.8rem rgb(7 24 43 / .22);
  }
  .menu-ready .nav.is-open { display: grid; gap: .25rem; }
  .menu-ready .nav > a { padding: .7rem .75rem; min-height: 2.75rem; }
  .menu-ready .nav > a:not(.button):hover { background: var(--paper); }
}

@media (max-width: 43rem) {
  .hero-inner { padding-block: 13rem 2.5rem; min-height: auto; }
  .hero-photo { inset: 0 0 auto; height: 20rem; clip-path: none; }
  .hero-photo::after { background: linear-gradient(0deg, var(--navy-deep) 2%, rgb(7 24 43 / .76) 28%, transparent 75%); }
  h1 { font-size: clamp(2.8rem, 9.75vw, 4.15rem); }
  .camera-grid, .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .camera-figure { grid-row: 2; margin-inline-start: .65rem; }
  .about-inner { gap: .85rem; }
}

@media (max-width: 29rem) {
  .services-grid { grid-template-columns: 1fr; }
  .service img { aspect-ratio: 1.8; }
  .footer p { flex-basis: 100%; }
}

@media (max-width: 23rem) {
  .topbar-inner { flex-wrap: wrap; gap: .1rem .6rem; padding-block: .25rem; }
  .actions .button { flex-grow: 1; }
}

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