:root {
  --bg: #07111f;
  --bg-soft: #102136;
  --text: #f3f1ec;
  --text-muted: #b7b2aa;
  --accent: #a89d8d;
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.main-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  min-height: 78vh;
  width: 100%;
  margin: 0;
  padding: 100px max(32px, calc((100vw - var(--max-width)) / 2)) 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.76) 42%, rgba(7, 17, 31, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.08) 0%, rgba(7, 17, 31, 0.5) 100%),
    url("../images/hero-shipyard-workers-ai.png") center / cover no-repeat;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  margin: 32px 0 0;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  margin-top: 34px;
  padding: 15px 22px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: var(--accent);
  color: #18191b;
}

.ai-label {
  position: absolute;
  right: max(32px, calc((100vw - var(--max-width)) / 2));
  bottom: 24px;
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 32px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.service-grid article {
  padding: 34px 28px 40px 0;
  border-right: 1px solid var(--border);
}

.service-grid article:not(:first-child) {
  padding-left: 28px;
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 28px;
}

.service-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 12px;
}

.service-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 500;
}

.service-grid p {
  margin: 0;
  color: var(--text-muted);
  max-width: 300px;
}

.contact {
  margin-top: 80px;
  background: var(--bg-soft);
  padding: 100px max(32px, calc((100vw - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
  color: var(--text-muted);
}

.contact address strong {
  color: var(--text);
  margin-bottom: 12px;
}

.contact a {
  margin-top: 10px;
  color: var(--text);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 32px 40px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 68px 32px 100px;
}

.legal-page h1 {
  margin: 0 0 30px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.legal-page > .eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.legal-copy {
  color: var(--text-muted);
  font-size: 16px;
}

.legal-copy h2 {
  margin: 42px 0 14px;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
}

.legal-copy p {
  margin-bottom: 22px;
}

.legal-copy a {
  border-bottom: 1px solid var(--accent);
}

@media (max-width: 800px) {
  .site-header,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 640px;
    padding: 80px 22px 96px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 50px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .ai-label {
    right: 22px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .service-grid article:not(:first-child) {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 22px;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    min-height: 620px;
    background-position: 62% center;
  }

  .hero h1 {
    letter-spacing: -0.035em;
  }
}
