:root {
  --navy: #04203b;
  --navy-2: #0a2a4a;
  --navy-3: #12365c;
  --gold: #9c7a4c;
  --gold-light: #c9a877;
  --cream: #fbf8f2;
  --cream-2: #f2ebde;
  --ink: #1d2733;
  --muted: #5d6673;
  --rule: #ddd3c2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1220px, 100% - 56px); margin-inline: auto; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px;
  font: 500 13.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-solid { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); }

.text-link {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding-bottom: 6px; border-bottom: 1.5px solid var(--gold);
}
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .35s; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 54px; height: auto; }
.brand-mark-dark { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: .1em; text-transform: uppercase; color: #fff; transition: color .35s; }
.brand-sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: #fff; transition: color .35s;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--gold-light);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 20px; border: 1.5px solid rgba(255,255,255,.6); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); }

.site-header.solid { background: rgba(251,248,242,.97); backdrop-filter: blur(8px); border-color: var(--rule); box-shadow: 0 6px 30px rgba(4,32,59,.06); }
.site-header.solid .header-inner { height: 72px; }
.site-header.solid .brand-mark-dark { display: block; }
.site-header.solid .brand-mark-light { display: none; }
.site-header.solid .brand-name, .site-header.solid .nav a { color: var(--navy); }
.site-header.solid .brand-sub { color: var(--gold); }
.site-header.solid .nav-cta { border-color: var(--navy); }
.site-header.solid .nav-cta:hover { color: #fff; border-color: var(--gold); }

.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s, top .3s, background .3s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.site-header.solid .menu-btn span { background: var(--navy); }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4,32,59,.92) 0%, rgba(4,32,59,.7) 42%, rgba(4,32,59,.15) 75%),
  linear-gradient(0deg, rgba(4,32,59,.85) 0%, rgba(4,32,59,0) 40%); }
.hero-inner { position: relative; padding: 170px 0 70px; max-width: 1220px; }
.hero h1 { color: #fff; font-size: clamp(46px, 6.6vw, 92px); font-weight: 600; max-width: 900px; letter-spacing: -.015em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.hero-lead { font-size: 20px; color: rgba(255,255,255,.82); max-width: 560px; margin: 28px 0 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }

.hero-tabs { position: relative; border-top: 1px solid rgba(255,255,255,.16); background: rgba(4,32,59,.55); backdrop-filter: blur(6px); }
.hero-tabs-inner { display: grid; grid-template-columns: 1fr 1fr; }
.hero-tab { display: flex; align-items: center; gap: 22px; padding: 28px 0; text-decoration: none; color: #fff; transition: background .3s; }
.hero-tab + .hero-tab { border-left: 1px solid rgba(255,255,255,.16); padding-left: 40px; }
.hero-tab-num { font-family: var(--serif); font-size: 34px; color: var(--gold-light); line-height: 1; }
.hero-tab-text { display: flex; flex-direction: column; flex: 1; }
.hero-tab-text strong { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .01em; }
.hero-tab-text span { font-size: 14px; color: rgba(255,255,255,.65); letter-spacing: .04em; }
.hero-tab .arrow { font-size: 22px; margin-right: 30px; transition: transform .3s var(--ease); color: var(--gold-light); }
.hero-tab:hover .arrow { transform: translateX(8px); }

/* ---------- About ---------- */
.about { padding: 140px 0 110px; }
.about-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy .big { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--navy); }
.about-copy p { color: var(--muted); }
.about-media { position: relative; height: 620px; }
.about-media figure { position: absolute; overflow: hidden; background: var(--cream-2); }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media figure:hover img { transform: scale(1.04); }
.img-a { inset: 0 22% 26% 0; }
.img-b { inset: 42% 0 0 34%; border: 10px solid var(--cream); }
.about-badge {
  position: absolute; left: 6%; bottom: 4%; width: 150px; height: 150px; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold-light); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
}
.about-badge img { width: 74px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 110px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fact { padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.fact + .fact { border-left: 1px solid var(--rule); }
.fact:first-child { padding-left: 0; }
.fact-k { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.fact-v { font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--navy); line-height: 1.15; }

/* ---------- Development ---------- */
.development { padding: 40px 0 140px; }
.dev-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.dev-media { position: sticky; top: 110px; height: calc(100vh - 160px); max-height: 780px; min-height: 520px; overflow: hidden; background: var(--cream-2); }
.dev-media img { width: 100%; height: 100%; object-fit: cover; }
.dev-media-tag {
  position: absolute; left: 0; bottom: 0; background: var(--cream); padding: 18px 26px 0 0;
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy);
}
.dev-media-tag span { color: var(--gold); margin-right: 10px; }
.dev-copy { padding-top: 30px; }
.dev-copy h2 { margin-bottom: 26px; }
.dev-copy > p { color: var(--muted); font-size: 18px; }
.timeline { list-style: none; padding: 0; margin: 46px 0 40px; counter-reset: t; }
.timeline li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 28px 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.t-num { font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--gold); line-height: 1; }
.timeline h3 { font-size: 28px; margin-bottom: 8px; }
.timeline p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 18px; border: 1px solid var(--rule); background: #fff; font-size: 14px; color: var(--navy); }

/* ---------- Equipment ---------- */
.equipment { background: var(--navy); color: #c5ced9; padding: 140px 0; position: relative; overflow: hidden; }
.equipment::before {
  content: ""; position: absolute; right: -120px; top: -60px; width: 620px; height: 400px;
  background: url("assets/mark-light.png") no-repeat center / contain; opacity: .04; pointer-events: none;
}
.eq-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.eq-head h2 { color: #fff; }
.eq-head > p { font-size: 18px; color: #aab6c4; margin: 0; }
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.eq-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.07); transition: transform .4s var(--ease), border-color .4s; }
.eq-card:hover { transform: translateY(-6px); border-color: rgba(201,168,119,.5); }
.eq-img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--navy-3); }
.eq-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(.9); }
.eq-card:hover .eq-img img { transform: scale(1.06); }
.eq-body { padding: 26px 26px 30px; position: relative; }
.eq-num { position: absolute; top: -22px; right: 22px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--gold); color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.eq-body h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.eq-body p { margin: 0; font-size: 15.5px; color: #9eabba; }

/* ---------- Process ---------- */
.process { padding: 140px 0; background: var(--cream-2); }
.process-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; align-items: start; }
.process-head { position: sticky; top: 110px; }
.process-head h2 { margin-bottom: 24px; }
.process-head > p { color: var(--muted); font-size: 18px; max-width: 460px; }
.process-img { margin-top: 36px; aspect-ratio: 16 / 10; overflow: hidden; background: #e6dccb; }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1px; background: var(--rule); }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 30px; padding: 22px 0 34px; }
.s-num {
  position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--cream-2); border: 1.5px solid var(--gold); color: var(--navy);
  font-family: var(--serif); font-size: 25px; font-weight: 600; border-radius: 50%;
  transition: background .3s, color .3s;
}
.steps li:hover .s-num { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.steps h3 { font-size: 29px; margin: 8px 0 8px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Clients ---------- */
.clients { padding: 120px 0 130px; }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.client { padding: 34px 30px 10px 0; }
.client + .client { padding-left: 30px; border-left: 1px solid var(--rule); }
.client h3 { font-size: 32px; margin-bottom: 10px; }
.client p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 130px 0; background: var(--navy); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(4,32,59,.78); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 720px; }

/* ---------- Contact ---------- */
.contact { padding: 140px 0 120px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: start; margin-bottom: 80px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p { color: var(--muted); font-size: 18px; margin-bottom: 40px; }
.details { margin: 0; }
.details div { display: grid; grid-template-columns: 120px 1fr; padding: 20px 0; border-top: 1px solid var(--rule); }
.details div:last-child { border-bottom: 1px solid var(--rule); }
.details dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.details dd { margin: 0; color: var(--navy); font-size: 17px; }
.details a { text-decoration-color: var(--gold); text-underline-offset: 4px; }

.form { background: #fff; padding: 48px; border: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(4,32,59,.18); display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); font-weight: 500; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  font: 400 16px/1.5 var(--sans); color: var(--ink); letter-spacing: 0; text-transform: none;
  padding: 13px 14px; border: 1px solid var(--rule); background: var(--cream); border-radius: 0;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form textarea { resize: vertical; min-height: 130px; }
.form .invalid { border-color: #b4553e !important; }
.topic { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic legend { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); font-weight: 500; margin-bottom: 10px; padding: 0; }
.topic label { flex-direction: row; letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 400; cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { padding: 10px 16px; border: 1px solid var(--rule); transition: all .2s; }
.topic input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.topic input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { margin: -6px 0 0; font-size: 13.5px; color: var(--muted); }

.map { height: 420px; border: 1px solid var(--rule); background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.9) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9eabba; padding: 90px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-brand img { width: 230px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #7f8b99; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .eq-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .wrap { width: min(1220px, 100% - 44px); }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav a, .site-header.solid .nav a { color: #fff; font-size: 18px; }
  .nav-cta, .site-header.solid .nav-cta { border-color: rgba(255,255,255,.6); }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-open .menu-btn span { background: #fff !important; }
  .menu-open .brand { position: relative; z-index: 2; }
  .menu-open .brand-name { color: #fff !important; }

  .hero-inner { padding: 140px 0 50px; }
  .hero-tab-text strong { font-size: 21px; }
  .hero-tab + .hero-tab { padding-left: 24px; }
  .hero-tab .arrow { display: none; }

  .about, .development, .equipment, .process, .contact { padding-top: 90px; padding-bottom: 90px; }
  .development { padding-top: 0; }
  .about-inner, .dev-inner, .eq-head, .process-inner, .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-media { height: 480px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 70px; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .dev-media, .process-head { position: relative; top: 0; }
  .dev-media { height: 440px; min-height: 0; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .client:nth-child(3) { padding-left: 0; border-left: 0; }
  .cta-bg { background-attachment: scroll; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(1220px, 100% - 36px); }
  .header-inner { height: 70px; }
  .brand-mark { width: 44px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .hero-lead { font-size: 17px; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,32,59,.92) 10%, rgba(4,32,59,.7) 60%, rgba(4,32,59,.55) 100%); }
  .eyebrow::before { display: none; }
  .hero-tabs-inner { grid-template-columns: 1fr; }
  .hero-tab { padding: 18px 0; }
  .hero-tab + .hero-tab { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; }
  .about-copy .big { font-size: 22px; }
  .about-media { height: 380px; }
  .about-badge { width: 110px; height: 110px; }
  .about-badge img { width: 54px; }
  .fact { padding: 22px 0; }
  .fact + .fact { border-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-top: 1px solid var(--rule); }
  .eq-grid { grid-template-columns: 1fr; }
  .steps li { gap: 20px; }
  .clients-grid { grid-template-columns: 1fr; }
  .client, .client + .client { padding: 26px 0 0; border-left: 0; }
  .form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .map { height: 320px; }
}
