﻿/* ==========================================================================
   Srsti Quantum - Shared Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Palette */
  --navy: #0a1a4d;
  --navy-dark: #060f30;
  --navy-light: #16297a;
  --red: #e2231a;
  --red-dark: #b81810;
  --orange: #f5851f;
  --white: #ffffff;
  --beige: #f5f2ec;
  --beige-dark: #ece6d9;
  --ink: #1c2333;
  --muted: #5b6274;

  /* Gradients */
  --grad-accent: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%);
  --grad-accent-diag: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  --grad-navy: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);

  /* Layout */
  --container-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 26, 77, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 26, 77, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 26, 77, 0.18);
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* <picture> wraps photos for WebP/JPG fallback; it must not shrink to
   inline size or the img's height:100% has nothing to resolve against. */
.card-img picture, .service-img picture, .process-img picture { display: block; width: 100%; height: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-wide { max-width: 1440px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

section { padding: 88px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(226, 35, 26, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(226, 35, 26, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  height: auto;
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1320px, calc(100% - 64px));
  max-width: none;
  min-height: 86px;
  padding: 16px 44px;
  background: var(--white);
  border: 1px solid rgba(10, 26, 77, 0.08);
  border-radius: 100px;
  box-shadow: 0 20px 44px rgba(6, 15, 48, 0.14);
  pointer-events: auto;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow var(--transition),
              border-color var(--transition);
}
.site-header.is-scrolled {
  top: 0;
}
.site-header.is-scrolled .header-inner {
  width: 100%;
  min-height: 76px;
  padding: 14px 44px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(6, 15, 48, 0.18);
  border-color: rgba(10, 26, 77, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 54px; height: 54px; flex-shrink: 0; object-fit: contain; }
.logo-text {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--red); }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--navy);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--red); }
.nav-link.active { color: var(--red); font-weight: 600; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin-inline: auto;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--grad-navy);
  color: rgba(255,255,255,0.85);
  padding-top: 72px;
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.95rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--orange); }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal-links a:hover { color: var(--white); }

.footer-pattern {
  height: 8px;
  width: 100%;
  background-color: var(--red);
}

/* ==========================================================================
   HOME - Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(88vh + var(--header-h));
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background:
    linear-gradient(180deg, rgba(6,15,48,0.55) 0%, rgba(6,15,48,0.86) 100%),
    url('../assets/img/hero-quantum-bg.svg') center / cover no-repeat,
    var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 85% 15%, rgba(226,35,26,0.30), transparent 70%),
              radial-gradient(ellipse 45% 45% at 10% 90%, rgba(245,133,31,0.22), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-content .eyebrow { color: var(--orange); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-content h1 .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p {
  margin-top: 20px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Inner page hero (smaller banner) ---------- */
.page-hero {
  position: relative;
  padding: calc(150px + var(--header-h)) 0 80px;
  background:
    linear-gradient(160deg, rgba(6,15,48,0.88) 20%, rgba(226,35,26,0.55) 130%),
    url('../assets/img/hero-quantum-bg.svg') center / cover no-repeat,
    var(--navy-dark);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(245,133,31,0.25), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p { margin: 16px auto 0; max-width: 560px; color: rgba(255,255,255,0.75); font-size: 1.08rem; }
.breadcrumb { margin-top: 22px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Mission strip ---------- */
.mission-strip {
  position: relative;
  background: var(--grad-navy);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}
.mission-strip .mission-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
  pointer-events: none;
}
.mission-strip-inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.mission-strip h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.5;
}
.mission-strip h2 strong {
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mission-strip p { margin-top: 18px; color: rgba(255,255,255,0.6); }

/* ---------- Solutions cards (home) ---------- */
.solutions-section { background: var(--white); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.solution-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.solution-card .card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.solution-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.solution-card:hover .card-img img { transform: scale(1.12) rotate(1deg); }
.solution-card .card-body { padding: 26px 26px 30px; }
.solution-card .card-body h3 { font-size: 1.2rem; }
.solution-card .card-body p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }
.solution-card .card-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- News strip ---------- */
.badges-strip { background: var(--beige); text-align: center; }
.badges-strip .section-head { margin-bottom: 40px; }
.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}
.badges-row img {
  height: 64px;
  width: auto;
  transition: transform var(--transition);
}
.badges-row img:hover { transform: translateY(-4px); }

.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  text-align: left;
}
.news-card {
  flex: 1 1 340px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
}
.news-card span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-card h3 {
  font-size: 1rem;
  line-height: 1.55;
}

/* ==========================================================================
   ABOUT - flip cards
   ========================================================================== */
.team-section { background: var(--white); }
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.team-row-break { flex-basis: 100%; height: 0; margin: 0; }
.team-member { width: 260px; text-align: center; }
.flip-card {
  perspective: 1400px;
  aspect-ratio: 3 / 3.6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}
.flip-card-front img { width: 100%; height: 100%; object-fit: contain; background: var(--white); padding: 18px; }
.flip-card-front img.is-photo { object-fit: cover; object-position: top center; padding: 0; background: none; }
.flip-card-front::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,26,77,0.75) 100%);
}
.flip-card-back {
  background: var(--grad-navy);
  color: rgba(255,255,255,0.9);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  padding: 26px;
  text-align: left;
}
.flip-card-back p { font-size: 0.92rem; line-height: 1.6; }
.flip-hint {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.flip-hint svg { width: 15px; height: 15px; fill: var(--white); }
.team-member .member-name {
  margin-top: 20px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.team-member .member-role {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--red);
  font-weight: 500;
}

/* ---------- Company story ---------- */
.story-section { background: var(--beige); }
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.story-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.story-copy h2 em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.story-copy p { margin-top: 18px; color: var(--muted); }
.story-copy p + p { margin-top: 14px; }
.story-copy.is-centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.story-copy.is-centered p { text-align: left; }

.stats-row {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.stat-box .stat-num span { color: var(--red); }
.stat-box .stat-label {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.story-visual { position: relative; }
.story-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Why indigenous hardware matters ---------- */
.indigenous-section { background: var(--white); }
.indigenous-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.indigenous-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--beige);
  transition: transform var(--transition), box-shadow var(--transition);
}
.indigenous-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.indigenous-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-accent-diag);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}
.indigenous-card h4 { font-size: 0.98rem; }
.indigenous-card p { margin-top: 8px; font-size: 0.86rem; color: var(--muted); }

/* ==========================================================================
   SOLUTIONS page
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy);
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-tile:hover .service-img img { transform: scale(1.08); }
.service-body { flex: 1; display: flex; flex-direction: column; padding: 18px 16px 20px; }
.service-tile h3 { font-size: 0.98rem; line-height: 1.3; }
.service-tile p { margin-top: 8px; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.service-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-list li {
  position: relative;
  padding-left: 13px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--muted);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.service-tile .tile-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--red);
}
.service-tile .tile-link svg { width: 13px; height: 13px; transition: transform var(--transition); }
.service-tile:hover .tile-link svg { transform: translateX(4px); }

.process-section { background: var(--beige); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  counter-reset: step;
}
.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 128px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--navy);
}
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.process-step .step-num {
  position: absolute;
  top: 8px; left: 8px;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(6, 15, 48, 0.35);
}
.process-body { flex: 1; min-width: 0; }
.process-step h4 { font-size: 1.02rem; }
.process-step h4 .step-sub { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.process-step p { margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   CAREERS page
   ========================================================================== */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.perk-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--beige);
}
.perk-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.perk-icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; }
.perk-card h4 { font-size: 1rem; }
.perk-card p { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }

.jobs-section { background: var(--beige); }
.job-filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-chip {
  padding: 9px 20px;
  border-radius: 100px;
  background: var(--beige);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.filter-chip.is-active, .filter-chip:hover { background: var(--navy); color: var(--white); }

.job-list { display: flex; flex-direction: column; gap: 18px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--beige-dark);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.job-card h3 { font-size: 1.12rem; }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.job-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--beige);
  padding: 5px 12px;
  border-radius: 100px;
}
.job-tag.dept { color: var(--red); background: rgba(226,35,26,0.08); }

.coming-soon {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 40px;
  box-shadow: var(--shadow-sm);
}
.coming-soon::before {
  content: '';
  display: block;
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--grad-accent-diag);
}
.coming-soon h2 { font-size: 1.5rem; color: var(--navy); }
.coming-soon p { margin-top: 14px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.coming-soon a { color: var(--red); font-weight: 600; }
.coming-soon a:hover { text-decoration: underline; }

/* ==========================================================================
   CONTACT page
   ========================================================================== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: flex-start;
}
.contact-form {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--beige-dark);
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(226,35,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error {
  display: none;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--red-dark);
  font-weight: 500;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--red); }
.form-group.has-error .form-error { display: block; }

.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}
.form-status.is-success { display: block; background: rgba(34,150,90,0.12); color: #1c6b45; }
.form-status.is-error { display: block; background: rgba(226,35,26,0.1); color: var(--red-dark); }

.info-block { display: flex; flex-direction: column; gap: 28px; }
.info-item { display: flex; gap: 16px; }
.info-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-navy);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 21px; height: 21px; stroke: var(--orange); fill: none; }
.info-item h4 { font-size: 1rem; }
.info-item p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.info-map {
  margin-top: 6px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   LEGAL pages (Privacy, Terms, Security)
   ========================================================================== */
.legal-content { max-width: 760px; margin-inline: auto; }
.legal-content .legal-updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 36px; }
.legal-content h2 { margin-top: 40px; font-size: 1.2rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-top: 12px; color: var(--muted); line-height: 1.75; }

/* ==========================================================================
   Scroll-reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1320px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    height: var(--header-h);
    background: var(--white);
    pointer-events: auto;
  }
  .site-header.is-scrolled { box-shadow: 0 4px 24px rgba(10, 26, 77, 0.1); }
  .header-inner {
    width: 100%;
    max-width: var(--container-w);
    min-height: var(--header-h);
    padding: 0 24px;
    background: transparent;
    box-shadow: none;
  }
  .site-header.is-scrolled .header-inner { box-shadow: none; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: 1.28rem; }
  .hero {
    min-height: 88vh;
    padding-top: 0;
  }
  .page-hero { padding: 150px 0 80px; }

  .card-grid, .perks-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-member { width: 220px; }
  .indigenous-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  section { padding: 64px 0; }

  .site-header { top: 0; }
  .header-inner {
    width: 100%;
    min-height: var(--header-h);
    padding: 0 24px;
  }
  .logo { gap: 8px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: 1.08rem; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(10,26,77,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 4px; }
  .nav-link { padding: 14px 12px; }
  .nav-link.active { background: var(--beige); }
  .hamburger { display: flex; }

  .hero { min-height: 92vh; text-align: center; }
  .hero-content { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .card-grid, .service-grid, .perks-grid, .process-grid, .footer-inner, .form-row { grid-template-columns: 1fr; }
  .team-member { width: 100%; max-width: 300px; }
  .indigenous-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .process-img { width: 92px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
