:root {
  --ink: #103449;
  --muted: #50636c;
  --teal: #007b78;
  --paper: #ffffff;
  --wash: #f1f4f3;
  --line: #d8e1e2;
  --accent: #ef8700;
  --display: "Barlow Condensed", sans-serif;
  --body: "Source Sans 3", sans-serif;
  --gutter: clamp(22px, 5.5vw, 100px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-color: #8da5a8 var(--wash); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.5 var(--body); }
body.nav-open, body.photo-open { overflow: hidden; }
::selection { color: white; background: var(--teal); }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.2vw, 60px); }
h3 { font-size: clamp(32px, 3.3vw, 46px); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; flex-shrink: 0; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 20px; top: -80px; padding: 12px 18px; color: white; background: var(--ink); z-index: 100; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 94px; padding: 20px var(--gutter); display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); background: white; position: sticky; top: 0; z-index: 20; }
.site-brand { display: flex; align-items: center; text-decoration: none; gap: 24px; white-space: nowrap; }
.site-brand img { width: 133px; height: auto; }
.site-brand span { border-left: 1px solid var(--line); padding-left: 24px; font-size: 16px; font-weight: 600; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; font-size: 16px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--teal); text-decoration: underline; }
.login-link { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 18px; background: var(--ink); color: white; }
.login-link:hover, .button:hover { background: var(--teal); color: white; }
.nav-toggle, .mobile-login { display: none; }
.section-shell { padding: 86px var(--gutter); }
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 80px); padding: 44px var(--gutter) 54px; align-items: center; }
.hero-copy { padding: 28px 0; }
.hero h1 { font-size: clamp(48px, 5.2vw, 78px); }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-copy > p { max-width: 48ch; margin-top: 28px; font-size: 20px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 26px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: white; text-decoration: none; font-size: 16px; font-weight: 600; transition: background 150ms ease-out; }
.button--outline { background: transparent; color: var(--ink); }
.text-link { display: inline-block; font-weight: 600; font-size: 17px; text-decoration-thickness: 1px; }
.hero-copy > .hero-footnote { margin-top: 54px; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-footnote strong { color: var(--ink); font-weight: 500; }
.hero-photograph { min-width: 0; }
.hero-photograph img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; }
figcaption { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; padding-top: 12px; }
figcaption span { text-align: right; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-heading p { color: var(--muted); max-width: 52ch; }
.services { background: var(--wash); }
.service-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.service-photographs > img { width: 100%; height: 330px; object-fit: cover; }
.service-photographs figure { width: 78%; margin: 22px 0 0 auto; }
.service-photographs figure img { width: 100%; aspect-ratio: 2.26; object-fit: cover; }
.service-copy > p { margin-top: 22px; color: var(--muted); max-width: 50ch; }
.service-list { list-style: none; padding: 0; margin: 26px 0; font-size: 17px; }
.service-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.service-list li:first-child { border-top: 1px solid var(--line); }
.service-copy .service-note { font-size: 16px; margin-bottom: 24px; }
.service-story--reverse { margin-top: 80px; padding-top: 64px; border-top: 1px solid var(--line); grid-template-columns: .9fr 1.1fr; }
.service-story--reverse .service-copy { grid-row: 1; grid-column: 1; }
.service-story--reverse > figure { grid-column: 2; }
.service-field-photo img { width: 100%; max-height: 490px; object-fit: cover; object-position: center 45%; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 22px; }
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-filters button { border: 1px solid transparent; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 16px; padding: 9px 13px; }
.gallery-filters button:hover { color: var(--ink); background: var(--wash); }
.gallery-filters button[aria-pressed="true"] { border-bottom-color: var(--teal); color: var(--teal); font-weight: 700; }
#galleryCount { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.photo-tile { padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; min-width: 0; }
.photo-tile .photo-tile-frame { background: var(--wash); height: clamp(180px, 21vw, 310px); overflow: hidden; display: flex; justify-content: center; align-items: center; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease-out; }
.photo-tile:hover img { transform: scale(1.025); }
.photo-tile strong { display: block; font-weight: 600; font-size: 16px; margin-top: 12px; }
.photo-tile small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.gallery-more { text-align: center; padding-top: 36px; }
.company-strip { border-block: 1px solid var(--line); padding: 48px 0; background: var(--wash); overflow: hidden; }
.company-strip__heading { margin: 0 var(--gutter) 30px; display: flex; align-items: center; justify-content: space-between; }
.company-strip h2 { font-size: 36px; }
.logo-marquee { display: flex; width: 100%; overflow: hidden; gap: 16px; }
.logo-track { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; padding: 0; margin: 0; list-style: none; animation: companies 65s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.brand-card { width: 166px; height: 84px; flex: 0 0 auto; background: white; display: flex; align-items: center; justify-content: center; padding: 18px; }
.brand-card img { max-width: 138px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.brand-card--dark { background: var(--ink); }
.brand-note { margin: 25px var(--gutter) 0; font-size: 12px; color: var(--muted); }
@keyframes companies { to { transform: translateX(calc(-100% - 16px)); } }
.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.platform-copy p { color: var(--muted); max-width: 50ch; margin-top: 24px; }
.platform-visual { max-width: 576px; }
.platform-visual img { width: 100%; height: auto; border: 1px solid var(--line); }
.industries { background: var(--ink); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.industries dl { margin: 0; }
.industries dl div { display: grid; grid-template-columns: 1fr 1fr; padding: 20px 0; border-bottom: 1px solid #486371; gap: 25px; }
.industries dl div:first-child { padding-top: 0; }
.industries dt { font-weight: 600; }
.industries dd { margin: 0; color: #c7d4da; font-size: 16px; }
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.about figure { max-width: 420px; }
.about img { width: 100%; max-height: 490px; object-fit: cover; object-position: center 30%; }
.about p { margin-top: 24px; color: var(--muted); max-width: 54ch; }
.about .text-link { margin-top: 26px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: var(--wash); border-top: 1px solid var(--line); align-items: center; }
.contact p { margin-top: 24px; color: var(--muted); }
.contact-actions { display: grid; justify-items: start; gap: 15px; }
.contact-main { font-family: var(--display); font-size: clamp(28px, 3.1vw, 42px); font-weight: 600; text-decoration-thickness: 1px; }
.contact address { font-style: normal; color: var(--muted); font-size: 16px; }
.site-footer { padding: 30px var(--gutter); display: flex; align-items: center; flex-wrap: wrap; gap: 30px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.footer-brand img { width: 100px; height: auto; }
.site-footer nav { display: flex; gap: 24px; margin-left: auto; }
.site-footer > p { width: 100%; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.photo-viewer { width: min(1100px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 0; color: white; background: #132e3b; box-shadow: 0 20px 60px #0006; }
.photo-viewer::backdrop { background: #061924eb; }
.photo-viewer header { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.photo-viewer h2 { font-size: 27px; }
.photo-viewer p { color: #c7d4da; font-size: 14px; padding-top: 4px; }
.photo-viewer button, .photo-viewer footer a { padding: 10px 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #69818b; color: white; background: transparent; font-size: 15px; text-decoration: none; }
.photo-viewer button:hover { background: #2c4a58; }
.photo-viewer-image { height: min(66dvh, 750px); display: flex; align-items: center; justify-content: center; margin: 20px 0; }
.photo-viewer-image img { object-fit: contain; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.photo-viewer footer { display: flex; justify-content: space-between; gap: 12px; }
.photo-viewer :focus-visible { outline-color: white; }
@media (min-width: 1800px) { main > section, .site-header, .site-footer { padding-left: max(var(--gutter), calc((100vw - 1600px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1600px) / 2)); } }
@media (max-width: 1150px) {
  .site-brand span { display: none; }
  .site-header { gap: 20px; }
  .hero { gap: 32px; }
  .hero-actions { gap: 16px; }
  .platform, .about { gap: 44px; }
}
@media (max-width: 900px) {
  .site-header { min-height: 80px; padding-block: 16px; }
  .site-header > .login-link { display: none; }
  .nav-toggle { display: block; margin-left: auto; border: 1px solid var(--line); background: white; color: var(--ink); padding: 8px 14px; font-size: 16px; }
  .site-header nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: white; padding: 24px var(--gutter); margin: 0; border-bottom: 1px solid var(--line); }
  .site-header nav.is-open { display: grid; gap: 20px; }
  .mobile-login { display: inline-block; color: var(--teal); font-weight: 700; }
  .hero h1 { font-size: 52px; }
  .hero-copy > p { font-size: 18px; }
  .hero-copy > .hero-footnote { margin-top: 28px; }
  .section-shell { padding-block: 60px; }
  .service-story { gap: 32px; }
  .service-photographs > img { height: 250px; }
  .service-story--reverse { margin-top: 56px; padding-top: 46px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-toolbar { flex-wrap: wrap; gap: 12px; }
  .industries { grid-template-columns: 1fr; gap: 38px; }
  .contact { gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; gap: 26px; padding-bottom: 34px; }
  .hero-copy { padding: 15px 0 0; }
  .hero h1 { font-size: clamp(43px, 12vw, 64px); }
  .hero-copy > p { margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
  .hero-copy > .hero-footnote { margin-top: 26px; }
  .hero-photograph img { aspect-ratio: 4 / 5; }
  figcaption { font-size: 12px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  .service-story, .service-story--reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-story--reverse .service-copy { grid-row: auto; grid-column: auto; }
  .service-story--reverse > figure { grid-column: auto; }
  .service-field-photo img { height: 380px; }
  .service-photographs > img { height: auto; }
  .service-photographs figure { width: 86%; }
  .gallery-filters { gap: 0; }
  .gallery-filters button { font-size: 14px; padding: 8px 10px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .photo-tile .photo-tile-frame { height: 200px; }
  .photo-tile strong { font-size: 14px; line-height: 1.25; }
  .platform, .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .about figure { max-width: 100%; }
  .about img { height: 400px; object-fit: contain; background: var(--wash); }
  .industries dl div { grid-template-columns: 1fr; gap: 6px; }
  .site-footer nav { margin-left: 0; }
  .photo-viewer { padding: 16px; }
  .photo-viewer h2 { font-size: 22px; }
  .photo-viewer-image { height: 60dvh; }
  .photo-viewer footer a, .photo-viewer button { font-size: 13px; padding: 9px; }
  .photo-viewer footer svg { width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .logo-marquee { overflow-x: auto; }
  .logo-track[aria-hidden="true"] { display: none; }
}
