/* =========================================================
   ROADMAP QUALITY CONSTRUCTION — Blueprint Design System
   Palette: Charcoal #12151A · Off-white #F5F3EE · Steel #8B95A1
            Safety Orange #E85D2A · Line #2A2F37
   Type: Big Shoulders Display (display) / Inter (body) / IBM Plex Mono (data)
   ========================================================= */

:root {
  --ink:        #12151A;
  --ink-soft:   #1B1F26;
  --line:       #2A2F37;
  --paper:      #F5F3EE;
  --paper-dim:  #EAE7DD;
  --steel:      #8B95A1;
  --steel-dark: #5B6472;
  --accent:     #E85D2A;
  --accent-dim: #C74A1E;
  --white:      #FFFFFF;

  --display: 'Big Shoulders Display', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --wrap: 1240px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--accent); color: var(--white); }

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

/* ===== Blueprint grid backdrop ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42,47,55,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,47,55,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

main, header, footer { position: relative; z-index: 1; }

/* ===== Eyebrow / labels ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow-tick { font-size: 10px; }
.eyebrow-light { color: var(--accent); }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 720px;
  margin-bottom: 18px;
}
.section-title.light { color: var(--paper); }

.section-text {
  color: var(--steel-dark);
  max-width: 560px;
  font-size: 16px;
}
.section-text.light { color: #C7CCD3; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-title,
.section-head.center .section-text { margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dim); }

.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn-outline-light { border-color: rgba(245,243,238,0.3); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-block { width: 100%; padding: 16px; }

/* ===== Top bar ===== */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 36px;
  z-index: 51;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.top-bar-left { display: flex; align-items: center; gap: 18px; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-link, .top-bar-address {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--steel);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.top-bar-link:hover { color: var(--paper); }
.top-bar-divider { width: 1px; height: 14px; background: var(--line); flex-shrink: 0; }
.top-bar-iso {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  background: #16a34a;
  padding: 2px 9px;
  border-radius: 2px;
}
.top-bar-wa {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 11px;
  color: #4ade80;
  transition: color 0.2s ease;
}
.top-bar-wa:hover { color: #86efac; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42,47,55,0.1);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 78px;
  /* Header gets its own, wider container so a full 10-item nav has
     room to breathe on real desktop widths instead of being capped
     at the narrower content --wrap width. */
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-primary {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.brand-secondary {
  font-family: var(--body);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel-dark);
}
.brand .dot, .footer-tagline .dot { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--steel-dark);
  position: relative;
  padding: 6px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover {
  color: var(--ink);
  background: rgba(232,93,42,0.08);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 9px; bottom: 2px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: calc(100% - 18px); }
.main-nav a.active {
  color: var(--ink);
  font-weight: 700;
}

.header-cta { flex-shrink: 0; white-space: nowrap; padding: 9px 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 114px; /* 36px top-bar + 78px header */
  padding-bottom: 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,243,238,0.80);
}
.hero-side-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.hero-side-label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}
.eyebrow-rule {
  display: inline-block;
  width: 44px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--ink);
}
.title-outline {
  display: block;
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}
.title-gradient {
  display: block;
  background: linear-gradient(90deg, #1e3a8a 0%, #7c3aed 55%, #E85D2A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--steel-dark);
  max-width: 580px;
  margin-bottom: 38px;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 0; }
.hact-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; }
.hero-enquire-float {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 45;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-enquire-float:hover { background: var(--accent-dim); transform: translateY(-2px); }
.float-plus { font-size: 16px; font-weight: 300; line-height: 1; }
.hero-tags {
  display: flex; gap: 26px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--steel-dark);
}
.hero-tags span { display: flex; align-items: center; gap: 8px; }
.tag-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; }
.hero-panel { position: relative; margin-top: -40px; }
.hero-image-frame { position: relative; border: 1px solid var(--line); padding: 10px; }
.hero-image-frame img { width: 100%; height: 460px; object-fit: cover; }
.corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); }
.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hero-stat-card {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--ink); color: var(--paper);
  padding: 20px 26px; display: flex; flex-direction: column; gap: 4px; border-radius: var(--radius);
}
.hero-stat-num { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--accent); }
.hero-stat-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--steel); }
.hero-footer-strip {
  border-top: 1px solid var(--line); padding: 18px 32px;
  display: flex; justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-dark);
}
.scroll-hint i { font-style: normal; display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ===== Hero video panel — TV/monitor style ===== */
.hero-video-frame {
  position: relative;
  /* thick dark bezel gives a clear TV/monitor feel */
  border: 12px solid #0b0d11;
  border-radius: 6px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 28px 72px rgba(0,0,0,0.45),
    0 6px 20px rgba(0,0,0,0.3);
}
.hero-video-frame video {
  width: 100%;
  height: auto; /* preserve original video ratio — never distort */
  display: block;
  border-radius: 1px;
}
/* viewfinder corners sit on the screen surface */
.hero-video-frame .corner-tl { top:  8px; left:  8px; }
.hero-video-frame .corner-tr { top:  8px; right: 8px; }
.hero-video-frame .corner-bl { bottom: 8px; left:  8px; }
.hero-video-frame .corner-br { bottom: 8px; right: 8px; }
.hero-video-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.hvb-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(245,243,238,0.9);
}
.hvb-mute { color: rgba(139,149,161,0.85); }

/* ===== Generic two-col section ===== */
.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 110px 0 70px;
}
.section-media { position: relative; }
.section-media img { width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--line); }
.media-badge {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
}
.media-badge strong { font-family: var(--display); font-size: 20px; }
.media-badge span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }

.section-copy .section-text { margin-bottom: 14px; max-width: 100%; }

.milestone-list { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.milestone { display: flex; gap: 18px; }
.milestone-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--line);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.milestone h4 { font-family: var(--display); font-size: 17px; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 3px; }
.milestone p { font-size: 14.5px; color: var(--steel-dark); }

.stat-strip {
  border-top: 1px solid var(--line);
  padding: 44px 32px 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--ink);
}
.stat-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-dark); }

/* ===== Services ===== */
.services { padding: 70px 0 110px; background: var(--paper-dim); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 26px;
  transition: background 0.25s ease;
  position: relative;
}
.service-card:hover { background: var(--ink); }
.service-card:hover h3, .service-card:hover p { color: var(--paper); }
.service-card:hover .service-index { color: var(--accent); }
.service-index {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  margin-bottom: 30px;
}
.service-card h3 {
  font-family: var(--display);
  font-size: 21px;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}
.service-card p { font-size: 14px; color: var(--steel-dark); transition: color 0.25s ease; }

/* ===== Why choose us ===== */
.why { padding: 110px 0; }
.why-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.why-block:last-child { margin-bottom: 0; }
.why-block.reverse .why-media { order: 2; }
.why-block.reverse .why-copy { order: 1; }

.why-media { position: relative; }
.why-media img { width: 100%; height: 380px; object-fit: cover; border: 1px solid var(--line); }
.sheet-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: var(--radius);
}

.why-copy h3 {
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: 420px;
}
.why-copy p { color: var(--steel-dark); margin-bottom: 22px; max-width: 460px; }
.why-list { display: flex; flex-direction: column; gap: 12px; }
.why-list li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--steel-dark);
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 2px;
  background: var(--accent);
}
.why-list li span { font-weight: 600; color: var(--ink); }

/* ===== Projects ===== */
.projects { padding: 30px 0 110px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-flag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
}
.project-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(18,21,26,0.92), transparent);
  color: var(--paper);
}
.project-info h3 { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.project-info p { font-family: var(--mono); font-size: 12px; color: var(--steel); margin-top: 4px; }
.project-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.project-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.project-btn svg {
  flex-shrink: 0;
}

/* ===== Clients ===== */
.clients { padding: 90px 0 100px; background: var(--paper-dim); }
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 70px;
  width: max-content;
  align-items: center;
  animation: scroll-left 26s linear infinite;
}
.client-logo {
  height: 58px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.client-logo:hover {
  opacity: 1;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fine-print {
  text-align: center;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel-dark);
}

/* ===== Careers ===== */
.careers { background: var(--ink); }

.careers-hero { padding: 90px 0 80px; border-bottom: 1px solid var(--line); }
.careers-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 12px 0 22px;
}
.careers-sub {
  font-size: 17px;
  color: var(--steel);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.careers-culture { padding: 60px 0; background: var(--ink-soft); border-bottom: 1px solid var(--line); }
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.culture-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}
.culture-card:hover { border-color: var(--accent); }
.culture-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.culture-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.culture-card p { font-size: 14px; color: var(--steel); line-height: 1.65; }

.careers-positions { padding: 80px 0 90px; background: var(--paper); }
.positions-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.positions-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.positions-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 7px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.job-list { display: flex; flex-direction: column; }
.job-card {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.job-card:last-child { border-bottom: none; }
.job-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.job-category {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 2px;
}
.job-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 2px;
}
.job-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.job-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel-dark);
  margin-bottom: 14px;
}
.job-meta-dot { color: var(--accent); }
.job-desc {
  font-size: 15px;
  color: var(--steel-dark);
  line-height: 1.7;
  max-width: 680px;
}
.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.job-iso {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #16a34a;
  background: rgba(22,163,74,0.08);
  padding: 6px 12px;
  border-radius: 2px;
}

/* ===== Blog ===== */
.blog { padding: 110px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card { border: 1px solid var(--line); overflow: hidden; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.blog-body h3 { font-family: var(--display); font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.blog-body p { font-size: 14px; color: var(--steel-dark); margin-bottom: 16px; }
.blog-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.blog-link:hover { color: var(--accent); border-color: var(--accent); }

/* ===== Contact ===== */
.contact { padding: 20px 0 120px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-map { grid-column: 1 / -1; height: 320px; border: 1px solid var(--line); overflow: hidden; }
.contact-details {
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-details h3 { font-family: var(--display); font-size: 24px; text-transform: uppercase; margin-bottom: 4px; }
.contact-sub { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.contact-address { color: var(--steel-dark); font-size: 14.5px; margin-bottom: 16px; max-width: 340px; }
.contact-line { font-size: 15px; padding: 6px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 1px solid var(--line); }

.contact-form {
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-dark); }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  font-family: var(--body);
  border-radius: var(--radius);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.form-note { font-family: var(--mono); font-size: 12.5px; color: var(--accent); min-height: 16px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245,243,238,0.12);
}
.footer-brand p { color: #A9AFB8; font-size: 14px; margin: 18px 0 20px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(245,243,238,0.25);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

.footer-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: #C7CCD3; font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-tagline { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--paper); font-size: 14px; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--ink);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== Reveal-on-scroll ===== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .section-grid { grid-template-columns: 1fr; }
  .section-media img { height: 320px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-block, .why-block.reverse { grid-template-columns: 1fr; }
  .why-block.reverse .why-media, .why-block.reverse .why-copy { order: initial; }
  .culture-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1300px) {
  /* The full 10-item nav needs real estate a typical laptop screen
     doesn't have — switch to the hamburger menu here so links never
     get squeezed into the logo/brand instead of just doing it at
     phone widths. */
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px 26px;
    gap: 6px;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.open a {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .top-bar { display: none; }
  .site-header { top: 0; }
  .hero { padding-top: 78px; }
  .hero-side-label { display: none; }
  .hero-enquire-float { display: none; }
  .hero-panel { display: none; }

  .stat-strip { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 78px; padding-bottom: 50px; }
  .hero-title { font-size: clamp(44px, 12vw, 68px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stat-card { left: 0; bottom: -20px; }
  .media-badge { right: 0; bottom: -20px; }
  .culture-grid { grid-template-columns: 1fr; }
  .job-footer { flex-direction: column; align-items: flex-start; }
}

/* ===== Chairman's Desk page ===== */
.page-header {
  padding: 178px 0 56px; /* 36px top-bar + 78px header + breathing room */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-header-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 10px 0 18px;
}
.page-header-sub {
  font-size: 17px;
  color: var(--steel-dark);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.page-header-tags {
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel-dark);
}
.page-header-tags span { display: flex; align-items: center; gap: 8px; }

.chairman-letter {
  padding: 80px 0 110px;
}

.chairman-letter .section-head { margin-bottom: 60px; }

.chairman-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.director-wrap {
  grid-template-columns: 1fr 320px;
  margin-top: 110px;
  padding-top: 90px;
  border-top: 1px solid var(--line);
}

.director-wrap .chairman-portrait { grid-column: 2; grid-row: 1; }
.director-wrap .chairman-content { grid-column: 1; grid-row: 1; }

.chairman-portrait {
  position: sticky;
  top: 100px;
}

.chairman-img-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 8px;
  background: var(--ink-soft);
}

.chairman-img-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.chairman-id-card {
  background: var(--ink);
  color: var(--white);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chairman-id-card strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.chairman-id-card span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--steel);
}

.chairman-content { padding-top: 8px; }

.chairman-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 10px 0 28px;
}

.chairman-content > p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--steel-dark);
  margin-bottom: 20px;
}

.chairman-content > p strong { color: var(--ink); font-weight: 600; }

.chairman-sub {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 42px 0 20px;
}

.chairman-quote {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  background: rgba(232,93,42,0.06);
  padding: 20px 26px;
  margin: 36px 0;
}

.chairman-sig {
  margin-top: 44px;
  padding-top: 24px;
}

.sig-rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 18px;
}

.chairman-sig strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.chairman-sig span {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.8;
}

.key-players {
  margin-top: 120px;
  padding-top: 90px;
  border-top: 1px solid var(--line);
}

.key-players .section-head { margin-bottom: 42px; }

.key-players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.key-player-card {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.key-player-card img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  background: var(--ink-soft);
}

.key-player-info {
  padding: 18px 18px 20px;
  background: var(--ink);
  color: var(--white);
}

.key-player-info h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.key-player-info p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (max-width: 900px) {
  .page-header { padding-top: 100px; }
  .chairman-wrap { grid-template-columns: 1fr; gap: 40px; }
  .director-wrap { grid-template-columns: 1fr; }
  .director-wrap .chairman-portrait,
  .director-wrap .chairman-content { grid-column: auto; grid-row: auto; }
  .chairman-portrait { position: static; display: flex; gap: 20px; align-items: flex-start; }
  .chairman-img-frame { width: 180px; flex-shrink: 0; }
  .chairman-id-card { flex: 1; justify-content: center; }
  .key-players-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .chairman-portrait { flex-direction: column; }
  .chairman-img-frame { width: 100%; }
  .key-players { margin-top: 80px; padding-top: 60px; }
  .key-players-grid { grid-template-columns: 1fr; }
}

/* ===== Custom Cursor (mouse devices only) ===== */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, opacity 0.3s ease;
    will-change: left, top;
  }

  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 2px solid rgba(232, 93, 42, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, opacity 0.3s ease;
    will-change: left, top;
  }

  /* Enlarge ring on hoverable elements */
  .cursor-dot.hover { width: 12px; height: 12px; }
  .cursor-ring.hover {
    width: 58px; height: 58px;
    border-color: rgba(232, 93, 42, 0.35);
  }

  /* Burst animation on click */
  .cursor-ring.clicking {
    width: 70px; height: 70px;
    opacity: 0;
    transition: width 0.38s ease, height 0.38s ease, opacity 0.38s ease;
  }
  .cursor-dot.clicking { width: 5px; height: 5px; }
}

/* =========================================================
   Premium interaction layer — added for ROADMAP refresh
   ========================================================= */
:root {
  --accent-glow: rgba(232,93,42,.22);
  --section-wash: rgba(255,255,255,.48);
}

/* Stronger visual differentiation while moving through the page */
main > section {
  position: relative;
  isolation: isolate;
  transition: background-color .55s ease, box-shadow .55s ease;
}
main > section::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleY(.35);
  transform-origin: center;
  transition: opacity .45s ease, transform .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
  z-index: 2;
}
main > section.is-active-section {
  background-color: var(--section-wash);
}
main > section.is-active-section::after {
  opacity: .7;
  transform: scaleY(1);
}

/* Section hover: enough contrast to distinguish the current area without looking gimmicky */
main > section:hover {
  box-shadow: inset 0 1px 0 rgba(232,93,42,.08), inset 0 -1px 0 rgba(18,21,26,.05);
}

.service-card,
.project-card,
.culture-card,
.blog-card,
.why-block,
.stat-item,
.contact-details,
.contact-form {
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .35s ease, background-color .35s ease;
}
.service-card:hover,
.culture-card:hover,
.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(18,21,26,.12);
}
.project-card:hover { box-shadow: 0 22px 50px rgba(18,21,26,.18); }

/* Cursor enhancements */
@media (pointer: fine) {
  .cursor-dot { box-shadow: 0 0 0 5px rgba(232,93,42,.08), 0 0 18px var(--accent-glow); }
  .cursor-ring { backdrop-filter: blur(1px); mix-blend-mode: normal; }
  .cursor-ring.section-hover {
    width: 72px;
    height: 72px;
    border-color: rgba(232,93,42,.48);
    background: rgba(232,93,42,.035);
  }
  .cursor-ring.image-hover {
    width: 86px;
    height: 86px;
    border-color: rgba(245,243,238,.78);
    background: rgba(18,21,26,.08);
  }
  .cursor-ring.button-hover { width: 64px; height: 64px; }
}

/* Floating contact hub */
.contact-hub {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
.contact-hub-main,
.contact-hub-item {
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-hub-main {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(18,21,26,.25);
  font-size: 20px;
  transition: transform .3s ease, background .3s ease;
}
.contact-hub-main:hover { transform: scale(1.08) rotate(8deg); background: var(--accent); }
.contact-hub-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px) scale(.94);
  pointer-events: none;
  transition: opacity .28s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.contact-hub:hover .contact-hub-items,
.contact-hub:focus-within .contact-hub-items { opacity: 1; transform: none; pointer-events: auto; }
.contact-hub-item {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18,21,26,.12);
  font-size: 10px;
  gap: 7px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.contact-hub-item:hover { transform: translateX(-4px); background: var(--accent); color: var(--white); border-color: var(--accent); }
.contact-hub-item.whatsapp { color: #168a46; }
.contact-hub-item.whatsapp:hover { color: var(--white); }

@media (max-width: 860px) {
  .contact-hub { right: 16px; bottom: 16px; }
  .contact-hub-items { opacity: 1; transform: none; pointer-events: auto; }
  .contact-hub-item { display: none; }
  .contact-hub-main { background: var(--accent); }
  main > section::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  main > section,
  main > section::after,
  .service-card,
  .project-card,
  .culture-card,
  .blog-card { transition: none !important; }
}

/* ===== Photo Gallery ===== */
.gallery {
  padding: 100px 0 110px;
  background: var(--paper-dim);
}
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.gallery-head .section-title,
.gallery-head .section-text { margin-bottom: 0; }
.gallery-count {
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
}
.gallery-count small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  aspect-ratio: 3 / 4;
  box-shadow: 0 2px 0 rgba(18,21,26,0.02);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 22px 40px -14px rgba(18,21,26,0.35);
  transform: translateY(-3px);
}
.gallery-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}
.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

/* Small always-visible category chip */
.gallery-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(245,243,238,0.92);
  border: 1px solid rgba(18,21,26,0.12);
  padding: 5px 10px;
  border-radius: var(--radius);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-card:hover .gallery-tag,
.gallery-card:focus-visible .gallery-tag {
  opacity: 0;
  transform: translateY(-4px);
}

/* Caption that slides up on hover */
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  background: linear-gradient(0deg, rgba(10,12,16,0.88) 0%, rgba(10,12,16,0.35) 60%, rgba(10,12,16,0) 100%);
  color: var(--paper);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-card:hover .gallery-cap,
.gallery-card:focus-visible .gallery-cap {
  opacity: 1;
  transform: translateY(0);
}
.gallery-cap-text { display: flex; flex-direction: column; gap: 4px; }
.gallery-cap-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.gallery-cap-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}
.gallery-cap-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  font-size: 15px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(10,12,16,0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lightbox-figure {
  max-width: min(86vw, 900px);
  max-height: 90vh;
  margin: 0;
}
.gallery-lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(18,21,26,0.75);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.gallery-lightbox-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}
.gallery-lightbox-nav {
  top: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  font-size: 38px;
  line-height: 1;
}
.gallery-lightbox-prev { left: 22px; }
.gallery-lightbox-next { right: 22px; }

@media (max-width: 1080px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-card--wide { aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .gallery { padding: 80px 0 90px; }
  .gallery-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-grid { gap: 16px; }
  .gallery-cap { padding: 16px 14px; }
  .gallery-cap-title { font-size: 16px; }
  .gallery-lightbox { padding: 20px 12px; }
  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { aspect-ratio: 4 / 5; }
  .gallery-card--wide { aspect-ratio: 4 / 5; }
  /* Captions can't rely on hover on touch devices — keep them visible */
  .gallery-tag { opacity: 0; }
  .gallery-cap { opacity: 1; transform: translateY(0); }
  .gallery-lightbox-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 30px; }
  .gallery-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

body.gallery-lightbox-open { overflow: hidden; }
