:root {
  --navy: #08111f;
  --navy-soft: #0d1a2d;
  --gold: #c9a44c;
  --gold-bright: #e0bb60;
  --green: #0f6b57;
  --ivory: #f4efe6;
  --white: #ffffff;
  --text: #dce4ef;
  --muted: #98a7ba;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(6, 12, 22, 0.42);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.logo-block {
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.logo-sub {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  margin-top: -4px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  color: #e5ebf3;
}

.main-nav a:hover,
.nav-cta:hover {
  color: var(--gold-bright);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--gold);
  color: var(--ivory);
  border-radius: 999px;
  transition: 0.3s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.88) 0%, rgba(5, 11, 20, 0.60) 40%, rgba(5, 11, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 14, 24, 0.28) 0%, rgba(7, 14, 24, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 80px;
  max-width: 760px;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  color: var(--gold-bright);
  margin-bottom: 16px;
  font-weight: 700;
}

.hero h1,
.section h2,
.cta-box h2 {
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.9rem, 5vw, 5.3rem);
  margin-bottom: 22px;
}

.hero-text {
  font-size: 1.12rem;
  max-width: 640px;
  color: #e8edf4;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #101010;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.10);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 16px;
}

.metric {
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.metric-number {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.92rem;
  color: var(--muted);
}

.intro-band {
  background: linear-gradient(90deg, #ba8f2d, #d4af5a);
  color: #0e1420;
  padding: 24px 0;
}

.intro-band-inner {
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
}

.section {
  padding: 95px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}

.section h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  margin-bottom: 18px;
}

.section p {
  color: #c5d0dd;
  margin-bottom: 16px;
}

.dark-section {
  background: linear-gradient(180deg, #091220 0%, #0d1a2d 100%);
}

.section-heading {
  margin-bottom: 36px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  min-height: 210px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 76, 0.55);
}

.card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.capability-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.capability-item span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.92rem;
}

.capability-item h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-section {
  background: radial-gradient(circle at top left, rgba(201, 164, 76, 0.18), transparent 30%), var(--navy);
}

.cta-box {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 50px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  text-align: center;
}

.cta-box p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-details p {
  margin-bottom: 10px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9eb0c5;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 26px 0;
  background: #07101b;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-copy,
.footer-right {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .hero-metrics,
  .cards-grid,
  .contact-grid,
  .two-column,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .hero-content {
    padding-top: 160px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .cta-box {
    padding: 30px 22px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Gravity brand refresh: review branch */
.logo-block {display:block;flex:0 0 auto;width:222px;line-height:0}
.brand-image {display:block;width:100%;height:auto}
.footer-brand-image {display:block;width:min(260px,100%);height:auto;margin-bottom:10px}
.hero-media {position:absolute;inset:0;background:#10273e url("assets/harbour-dusk.svg") center center / cover no-repeat;transform:scale(1.015)}
.hero-overlay {background:linear-gradient(90deg,rgba(4,11,22,.91) 0%,rgba(5,13,25,.76) 36%,rgba(5,13,25,.40) 75%,rgba(5,13,25,.28) 100%),linear-gradient(180deg,rgba(5,12,23,.28),rgba(5,12,23,.67))}
.contact-details a {color:#e0bb60;text-decoration:underline;text-underline-offset:4px}
.contact-details a:hover {color:#fff}
.enquiry-panel {padding:36px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,rgba(201,164,76,.12),rgba(255,255,255,.035));align-self:start}
.enquiry-panel h3 {font-family:'Playfair Display',serif;font-size:clamp(1.6rem,2.7vw,2.4rem);line-height:1.2;color:#fff;margin-bottom:18px}
.enquiry-panel .btn {margin:14px 0 10px}
.enquiry-panel .enquiry-note {font-size:.83rem;color:#acbbca;margin-top:8px}
a:focus-visible,.btn:focus-visible {outline:3px solid #e0bb60;outline-offset:4px}
#about,#divisions,#capabilities,#contact {scroll-margin-top:100px}
@media (max-width:1024px) {.main-nav {display:flex;gap:15px;flex-wrap:wrap;justify-content:center;font-size:.9rem}.nav-cta{display:none}.logo-block{width:190px}}
@media (max-width:640px) {.logo-block{width:173px}.main-nav{width:100%;justify-content:space-between;gap:8px;font-size:.8rem}.nav-wrap{min-height:110px;gap:11px}.hero-content{padding-top:175px}.hero h1{font-size:clamp(2.3rem,10vw,3.4rem)}.hero-metrics{grid-template-columns:1fr;gap:9px}.metric{padding:13px 17px}.enquiry-panel{padding:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card:hover,.btn-primary:hover{transform:none}}

/* Editorial hero refinement — more visible maritime scene and cleaner typography */
.hero {min-height: min(900px,100svh);isolation:isolate}
.hero-media {background-position: center 55%;filter:brightness(1.22) saturate(1.08)}
.hero-overlay {background:linear-gradient(90deg,rgba(4,11,22,.89) 0%,rgba(5,13,25,.72) 35%,rgba(5,13,25,.25) 76%,rgba(5,13,25,.12) 100%),linear-gradient(180deg,rgba(5,12,23,.06),rgba(5,12,23,.54))}
.hero-content {width:min(1180px,92%);max-width:none;padding-top:156px;padding-bottom:102px}
.hero-content .eyebrow,.hero h1,.hero-text,.hero-buttons {max-width:750px}
.hero h1 {font-size:clamp(2.8rem,4.3vw,4.65rem);letter-spacing:-.022em;line-height:1.08;max-width:770px}
.hero-text {font-size:clamp(1rem,1.2vw,1.09rem);line-height:1.75;max-width:670px}
.hero-buttons {margin-bottom:0}
.hero-buttons .btn {min-height:50px}
.intro-band {padding:20px 0}
@media(max-width:1024px){.hero {min-height:760px}.hero-media{background-position:65% center}.hero h1{max-width:720px}}
@media(max-width:640px){.hero{min-height:760px}.hero-content{padding-top:183px;padding-bottom:72px}.hero h1{font-size:clamp(2.65rem,10vw,3.8rem)}.hero-media{background-position:69% center}.hero-overlay{background:linear-gradient(90deg,rgba(4,11,22,.90),rgba(4,11,22,.62)),linear-gradient(0deg,rgba(4,11,22,.45),transparent)}}

/* Optional local hero video: animated media never replaces the fallback artwork. */
.hero-media {overflow:hidden}
.hero-media .hero-video {inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .8s ease}
.hero-media .hero-video.is-ready {opacity:1}
@media (prefers-reduced-motion:reduce) {.hero-media .hero-video {display:none!important}}

/* Gravity commercial enquiry form */
.trade-form[hidden],.enquiry-note[hidden]{display:none!important}
.trade-form {margin-top:24px;display:grid;gap:18px}
.form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.form-grid label {display:flex;flex-direction:column;gap:7px;color:#e4eaf3;font-size:.87rem;font-weight:600;min-width:0}
.form-grid label span {color:#e0bb60}
.form-grid .form-span {grid-column:1/-1}
.form-grid input,.form-grid select,.form-grid textarea {width:100%;padding:13px 14px;background:#0b1729;border:1px solid rgba(255,255,255,.22);border-radius:9px;color:#fff;font:400 .96rem/1.5 'Inter',sans-serif}
.form-grid textarea {resize:vertical}
.form-grid input::placeholder,.form-grid textarea::placeholder {color:#94a3b8}
.form-grid input:focus-visible,.form-grid select:focus-visible,.form-grid textarea:focus-visible {outline:2px solid #e0bb60;outline-offset:2px}
.form-consent {display:flex;gap:11px;align-items:flex-start;font-size:.8rem;color:#c7d1df;line-height:1.6}
.form-consent input {width:18px;height:18px;accent-color:#d3a44d;flex-shrink:0;margin-top:2px}
.form-status {min-height:1.5em;color:#e9c878}
.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.enquiry-email-button {margin-top:16px}
@media(max-width:680px){.form-grid{grid-template-columns:1fr}.form-grid .form-span{grid-column:auto}}

/* Privacy notice and accessible enquiry consent links */
.form-consent a,.footer-policy-link,.privacy-page a {color:var(--gold-bright);text-decoration:underline;text-underline-offset:4px}
.form-consent a:hover,.footer-policy-link:hover,.privacy-page a:hover {color:#fff}
.footer-meta {display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.footer-policy-link {font-size:.9rem}
.privacy-page {padding:170px 0 100px;background:var(--navy);min-height:70vh}
.privacy-container {max-width:850px}
.privacy-page h1,.privacy-page h2 {font-family:'Playfair Display',serif;color:var(--white);line-height:1.2}
.privacy-page h1 {font-size:clamp(2.5rem,5vw,4rem);margin-bottom:8px}
.privacy-page h2 {font-size:clamp(1.3rem,2.5vw,1.7rem);margin-bottom:12px}
.privacy-page p {color:var(--text);margin-bottom:14px}
.privacy-page .privacy-date {color:var(--muted);font-size:.87rem;margin-bottom:30px}
.privacy-page .privacy-lead {font-size:1.08rem;margin-bottom:36px}
.privacy-page section {border-top:1px solid var(--border);padding:25px 0 16px}
.privacy-page .privacy-return {margin-top:28px}
@media (max-width:640px) {
  .footer-meta {align-items:flex-start}
  .privacy-page {padding-top:175px;padding-bottom:70px}
}
