:root {
  --ivory: #f7f4ee;
  --paper: #fbfaf7;
  --navy: #102f5e;
  --deep-navy: #08264d;
  --red: #df2f3f;
  --ink: #17315b;
  --muted: #5f6f84;
  --line: #d8d3ca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 108px;
  padding: 20px clamp(28px, 6vw, 92px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ivory);
  border-bottom: 1px solid rgba(16, 47, 94, .08);
  position: relative;
  z-index: 10;
}
.brand img { width: 224px; height: auto; display: block; }
nav { display: flex; gap: clamp(24px, 4vw, 62px); }
nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 0;
  position: relative;
}
.language-toggle {
  border: 1px solid rgba(16, 47, 94, .35);
  background: transparent;
  color: var(--navy);
  min-width: 54px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: .2s ease;
}
.language-toggle:hover { background: var(--navy); color: white; }
nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--red);
  transition: right .25s ease;
}
nav a:hover::after { right: 0; }

.hero { min-height: calc(100vh - 108px); display: grid; grid-template-columns: 49% 51%; overflow: hidden; }
.hero-copy { padding: clamp(72px, 10vh, 120px) 7vw 76px 6vw; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.eyebrow span { color: var(--red); margin: 0 8px; }
.red-rule { width: 40px; height: 3px; margin: 18px 0 34px; background: var(--red); }
h1 { margin: 0; font-size: clamp(58px, 6.2vw, 96px); line-height: 1.02; letter-spacing: -.055em; font-weight: 400; color: var(--navy); }
.hero-intro { max-width: 580px; margin: 28px 0 38px; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.55; color: #425673; }
.primary-link { width: fit-content; border: 1px solid var(--navy); padding: 18px 22px 18px 24px; min-width: 265px; display: flex; justify-content: space-between; font-size: 16px; transition: .25s ease; }
.primary-link span { color: var(--red); font-size: 22px; line-height: 16px; }
.primary-link:hover { background: var(--navy); color: white; transform: translateY(-2px); }
.hero-visual {
  background: url('/assets/hero-port.png') center center / cover no-repeat;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  min-height: 680px;
}

.section-label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.about-section { padding: 120px 7vw 130px; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; margin-top: 55px; }
.about-grid h2, .markets-copy h2, .contact-section h2 { margin: 0; font-size: clamp(42px, 5vw, 74px); line-height: 1.08; letter-spacing: -.045em; font-weight: 400; color: var(--navy); }
.about-copy { border-top: 1px solid var(--line); padding-top: 28px; }
.about-copy p { margin: 0 0 22px; font-size: 18px; line-height: 1.75; color: #4e6077; }

.products-section { padding: 120px 7vw 110px; background: #ebe8e1; }
.products-intro { display: grid; grid-template-columns: .55fr 1.35fr 1fr; gap: 6vw; align-items: end; }
.products-intro h2 { margin: 0; font-size: clamp(42px, 4.7vw, 70px); line-height: 1.07; letter-spacing: -.045em; font-weight: 400; color: var(--navy); }
.products-intro > p { margin: 0; color: #53647a; font-size: 17px; line-height: 1.7; }
.product-grid { margin-top: 75px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product-grid article { background: var(--paper); padding: 26px; min-height: 310px; display: flex; flex-direction: column; }
.product-grid article:nth-child(1), .product-grid article:nth-child(2), .product-grid article:nth-child(3) { grid-column: span 2; }
.product-grid article:nth-child(4) { grid-column: 1 / span 3; }
.product-grid article:nth-child(5) { grid-column: 4 / span 3; }
.product-topline { display: flex; justify-content: space-between; color: var(--red); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.product-grid h3 { margin: 52px 0 30px; font-size: 25px; line-height: 1.2; color: var(--navy); font-weight: 500; }
.product-grid ul { margin: auto 0 0; padding: 0; list-style: none; }
.product-grid li { color: #59697d; font-size: 14px; padding: 9px 0; border-top: 1px solid #dedad2; }
.product-note { margin: 28px 0 0 auto; max-width: 690px; color: #6b7787; font-size: 12px; line-height: 1.6; text-align: right; }

.capabilities-section { background: var(--deep-navy); color: white; padding: 120px 7vw; }
.section-label.light { color: #ef5561; }
.section-heading { display: grid; grid-template-columns: .7fr 1.4fr 1fr; gap: 6vw; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 4.5vw, 68px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.section-heading > p { color: #b7c2d0; font-size: 17px; line-height: 1.65; margin: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid rgba(255,255,255,.22); }
.capability-grid article { padding: 30px 30px 20px 0; min-height: 280px; border-right: 1px solid rgba(255,255,255,.16); }
.capability-grid article + article { padding-left: 30px; }
.capability-grid article:last-child { border-right: 0; }
.capability-grid article > span { color: #ef5561; font-size: 12px; letter-spacing: .15em; }
.capability-grid h3 { font-size: 22px; margin: 62px 0 16px; font-weight: 500; }
.capability-grid p { color: #b7c2d0; line-height: 1.65; font-size: 15px; margin: 0; }

.markets-section { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; padding: 130px 7vw; background: var(--ivory); }
.markets-copy h2 { margin-top: 42px; }
.markets-copy > p { max-width: 560px; font-size: 18px; line-height: 1.75; color: #52647b; margin-top: 30px; }
.market-list { align-self: end; border-top: 1px solid var(--line); }
.market-list div { padding: 24px 0; border-bottom: 1px solid var(--line); font-size: clamp(23px, 2.3vw, 34px); display: flex; align-items: center; gap: 30px; color: var(--navy); }
.market-list span { color: var(--red); font-size: 11px; letter-spacing: .15em; }

.contact-section { padding: 120px 7vw 90px; background: white; }
.contact-eyebrow { color: var(--red); }
.contact-section h2 { margin-top: 28px; }
.email-link { display: flex; justify-content: space-between; align-items: center; margin-top: 68px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(24px, 3.4vw, 50px); color: var(--navy); }
.email-link span { color: var(--red); }
.contact-meta { margin-top: 52px; }
.contact-meta span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--red); }
.contact-meta p { color: #52647b; line-height: 1.7; }
footer { padding: 35px 7vw; background: var(--paper); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); font-size: 11px; color: #677589; }
footer img { width: 170px; }
footer p { text-align: center; }
footer > a { text-align: right; }

@media (max-width: 900px) {
  .site-header { height: auto; padding: 18px 24px; align-items: flex-start; }
  .brand img { width: 165px; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; max-width: 210px; }
  nav a { font-size: 9px; }
  .language-toggle { font-size: 10px; padding: 6px 9px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 85px 7vw 70px; }
  .hero-visual { min-height: 470px; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
  .about-grid, .markets-section { grid-template-columns: 1fr; gap: 55px; }
  .products-intro { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid article:nth-child(2) { border-right: 0; }
  .capability-grid article:nth-child(3) { padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .capability-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 560px) {
  .site-header { display: block; }
  nav { margin-top: 15px; max-width: none; justify-content: space-between; }
  h1 { font-size: 54px; }
  .hero-copy { padding-top: 70px; }
  .hero-visual { min-height: 360px; }
  .about-section, .capabilities-section, .markets-section, .contact-section { padding: 85px 7vw; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article, .capability-grid article + article { padding: 28px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.16); min-height: auto; }
  .capability-grid h3 { margin-top: 28px; }
  .contact-meta, footer { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid article:nth-child(n) { grid-column: auto; }
  .product-note { text-align: left; }
  footer { gap: 22px; }
  footer p, footer > a { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
