/* ==========================================================================
   Kgotsobela Consortium — design tokens
   Navy + brass gold from the brand mark; safety orange pulled from the
   crew's own hi-vis; the "nameplate" motif echoes the rating tags visible
   on their actual equipment (see hero photo, unit door).
   ========================================================================== */

:root {
  --navy-950: #0a1520;
  --navy-900: #0e202e;
  --navy-800: #16324a;
  --navy-700: #1f4260;
  --gold: #c9a25f;
  --gold-light: #e4c275;
  --gold-dim: #8a744a;
  --ivory: #f3efe6;
  --ivory-dim: #d9d3c4;
  --orange: #e2591a;
  --orange-light: #ff7a3d;
  --graphite: #1f2933;
  --graphite-soft: #4a5560;
  --line: rgba(201, 162, 95, 0.28);
  --line-soft: rgba(15, 32, 46, 0.1);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

/* ==========================================================================
   Skip link / focus
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--navy-950);
  padding: 12px 18px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 21, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 95, 0.18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand-word {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.1;
}
.brand-word span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.main-nav a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a.current { color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-950) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 62px; left: 0; right: 0; height: calc(100vh - 62px); background: var(--navy-950); flex-direction: column; justify-content: flex-start; align-items: flex-start; padding: 32px 24px; gap: 22px; clip-path: inset(0 0 0 100%); transition: clip-path 0.3s ease; pointer-events: none; overflow-y: auto; z-index: 150; }
  .main-nav.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(76vh, 660px);
  display: flex;
  align-items: flex-end;
  background: var(--navy-950);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,21,32,0.28) 0%, rgba(10,21,32,0.52) 40%, rgba(10,21,32,0.97) 88%),
    linear-gradient(100deg, rgba(10,21,32,0.82) 0%, rgba(10,21,32,0.5) 34%, rgba(10,21,32,0.18) 60%, rgba(10,21,32,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 78px;
  padding-bottom: 34px;
  width: 100%;
}

.hero-content .eyebrow { color: var(--gold-light); margin-bottom: 18px; }

.hero-content h1 {
  color: var(--ivory);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  max-width: 15ch;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-sub {
  margin: 16px 0 24px;
  max-width: 46ch;
  color: var(--ivory-dim);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(243,239,230,0.35); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* nameplate strip inside hero */
.nameplate {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.nameplate div {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}
.nameplate div:last-child { border-right: none; }
.nameplate .val {
  font-family: var(--font-mono);
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.nameplate .lbl {
  font-family: var(--font-mono);
  color: rgba(243,239,230,0.55);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ==========================================================================
   Stat plate bar (below hero) — echoes equipment rating tags
   ========================================================================== */
.stat-bar {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(201,162,95,0.15);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,162,95,0.15);
}
.stat-plate {
  background: var(--navy-900);
  padding: 30px 22px;
  text-align: center;
}
.stat-plate .num {
  font-family: var(--font-mono);
  color: var(--gold-light);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
}
.stat-plate .lbl {
  font-family: var(--font-mono);
  color: var(--ivory-dim);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
section { padding: clamp(44px, 6vw, 80px) 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-top: 14px;
  line-height: 1.12;
}
.section-head p {
  margin-top: 16px;
  color: var(--graphite-soft);
  font-size: 1.02rem;
  max-width: 56ch;
}

/* ==========================================================================
   About teaser
   ========================================================================== */
.about {
  background: var(--ivory);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: 6px;
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-media .tag {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--navy-900);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 0 6px 0 6px;
}

.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.14;
}
.about-copy p {
  margin: 20px 0;
  color: var(--graphite-soft);
  font-size: 1.02rem;
}
.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy-800);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
}
.about-founder {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.about-founder .initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.about-founder .name { font-weight: 700; color: var(--navy-900); font-size: 0.94rem; }
.about-founder .role { font-size: 0.82rem; color: var(--graphite-soft); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: #ece6d8; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 300px;
  text-decoration: none;
  display: block;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,21,32,0) 22%, rgba(10,21,32,0.55) 55%, rgba(10,21,32,0.95) 100%);
}
.service-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(10,21,32,0.65);
  border: 1px solid rgba(228,194,117,0.5);
  display: inline-block;
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.service-card h3 {
  color: var(--ivory);
  font-size: 1.15rem;
  font-weight: 600;
}
.service-card p {
  color: var(--ivory-dim);
  font-size: 0.86rem;
  margin: 6px 0 0;
  max-width: 30ch;
}

.services-more {
  margin-top: 40px;
  text-align: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.link-arrow:hover { color: var(--gold-dim); }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { height: 320px; }
}

/* ==========================================================================
   Trusted-by band
   ========================================================================== */
.trusted {
  background: var(--navy-950);
  padding: 56px 0;
}
.trusted .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  justify-content: space-between;
}
.trusted-label {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trusted-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
}
.trusted-marks span {
  font-family: var(--font-display);
  color: var(--ivory-dim);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
.trusted-marks span b { color: var(--ivory); font-weight: 650; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201,162,95,0.18);
  border-radius: 50%;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 14ch;
}
.cta-band p {
  color: var(--ivory-dim);
  margin-top: 10px;
  max-width: 42ch;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--ivory-dim);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(201,162,95,0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(243,239,230,0.08);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand-word { font-family: var(--font-display); color: var(--ivory); font-size: 1.05rem; }
.footer-tagline { font-size: 0.88rem; max-width: 30ch; color: var(--ivory-dim); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(243,239,230,0.4);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   About page — timeline
   ========================================================================== */
.timeline { background: var(--ivory); }
.timeline-list {
  max-width: 800px;
  margin-top: 8px;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 48px);
}
.timeline-item {
  position: relative;
  padding-bottom: 30px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(24px, 4vw, 48px) - 5px);
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--ivory);
}
.timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--navy-900);
  background: rgba(201,162,95,0.16);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.timeline-item p {
  color: var(--graphite-soft);
  font-size: 0.98rem;
  max-width: 56ch;
  margin: 0;
}

/* ==========================================================================
   Mission / Vision / Values
   ========================================================================== */
.mvv { background: var(--navy-950); }
.mvv .section-head h2, .mvv .section-head p { color: var(--ivory); }
.mvv .section-head p { color: var(--ivory-dim); }
.mvv .eyebrow { color: var(--gold-light); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(201,162,95,0.15);
  border: 1px solid rgba(201,162,95,0.15);
  margin-bottom: 28px;
}
.mvv-card {
  background: var(--navy-950);
  padding: 36px 32px;
}
.mvv-card h3 {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.mvv-card p {
  color: var(--ivory-dim);
  font-size: 1rem;
  margin: 0;
  line-height: 1.65;
}
.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.value-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
  border: 1px solid rgba(243,239,230,0.25);
  padding: 9px 16px;
  border-radius: 999px;
}
.value-pill b { color: var(--gold-light); font-weight: 600; margin-right: 6px; }

@media (max-width: 700px) {
  .mvv-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HSE checklist
   ========================================================================== */
.hse { background: #ece6d8; }
.hse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.hse-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hse-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,32,46,0.1);
  font-size: 0.96rem;
  color: var(--graphite);
}
.hse-list li:last-child { border-bottom: none; }
.hse-list .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 1px;
}
.hse-col h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .hse-grid { grid-template-columns: 1fr; gap: 8px; }
}


.coming-soon {
  background: var(--navy-950);
  min-height: 62vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.coming-soon::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(201,162,95,0.15);
  border-radius: 50%;
}
.coming-soon::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -140px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,162,95,0.1);
  border-radius: 50%;
}
.coming-soon .wrap {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  padding-bottom: 70px;
}
.coming-soon .plate {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 26px;
}
.coming-soon h1 {
  color: var(--ivory);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 16ch;
  line-height: 1.08;
}
.coming-soon p.lede {
  color: var(--ivory-dim);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 20px 0 36px;
}
.coming-soon .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.07); }
.whatsapp-fab svg { width: 30px; height: 30px; }

@media (max-width: 600px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ==========================================================================
   Services page — process band
   ========================================================================== */
.process { background: var(--ivory); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}
.process-step {
  background: var(--ivory);
  padding: 30px 26px;
}
.process-step .n {
  font-family: var(--font-mono);
  color: var(--gold-dim);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}
.process-step h3 {
  margin-top: 12px;
  font-size: 1.08rem;
}
.process-step p {
  color: var(--graphite-soft);
  font-size: 0.9rem;
  margin: 8px 0 0;
}
@media (max-width: 760px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .process-grid { grid-template-columns: 1fr; }
}

.services-full .service-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .services-full .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-full .service-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Projects page — gallery grid + client band
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 280px;
  display: block;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.05); }
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,21,32,0) 30%, rgba(10,21,32,0.55) 60%, rgba(10,21,32,0.94) 100%);
}
.project-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px;
}
.project-card h3 {
  color: var(--ivory);
  font-size: 1.05rem;
  font-weight: 600;
}
@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; }
}

.client-band { background: var(--navy-950); }
.client-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,162,95,0.15);
  border: 1px solid rgba(201,162,95,0.15);
}
.client-card {
  background: var(--navy-950);
  padding: 28px 24px;
}
.client-card h3 {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}
.client-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.client-card li {
  color: var(--ivory-dim);
  font-size: 0.88rem;
  padding: 5px 0;
}
@media (max-width: 900px) {
  .client-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .client-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact page — info cards + location panel
   ========================================================================== */
.contact-info { background: var(--ivory); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.info-card {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  padding: 26px 22px;
  box-shadow: 0 1px 3px rgba(15,32,46,0.04);
}
.info-card .lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
}
.info-card .val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
  font-weight: 650;
  line-height: 1.3;
}
.info-card .sub {
  font-size: 0.86rem;
  color: var(--graphite-soft);
  margin-top: 8px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .info-grid { grid-template-columns: 1fr; }
}

.location-panel { background: #ece6d8; }
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.location-copy p {
  color: var(--graphite-soft);
  font-size: 1.02rem;
  margin: 0 0 16px;
  max-width: 50ch;
}
.location-media img {
  border-radius: 6px;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
@media (max-width: 860px) {
  .location-layout { grid-template-columns: 1fr; }
  .location-media img { height: 280px; }
  .location-media { order: -1; }
}


/* ==========================================================================
   Homepage — brand gallery (cinematic coverflow + lightbox)
   ========================================================================== */
.brand-gallery { background: var(--ivory); }

.gallery-stage {
  position: relative;
  height: clamp(300px, 44vw, 440px);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  outline: none;
}

.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(210px, 28vw, 320px);
  height: clamp(210px, 28vw, 320px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-900);
  cursor: pointer;
  box-shadow: 0 20px 46px rgba(10, 21, 32, 0.32);
  transition: transform 0.6s cubic-bezier(0.22, 0.68, 0, 1.01), opacity 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
  transform: translate(-50%, -50%);
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(228, 194, 117, 0.35);
  pointer-events: none;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide.is-active {
  cursor: zoom-in;
  box-shadow: 0 30px 66px rgba(10, 21, 32, 0.42);
}

.gallery-slide.is-active::before {
  content: "View full screen";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 10px 14px 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  background: linear-gradient(0deg, rgba(10,21,32,0.85) 0%, rgba(10,21,32,0) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-slide.is-active:hover::before,
.gallery-slide.is-active:focus-visible::before {
  opacity: 1;
}

.gallery-slide:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.gallery-arrow {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--navy-900);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.gallery-arrow:hover {
  background: var(--navy-900);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.gallery-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  text-align: center;
}
.gallery-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
}
.gallery-hint {
  font-size: 0.82rem;
  color: var(--graphite-soft);
}

@media (max-width: 700px) {
  .gallery-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .gallery-hint { display: none; }
}

/* Lightbox / full canvas view */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(10, 21, 32, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  padding: clamp(16px, 4vw, 40px);
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 88vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-image {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}
.lightbox-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 230, 0.35);
  background: transparent;
  color: var(--ivory);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(243, 239, 230, 0.1);
  border-color: var(--gold);
}
.lightbox-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 230, 0.35);
  background: transparent;
  color: var(--ivory);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lightbox-arrow:hover {
  background: rgba(243, 239, 230, 0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}
@media (max-width: 600px) {
  .gallery-lightbox { gap: 8px; }
  .lightbox-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
}
