:root {
  color-scheme: light;
  --navy: #0c162b;
  --ink: #131d30;
  --muted: #536077;
  --paper: #f6f7fa;
  --line: #e0e5ed;
  --orange: #ff7850;
  --max: 1240px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 1.3em; height: 1.3em; flex: none; }
button, summary { font: inherit; }
:focus-visible { outline: 2px solid #a33d13; outline-offset: 5px; }
.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 16px; top: 12px; padding: 12px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.logo-mark { display: grid; width: 40px; height: 40px; place-items: center; background: var(--navy); color: #ff8963; border-radius: 10px; }
.logo-mark svg { width: 29px; height: 29px; }
.logo-group { display: block; margin-top: 4px; font-size: 9px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; }
nav { display: flex; gap: 34px; align-items: center; color: #303b50; font-size: 14px; font-weight: 650; }
nav a:hover, nav summary:hover { color: #a33d13; }
.nav-contact { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d9dfe8; border-radius: 8px; padding: 10px 13px; }
.nav-contact svg { width: 14px; height: 14px; }
.nav-dropdown { position: relative; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.nav-dropdown summary { display: flex; align-items: center; gap: 7px; padding-block: 10px; white-space: nowrap; }
.nav-dropdown summary svg { width: 13px; height: 13px; }
details[open] > summary svg { transform: rotate(180deg); }
.nav-dropdown ul { position: absolute; z-index: 3; right: 0; top: 100%; width: max-content; min-width: 215px; max-width: calc(100vw - 24px); padding: 7px; margin: 4px 0 0; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px #101b3320; list-style: none; }
.nav-dropdown li a { display: block; padding: 10px 12px; border-radius: 6px; }
.nav-dropdown li a:hover, .nav-dropdown li a[aria-current] { background: var(--paper); }

.hero { min-height: 534px; background: #111c36; color: white; position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #091328 2%, #091328f4 17%, #0a1329b0 44%, #0a13292c 77%), linear-gradient(0deg,#101a30a0, transparent 45%), url("harbour.webp") center 54% / cover no-repeat; }
.hero-inner { padding-block: 64px 70px; }
.eyebrow { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .2em; line-height: 1.5; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; color: #e0e8f6; margin: 0 0 21px; }
.hero-eyebrow span { width: 19px; height: 2px; background: var(--orange); }
.hero h1, .division-hero h1 { margin: 0; font-size: clamp(58px, 7.05vw, 104px); line-height: .94; letter-spacing: -.075em; font-weight: 790; }
.hero-period { color: var(--orange); }
.hero-intro { max-width: 475px; margin: 25px 0 27px; font-size: 17px; line-height: 1.6; color: #e0e6f0; }
.button { display: inline-flex; gap: 16px; align-items: center; justify-content: center; border-radius: 8px; min-height: 47px; padding: 11px 16px; font-size: 14px; font-weight: 750; transition: background-color .15s ease, transform .15s ease; }
.button:hover { transform: translateY(-2px); }
.button-orange { background: var(--orange); color: #181d28; }
.button-orange:hover { background: #ff946f; }
.hero .button:focus-visible, .contact-panel a:focus-visible { outline-color: white; }

.brands { padding-block: 56px 64px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 25px; flex-wrap: wrap; }
h2 { margin: 0; font-size: clamp(30px, 3vw, 43px); letter-spacing: -.055em; line-height: 1.08; }
.section-header p, .contact-panel p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.blue { --icon-bg: #e8f0ff; --accent: #204da3; }
.purple { --icon-bg: #f0eaff; --accent: #643ba0; }
.orange { --icon-bg: #ffede1; --accent: #a34216; }
.pink { --icon-bg: #fae8f0; --accent: #a12d61; }
.green { --icon-bg: #e4f4eb; --accent: #246648; }
.teal { --icon-bg: #e1f4f5; --accent: #176472; }
.brand-card { position: relative; display: flex; flex-direction: column; gap: 20px; min-height: 183px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 20px 21px 23px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.brand-card:hover { transform: translateY(-4px); border-color: #a7b3c5; box-shadow: 0 12px 30px #23334e13; }
.card-top { display: flex; align-items: center; gap: 10px; }
.service-icon { display: grid; width: 42px; height: 42px; place-items: center; background: var(--icon-bg); color: var(--accent); border-radius: 9px; }
.service-icon svg { width: 23px; height: 23px; }
.card-category { color: var(--accent); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; }
.card-copy { padding-right: 22px; }
.card-copy h3 { margin: 0 0 7px; font-size: clamp(18px, 1.75vw, 24px); font-weight: 750; letter-spacing: -.04em; line-height: 1.15; }
.card-copy p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.card-arrow { position: absolute; top: 24px; right: 20px; display: grid; width: 31px; height: 31px; place-items: center; color: #57657a; border: 1px solid var(--line); border-radius: 50%; }
.card-arrow svg { width: 15px; height: 15px; }
.brand-card:hover .card-arrow { background: var(--icon-bg); color: var(--accent); border-color: transparent; }

.contact-section { padding-bottom: 64px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 15px; color: white; background: var(--navy); padding: 32px 36px; }
.contact-panel h2 { font-size: 32px; }
.contact-panel p { color: #c4cede; margin-top: 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.button-light { color: white; border: 1px solid #748199; }
.button-light:hover { background: #23334e; }
.site-footer { border-top: 1px solid var(--line); background: white; color: #536077; font-size: 13px; }
.footer-inner { display: flex; min-height: 92px; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer .wordmark { color: var(--ink); font-size: 17px; }
.site-footer .logo-mark { width: 34px; height: 34px; }
.site-footer a:last-child { display: inline-flex; align-items: center; gap: 8px; }

.division-hero { background: linear-gradient(110deg, #fff 5%, var(--icon-bg) 100%); border-bottom: 1px solid var(--line); }
.division-inner { position: relative; isolation: isolate; overflow: hidden; padding-block: 31px 64px; }
.back-link { display: inline-flex; gap: 7px; align-items: center; font-size: 14px; font-weight: 680; color: var(--accent); }
.division-category { color: var(--accent); margin: 51px 0 17px; }
.division-hero h1 { font-size: clamp(47px, 6.5vw, 89px); max-width: 920px; line-height: 1; }
.division-inner > p:last-of-type { max-width: 540px; margin: 19px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.division-icon { position: absolute; z-index: -1; top: 54%; right: 2%; transform: translateY(-50%) rotate(-9deg); color: var(--accent); opacity: .11; font-size: clamp(120px, 19vw, 240px); }
.division-body { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 35px; min-height: 360px; padding-block: 55px 75px; }
.division-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.button-outline { background: white; border: 1px solid #bcc6d5; color: var(--ink); }
.button-outline:hover { background: #e9eef5; }
.service-list { display: grid; gap: 10px; align-content: start; }
.service-item { background: white; border: 1px solid var(--line); border-radius: 10px; }
.service-item summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; font-size: 16px; font-weight: 700; }
.service-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; gap: 10px; }
  .wordmark { font-size: 17px; gap: 7px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 8px; }
  .logo-mark svg { width: 24px; height: 24px; }
  .logo-group { font-size: 8px; }
  nav { gap: 10px; font-size: 12px; }
  .nav-home { display: none; }
  .nav-contact { gap: 4px; padding: 8px; }
  .nav-contact svg { width: 11px; height: 11px; }
  .nav-dropdown ul { right: -42px; }
  .hero { min-height: 475px; }
  .hero::before { background: linear-gradient(90deg,#091328f5,#09132870 100%), linear-gradient(0deg,#101a30ba,transparent 70%), url("harbour.webp") 61% 50% / cover no-repeat; }
  .hero-inner { padding-block: 57px; }
  .hero h1 { font-size: clamp(49px, 12vw, 68px); }
  .hero-intro { font-size: 16px; max-width: 370px; margin: 20px 0 23px; }
  .brands { padding-block: 38px 45px; }
  .section-header { margin-bottom: 19px; }
  .brand-grid { grid-template-columns: 1fr; gap: 10px; }
  .brand-card { min-height: 145px; gap: 12px; padding: 16px; }
  .card-arrow { top: 17px; right: 16px; }
  .card-copy { padding-right: 12px; }
  .contact-section { padding-bottom: 45px; }
  .contact-panel { padding: 22px; gap: 16px; }
  .contact-actions { gap: 8px; }
  .contact-actions .button { font-size: 13px; gap: 7px; padding-inline: 10px; }
  .footer-inner { flex-wrap: wrap; padding-block: 17px; }
  .footer-inner > span { order: 3; flex-basis: 100%; }
  .division-inner { padding-bottom: 42px; }
  .division-category { margin-top: 33px; }
  .division-inner > p:last-of-type { font-size: 16px; }
  .division-icon { right: 4%; }
  .division-body { grid-template-columns: 1fr; gap: 22px; padding-block: 37px 45px; }
  .division-actions { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
