/* ==========================================================================
   EquipmentShare — Modernized Clone
   Design system + components
   ========================================================================== */

:root {
  /* Palette */
  --ink: #0b0b0f;
  --ink-2: #15151c;
  --ink-3: #1f1f29;
  --paper: #f7f7f4;
  --paper-2: #ffffff;
  --muted: #6b6b78;
  --muted-2: #9a9aa6;
  --line: rgba(11, 11, 15, 0.08);
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Brand accent */
  --accent: #ff5c00;
  --accent-2: #ff8a3d;
  --accent-soft: rgba(255, 92, 0, 0.12);
  --lime: #d6ff3f;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1240px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(11, 11, 15, 0.4);
  --shadow-soft: 0 8px 30px -16px rgba(11, 11, 15, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 600; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff6d1a; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,92,0,0.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 247, 244, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px;
}
.brand .dot { width: 11px; height: 11px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.brand span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 100px; font-weight: 500; font-size: 0.93rem;
  color: var(--ink); transition: all 0.2s var(--ease);
}
.nav-links > li > a:hover { background: rgba(11,11,15,0.06); }
.nav-links > li > a.active { color: var(--accent); }
.nav-links .caret { width: 14px; height: 14px; opacity: 0.5; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; min-width: 280px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: 12px; transition: background 0.2s;
}
.dropdown a:hover { background: var(--paper); }
.dropdown a strong { font-weight: 600; font-size: 0.92rem; }
.dropdown a small { color: var(--muted); font-size: 0.8rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s var(--ease); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative; background: var(--ink); color: #fff;
  padding: 92px 0 0; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(255,92,0,0.28), transparent 70%),
    radial-gradient(50% 60% at 10% 30%, rgba(214,255,63,0.10), transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent);
          mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 600;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,0.72); max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark); border-top: 1px solid var(--line-dark);
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; margin-top: 24px;
}
.hero-feature {
  background: var(--ink); padding: 30px 26px; transition: background 0.3s var(--ease);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-feature:hover { background: var(--ink-2); }
.hero-feature .num { font-family: var(--font-display); color: var(--accent); font-weight: 600; font-size: 0.85rem; }
.hero-feature h3 { font-size: 1.15rem; }
.hero-feature p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ===== Stats strip ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 56px 0;
}
.stat .value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.03em; color: var(--ink);
}
.stat .value .u { color: var(--accent); }
.stat .label { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

/* ===== Section heading ===== */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.dark { background: var(--ink); color: #fff; }
.dark .section-head p { color: rgba(255,255,255,0.65); }
.dark .stat .value { color: #fff; }
.dark .stat .label { color: rgba(255,255,255,0.6); }

/* ===== Cards / Bento ===== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11,11,15,0.14); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .arrow { margin-top: 20px; color: var(--accent); font-weight: 600; font-family: var(--font-display); display: inline-flex; gap: 6px; align-items: center; }
.card.span-4 { grid-column: span 4; }
.card.span-6 { grid-column: span 6; }
.card.span-8 { grid-column: span 8; }
.card.span-12 { grid-column: span 12; }
.card.feature {
  background: var(--ink); color: #fff; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card.feature p { color: rgba(255,255,255,0.65); }
.card.accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.card.accent p { color: rgba(255,255,255,0.85); }
.card.accent .icon { background: rgba(255,255,255,0.2); color: #fff; }

/* category chips grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); transition: all 0.3s var(--ease);
}
.cat:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.cat .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.cat:hover .ci { background: var(--accent-soft); color: var(--accent); }
.cat h4 { font-size: 1.05rem; }
.cat span { color: var(--muted); font-size: 0.85rem; }

/* ===== Split feature ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 420px;
  background: linear-gradient(135deg, var(--ink-2), var(--ink)); position: relative;
  border: 1px solid var(--line-dark);
}
.split-media .glow { position: absolute; inset: 0; background: radial-gradient(50% 50% at 70% 30%, var(--accent-soft), transparent 70%); }
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 22px; }
.dark .split p { color: rgba(255,255,255,0.65); }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin-top: 2px;
}
.feature-list .tick svg { width: 12px; height: 12px; }

/* mock UI panel inside media */
.mock {
  position: absolute; inset: 28px; border-radius: var(--radius); background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark); backdrop-filter: blur(8px); padding: 22px; color: #fff;
  display: flex; flex-direction: column; gap: 16px;
}
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.05); }
.mock-row .l { display: flex; align-items: center; gap: 12px; }
.mock-row .pin { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.mock-row small { color: rgba(255,255,255,0.5); display: block; font-size: 0.72rem; }
.mock-badge { font-size: 0.7rem; padding: 4px 10px; border-radius: 100px; font-family: var(--font-display); font-weight: 600; }
.mock-badge.ok { background: rgba(214,255,63,0.18); color: var(--lime); }
.mock-badge.warn { background: var(--accent-soft); color: var(--accent-2); }

/* ===== Logos ===== */
.logos { display: flex; flex-wrap: wrap; gap: 18px 56px; align-items: center; justify-content: center; }
.logos span { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--muted-2); opacity: 0.8; transition: 0.3s; }
.logos span:hover { color: var(--ink); opacity: 1; }
.dark .logos span:hover { color: #fff; }

/* ===== Timeline ===== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--line); }
.tl-item { padding: 28px 26px 0; border-right: 1px solid var(--line); position: relative; }
.tl-item:last-child { border-right: none; }
.tl-item::before { content: ""; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tl-item .yr { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 1.1rem; margin-bottom: 8px; }
.tl-item h4 { font-size: 1.15rem; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 0.92rem; }

/* ===== Quote ===== */
.quote-block { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-block blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 24px; }
.quote-block .cite { color: var(--accent); font-weight: 600; }
.dark .quote-block .cite { color: var(--accent-2); }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; border-radius: var(--radius-lg); padding: 64px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 10%, rgba(255,255,255,0.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-band p { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 32px; max-width: 560px; margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Article cards ===== */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.35s var(--ease);
}
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article .thumb { height: 180px; background: linear-gradient(135deg, var(--ink-2), var(--ink)); position: relative; }
.article .thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 30% 30%, var(--accent-soft), transparent 70%); }
.article .body { padding: 24px; }
.article .date { color: var(--accent); font-size: 0.82rem; font-weight: 600; font-family: var(--font-display); }
.article h3 { font-size: 1.15rem; margin: 10px 0; line-height: 1.25; }

/* ===== Page hero (sub-pages) ===== */
.page-hero { background: var(--ink); color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 16px 0; max-width: 800px; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.7); max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.breadcrumb a:hover { color: #fff; }

/* ===== Forms ===== */
.form-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--paper); transition: 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* contact info list */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.contact-list strong { display: block; font-family: var(--font-display); }
.contact-list span { color: var(--muted); }

/* locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loc { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); transition: 0.3s var(--ease); }
.loc:hover { border-color: var(--accent); transform: translateY(-2px); }
.loc h4 { font-size: 1.1rem; margin-bottom: 4px; }
.loc p { color: var(--muted); font-size: 0.9rem; }
.loc .state { color: var(--accent); font-size: 0.78rem; font-weight: 600; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; }
.search-bar { display: flex; gap: 12px; max-width: 540px; margin-top: 28px; }
.search-bar input { flex: 1; padding: 16px 20px; border-radius: 100px; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.06); color: #fff; font-size: 1rem; }
.search-bar input::placeholder { color: rgba(255,255,255,0.5); }

/* job listings */
.jobs { display: flex; flex-direction: column; gap: 12px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); transition: 0.3s var(--ease); }
.job:hover { border-color: var(--accent); transform: translateX(4px); }
.job h4 { font-size: 1.15rem; margin-bottom: 4px; }
.job .meta { color: var(--muted); font-size: 0.88rem; display: flex; gap: 16px; flex-wrap: wrap; }
.tag { font-size: 0.72rem; padding: 5px 12px; border-radius: 100px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-family: var(--font-display); }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; font-size: 0.9rem; font-weight: 500; transition: 0.2s; }
.dark .pill { border-color: var(--line-dark); }
.pill:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding: 80px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 300px; margin-bottom: 24px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 0.85rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: rgba(255,255,255,0.7); transition: 0.3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.phone-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.phone-cta span { color: var(--accent-2); }

/* ===== Real imagery ===== */
.hero-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,15,0.82) 0%, rgba(11,11,15,0.5) 50%, rgba(11,11,15,0.35) 100%), linear-gradient(180deg, transparent 40%, rgba(11,11,15,0.85) 100%); }
.page-hero .hero-photo::after { background: linear-gradient(90deg, rgba(11,11,15,0.8) 0%, rgba(11,11,15,0.5) 60%, rgba(11,11,15,0.4) 100%), linear-gradient(180deg, transparent 50%, rgba(11,11,15,0.8) 100%); }

/* photo inside split media */
.split-media.has-photo { background: var(--ink); }
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.split-media .glow { z-index: 1; mix-blend-mode: screen; }
.split-media .mock { z-index: 2; }

/* image card (bento with photo) */
.card .card-img { width: calc(100% + 64px); height: 200px; object-fit: cover; margin: -32px -32px 24px; display: block; }
.card.feature .card-img { filter: saturate(1.05); }

/* article thumbnails use background-image inline; keep subtle overlay */
.article .thumb { background-size: cover; background-position: center; }

/* brand logos */
.logos img { height: 34px; width: auto; object-fit: contain; opacity: 0.7; transition: opacity 0.3s, filter 0.3s; filter: grayscale(1); }
.logos img:hover { opacity: 1; filter: none; }

/* solution tier icons (real svgs) */
.icon img, .ci img { width: 28px; height: 28px; object-fit: contain; }

/* award badges */
.awards-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.awards-grid img { width: 100%; height: 96px; object-fit: contain; border-radius: 10px; }
@media (max-width: 768px) { .awards-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 480px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card.span-4, .card.span-6, .card.span-8 { grid-column: span 6; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl-item { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .articles { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--paper-2);
    padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 320px; }
  .cat-grid, .articles, .loc-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .tl-item { border-right: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band, .form-card { padding: 36px 24px; }
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .job { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats, .hero-features, .footer-top { grid-template-columns: 1fr; }
}
