@font-face {
  font-family: Archivo Black;
  src: url("/assets/archivo-black.woff2") format("woff2");
  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 {
  color-scheme: dark;
  --petrol: #073a49;
  --ink: #032630;
  --teal: #0199b0;
  --teal-deep: #00687b;
  --ochre: #e7a824;
  --coral: #d33b52;
  --magenta: #ac1f7d;
  --lime: #c7cf2a;
  --paper: #ecf8fa;
  --white: #faffff;
  --muted: #d4eef2;
  --line: #ffffff2e;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--petrol); color: var(--white); font: 400 16px/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 5px; }
.wrap { width: min(1344px, 88%); margin-inline: auto; }
.skip { position: absolute; top: -120px; z-index: 10; padding: 12px; background: var(--ochre); color: var(--petrol); }
.skip:focus { top: 12px; left: 12px; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 130px; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 42px); }
.header nav a, .footer a { text-decoration: none; }
.header nav a { color: var(--muted); font-size: 13px; font-weight: 600; }
.header nav a:hover, .footer a:hover { color: var(--ochre); }
.header .nav-contact { border: 1px solid var(--line); padding: 10px 14px; color: var(--white); }
.nav-contact span { color: var(--ochre); margin-left: 5px; }
.hero { isolation: isolate; position: relative; background: var(--teal); }
.hero-photo, .hero-photo::after, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -1; }
.hero-photo img { object-fit: cover; object-position: 50% 62%; }
.hero-photo::after {
  content: "";
  background: linear-gradient(90deg, #006175fa 1%, #007287ee 29%, #006b84b3 64%, #0199b022 100%),
              linear-gradient(0deg, #073a49ed, transparent 65%);
}
.hero-inner { min-height: clamp(580px, 53vw, 795px); display: grid; align-items: center; position: relative; padding-block: 78px 105px; }
.eyebrow, .hero-caption, .section-index, .rail, figcaption, dt, .footer { font-weight: 700; letter-spacing: .13em; font-size: 11px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--white); margin: 0 0 26px; text-transform: uppercase; }
.eyebrow a { display: inline-block; padding-block: 3px; }
.eyebrow img { width: 38px; height: auto; }
.hero-caption > span { width: 7px; height: 7px; background: var(--ochre); display: inline-block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1, h2 { margin: 0; line-height: .94; letter-spacing: -.057em; }
h1 { font-size: clamp(54px, 8.55vw, 139px); }
.case h2 span { color: #79d7e1; }
.hero-lead::before { content: ""; display: block; width: 52px; height: 5px; background: var(--ochre); margin-bottom: 18px; }
.hero-lead { font-size: clamp(21px, 2.8vw, 34px); font-weight: 700; margin: 26px 0 2px; letter-spacing: -.03em; }
.hero-text { color: var(--white); font-size: 18px; max-width: 490px; margin: 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px; text-decoration: none; font-size: 13px; font-weight: 700; transition: background .15s, border-color .15s; }
.primary { color: var(--ink); background: var(--ochre); border: 1px solid var(--ochre); }
.primary:hover { background: #ffd167; border-color: #ffd167; }
.outline { border: 1px solid #ffffff8f; background: #073a49a6; }
.outline:hover { border-color: var(--ochre); }
.hero-caption { position: absolute; bottom: 21px; right: 0; margin: 0; display: flex; gap: 11px; align-items: center; }
.hero-caption b { color: var(--white); background: #ac2a47; padding: 4px 8px; }
.rail { background: var(--teal); color: var(--ink); }
.rail ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 13px 0; }
.rail li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--ink); transform: rotate(45deg); vertical-align: 1px; }
.section { padding: clamp(60px, 8.2vw, 125px) 0; }
.light { color-scheme: light; background: var(--paper); color: var(--ink); --line: #00687b44; }
.section-index { color: var(--muted); display: flex; align-items: center; gap: 11px; margin: 0 0 clamp(29px, 4.3vw, 66px); border-top: 1px solid var(--line); padding-top: 13px; }
.light .section-index { color: var(--teal-deep); }
.light :focus-visible { outline-color: var(--magenta); }
.section-index span { color: var(--ochre); }
.light .section-index span { color: var(--magenta); }
h2 { font-size: clamp(42px, 6.3vw, 98px); }
.heading { margin-bottom: clamp(30px, 5.3vw, 75px); }
.split { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 5vw; }
.heading p { max-width: 460px; margin: 0; font-size: clamp(16px, 1.55vw, 21px); color: #275463; }
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.formats article { padding: 25px 21px 28px; }
.formats article:first-child { padding-left: 0; }
.formats article + article { border-left: 1px solid var(--line); }
.formats article > span { color: var(--magenta); font-size: 12px; font-weight: 700; }
.formats h3 { font-size: clamp(17px, 1.65vw, 25px); letter-spacing: -.035em; line-height: 1.15; margin: 25px 0 9px; }
.formats p { color: #275463; margin: 0; font-size: 15px; }
.case { background: radial-gradient(ellipse at 76% 66%, #00677a, transparent 68%), var(--petrol); }
.case-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(24px, 5vw, 75px); align-items: center; }
.case-grid h2 { font-size: clamp(41px, 5.3vw, 81px); }
.case-grid p { color: var(--muted); max-width: 500px; }
.case-grid .case-intro { font-weight: 700; font-size: clamp(17px, 1.8vw, 24px); color: var(--white); line-height: 1.35; margin: 19px 0 12px; }
.credits { display: flex; flex-wrap: wrap; gap: 11px 34px; margin: 22px 0; padding-block: 13px; border-block: 1px solid var(--line); }
dt { color: var(--ochre); }
dd { margin: 1px 0 0; font-weight: 700; }
figure { margin: 0; }
.case figure img { width: 100%; height: auto; }
.case figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-top: 9px; color: var(--muted); }
.text-link { display: inline-flex; gap: 11px; align-items: center; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: 14px; text-decoration: none; }
.text-link:hover { color: var(--magenta); }
.case .text-link:hover { color: var(--ochre); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { display: block; position: relative; overflow: hidden; background: var(--petrol); text-decoration: none; }
.tile img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; transition: transform .25s; }
.tile:hover img { transform: scale(1.04); }
.tile > span { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 6px; color: white; background: linear-gradient(0deg, #073a49f5, transparent); padding: 32px 12px 10px; font-weight: 700; font-size: 14px; }
.tile b { color: var(--ochre); }
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-deep); }
.contact::after {
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0;
  width: min(24vw, 330px); height: min(18vw, 250px);
  background: linear-gradient(40deg, var(--lime) 24%, var(--magenta) 24% 35%, var(--teal) 35% 47%, var(--coral) 47% 57%, var(--ochre) 57%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 57%, 33% 80%, 33% 49%, 61% 68%, 61% 39%);
}
.contact-inner { text-align: center; padding: 12px 0 18px; }
.contact-inner h2 { font-size: clamp(37px, 6.45vw, 103px); text-wrap: balance; }
.contact-inner p { max-width: 610px; margin: 22px auto; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); }
.contact-inner .actions { justify-content: center; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 24px 0; color: var(--muted); }
.footer .brand img { width: 105px; }
.viewer { width: min(94vw, 1050px); max-width: none; max-height: 96vh; padding: 16px; border: 1px solid var(--line); background: var(--petrol); color: var(--white); }
.viewer::backdrop { background: #000d; }
.viewer-bar, .viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.viewer h2 { font: 700 16px/1.2 var(--body); letter-spacing: 0; }
.viewer figure { margin: 10px 0; text-align: center; }
.viewer img { display: block; width: 100%; height: min(64vh, 660px); object-fit: contain; }
.viewer figcaption { font: 600 13px var(--body); margin-top: 8px; }
.viewer-button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--white); font-size: 22px; }
.viewer-button:hover { color: var(--ochre); border-color: var(--ochre); }
@media (max-width: 900px) {
  .hero-inner { min-height: 590px; }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .formats article:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .header { min-height: 66px; }
  .header nav a:not(.nav-contact) { display: none; }
  .header .nav-contact { font-size: 12px; }
  .brand img { width: 108px; }
  .hero-inner { min-height: 530px; padding-block: 65px 84px; }
  .hero-photo img { object-position: 58% 62%; }
  .hero-photo::after { background: linear-gradient(90deg, #005c70f5, #00677dbc), linear-gradient(0deg, #073a49e3, transparent 62%); }
  h1 { font-size: clamp(35px, 10vw, 69px); }
  .hero-text { font-size: 16px; }
  .split, .case-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact::after { opacity: .55; }
}
@media (max-width: 380px) {
  .wrap { width: 90%; }
  .rail ul { column-gap: 12px; }
  .formats article { padding-right: 11px; padding-left: 11px; }
  .tile > span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.rail ul { margin-block: 0; }
.diagonal { display: inline-block; position: relative; width: 10px; height: 10px; color: inherit; }
.diagonal::before { content: ""; position: absolute; width: 6px; height: 6px; border-top: 1.5px solid; border-right: 1.5px solid; top: 1px; right: 1px; }
.diagonal::after { content: ""; position: absolute; width: 10px; height: 1.5px; background: currentColor; transform: rotate(-45deg); top: 4.5px; right: 0; }
