:root {
  color-scheme: light;
  --navy: #091b35;
  --navy-deep: #061328;
  --navy-light: #142c4b;
  --red: #ad2338;
  --red-light: #ff7c8c;
  --ink: #10243d;
  --muted: #46566a;
  --line: #dbe1e8;
  --paper: #fff;
  --mist: #f2f5f8;
  --wrap: 1240px;
  --gutter: clamp(22px, 4.5vw, 72px);
  --font: "Aptos", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.64 var(--font); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #347fc0; outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
svg { display: block; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .6rem; left: .6rem; transform: translateY(-160%); background: white; color: var(--ink); padding: .65rem 1rem; }
.skip:focus { transform: none; }
.utility { background: var(--navy-deep); color: #dbe6f5; font-size: .74rem; }
.utility-inner { display: flex; min-height: 34px; justify-content: space-between; gap: 1rem; align-items: center; }
.utility a { display: inline-flex; align-items: center; gap: .48rem; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility svg { width: 15px; height: 15px; }
.header { position: sticky; top: 0; z-index: 3; background: #fff; box-shadow: 0 1px 0 #10243d17; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 77px; }
.brand { display: block; flex: 0 1 248px; }
.brand img { width: 100%; height: 57px; object-fit: contain; object-position: left center; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.9vw, 2.9rem); font-size: .88rem; font-weight: 650; }
nav a { white-space: nowrap; }
nav a:hover { color: var(--red); }
.nav-contact { display: inline-flex; align-items: center; gap: .75rem; border: 1px solid var(--line); padding: .52rem .75rem .52rem .9rem; }
.nav-contact:hover { border-color: var(--red); }
.nav-contact svg, .button svg, .text-link svg { width: 19px; height: 19px; flex: 0 0 19px; }
.menu-toggle { display: none; }

.hero { overflow: hidden; color: #fff; background: linear-gradient(113deg, var(--navy-deep) 3%, var(--navy) 59%, #112a46); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(24px, 3.7vw, 62px); align-items: center; padding-block: clamp(60px, 6.6vw, 107px); }
.hero-content { padding-block: 10px 17px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0; color: #d5e0ed; font-size: .72rem; line-height: 1.4; font-weight: 730; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow > span { flex: 0 0 22px; width: 22px; height: 2px; background: var(--red-light); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-weight: 720; letter-spacing: -.046em; line-height: 1.04; text-wrap: balance; }
h1 { margin-top: 1rem; font-size: clamp(2.8rem, 4.22vw, 4.45rem); }
.hero-content > p:not(.eyebrow) { max-width: 31rem; margin: 1.2rem 0 1.7rem; color: #dbe4ef; font-size: 1.07rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 49px; padding: .65rem .9rem .65rem 1.05rem; font-size: .89rem; font-weight: 700; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.primary { background: var(--red); border: 1px solid var(--red); color: #fff; }
.primary:hover { background: #8d192c; border-color: #8d192c; }
.outline { border: 1px solid #bac6d2; color: var(--navy); }
.outline:hover { border-color: var(--red); color: var(--red); }
.hero-media { min-width: 0; border: 1px solid #b5c3d638; background: var(--navy-deep); }
.hero-media video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.hero-media figcaption { min-height: 42px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .15rem .75rem; padding: .35rem .73rem; color: #e0e8f1; }
.video-label { display: inline-flex; align-items: center; gap: .48rem; font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.video-label > span { width: 6px; height: 6px; background: var(--red-light); border-radius: 50%; }
.video-controls { display: flex; flex-wrap: wrap; gap: .1rem .7rem; }
.video-controls button { min-height: 30px; padding: .2rem .25rem; background: transparent; color: #e0e8f1; border: none; cursor: pointer; font-size: .74rem; }
.video-controls button:hover { color: #fff; text-decoration: underline; }

.section { padding-block: clamp(62px, 7.8vw, 110px); }
.section h2 { font-size: clamp(2.45rem, 4.3vw, 4.25rem); margin: .75rem 0 1.1rem; }
.section p:not(.eyebrow) { font-size: 1.04rem; }
.kicker { color: var(--red); }
.kicker > span { background: var(--red); }
.about-grid, .careers-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 6.7vw, 100px); align-items: center; }
.about-grid p:not(.eyebrow), .contact-grid p:not(.eyebrow) { color: var(--muted); margin: 0 0 .95rem; max-width: 36rem; }
.about-photo { position: relative; padding: 0 0 10px 10px; }
.about-photo::before { content: ""; position: absolute; z-index: 0; left: 0; bottom: 0; width: 36%; height: 64%; background: var(--red); }
.about-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 1.34; object-fit: cover; object-position: 50% 56%; }
.company-facts { display: grid; grid-template-columns: .8fr 1fr; margin: 1.55rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); gap: .6rem 1rem; }
.company-facts dt, .contact-details dt { color: var(--muted); font-size: .74rem; font-weight: 730; letter-spacing: .08em; text-transform: uppercase; }
.company-facts dd { margin: .22rem 0 0; font-weight: 710; }
.services { background: var(--mist); border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: .8rem 2rem; margin-bottom: 1.55rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); margin: 0 0 .24rem; max-width: 22rem; }
.service-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-bottom: 0; background: var(--paper); }
.service-tabs button { display: flex; align-items: center; gap: .67rem; min-height: 65px; text-align: left; border: 0; border-top: 3px solid transparent; background: var(--paper); padding: .65rem .9rem; color: var(--ink); font-weight: 720; cursor: pointer; }
.service-tabs button + button { border-left: 1px solid var(--line); }
.service-tabs button:hover { background: #f8fafc; }
.service-tabs button[aria-selected="true"] { border-top-color: var(--red); color: var(--red); background: #fff; }
.service-tabs button:focus-visible { outline-offset: -4px; }
.service-tabs button > span { font-size: .71rem; font-weight: 730; }
.service-tabs svg { margin-left: auto; flex: 0 0 18px; width: 18px; height: 18px; }
.service-panels { display: grid; gap: 12px; }
.service-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; min-height: 294px; background: var(--navy); color: white; }
.service-panel:not([hidden])[role="tabpanel"] { animation: panel-in 420ms cubic-bezier(.22,.75,.23,1) both; }
.service-panel img { width: 100%; height: 100%; min-height: 0; max-height: 340px; object-fit: cover; }
.service-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 3.9vw, 3.3rem); }
.service-copy h3 { max-width: 22rem; font-size: clamp(1.45rem, 2.4vw, 2.12rem); letter-spacing: -.025em; line-height: 1.16; }
.service-copy p { color: #dbe5f1; margin: .8rem 0 0; }
@keyframes panel-in {
  from { opacity: .35; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.careers { color: white; background: var(--navy); }
.careers-grid p:not(.eyebrow) { max-width: 33rem; margin: 0 0 .95rem; color: #dbe4ef; }
.careers-grid > img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.careers-grid .fee-note { border-left: 2px solid var(--red-light); padding: .13rem 0 .13rem .8rem; margin-top: 1.1rem; }
.fee-note strong { color: #fff; }
.careers-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: 1.3rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .87rem; font-weight: 720; }
.text-link:hover { text-decoration: underline; }
.contact-grid { align-items: start; }
.contact .button { margin-top: .4rem; }
.contact-details { font-style: normal; }
.contact-details dl { margin: 0; border-top: 1px solid var(--line); }
.contact-details dl > div { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.contact-details dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.contact-details a { text-decoration: underline; text-decoration-color: #a9b5c2; text-underline-offset: 3px; }
.contact-details a:hover { color: var(--red); text-decoration-color: currentColor; }
.footer { background: var(--navy-deep); color: #e4ebf4; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.footer-brand { font-weight: 760; font-size: .93rem; letter-spacing: .03em; }
.footer-brand span { display: block; color: #b8c8d9; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer a { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; white-space: nowrap; }
.footer a:hover { text-decoration: underline; }
.footer a svg { width: 17px; height: 17px; transform: rotate(-90deg); }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 540ms ease, transform 620ms cubic-bezier(.22,.75,.23,1); }
.reveal-ready [data-reveal].is-visible, .reveal-ready [data-reveal]:focus-within { opacity: 1; transform: none; }
@media (min-width: 950px) {
  .about-grid > :nth-child(2), .careers-grid > :nth-child(2), .contact-grid > :nth-child(2) { transition-delay: 80ms; }
}
@media (max-width: 1020px) {
  .desktop-break { display: none; }
  .hero-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  h1 { font-size: clamp(2.65rem, 5.2vw, 4.25rem); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .utility-inner { min-height: 29px; }
  .utility a { display: none; }
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 0 .65rem; }
  .brand { flex-basis: min(215px, calc(100% - 82px)); }
  .brand img { height: 49px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .28rem .52rem; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: .8rem; font-weight: 680; }
  nav { display: grid; flex-basis: 100%; gap: 0; padding-bottom: .7rem; }
  nav.collapsible { display: none; }
  nav.open { display: grid; }
  nav a, .nav-contact { padding: .53rem .1rem; border: 0; min-height: 41px; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.55rem; padding-block: 47px 32px; }
  .hero-content { padding-block: 0; }
  h1 { max-width: 10em; font-size: clamp(2.6rem, 9.1vw, 4rem); }
  .hero-content > p:not(.eyebrow) { margin-bottom: 1.25rem; }
  .about-grid, .careers-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .7rem; }
  .service-tabs button { font-size: .79rem; line-height: 1.25; min-height: 64px; gap: .25rem; padding-inline: .42rem; flex-direction: column; justify-content: center; align-items: start; }
  .service-tabs button > span { font-size: .64rem; }
  .service-tabs svg { display: none; }
  .service-panel { grid-template-columns: 1fr; min-height: 0; }
  .service-panel img { height: auto; aspect-ratio: 1.95; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal], .service-panel:not([hidden])[role="tabpanel"], .button { animation: none; transition: none; transform: none; opacity: 1; }
}

.gallery-group + .gallery-group { margin-top: 2.15rem; }
.gallery-group h3 { margin: 0 0 .85rem; font-size: 1.25rem; letter-spacing: -.015em; }
.gallery-grid { display: grid; gap: .85rem; }
.gallery-grid--people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-grid--office { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery-card { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.gallery-card a { display: block; overflow: hidden; }
.gallery-card a:focus-visible { outline-offset: -4px; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 230ms ease; }
.gallery-card a:hover img { transform: scale(1.035); }
.gallery-grid--office img { aspect-ratio: 4 / 5; }
.gallery-card--document-handover img, .gallery-card--crew-briefing img, .gallery-card--crewing-workspace img { object-position: center 83%; }
.gallery-card--office-exterior img, .gallery-card--meeting-room img { object-position: center 67%; }
.gallery-card figcaption { padding: .62rem .7rem; font-size: .84rem; font-weight: 650; line-height: 1.4; }
.gallery-viewer { width: min(92vw, 950px); max-height: 95vh; overflow: auto; border: 1px solid #ffffff29; padding: 1rem; color: white; background: var(--navy-deep); }
.gallery-viewer::backdrop { background: #020916d9; }
.gallery-viewer img { width: 100%; max-height: 72vh; object-fit: contain; }
.gallery-viewer figcaption { padding-top: .65rem; }
.gallery-viewer form { text-align: right; }
.gallery-viewer button { min-height: 42px; padding: .3rem .6rem; color: white; background: var(--navy-light); border: 1px solid #ffffff63; cursor: pointer; }
@media (max-width: 900px) {
  .gallery-grid--office { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gallery-grid--people, .gallery-grid--office { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { gap: .6rem; }
  .gallery-card figcaption { padding-inline: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-card img { transition: none; }
  .gallery-card a:hover img { transform: none; }
}
