/* Titan Ridge Holdings — shared stylesheet
   Brand tokens sourced from the Titan Ridge Holdings design system. */

:root {
  --surface: #ffffff;
  --surface-raised: #f5f3ef;
  --ink: #0a1f3d;
  --ink-secondary: #6b6b6b;
  --border: #d8d8d8;
  --navy: #0a1f3d;
  --navy-deep: #061424;
  --gold: #b8873c;
  --bronze: #7a5c30;
  --on-navy: #ffffff;
  --on-navy-muted: #d8d8d8;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --shadow-sm: 0 1px 3px rgba(10, 31, 61, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
p { line-height: 1.6; margin: 0; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.kicker { color: var(--bronze); font-size: 13px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.blueprint {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,135,60,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,135,60,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Nav ---------- */
.nav {
  width: 100%; background: var(--navy); position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(184,135,60,0.25);
  padding: 13px 0; transition: padding .2s ease, box-shadow .2s ease;
}
.nav.scrolled { padding: 6px 0; box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 4px; padding: 3px; }
.brand .word { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
.brand .word span { color: var(--gold); font-size: 10.5px; letter-spacing: .18em; font-weight: 600; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  padding: 12px 13px; border-bottom: 2px solid transparent; min-height: 44px;
  display: inline-flex; align-items: center; text-transform: uppercase;
}
.nav-links a.active { color: var(--on-navy-muted); border-bottom-color: var(--gold); }
.nav-cta {
  margin-left: 12px; background: var(--gold); color: #fff; font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; padding: 11px 20px; border-radius: var(--radius-sm);
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-shrink: 0; background: none; border: none;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy);
    padding: 8px 24px 16px; box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  .burger { display: inline-flex; }
}

/* ---------- Footer ---------- */
.footer { width: 100%; background: #071a30; color: var(--on-navy-muted); }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px; }
.footer-grid a { color: var(--gold); }
.footer-grid a:hover { color: #fff; }
.footer h4 { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #5e6b78;
}

/* ---------- Call FAB ---------- */
@keyframes fabPulse {
  0%,100% { box-shadow: 0 8px 20px rgba(10,31,61,.3), 0 0 0 0 rgba(184,135,60,.5); }
  50% { box-shadow: 0 8px 20px rgba(10,31,61,.3), 0 0 0 10px rgba(184,135,60,0); }
}
.call-fab {
  position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center; z-index: 50;
  animation: fabPulse 2.8s ease-out infinite;
}

/* ---------- Buttons ---------- */
.btn {
  text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 14px;
  padding: 16px 28px; border-radius: var(--radius-sm); min-height: 44px; display: inline-flex; align-items: center;
  border: none;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; padding: 14.5px 28px; }
.btn-navy { background: var(--navy); color: #fff; }

/* ---------- Hero (shared by inner pages) ---------- */
.page-hero { width: 100%; position: relative; overflow: hidden; background: linear-gradient(160deg, #0a1f3d 0%, #123058 55%, #061424 100%); padding: 72px 24px 88px; }
.page-hero .crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9aa8b8; }
.page-hero .crumb a { color: #9aa8b8; }
.page-hero .crumb .current { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); font-weight: 700; margin: 0; }
.page-hero p { color: #d8d8d8; font-size: 16px; max-width: 620px; margin: 0; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); }
.icn { width: 24px; height: 24px; stroke: var(--bronze); stroke-width: 1.5; fill: none; stroke-linecap: square; stroke-linejoin: miter; }

/* ---------- Animations ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 64px 64px; } }
@keyframes logoIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseGold { 0%,100% { box-shadow: 0 0 0 0 rgba(184,135,60,.45); } 50% { box-shadow: 0 0 0 14px rgba(184,135,60,0); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes craneSwing { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes beacon { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes spark1 { 0% { opacity: 0; transform: translate(0,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px,-16px); } }
@keyframes spark2 { 0% { opacity: 0; transform: translate(0,0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-10px,-18px); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hero-fade { animation: riseIn .9s cubic-bezier(.2,.8,.2,1) both; }
.crane-mast { transform-origin: 170px 260px; animation: craneSwing 7s ease-in-out infinite; }
.beacon { animation: beacon 1.6s ease-in-out infinite; }
.spark-a { animation: spark1 1.8s ease-out infinite; }
.spark-b { animation: spark2 2.2s .4s ease-out infinite; }
.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: drawLine 2.4s ease-out forwards; }
.hero-visual { display: none; }
@media (min-width: 880px) { .hero-visual { display: block; } }

/* ---------- Splash ---------- */
.splash {
  width: 100%; min-height: 100vh; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% -10%, #123058 0%, #0a1f3d 45%, #061424 100%);
  display: flex; align-items: center; justify-content: center; padding: 48px 24px;
}
.splash-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(184,135,60,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(184,135,60,0.10) 1px, transparent 1px); background-size: 64px 64px; animation: gridDrift 9s linear infinite; }
.spotlight { position: absolute; inset: 0; pointer-events: none; }
.splash-fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35)); }
.splash-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; max-width: 760px; }
.logo-wrap { transition: transform .15s ease-out; }
.splash-logo {
  width: clamp(160px, 20vw, 220px); height: clamp(160px, 20vw, 220px); object-fit: contain; background: #fff;
  border-radius: 28px; padding: 22px; animation: logoIn .9s cubic-bezier(.2,.8,.2,1) both;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(184,135,60,0.25); display: block;
}
.splash-title { color: #fff; font-size: clamp(32px, 6vw, 52px); font-weight: 700; letter-spacing: .01em; line-height: 1.05; }
.splash-title span { color: var(--gold); }
.splash-tag { color: var(--gold); font-size: 13px; letter-spacing: .3em; font-weight: 600; margin-top: 18px; text-transform: uppercase; }
.splash-sub { color: #d8d8d8; font-size: 16px; line-height: 1.7; max-width: 520px; margin: 0; }

.loader { width: 280px; max-width: 80vw; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.loader-track { width: 100%; height: 5px; background: rgba(255,255,255,0.14); border-radius: 3px; overflow: hidden; }
.loader-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--bronze), var(--gold)); border-radius: 3px; box-shadow: 0 0 10px rgba(184,135,60,0.6); }
.loader-text { color: #9aa8b8; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; display: flex; gap: 8px; }
.loader-pct { color: var(--gold); font-weight: 600; }
.skip-link { color: #7d8b9a; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; min-height: 24px; }
.skip-link:hover { color: #d8d8d8; }

.enter-btn {
  background: var(--gold); color: #fff; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 14px;
  padding: 16px 40px; border-radius: var(--radius-sm); min-height: 44px; display: inline-flex; align-items: center; gap: 10px;
  animation: pulseGold 2.6s ease-out infinite;
}
.chev { animation: bounce 1.8s ease-in-out infinite; display: inline-block; }

/* ---------- Home ---------- */
.home-hero { width: 100%; position: relative; overflow: hidden; background: linear-gradient(160deg,#0a1f3d 0%,#123058 55%,#061424 100%); clip-path: polygon(0 0,100% 0,100% 94%,0 100%); padding-bottom: 64px; }
.home-hero-grid { max-width: 1240px; margin: 0 auto; padding: 76px 24px 40px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow .dash { width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow span { color: var(--gold); font-size: 13px; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; }
.home-hero h1 { color: #fff; font-size: clamp(32px,4.6vw,50px); font-weight: 700; line-height: 1.08; letter-spacing: .005em; margin: 0; }
.home-hero p { color: #d8d8d8; font-size: 16.5px; max-width: 520px; }

.stat-strip { max-width: 1240px; margin: -44px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.stat-strip-inner { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.stat .num { color: var(--ink); font-size: 32px; font-weight: 700; }
.stat .lbl { font-size: 13px; color: var(--ink-secondary); }
.stat.border-x { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }

.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.section-head .kicker { color: var(--bronze); font-size: 13px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px,3vw,28px); font-weight: 700; color: var(--ink); margin: 0; }
.section-head p { color: var(--ink-secondary); font-size: 15px; margin: 0; }

.about-teaser { max-width: 1240px; margin: 0 auto; padding: 88px 24px 40px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-visual .panel { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(150deg,#0a1f3d,#173a63 60%,#7a5c30 150%); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; }
.about-visual .badge { position: absolute; bottom: -16px; right: -16px; background: var(--gold); color: #fff; padding: 16px 20px; border-radius: 6px; box-shadow: 0 12px 26px rgba(10,31,61,0.25); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-copy h2 { font-size: clamp(24px,3vw,28px); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0; }
.about-copy .more { color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.about-copy .more span { color: var(--gold); }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(10,31,61,0.12); }
.svc-card .title { font-size: 20px; font-weight: 600; color: var(--ink); }
.svc-card p { font-size: 14px; color: var(--ink-secondary); }
.view-all { text-align: center; margin-top: 40px; }
.view-all a { color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.view-all a span { color: var(--gold); }

.vm-section { background: var(--navy); padding: 80px 0; position: relative; overflow: hidden; }
.vm-grid { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; position: relative; }
.vm-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(184,135,60,0.3); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.vm-card .kicker { color: var(--gold); font-size: 13px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.vm-card p { color: #fff; font-size: 18px; line-height: 1.55; font-weight: 500; margin: 0; }

.cta-band { background: var(--gold); padding: 56px 24px; }
.cta-band .inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-band h3 { color: #fff; font-size: clamp(20px,2.4vw,26px); font-weight: 700; max-width: 560px; margin: 0; }

/* ---------- About page ---------- */
.about-text { max-width: 880px; margin: -36px auto 0; padding: 0 24px; position: relative; }
.about-text .panel { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.vm-page-grid { max-width: 1240px; margin: 0 auto; padding: 88px 24px 40px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.vm-page-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.vm-page-card .kicker { color: var(--bronze); font-size: 13px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.vm-page-card p { color: var(--ink); font-size: 17px; line-height: 1.55; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.flip-scene { perspective: 1200px; height: 172px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .5s cubic-bezier(.4,.2,.2,1); transform-style: preserve-3d; }
.flip-inner.flipped { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.flip-front { background: var(--surface); border: 1px solid var(--border); }
.flip-back { background: var(--navy); transform: rotateY(180deg); justify-content: center; }
.flip-scene:hover .flip-front { box-shadow: 0 12px 28px rgba(10,31,61,0.12); }
.flip-btn { width: 100%; height: 100%; padding: 0; border: none; background: none; text-align: left; }
.flip-face .name { font-size: 16px; font-weight: 600; color: var(--ink); }
.flip-face .hint { font-size: 12.5px; color: var(--bronze); margin-top: auto; }
.flip-back p { color: #fff; font-size: 13px; line-height: 1.55; margin: 0; }

/* ---------- Services page ---------- */
.chip-row { max-width: 880px; margin: -24px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.chip-row-inner { display: flex; gap: 8px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 14px; }
.chip {
  padding: 10px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; min-height: 40px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip.active { border-color: var(--gold); background: var(--gold); color: #fff; }

.accordion { max-width: 880px; margin: 24px auto 0; padding: 0 24px 28px; position: relative; }
.accordion-inner { background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.svc-row { border-bottom: 1px solid var(--border); transition: background .2s ease; }
.svc-row:hover { background: var(--surface-raised); }
.svc-row.hidden-row { display: none; }
.svc-row-btn {
  width: 100%; text-align: left; padding: 20px 24px; display: flex; align-items: center; gap: 18px; min-height: 44px;
  background: none; border: none;
}
.svc-row-btn .num { color: var(--gold); font-size: 22px; font-weight: 700; min-width: 40px; }
.svc-row-btn .title { flex-grow: 1; color: var(--ink); font-size: 16px; font-weight: 600; }
.svc-row-btn .cat { background: #e9e2d4; color: var(--bronze); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 10px; }
.svc-row-btn .chev { color: var(--bronze); font-size: 18px; transition: transform .25s ease; display: inline-block; }
.svc-row.open .chev { transform: rotate(180deg); }
.svc-row-body { padding: 0 24px 22px 82px; display: none; }
.svc-row.open .svc-row-body { display: block; }
.svc-row-body p { color: var(--ink-secondary); font-size: 14px; }

.approach { background: var(--navy); padding: 80px 24px; position: relative; overflow: hidden; }
.approach-inner { max-width: 880px; margin: 0 auto; position: relative; display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.approach h2 { color: #fff; font-size: clamp(22px,2.8vw,30px); font-weight: 700; margin: 0; }
.approach p { color: #d8d8d8; font-size: 16px; line-height: 1.65; margin: 0; }
.approach .tagline { color: var(--gold); font-size: 16px; font-weight: 700; letter-spacing: .04em; margin-top: 6px; }

/* ---------- Contact page ---------- */
.contact-grid { max-width: 1240px; margin: -48px auto 0; padding: 0 24px 96px; position: relative; }
.contact-panel { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 0.85fr 1.15fr; overflow: hidden; }
.contact-info { background: var(--navy); padding: 40px 36px; display: flex; flex-direction: column; gap: 24px; position: relative; overflow: hidden; }
.contact-info .name { color: #fff; font-size: 18px; font-weight: 700; }
.contact-info .sub { color: #9aa8b8; font-size: 13px; }
.contact-row { position: relative; display: flex; gap: 14px; }
.contact-row .lbl { color: #9aa8b8; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.contact-row .val { color: #fff; font-size: 14px; }
.contact-info .hours { position: relative; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); color: var(--gold); font-size: 12px; letter-spacing: .04em; }
.contact-form { padding: 40px; }
.contact-form h2 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0; }
.contact-form .hint { color: var(--ink-secondary); font-size: 14px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--font); font-size: 14px; width: 100%; padding: 13px 15px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); min-height: 44px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 10px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; min-height: 40px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tag.active { border-color: var(--gold); background: var(--gold); color: #fff; }
.submit-btn { background: var(--gold); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 14px; padding: 15px 28px; border-radius: var(--radius-sm); border: none; min-height: 44px; align-self: flex-start; }
.confirm { display: none; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; justify-content: center; padding: 36px 0; }
.confirm.visible { display: flex; }
.confirm h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0; }
.confirm p { color: var(--ink-secondary); font-size: 15px; }
.form-body.hidden { display: none; }

@media (max-width: 760px) {
  .home-hero-grid, .about-teaser, .svc-grid, .vm-grid, .vm-page-grid, .values-grid, .contact-panel, .stat-strip-inner, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}


/* ===== Titan Ridge repair layer — 2026-09-21 ===== */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
video, img { max-width: 100%; }

/* Home hero: integrated video background, no split/oversized media */
.home-hero.media-hero {
  min-height: 650px;
  padding: 0;
  clip-path: none;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.media-hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  transform: none !important;
}
.media-hero .hero-media video,
.media-hero .hero-video {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.media-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(6,20,36,.93) 0%, rgba(6,20,36,.78) 48%, rgba(6,20,36,.55) 100%);
}
.media-hero .hero-noise { display: none; }
.home-hero-grid.media-grid {
  width: 100%;
  max-width: 1240px;
  min-height: 650px;
  padding: 82px 24px 92px;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.65fr);
  gap: 56px;
  align-items: end;
}
.hero-copy { min-width: 0; }
.home-hero h1 { font-size: clamp(42px,5vw,68px); max-width: 760px; }
.home-hero p { max-width: 650px; }
.hero-side-card {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(6,20,36,.72);
  backdrop-filter: blur(12px);
  color: #fff;
}
.hero-side-card .mini-kicker { color: var(--gold); display:block; margin-bottom:12px; text-transform:uppercase; letter-spacing:.12em; font-size:12px; }
.hero-side-card strong { color:#fff; display:block; font-size:26px; line-height:1.15; margin-bottom:12px; }
.hero-side-card p { color:#e5e9ee; font-size:15px; }
.hero-side-card a { color:#fff; display:inline-flex; margin-top:18px; font-weight:700; }
.hero-trust { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:30px; color:#d7dde5; font-size:12px; text-transform:uppercase; letter-spacing:.05em; }
.scroll-cue { position:absolute; left:50%; bottom:22px; transform:translateX(-50%); z-index:2; color:#fff; font-size:11px; text-transform:uppercase; letter-spacing:.12em; }

/* Video cards stay proportional and do not force horizontal overflow */
.visual-capabilities { padding: 88px 0 64px; }
.media-card-grid { width:100%; min-width:0; }
.video-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.media-card { min-width:0; overflow:hidden; position:relative; border-radius:16px; background:var(--navy); color:#fff; min-height:460px; }
.media-card video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.media-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(6,20,36,.08),rgba(6,20,36,.92)); }
.media-card > div, .media-card .media-index { position:relative; z-index:2; }
.media-card > div { position:absolute; left:24px; right:24px; bottom:24px; }
.media-card .media-index { position:absolute; top:20px; right:20px; }
.media-card h3 { margin:6px 0 8px; font-size:24px; }
.media-card small { color:#e4ad51; text-transform:uppercase; letter-spacing:.1em; }
.media-card p { color:#e7ebef; font-size:14px; }
.media-card .explore { display:inline-block; margin-top:16px; font-weight:700; }

/* Who we are: guarantee the supplied engineering image is visible */
.about-visual .panel.photo-panel { background:var(--navy); padding:0; }
.about-visual .panel.photo-panel > img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
  display:block; opacity:1;
}
.about-visual .panel.photo-panel::after {
  content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 48%,rgba(6,20,36,.78));
}
.about-visual .panel.photo-panel > span,
.about-visual .panel.photo-panel .blueprint { z-index:2; }
.about-visual .panel.photo-panel > span { position:absolute !important; left:24px; bottom:24px; }

/* WhatsApp floating button */
.whatsapp-fab svg { width:30px; height:30px; fill:#061424; }

/* Simple Gmail-like splash */
.splash {
  min-height:100vh; background:#fff; color:var(--ink);
  display:flex; align-items:center; justify-content:center; padding:32px 24px;
}
.splash-grid,.spotlight,.splash-fade-bottom { display:none; }
.splash-content { gap:18px; max-width:620px; }
.splash-logo {
  width:92px; height:92px; border-radius:18px; padding:10px;
  border:1px solid #e5e7eb; box-shadow:0 8px 28px rgba(10,31,61,.10);
}
.splash-title { color:var(--ink); font-size:clamp(28px,5vw,42px); }
.splash-title span { color:var(--gold); }
.splash-tag { margin-top:10px; color:var(--bronze); letter-spacing:.18em; }
.splash-sub { color:#667085; }
.loader { margin-top:8px; }
.loader-track { background:#e9edf2; height:4px; }
.loader-text { color:#7a8490; }
.skip-link { color:var(--bronze); }

@media (max-width: 900px) {
  .home-hero.media-hero,.media-hero .hero-media video,.media-hero .hero-video { min-height:720px; }
  .home-hero-grid.media-grid { min-height:720px; grid-template-columns:1fr; gap:28px; padding:72px 24px 78px; align-content:end; }
  .hero-side-card { max-width:620px; }
  .video-card-grid { grid-template-columns:1fr; }
  .media-card { min-height:400px; }
}
@media (max-width: 600px) {
  .home-hero h1 { font-size:clamp(36px,11vw,50px); }
  .hero-side-card { padding:22px; }
  .hero-trust { display:none; }
  .scroll-cue { display:none; }
  .about-teaser { padding-top:64px; gap:36px; }
}


/* ===== LIVE RELEASE: structure, motion and WhatsApp ===== */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.reveal.in-view{opacity:1;transform:none}
.scroll-cue{display:flex;align-items:center;gap:10px;animation:scrollFloat 1.8s ease-in-out infinite}
.scroll-cue span{display:inline-block;width:28px;height:1px;background:var(--gold);animation:scrollLine 1.4s ease-in-out infinite}
@keyframes scrollFloat{50%{transform:translate(-50%,7px)}}
@keyframes scrollLine{50%{width:46px}}

/* inner-page photographic heroes */
.page-hero-photo{position:relative;isolation:isolate;min-height:390px;display:flex;align-items:flex-end;padding:76px 24px 72px;background:#071a31!important}
.page-hero-photo:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--page-photo);background-size:cover;background-position:center;transform:scale(1.025);animation:innerHeroZoom 14s ease-in-out infinite alternate}
.page-hero-photo:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,20,39,.94),rgba(5,20,39,.68) 58%,rgba(5,20,39,.35))}
.page-hero-photo .wrap{width:100%}.page-hero-photo h1{font-size:clamp(42px,5vw,66px);line-height:1.02}.page-hero-photo p{font-size:17px;max-width:680px}
@keyframes innerHeroZoom{to{transform:scale(1.075)}}

/* About: contained editorial layout */
.representation-band{max-width:1180px;margin:76px auto 0;display:grid;grid-template-columns:1.08fr .92fr;min-height:500px;border-radius:18px;overflow:hidden;background:#081d36;box-shadow:0 22px 55px rgba(7,25,48,.12)}
.representation-image{min-height:500px}.representation-image img{width:100%;height:100%;object-fit:cover;display:block}
.representation-copy{padding:clamp(36px,5vw,68px);display:flex;flex-direction:column;justify-content:center;color:#fff}
.representation-copy .kicker{color:#e0b166}.representation-copy h2{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:12px 0 18px}.representation-copy p{color:rgba(255,255,255,.76);font-size:16px;line-height:1.75}
.about-text{max-width:1180px;margin:28px auto 0;padding:0 24px}.about-text .panel{padding:clamp(30px,5vw,54px);border:1px solid #e3e0da;box-shadow:none;border-radius:16px;background:#f7f5f1}.about-text .panel p{max-width:900px;font-size:16px;line-height:1.8}
.vm-page-grid{padding-top:36px;padding-bottom:76px}.vm-page-card{border-top:3px solid var(--gold);border-radius:12px;padding:36px;background:#fff;box-shadow:0 12px 34px rgba(7,25,48,.07)}

/* Services: keep imagery compact and content hierarchy obvious */
.service-media-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:64px;padding-bottom:38px}
.service-media-strip figure{margin:0;position:relative;overflow:hidden;border-radius:16px;height:285px;background:#0a1f3d;box-shadow:0 12px 32px rgba(7,25,48,.10)}
.service-media-strip img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .55s ease}.service-media-strip figure:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(4,17,33,.9))}.service-media-strip figure:hover img{transform:scale(1.05)}.service-media-strip figcaption{position:absolute;z-index:2;left:22px;right:22px;bottom:20px;color:#fff;font-weight:700;font-size:17px}
.chip-row{max-width:1180px;margin:0 auto;padding:0 24px;position:relative;z-index:2}.chip-row-inner{justify-content:center;padding:16px;border:1px solid #e4e1db;border-radius:14px;box-shadow:0 8px 24px rgba(7,25,48,.06)}
.accordion{max-width:1180px;margin:28px auto 0;padding:0 24px 72px}.accordion-inner{background:#fff;border:1px solid #e4e1db;border-radius:16px;box-shadow:0 12px 32px rgba(7,25,48,.06)}
.svc-row-btn{padding:25px 30px}.svc-row-btn .title{font-size:17px}.svc-row-body{padding:0 30px 26px 90px}.svc-row-body p{max-width:900px;line-height:1.75}

/* Green WhatsApp brand treatment */
.call-fab.whatsapp-fab{background:#25D366!important;border:0!important;box-shadow:0 10px 28px rgba(37,211,102,.32)!important}
.call-fab.whatsapp-fab svg{fill:#fff!important;width:30px;height:30px}

@media(max-width:900px){.representation-band{grid-template-columns:1fr;margin:44px 18px 0}.representation-image{min-height:340px}.service-media-strip{grid-template-columns:1fr;padding-left:18px;padding-right:18px}.service-media-strip figure{height:330px}.page-hero-photo{min-height:330px}.svc-row-body{padding-left:30px}}
@media(max-width:600px){.service-media-strip figure{height:280px}.chip-row-inner{justify-content:flex-start}.representation-copy{padding:30px 24px}.about-text{padding:0 18px}.accordion{padding-left:18px;padding-right:18px}.svc-row-btn{padding:20px 18px}.svc-row-btn .cat{display:none}}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}.scroll-cue,.scroll-cue span,.page-hero-photo:before{animation:none!important}}
