:root {
  --ink: #142237;
  --deep: #101c2e;
  --blue: #334459;
  --blue-light: #455d7a;
  --gold: #e8a20c;
  --paper: #f7f6f2;
  --white: #fffdf7;
  --muted: #4b5767;
  --line: #d9dce1;
  --display: 'Barlow Condensed', 'Arial Narrow', 'DM Sans', sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--body); }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; inset: 12px auto auto 12px; transform: translateY(-180%); background: var(--gold); color: var(--deep); padding: 12px 16px; }
.skip:focus { transform: translateY(0); }

.header { position: sticky; top: 0; z-index: 2; background: var(--blue-light); color: var(--white); border-bottom: 1px solid #ffffff24; }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: block; width: fit-content; }
.brand img { width: 50px; height: auto; }
.nav { display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; }
.nav a, .header-cta { font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav a { color: #edf0f4; padding-block: 10px; }
.nav a:hover { color: #ffd16b; }
.header-cta { justify-self: end; color: #ffd16b; border: 1px solid #ffd16b8c; padding: 9px 13px; }
.header-cta span { margin-left: 7px; }
.header-cta:hover { background: var(--gold); color: var(--deep); }

.hero { position: relative; isolation: isolate; background: var(--blue); color: var(--white); }
.hero-image, .hero-shade { position: absolute; z-index: -1; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-shade {
  background: linear-gradient(90deg, #101c2efc 0%, #101c2ee9 21%, #101c2ebc 43%, #101c2e4d 77%, #101c2e30 100%),
    linear-gradient(0deg, #101c2eeb, transparent 38%);
}
.hero-inner { display: grid; grid-template-rows: 1fr auto; min-height: clamp(565px, 75svh, 780px); }
.hero-content { align-self: center; padding-block: 75px 56px; }
.eyebrow { font-size: .74rem; line-height: 1.45; font-weight: 700; text-transform: uppercase; letter-spacing: .105em; }
.hero-label { display: flex; align-items: center; gap: 10px; color: #f1e3c4; }
.hero-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
h1, h2 { font-family: var(--display); line-height: .97; }
h1 { margin-top: 19px; font-size: clamp(4.25rem, 8.2vw, 8.3rem); letter-spacing: -.023em; text-transform: uppercase; }
h1 em { display: block; font-style: normal; color: #ffd16b; }
.hero-description { margin-top: 25px; max-width: 500px; color: #f2f2ed; font-size: clamp(1.04rem, 1.6vw, 1.22rem); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { min-height: 49px; padding: 11px 17px; display: inline-flex; gap: 13px; align-items: center; justify-content: center; text-decoration: none; font-size: .9rem; font-weight: 700; border: 1px solid transparent; transition: background-color 160ms ease, border-color 160ms ease; }
.button.primary { background: var(--gold); color: var(--deep); }
.button.primary:hover { background: #ffc348; }
.button.outline { border-color: #ffffff71; color: var(--white); background: #101c2e44; }
.button.outline:hover { background: #ffffff25; border-color: var(--white); }
.play-small { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.hero-foot { border-top: 1px solid #ffffff47; padding-block: 18px; display: flex; justify-content: space-between; gap: 14px; color: #f0f1f2; font-size: .79rem; }

.section { padding-block: clamp(64px, 8vw, 113px); }
.section h2 { font-size: clamp(2.8rem, 5.5vw, 5.7rem); letter-spacing: -.024em; }
.section-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 26px; align-items: end; margin-bottom: 32px; }
.section-head p, .section-intro { color: var(--muted); max-width: 420px; }
.section-head p { padding-bottom: 3px; justify-self: end; }
.case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px, 3vw, 35px); align-items: start; }
.case { background: var(--white); border: 1px solid var(--line); }
.media { display: block; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--blue); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.media::before { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(0deg, #101c2e55, transparent 44%); pointer-events: none; }
.media:hover img { transform: scale(1.04); }
.play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: clamp(49px, 6vw, 72px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--deep); box-shadow: 0 4px 28px #101c2e50; }
.play::after { content: ''; width: 0; height: 0; translate: 2px; border-block: 9px solid transparent; border-left: 14px solid currentColor; }
.media:hover .play { background: #ffc348; }
.duration { position: absolute; z-index: 1; right: 10px; bottom: 10px; background: #101c2ee8; padding: 5px 8px; color: var(--white); font-size: .72rem; font-weight: 600; }
.case-copy { padding: clamp(19px, 3vw, 32px); }
.case-copy .eyebrow { color: #45566d; }
.case-copy h3 { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; margin-top: 4px; }
.case-copy > p:last-of-type { margin-top: 12px; color: var(--muted); }
.case-details { margin-top: 21px; border-top: 1px solid var(--line); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.case-details summary, .service-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.case-details summary::after, .service-list summary::after { content: '+'; font-size: 1.35rem; line-height: 1; font-weight: 500; }
details[open] > summary::after { content: '−'; }
.case-details summary { padding-block: 13px 0; }
.case-details dl { margin-top: 15px; display: grid; gap: 10px; font-size: .93rem; }
.case-details dt { font-weight: 700; }
.case-details dd { color: var(--muted); }
.quote { margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--gold); }
.quote blockquote { font-weight: 600; }
.quote figcaption { margin-top: 6px; color: var(--muted); font-size: .78rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.portfolio-link { margin-top: 24px; }

.services { color: var(--white); background: var(--blue); }
.services-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(28px, 6vw, 90px); }
.services .section-intro { margin-top: 18px; max-width: 545px; color: #eef1f5; }
.service-list { margin-top: 25px; border-top: 1px solid #ffffff45; }
.service-list details { border-bottom: 1px solid #ffffff45; scroll-margin-top: 9px; }
.service-list summary { padding-block: 15px; font-size: clamp(1rem, 2.2vw, 1.22rem); }
.service-list summary::after, .service-list .text-link { color: #ffd16b; }
.service-list details p { max-width: 52ch; padding-bottom: 8px; color: #eef1f5; }
.service-list .text-link { margin-bottom: 16px; }
.service-photo { position: relative; }
.service-photo img { width: 100%; height: clamp(330px, 40vw, 488px); object-fit: cover; object-position: center 64%; }
.service-photo figcaption { padding-top: 10px; font-size: .77rem; color: #edf1f6; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.steps li { border-top: 1px solid #9da5af; padding: 17px 20px 0 0; }
.steps li span { display: inline-flex; align-items: center; justify-content: center; min-width: 33px; min-height: 27px; padding-inline: 4px; background: #f4deaa; color: var(--deep); font-size: .74rem; font-weight: 700; }
.steps h3 { margin-top: 12px; font-size: 1.04rem; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.continuous { margin-top: clamp(45px, 7vw, 90px); display: grid; grid-template-columns: .83fr 1.17fr; background: #e9edf1; }
.continuous img { width: 100%; height: 100%; max-height: 370px; object-fit: cover; object-position: center 43%; }
.continuous > div { padding: clamp(27px, 5vw, 64px); align-self: center; }
.continuous h3 { font-family: var(--display); font-size: clamp(2.3rem, 4vw, 4rem); line-height: .96; }
.continuous p { margin-block: 16px; color: var(--muted); max-width: 54ch; }

.contact { background: var(--blue); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 38px; align-items: center; }
.contact h2 { max-width: 720px; }
.contact p { margin-top: 18px; color: #e7eaf0; }
.contact-person { border-left: 1px solid #ffffff45; display: grid; gap: 6px; padding-left: 24px; font-style: normal; color: #e5eaf0; }
.contact-person strong { color: var(--white); font-size: 1.19rem; }
.contact-person a { width: fit-content; text-underline-offset: 3px; }
.contact-person a:first-of-type { margin-top: 7px; }
.footer { color: #e7eaf0; background: var(--blue); border-top: 1px solid #ffffff28; }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .83rem; }
.footer a:not(.brand) { text-underline-offset: 3px; }

.video-dialog { width: min(880px, calc(100% - 30px)); max-height: calc(100% - 30px); color: var(--white); background: var(--deep); padding: 15px; border: 1px solid #ffffff50; }
.video-dialog::backdrop { background: #070e1be8; }
body:has(.video-dialog[open]) { overflow: hidden; }
.video-top { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.video-top h2 { font: 700 1rem/1.35 var(--body); }
.close { width: 42px; height: 42px; border: 1px solid #ffffff65; color: var(--white); background: transparent; font: 1.7rem/1 var(--body); }
.close:hover { background: #ffffff25; }
.player { background: #050a12; aspect-ratio: 16 / 9; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-fallback { display: inline-block; margin-top: 10px; text-underline-offset: 3px; font-size: .85rem; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  h1 { font-size: clamp(3.55rem, 9.5vw, 6.3rem); }
  .section-head { grid-template-columns: 1fr .8fr; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 113px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 10px; min-height: 0; padding-top: 7px; }
  .brand img { width: 42px; }
  .header-cta { grid-column: 2; grid-row: 1; padding: 6px 9px; }
  .nav { grid-column: 1 / -1; gap: 24px; }
  .nav a { padding-block: 8px; }
  .hero-inner { min-height: clamp(510px, 77svh, 670px); }
  .hero-content { padding-block: 45px; }
  .hero-image img { object-position: 61% center; }
  .hero-shade {
    background: linear-gradient(90deg, #101c2ef0, #101c2e8c),
      linear-gradient(0deg, #101c2edb, transparent 45%);
  }
  h1 { font-size: clamp(3rem, 10.5vw, 4.5rem); }
  .hero-description { margin-top: 17px; }
  .hero-foot { padding-block: 13px; font-size: .72rem; }
  .hero-foot span:last-child { text-align: right; }
  .section-head, .case-grid, .services-grid, .contact-grid, .continuous { grid-template-columns: 1fr; }
  .section-head { gap: 12px; margin-bottom: 23px; }
  .section-head p { justify-self: start; }
  .case-grid { gap: 21px; }
  .service-photo img { height: 255px; }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 10px; }
  .steps li { padding-right: 8px; }
  .continuous img { height: 205px; }
  .contact-person { border-left: 0; border-top: 1px solid #ffffff45; padding: 19px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
.arrow-up {
  display: inline-block;
  width: .68em;
  height: .68em;
  position: relative;
  margin-inline: 1px;
  vertical-align: .03em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  flex: none;
}
.arrow-up::after {
  content: '';
  position: absolute;
  top: -.05em;
  right: -.04em;
  width: .86em;
  border-top: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}
