/* ============================================================
   CV Document Portal — cv.boostfit.app
   Design language: warm "studio / architect" — paper, pine, copper.
   (Deliberately NOT the AI-default navy + blue/violet gradient.)
   ============================================================ */

:root {
  --bg: #f4f1ea;
  --surface: #fffdf9;
  --ink: #29251e;
  --ink-2: #3d382f;
  --muted: #6d665a;
  --faint: #9b937f;

  --brand: #17684f;
  --brand-dark: #0f4c39;
  --brand-ink: #0c382b;
  --accent: #b8632c;
  --accent-dark: #94501f;
  --accent-soft: #f3e3d3;
  --good: #2f7d5c;

  --border: #e1d9c7;
  --border-soft: #ece5d8;
  --shadow-sm: 0 1px 2px rgba(41, 37, 30, 0.05);
  --shadow: 0 8px 24px rgba(41, 37, 30, 0.08);
  --shadow-lg: 0 20px 48px rgba(41, 37, 30, 0.16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --nav-h: 68px;
  --grad: linear-gradient(135deg, #b8632c 0%, #d08a45 100%);

  --font-display: "Iowan Old Style", "Palatino Linotype", "Palatino", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ic { width: 16px; height: 16px; flex: 0 0 auto; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 249, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.2px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 800; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(184, 99, 44, 0.35);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav-links > a:not(.nav-cta) { transition: color 0.15s ease; }
.nav-links > a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 9px 16px; border-radius: 10px;
  box-shadow: 0 6px 16px rgba(184, 99, 44, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent-dark); box-shadow: 0 10px 22px rgba(184, 99, 44, 0.38); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(155deg, #1b2420 0%, #212c26 45%, #26362d 100%);
  color: #f5f1e8;
  overflow: hidden;
  padding: 72px 0 40px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200, 200, 180, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 200, 180, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.42; pointer-events: none; }
.hero-glow-a { width: 520px; height: 520px; background: rgba(184, 99, 44, 0.34); top: -180px; right: -120px; }
.hero-glow-b { width: 420px; height: 420px; background: rgba(47, 125, 92, 0.30); bottom: -200px; left: -100px; }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 340px;
  gap: 56px; align-items: center;
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 3px;
  font-size: 12px; font-weight: 700; color: #d08a45;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: #d08a45; border-radius: 2px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.08;
}
.hero-role { font-size: clamp(15px, 1.8vw, 19px); font-weight: 500; color: #b7c4bc; margin-top: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 13px; font-size: 13px; color: #e2ddd1;
}
.badge .ic { color: #d08a45; }
.badge-good .ic { color: #7fb69a; }
.hero-summary { margin-top: 20px; max-width: 640px; color: #aebcb2; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 18px; border-radius: 11px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(184, 99, 44, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(184, 99, 44, 0.45); }
.btn-glass { background: rgba(255, 255, 255, 0.08); color: #e2ddd1; border-color: rgba(255, 255, 255, 0.22); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-download { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(184, 99, 44, 0.25); }
.btn-download:hover { background: var(--accent-dark); }

.hero-contacts { margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.hero-contacts a { display: inline-flex; align-items: center; gap: 8px; color: #cdbf9e; transition: color 0.15s ease; }
.hero-contacts a:hover { color: #fff; }

/* Profile card */
.hero-panel { position: relative; }
.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(6, 10, 8, 0.5);
}
.avatar-ring {
  width: 96px; height: 96px; margin: 0 auto 16px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 210deg, #b8632c, #d08a45, #2f7d5c, #b8632c);
  box-shadow: 0 10px 30px rgba(184, 99, 44, 0.35);
}
.avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #202a25;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; letter-spacing: 1px;
}
.profile-card-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.profile-card-role { font-size: 13px; color: #aebcb2; margin-top: 4px; }
.quick-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.qstat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 8px;
}
.qstat-num { font-size: 22px; font-weight: 800; color: #fff; }
.qstat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: #8fa097; margin-top: 2px; }

/* Companies strip */
.hero-strip { position: relative; margin-top: 56px; }
.companies {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.companies > span:first-child { color: #7d8b80; text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 700; }
.company { color: #c7d2c8; font-weight: 600; opacity: 0.85; }

/* ============================================================
   Section heads
   ============================================================ */
main { padding: 64px 24px 80px; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 11px; font-weight: 800; color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.3px; line-height: 1.2; }
.section-sub { color: var(--muted); margin-top: 10px; font-size: 15px; }
.section-head.light h2 { color: #f5f1e8; }
.section-head.light .section-eyebrow { color: #d08a45; }

/* ============================================================
   Toolbar
   ============================================================ */
.toolbar {
  position: sticky; top: calc(var(--nav-h) + 12px); z-index: 40;
  background: rgba(255, 253, 249, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
}
.search-box { position: relative; }
.search-box .ic {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--faint); width: 18px; height: 18px;
}
.search-box input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 15px; color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 99, 44, 0.16); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip .ic { width: 14px; height: 14px; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(184, 99, 44, 0.3); }
.filter-chip.chip-type.active { background: var(--ink-2); box-shadow: 0 4px 12px rgba(41, 37, 30, 0.25); }
.result-count { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ============================================================
   Document grid
   ============================================================ */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.category-heading {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0 4px;
  margin-top: 14px;
  border-bottom: 1px solid var(--border);
}
.cat-head-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184, 99, 44, 0.12); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--cat) 13%, #fffdf9);
  color: var(--cat);
}
.cat-head-icon .ic { width: 20px; height: 20px; }
.cat-head-text h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.2px; }
.cat-head-text p { font-size: 13.5px; color: var(--muted); }

.doc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; gap: 16px;
  min-width: 0; /* grid item: allow shrinking below content min-size */
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cdc3ad; }
.doc-card.featured { border: 1.5px solid var(--accent); box-shadow: 0 12px 32px rgba(184, 99, 44, 0.16); }
.featured-ribbon {
  position: absolute; top: -11px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(184, 99, 44, 0.35);
}
.featured-ribbon .ic { width: 12px; height: 12px; }
.doc-card-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184, 99, 44, 0.12); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--cat) 13%, #fffdf9);
  color: var(--cat);
}
.doc-card-icon .ic { width: 22px; height: 22px; }

/* PDF thumbnail preview */
.doc-thumb {
  flex: 0 0 104px;
  width: 104px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(41, 37, 30, 0.12);
  background: #fff;
  align-self: flex-start;
}
.doc-thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}
.doc-thumb-type {
  position: absolute;
  left: 6px; bottom: 6px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
  color: #fff;
  background: var(--tc, var(--accent));
  padding: 2px 7px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.doc-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.doc-card-top { display: flex; justify-content: space-between; align-items: center; }
.type-badge {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.6px;
  color: #fff;
  background: var(--tc, var(--accent));
  padding: 3px 10px; border-radius: 6px;
}
.doc-lang { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 600; }
.doc-lang .ic { width: 12px; height: 12px; }
.doc-card-body h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.1px; line-height: 1.35; overflow-wrap: anywhere; }
.doc-desc { font-size: 13.5px; color: var(--muted); flex-grow: 1; overflow-wrap: anywhere; }
.doc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.doc-tags li {
  font-size: 11.5px; font-weight: 600;
  color: var(--brand);
  background: #e4ede6;
  border-radius: 6px; padding: 2px 8px;
}
.doc-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 10px; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-item .ic { width: 13px; height: 13px; color: var(--faint); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.doc-card { cursor: pointer; }
.doc-card:hover .btn-preview {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline-section { padding: 72px 0 24px; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 44px 1fr; gap: 4px; }
.timeline-rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.timeline-dot {
  width: 14px; height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--grad);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  flex: 0 0 auto;
  z-index: 1;
}
.timeline-line { position: absolute; top: 22px; bottom: -6px; width: 2px; background: var(--border); }
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.timeline-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.timeline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.timeline-head h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.timeline-period { font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.timeline-company { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.company-name { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.company-type {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--muted);
  background: var(--border-soft);
  border-radius: 999px; padding: 2px 10px;
}
.timeline-bullets { list-style: none; margin-top: 12px; }
.timeline-bullets li {
  position: relative;
  padding: 3px 0 3px 18px;
  font-size: 13.5px; color: var(--muted);
}
.timeline-bullets li::before {
  content: "";
  position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.7;
}

/* ============================================================
   Contact CTA
   ============================================================ */
.contact-cta {
  background: linear-gradient(150deg, #1b2420 0%, #25352c 100%);
  padding: 64px 0;
  margin-top: 48px;
}
.contact-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-copy h2 { font-family: var(--font-display); color: #f5f1e8; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; }
.cta-copy p:last-child { color: #aebcb2; margin-top: 10px; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   Scroll to top
   ============================================================ */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(184, 99, 44, 0.4);
  cursor: pointer;
  z-index: 80;
  transition: transform 0.15s ease, background 0.15s ease;
}
.to-top:hover { transform: translateY(-3px); background: var(--accent-dark); }
.to-top .ic { width: 18px; height: 18px; transform: rotate(-90deg); }

/* ============================================================
   Empty state
   ============================================================ */
.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint);
}
.empty-icon .ic { width: 26px; height: 26px; }
.empty-state p { font-size: 16px; margin-bottom: 18px; }

/* ============================================================
   Credentials
   ============================================================ */
.credentials {
  background: linear-gradient(160deg, #1b2420 0%, #202a25 100%);
  padding: 72px 0;
}
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.cred-card { min-width: 0; }
.cred-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.cred-title {
  display: flex; align-items: center; gap: 10px;
  color: #f5f1e8; font-family: var(--font-display); font-size: 17px; font-weight: 700;
  margin-bottom: 18px;
}
.cred-title .ic { color: #d08a45; width: 18px; height: 18px; }
.cred-list { list-style: none; }
.cred-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: #c7d2c8; font-size: 13.5px;
  padding: 6px 0;
}
.cred-list .ic { width: 15px; height: 15px; color: #d08a45; margin-top: 3px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip {
  background: rgba(184, 99, 44, 0.16);
  border: 1px solid rgba(184, 99, 44, 0.35);
  color: #e3cfb8;
  font-size: 12.5px; font-weight: 600;
  border-radius: 8px; padding: 5px 11px;
}
.lang-list li { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; }
.lang-name { font-weight: 700; color: #f5f1e8; }
.lang-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.lang-fill { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--grad); }
.lang-level { font-size: 12px; color: #8fa097; text-align: right; overflow-wrap: anywhere; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #131b17; color: #aebcb2; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #f5f1e8; }
.footer-role { font-size: 13px; color: #7d8b80; margin-top: 3px; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: #7d8b80; font-weight: 800; margin-bottom: 14px;
}
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #c7d2c8;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-col .ic { width: 15px; height: 15px; color: #d08a45; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}
.footer-note { color: #5f6f64; font-size: 12.5px; margin-top: 6px; }

/* ============================================================
   Reveal animation (non-blocking — content can never stay hidden)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 420px; margin: 0 auto; }
  .quick-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 0 28px; }
  .hero-strip { margin-top: 36px; }
  .doc-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
  main { padding: 40px 16px 56px; }
  .container { padding: 0 16px; }
  .toolbar { top: calc(var(--nav-h) + 8px); padding: 12px; }
  .doc-thumb { flex-basis: 88px; width: 88px; }
  .timeline-item { grid-template-columns: 32px 1fr; }
}
@media (max-width: 460px) {
  .brand-text { display: none; }
}
