/* ==========================================================
   PT. Cipta Piramida Mandiri — Shipyard
   Palette taken from the company profile:
   steel blue #4B8ABE · light blue #8CC2E6 · signal red #F90E08
   ========================================================== */

:root {
  --blue: #4B8ABE;
  --blue-light: #8CC2E6;
  --blue-tint: #F2F6FA;
  --red: #F90E08;
  --red-deep: #D50C07;
  --navy: #0E2438;
  --navy-2: #16324B;
  --ink: #15202B;
  --text: #3B4754;
  --muted: #6B7785;
  --line: #DDE4EB;
  --white: #FFFFFF;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 7vw, 104px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 22ch; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

p, blockquote, .vm li { text-align: left; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }


/* ---------- Eyebrow label with red tick ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-size: .875rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.eyebrow-light { color: var(--blue-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #3C77A8; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; color: var(--blue);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: transparent;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; background: var(--white); border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 0.95rem; color: var(--white); transition: color .3s; }
.is-solid .brand-name { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a, .brand-name { white-space: nowrap; }
.site-nav a {
  position: relative;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,.88);
  transition: color .2s;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red);
  transition: width .25s;
}
.site-nav a:not(.nav-cta):hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a:hover { color: var(--white); }
.is-solid .site-nav a { color: var(--text); }
.is-solid .site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  padding: 10px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; color: var(--white);
}
.site-nav .nav-cta:hover { background: rgba(255,255,255,.1); }
.is-solid .site-nav .nav-cta { background: var(--blue); border-color: var(--blue); color: var(--white); }
.is-solid .site-nav .nav-cta:hover { background: #3C77A8; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); transition: transform .25s, opacity .25s, background-color .3s; }
.is-solid .nav-toggle span { background: var(--ink); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--navy); overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,36,56,.55) 0%, rgba(14,36,56,.35) 40%, rgba(14,36,56,.92) 100%),
    url("../img/hero-ship.jpg") center 55% / cover no-repeat;
}
.hero-content { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: 72px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 28px;
}
.hero-lead { max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 300; color: rgba(255,255,255,.85); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-services { position: relative; border-top: 1px solid rgba(255,255,255,.15); }
.hero-services::before { content: ""; position: absolute; top: -1px; left: 0; width: min(38%, 420px); height: 3px; background: var(--red); }
.hero-services ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero-services li { font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.75); }

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--blue-tint); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- About ---------- */
.about-band { position: relative; background: var(--navy); color: rgba(255,255,255,.82); overflow: hidden; }
.about-media { position: absolute; inset: 0; background: url("../img/yard-overview.jpg") 20% center / cover no-repeat; }
.about-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,36,56,0) 0%, rgba(14,36,56,.15) 25%, rgba(14,36,56,.85) 50%, var(--navy) 66%);
}
.about-inner { position: relative; display: flex; justify-content: flex-end; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.about-content { width: min(540px, 100%); }
.about-content h2 { color: var(--white); margin-bottom: 24px; }
.list-title { font-size: 0.75rem; letter-spacing: 0; text-transform: none; font-weight: 600; margin: 32px 0 12px; color: var(--blue-light); }
.tag-list { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 7px 14px; border: 1px solid rgba(255,255,255,.25); font-size: 0.85rem; color: var(--white); }
.btn-icon { gap: 10px; }
.btn-icon .icon { width: 18px; height: 18px; }
.btn small { font-weight: 400; opacity: .75; margin-left: 2px; }
.about-legal { padding-top: clamp(56px, 7vw, 88px); padding-bottom: var(--section-y); }
.legal-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 28px; }
.legal-head .eyebrow { margin: 0; }
.legal-head h3 { font-size: 1.35rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.service-img { overflow: hidden; }
.service-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.service:hover .service-img img { transform: scale(1.04); }
.service-no { display: block; padding: 28px 28px 0; font-family: var(--font); font-size: 0.8rem; color: var(--red); }
.service h3 { padding: 8px 28px 12px; font-size: 1.25rem; }
.service p { padding: 0 28px 32px; margin: 0; font-size: 0.95rem; }

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 7vw, 96px); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.why-item { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.why-icon { display: block; width: 24px; height: 24px; padding: 11px; margin-bottom: 18px; background: var(--blue-tint); color: var(--blue); box-sizing: content-box; }
.why-item h3 { margin-bottom: 10px; }
.why-item p { margin: 0; font-size: 0.95rem; }

/* ---------- Vision / Mission (dark) ---------- */
.section-dark { background: var(--navy); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); }
.vm blockquote {
  margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 300; line-height: 1.5; color: var(--white);
}
.vm ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.vm li { counter-increment: m; position: relative; padding: 0 0 18px 36px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.vm li:last-child { margin-bottom: 0; border-bottom: 0; }
.vm li::before { content: "0" counter(m); position: absolute; left: 0; top: 0; font-family: var(--font); font-weight: 500; font-size: .9rem; color: var(--blue-light); }

/* ---------- The Gold Standard ---------- */
.gold-section { background: linear-gradient(135deg, var(--blue) 0%, #2C6496 100%); color: rgba(255,255,255,.9); }
.gold-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); }
.gold-section .eyebrow { color: var(--white); justify-content: center; }
.gold-head h2 { color: var(--white); max-width: none; font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.gold-head p { text-align: center; margin: 0 auto; max-width: 48ch; }
.gold-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gold-card {
  position: relative; background: var(--white); color: var(--text);
  padding: 36px 28px 32px; border-top: 4px solid var(--red);
  box-shadow: 0 24px 48px -28px rgba(8,20,32,.6); transition: transform .25s ease;
}
.gold-card:hover { transform: translateY(-4px); }
.gold-no { position: absolute; top: 22px; right: 24px; font-family: var(--font); font-size: 0.8rem; color: var(--muted); }
.gold-icon { display: block; width: 40px; height: 40px; color: var(--blue); margin-bottom: 22px; }
.gold-card h3 { color: var(--ink); font-size: 1.15rem; margin-bottom: 10px; }
.gold-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Facilities ---------- */
.facility { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.facility img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.facility-rev > img, .facility-rev > .facility-media-grid { order: 2; }
.facility-top { align-items: start; }
.facility-top > img { position: sticky; top: calc(var(--header-h) + 24px); }
.facility-text .spec-table { margin-top: 8px; }
.spec-note { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.facility-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facility .facility-media-grid img { aspect-ratio: 4 / 3; }
.facility .facility-media-grid img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.location {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line);
}
.location-text h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 16px; padding-top: 16px; border-top: 2px solid var(--red); display: inline-block; }
.location-text address { font-style: normal; color: var(--ink); line-height: 1.8; margin-bottom: 20px; }
.map { position: relative; aspect-ratio: 16 / 10; background: var(--line); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-tall { aspect-ratio: auto; min-height: 440px; }
.facility-text h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 16px; padding-top: 16px; border-top: 2px solid var(--red); display: inline-block; }
.facility-text p { max-width: 48ch; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.spec-card { border: 1px solid var(--line); background: var(--white); }
.spec-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.spec-body { padding: 32px; }
.spec-body h3 { font-size: 1.25rem; margin-bottom: 12px; }
.spec-body > p { font-size: 0.95rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.875rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 46%; padding-right: 16px; }
.spec-table td { color: var(--ink); font-family: var(--font); font-size: 0.82rem; }

/* ---------- Gallery ---------- */
.section-head > p:not(.eyebrow) { margin: 16px 0 0; max-width: 60ch; }
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.gallery-filter button {
  position: relative; padding: 0 0 14px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color .2s;
}
.gallery-filter button::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.gallery-filter button:hover { color: var(--ink); }
.gallery-filter button.is-active { color: var(--ink); }
.gallery-filter button.is-active::after { width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; grid-auto-flow: dense; gap: 12px; }
.gallery a { position: relative; overflow: hidden; background: var(--navy-2); }
.gallery a.g-big { grid-column: span 2; grid-row: span 2; }
.gallery a.g-big.g-right { grid-column: 2 / span 2; }
.gallery a.is-hidden { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery a:hover img { transform: scale(1.04); }
.g-cap {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 16px;
  background: linear-gradient(transparent, rgba(8,20,32,.88));
  color: var(--white); font-size: 0.875rem; font-weight: 500; line-height: 1.4;
}
.g-big .g-cap { font-size: 1.05rem; padding: 64px 28px 24px; }
.gallery-section .section-head > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.gallery-section .gallery-filter { border-bottom-color: rgba(255,255,255,.15); }
.gallery-section .gallery-filter button { color: rgba(255,255,255,.6); }
.gallery-section .gallery-filter button:hover, .gallery-section .gallery-filter button.is-active { color: var(--white); }
.gallery-section .btn-outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.gallery-section .btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.gallery-more { margin-top: 32px; text-align: center; }
.gallery-more[hidden] { display: none; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: none; cursor: pointer; font-family: inherit; }
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.legal-item { padding: 32px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.legal-item:first-child { border-left: 0; }
.legal-label { min-height: 2.9em; font-size: 0.75rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; }
.legal-value { font-size: 1.15rem; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 96px); align-items: stretch; }
.contact-head h2 { margin-bottom: 16px; }
.contact-list { list-style: none; margin: 32px 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 22px; height: 22px; padding: 11px; flex: none; background: var(--white); border: 1px solid var(--line); color: var(--blue); box-sizing: content-box; }
.contact-label { display: block; margin-bottom: 4px; font-size: 0.72rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--blue); }
.contact-list address { font-style: normal; color: var(--ink); }
.contact-list a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px;
  background: #25D366; color: var(--white); border-radius: 28px;
  font-size: 0.9rem; font-weight: 600; box-shadow: 0 12px 28px -10px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(0,0,0,.45); }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); font-size: 0.875rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 40px; height: 40px; background: var(--white); border-radius: 50%; }
.footer-brand strong { display: block; color: var(--white); font-weight: 600; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.8rem; color: rgba(255,255,255,.5); }

/* ==========================================================
   Lightbox
   ========================================================== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,20,32,.95); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 72px 32px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100% - 48px); object-fit: contain; }
.lightbox-cap { color: rgba(255,255,255,.85); font-size: 0.9rem; text-align: center; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 1.25rem; cursor: pointer; }
.lightbox-nav:hover { border-color: var(--white); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; background: none; border: 0; color: var(--white); font-size: 2rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .site-nav { gap: 22px; }
}

@media (max-width: 1080px) {
  .legal-grid { grid-template-columns: repeat(3, 1fr); }
  .legal-item:nth-child(4) { border-left: 0; }
  .legal-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .gold-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; background: var(--blue); border-color: var(--blue); color: var(--white) !important; }
  .nav-open .site-header { background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .nav-open .brand-name { color: var(--ink); }
  .nav-open .nav-toggle span { background: var(--ink); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-services ul { grid-template-columns: repeat(2, 1fr); }


  .why, .vm, .contact, .location { grid-template-columns: 1fr; }
  .about-media { position: relative; height: 300px; background-position: center; }
  .about-media::after { background: linear-gradient(180deg, rgba(14,36,56,0) 45%, var(--navy) 100%); }
  .about-inner { padding-top: 8px; }
  .about-content { width: 100%; }
  .map-tall { min-height: 360px; }
  .services { grid-template-columns: 1fr; max-width: 560px; }
  .facility { grid-template-columns: 1fr; }
  .facility-rev > img, .facility-rev > .facility-media-grid { order: 0; }
  .specs { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery a.g-big.g-right { grid-column: 1 / span 2; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-item { border-left: 0 !important; border-top: 1px solid var(--line); }
  .legal-item:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .legal-item:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(even) { padding: 24px 0; border-left: 0; }
  .gold-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 10px; }
  .gallery a.g-big, .gallery a.g-big.g-right { grid-column: auto; grid-row: auto; }
  .g-big .g-cap { font-size: 0.875rem; padding: 48px 20px 16px; }
  .gold-card { padding: 28px 24px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .wa-label { display: none; }
  .btn-icon small { display: none; }
  .gallery-filter { gap: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gallery-filter button { white-space: nowrap; flex: none; }
  .lightbox { padding: 64px 12px 24px; }
  .lightbox-nav { top: auto; bottom: 16px; transform: none; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-item:nth-child(even) { border-left: 0 !important; }
  .legal-item:nth-child(2) { border-top: 1px solid var(--line); }
  .spec-body { padding: 24px 20px; }
  .spec-table th { width: 50%; }
  .hero-actions .btn { flex: 1; padding: 0 16px; white-space: nowrap; }
}

/* ---------- Refined editorial layout ---------- */
:root { --blue: #286a9c; --blue-tint: #f3f6f8; --muted: #596b7b; }
:focus-visible { outline: 3px solid #e76538; outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 120; padding: 12px 20px; background: white; color: var(--navy); }
.skip-link:focus { top: 12px; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -.035em; }
.btn { border-radius: 5px; min-height: 52px; height: auto; padding-block: 12px; gap: 22px; letter-spacing: 0; }
.btn-primary { background: var(--blue); }
.brand-sub { color: #aabcca; font-family: var(--font); font-size: 11px; letter-spacing: 0; margin-top: 5px; }
.is-solid .brand-sub, .nav-open .brand-sub { color: var(--muted); }
.site-nav { gap: 26px; }
.site-nav .nav-cta { border-radius: 5px; }
.about { padding-top: var(--section-y); }
.about-band { background: white; color: var(--text); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; overflow: visible; }
.about-media { position: relative; inset: auto; background: none; min-width: 0; align-self: stretch; }
.about-media::after { display: none; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; min-height: 440px; }
.about-caption { position: absolute; inset: auto 20px 20px; background: var(--navy); color: white; font-size: .8rem; padding: 16px 20px; border-left: 3px solid #e76538; }
.about-inner { padding: 16px 0; display: block; }
.about-content { width: 100%; }
.about-content h2 { color: var(--navy); }
.about-content > p:not(.eyebrow) { font-size: .95rem; }
.list-title { color: var(--muted); margin-top: 24px; }
.tag-list { gap: 7px; margin-bottom: 24px; }
.tag-list li { border: 1px solid var(--line); background: var(--blue-tint); color: var(--text); font-size: .73rem; padding: 5px 9px; border-radius: 3px; }
.about-legal { padding-block: 56px 64px; }
.legal-head h3 { font-size: 1rem; font-weight: 400; color: var(--muted); }
.legal-grid { border-radius: 6px; background: #f8fafb; overflow: hidden; }
.legal-item { padding: 22px; gap: 8px; }
.legal-label { font-size: .63rem; letter-spacing: 0; }
.legal-value { font-size: 1rem; }
.section-head { margin-bottom: 40px; }
.services { gap: 24px; }
.service { border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px -16px #28455a; }
.service-img { margin: 10px 10px 0; border-radius: 4px; }
.service-img img { aspect-ratio: 16/10; }
.service-no { color: var(--blue); padding-top: 23px; }
.service h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.service p { font-size: .9rem; line-height: 1.8; }
.why { gap: 64px; }
.why-icon { border-radius: 8px; }
.vm { gap: 72px; }
.vm blockquote { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.6; }
.gold-section { background: #f3f6f8; color: var(--text); }
.gold-head { text-align: left; max-width: none; margin-bottom: 36px; }
.gold-head .eyebrow { color: var(--blue); justify-content: flex-start; margin-bottom: 18px; }
.gold-head h2 { color: var(--navy); font-size: clamp(2rem,3.5vw,3rem); }
.gold-head p { text-align: left; margin-left: 0; }
.gold-card { border: 1px solid var(--line); border-top: 2px solid #8cabc2; border-radius: 6px; box-shadow: none; padding: 28px 24px; }
.gold-icon { width: 32px; height: 32px; }
.facility-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; margin-bottom: 32px; }
.facility { display: flex; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 0; }
.facility > img, .facility > .facility-media-grid { order: 0; position: static; height: 280px; aspect-ratio: auto; }
.facility-text { padding: 28px; }
.facility-text h3 { padding: 0; border: 0; font-size: 1.3rem; }
.facility-text p { max-width: none; font-size: .95rem; margin-bottom: 0; }
.facility-media-grid { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.facility .facility-media-grid img { height: 100%; min-height: 0; aspect-ratio: auto; }
.facility .facility-media-grid img:first-child { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
.spec-card { border-radius: 8px; overflow: hidden; }
.spec-card > img { height: 250px; aspect-ratio: auto; }
.spec-body { padding: 28px; }
.spec-details { border-top: 1px solid var(--line); margin-top: 24px; }
.spec-details summary { color: var(--blue); cursor: pointer; font-size: .85rem; font-weight: 600; padding: 17px 2px 0; }
.spec-details[open] summary { padding-bottom: 12px; }
.gallery { grid-auto-rows: 210px; gap: 16px; }
.gallery a { border-radius: 5px; }
.gallery-filter button { min-height: 44px; }
.contact { gap: 64px; }
.contact-cta { margin-top: 12px; }
.contact-icon { border-radius: 8px; }
.map { border-radius: 8px; overflow: hidden; }
.wa-float { background: #176e48; }
.footer-bottom { padding-bottom: 88px; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .brand-name { font-size: .85rem; }
  .about-band { gap: 40px; }
}
@media (max-width: 900px) {
  .about-band { grid-template-columns: 1fr; }
  .about-media { height: 340px; }
  .about-media img { min-height: 0; }
  .about-inner { padding: 0; }
  .services { grid-template-columns: repeat(3,1fr); max-width: none; gap: 14px; }
  .service h3 { font-size: 1.05rem; }
  .service-no, .service h3, .service p { padding-left: 18px; padding-right: 18px; }
  .facility-grid { gap: 20px; }
  .facility > img, .facility > .facility-media-grid { height: 220px; }
  .facility-text { padding: 22px; }
  .specs { grid-template-columns: 1fr 1fr; gap: 20px; }
  .spec-body { padding: 22px; }
  .spec-card > img { height: 200px; }
}
@media (max-width: 680px) {
  .about-band { gap: 30px; }
  .about-media { height: 300px; }
  .services, .facility-grid, .specs { grid-template-columns: 1fr; gap: 24px; }
  .service-img img { aspect-ratio: 16/9; }
  .service-no, .service h3, .service p { padding-left: 24px; padding-right: 24px; }
  .service h3 { font-size: 1.25rem; }
  .facility > img, .facility > .facility-media-grid { height: 240px; }
  .gold-grid { gap: 16px; }
  .gallery { grid-auto-rows: 230px; }
  .brand-name { white-space: normal; font-size: .78rem; }
  .brand-sub { font-size: 10px; }
  .brand { gap: 9px; min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  .header-inner { gap: 10px; }
  .nav-toggle { flex: none; }
  .site-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .contact { gap: 32px; }
  .btn-icon { padding-inline: 18px; font-size: .8rem; }
  .legal-item { padding: 16px 20px; }
  .legal-label { min-height: auto; }
  .legal-head { gap: 14px; }
  .spec-table { table-layout: fixed; }
  .spec-table td { overflow-wrap: anywhere; }
}

/* Preserve the original full-photo hero composition. */
.hero .container, .header-inner { max-width: 1200px; }
.hero .btn { border-radius: 2px; height: 50px; min-height: 50px; padding-block: 0; letter-spacing: 0; }
.hero .btn-primary { background: #4B8ABE; }
.hero .btn-primary:hover { background: #3C77A8; }

/* Legal identity: feature the NIB, with supporting records alongside it. */
.about-legal { padding-block: 72px 80px; }
.legal-head { display: block; margin-bottom: 28px; }
.legal-head .eyebrow { margin-bottom: 16px; }
.legal-head h3 { color: var(--navy); font-size: clamp(1.7rem, 2.7vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; }
.legal-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; border: 0; background: transparent; overflow: visible; }
.legal-grid .legal-item { border: 1px solid var(--line) !important; border-radius: 6px; background: #f6f8fa; padding: 26px; gap: 12px; justify-content: center; }
.legal-label { min-height: 0; font-size: .8rem; line-height: 1.5; letter-spacing: 0; }
.legal-value { font-size: 1.15rem; line-height: 1.3; }
.legal-grid .legal-primary { grid-row: span 2; background: var(--navy); border-color: var(--navy) !important; padding: 30px; justify-content: flex-start; }
.legal-primary .legal-label { color: #b0c6d7; }
.legal-primary .legal-value { color: white; font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: 0; }
.legal-document { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #4a657a; border-radius: 6px; color: #a7cce7; margin-bottom: 16px; }
.legal-document svg { width: 27px; height: 27px; }
.legal-caption { color: #b0c6d7; font-size: .75rem; margin-top: 14px; }

/* Company values: a distinctive gold-accented feature section. */
.gold-section { --gold: #d9b873; position: relative; background: radial-gradient(ellipse at 95% 0, #314047 0, transparent 55%), #102637; color: #c0ccd5; border-top: 1px solid #947c4d; border-bottom: 1px solid #947c4d; }
.gold-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 52px; }
.gold-head .eyebrow { color: var(--gold); margin-bottom: 26px; }
.gold-head .eyebrow::before { background: var(--gold); }
.gold-head h2 { color: #fff; font-size: clamp(3.4rem, 6.5vw, 5.8rem); line-height: 1.02; letter-spacing: -.045em; margin: 0; }
.gold-head h2 span { color: var(--gold); }
.gold-kicker { display: block; font: 500 .85rem var(--font); letter-spacing: 0; color: var(--gold); margin-bottom: 20px; }
.gold-intro { padding-left: 30px; border-left: 1px solid #70664f; padding-bottom: 5px; }
.gold-intro p { color: white; font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.35; letter-spacing: -.02em; margin-bottom: 18px; }
.gold-description { display: block; max-width: 43ch; font-size: .95rem; line-height: 1.8; }
.gold-grid { gap: 0; border: 1px solid #596052; border-radius: 8px; overflow: hidden; }
.gold-card { background: rgba(255,255,255,.025); color: #c0ccd5; border: 0; border-right: 1px solid #596052; border-radius: 0; padding: 36px 28px; box-shadow: none; transition: background .2s; }
.gold-card:last-child { border-right: 0; }
.gold-card:hover { transform: none; background: rgba(217,184,115,.07); }
.gold-icon { color: var(--gold); width: 36px; height: 36px; margin-bottom: 34px; }
.gold-no { color: #c2a774; font-size: .75rem; top: 36px; right: 28px; }
.gold-card h3 { color: #fff; font-size: 1.15rem; line-height: 1.4; margin-bottom: 14px; }
.gold-card p { color: #c0ccd5; font-size: .9rem; line-height: 1.8; }
@media (max-width: 1080px) {
  .gold-card:nth-child(2) { border-right: 0; }
  .gold-card:nth-child(-n+2) { border-bottom: 1px solid #596052; }
}
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .legal-grid .legal-primary { grid-column: 1 / -1; grid-row: auto; }
  .legal-primary .legal-value { font-size: 1.6rem; }
  .gold-head { gap: 32px; }
  .gold-kicker { line-height: 1.8; }
}
@media (max-width: 560px) {
  .about-legal { padding-block: 52px 64px; }
  .legal-grid { gap: 10px; }
  .legal-grid .legal-item { padding: 20px 16px; }
  .legal-grid .legal-primary { padding: 26px; }
  .legal-value { font-size: 1rem; }
  .legal-label { font-size: .75rem; }
  .gold-head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .gold-head h2 { font-size: clamp(3.3rem, 14vw, 4.5rem); }
  .gold-intro { padding-left: 20px; }
  .gold-card { padding: 28px; border-right: 0; border-bottom: 1px solid #596052; }
  .gold-card:last-child { border-bottom: 0; }
  .gold-icon { margin-bottom: 24px; }
}

/* Legalitas shows the NIB card only */
.legal-grid { grid-template-columns: minmax(0, 520px); }
.legal-grid .legal-primary { grid-row: auto; grid-column: auto; }

/* About: NIB sits beside the download button instead of its own section */
.about-footer { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.nib-chip { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; background: var(--navy); border-radius: 6px; color: var(--white); scroll-margin-top: calc(var(--header-h) + 24px); }
.nib-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #4a657a; border-radius: 5px; color: #a7cce7; flex: none; }
.nib-icon svg { width: 20px; height: 20px; }
.nib-text { display: flex; flex-direction: column; line-height: 1.25; }
.nib-label { font-size: .72rem; color: #b0c6d7; }
.nib-value { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.about-footer > * { flex: 1 1 auto; }
.about-footer .btn { height: auto; min-height: 58px; padding-inline: 22px; }
.about-footer .btn small { display: none; }
@media (max-width: 560px) { .about-footer > * { flex: 1 1 100%; } }

/* Yard land-area highlight */
.area-stat { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 20px; padding: 18px 20px; background: var(--blue-tint); border-left: 3px solid var(--red); border-radius: 4px; }
.area-value { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.area-value small { font-size: .45em; font-weight: 600; color: var(--blue); letter-spacing: 0; }
.area-label { font-size: .8rem; color: var(--muted); }

/* Tagline in caps; spec toggle as a navy pill */
.brand-sub { letter-spacing: .08em; }
.spec-details { border-top: 0; margin-top: 20px; }
.spec-details summary {
  display: inline-flex; align-items: center; gap: 8px; list-style: none;
  padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 4px;
  font-size: .82rem; font-weight: 600; transition: background-color .2s;
}
.spec-details summary::-webkit-details-marker { display: none; }
.spec-details summary::after { content: "+"; font-size: 1.05rem; line-height: 1; }
.spec-details[open] summary::after { content: "−"; }
.spec-details summary:hover { background: #1d3a56; }
.spec-details[open] summary { padding-bottom: 10px; margin-bottom: 4px; }

/* Land-area highlight in navy, matching the spec toggle */
.area-stat { background: var(--navy); border-left-color: var(--red); }
.area-value { color: var(--white); }
.area-value small { color: var(--blue-light); }
.area-label { color: #b0c6d7; }
.about-media img { object-position: 42% center; }
.footer-tag { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .08em; color: #aabcca; }

/* Readable eyebrow labels on dark backgrounds */
.section-dark .eyebrow, .eyebrow.eyebrow-light { color: #b7d8ef; }
