:root {
  --navy: #071f5d;
  --blue: #0b4aa2;
  --steel: #6f8293;
  --ink: #102033;
  --muted: #5a6673;
  --line: #d8e1ea;
  --mist: #f4f7fa;
  --white: #ffffff;
  --signal: #f1c232;
  --red: #c93832;
  --shadow: 0 22px 70px rgba(8, 25, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 225, 234, 0.86);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(180px, 20vw, 280px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: end;
  padding: clamp(72px, 11vw, 138px) clamp(20px, 5vw, 72px) clamp(58px, 8vw, 92px);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 19, 49, 0.9) 0%, rgba(4, 19, 49, 0.68) 44%, rgba(4, 19, 49, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 19, 49, 0.68), rgba(4, 19, 49, 0.1));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(780px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 10.5em;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #0a1d40;
  background: var(--signal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.intro-section,
.band,
.facilities-section,
.partners-section,
.history-section,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(830px, 100%);
  margin-bottom: 34px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-grid > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stats div {
  min-height: 150px;
  padding: 22px;
  background: var(--white);
}

.stats strong {
  display: block;
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.band {
  background: var(--mist);
}

.service-grid,
.vessel-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.vessel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.vessel-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.service-mark {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.service-card p,
.vessel-grid p,
.partners-section p,
.history-copy p,
.contact-grid p,
.address-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.facilities-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.facility-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.facility-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(12px, 3vw, 28px);
}

.facility-details article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.facility-details p,
.facility-details li,
.facility-details dd {
  color: var(--muted);
  line-height: 1.55;
}

.facility-details dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.facility-details dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.facility-details dt {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.facility-details dd {
  margin: 0;
  font-weight: 800;
}

.facility-details ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 0.3em;
  border-radius: 2px;
  background: var(--signal);
  box-shadow: inset 0 0 0 3px var(--navy);
}

.vessel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vessel-grid article {
  min-height: 190px;
}

.partners-section {
  padding: 0;
  background: var(--white);
}

.partner-hub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.partners-visual {
  display: flex;
  min-height: 930px;
  flex-direction: column;
  color: var(--white);
  background: var(--navy);
}

.partners-intro {
  padding: clamp(58px, 7vw, 96px) clamp(28px, 5vw, 72px) clamp(44px, 6vw, 72px);
}

.partners-intro .eyebrow {
  color: var(--signal);
}

.partners-intro h2 {
  max-width: 11em;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.3rem, 4.25vw, 4rem);
}

.partners-intro > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.partners-visual img {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  object-position: 54% center;
}

.partner-relations {
  display: grid;
  grid-template-rows: repeat(6, auto);
  background: var(--white);
}

.relationship-card {
  display: flex;
  min-height: 142px;
  padding: clamp(24px, 3.4vw, 46px) clamp(26px, 5vw, 72px);
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.relationship-card:last-child {
  border-bottom: 0;
}

.relationship-card .relationship-type {
  margin-bottom: 10px;
  color: #d69f00;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.relationship-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.12;
}

.relationship-card h3 span {
  color: var(--steel);
  font-weight: 400;
}

.relationship-card > p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.relationship-dealers {
  background: var(--mist);
}

.svolvaer-hub {
  margin: 0;
  padding: clamp(36px, 5vw, 58px) clamp(48px, 9vw, 132px);
  color: var(--navy);
  background: var(--mist);
  border-left: clamp(4px, 0.45vw, 7px) solid var(--signal);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.45;
}

.history-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #0a1d40;
}

.history-section h2,
.history-section h3 {
  color: var(--white);
}

.history-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.history-section img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.36fr);
  gap: 20px;
  background: var(--mist);
}

.contact-panel,
.address-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.contact-heading {
  max-width: 680px;
}

.contact-heading h2 {
  margin-bottom: 12px;
}

.contact-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.contact-primary > div {
  padding: 20px 22px;
  background: var(--navy);
}

.contact-primary span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-primary a {
  color: var(--white);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.contact-group {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--mist);
}

.contact-group > h3 {
  margin-bottom: 4px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--signal);
}

.contact-group-wide {
  grid-column: 1 / -1;
}

.foremen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}

.contact-person {
  padding: 18px 0;
}

.contact-person + .contact-person {
  border-top: 1px solid var(--line);
}

.foremen-grid .contact-person + .contact-person {
  border-top: 0;
}

.contact-role,
.contact-name {
  margin-bottom: 0;
}

.contact-grid .contact-role {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-grid .contact-name {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 6px;
}

.contact-grid a,
.address-panel a {
  display: table;
  margin: 5px 0;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.contact-grid .contact-links a {
  margin: 0;
}

.contact-grid strong {
  color: var(--navy);
}

.contact-grid p + a {
  margin-top: 5px;
}

.contact-grid a + p {
  margin-top: 14px;
}

.contact-grid a:hover,
.contact-grid a:focus-visible,
.contact-primary a:hover,
.contact-primary a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #061432;
}

.site-footer img {
  width: 180px;
  padding: 8px;
  background: var(--white);
  border-radius: 4px;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .intro-grid,
  .facilities-section,
  .partner-hub,
  .history-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .partners-visual {
    min-height: auto;
  }

  .partners-visual img {
    min-height: 420px;
    aspect-ratio: 16 / 9;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facility-details,
  .vessel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: calc(100vh - 76px);
    padding-top: 80px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(4, 19, 49, 0.92) 0%, rgba(4, 19, 49, 0.54) 100%);
  }

  .stats,
  .service-grid,
  .facility-details,
  .vessel-grid,
  .contact-grid,
  .contact-primary,
  .foremen-grid {
    grid-template-columns: 1fr;
  }

  .partners-intro {
    padding: 58px 20px 44px;
  }

  .partners-intro h2 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .partners-visual img {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .relationship-card {
    min-height: auto;
    padding: 30px 20px;
  }

  .relationship-card h3 {
    font-size: 1.65rem;
  }

  .relationship-dealers h3 span {
    display: none;
  }

  .relationship-dealers h3 {
    display: grid;
    gap: 6px;
  }

  .svolvaer-hub {
    padding: 34px 20px 34px 28px;
    font-size: 1.12rem;
  }

  .contact-group-wide {
    grid-column: auto;
  }

  .foremen-grid .contact-person + .contact-person {
    border-top: 1px solid var(--line);
  }

  .stats div,
  .service-card,
  .vessel-grid article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 164px;
  }

  h1 {
    font-size: 2.36rem;
  }

  .button {
    width: 100%;
  }
}
