/* =========================================================
   HAROLD ANGECONEB — Premium Personal Brand
   Design System
   ========================================================= */

/* =========================================================
   IMAGE PLACEHOLDER SYSTEM
   Replace any .img-placeholder with a real <img> tag.
   The data-label attribute sets the visible label text.
   ========================================================= */

.img-placeholder {
  position: relative;
  display: block;
  width: 100%;
  background: #1a1f27;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  cursor: default;
}

/* Aspect ratio helpers */
.img-placeholder--hero    { aspect-ratio: 16 / 9; min-height: 480px; }
.img-placeholder--wide    { aspect-ratio: 16 / 9; }
.img-placeholder--land    { aspect-ratio: 4 / 3; }
.img-placeholder--port    { aspect-ratio: 3 / 4; }
.img-placeholder--sq      { aspect-ratio: 1 / 1; }
.img-placeholder--card    { aspect-ratio: 16 / 10; }
.img-placeholder--thumb   { aspect-ratio: 4 / 3; max-height: 280px; }

/* Inner layout */
.img-placeholder__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

/* Camera icon */
.img-placeholder__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(217, 98, 43, 0.15);
  border: 1px solid rgba(217, 98, 43, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0763a;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Label text */
.img-placeholder__label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* Replace hint */
.img-placeholder__hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #8b919c;
  display: flex;
  align-items: center;
  gap: 5px;
}
.img-placeholder__hint i { color: #f0763a; font-size: 0.7rem; }

/* Dimensions badge */
.img-placeholder__dims {
  font-family: 'Inter', monospace;
  font-size: 0.68rem;
  color: #4a5060;
  margin-top: 4px;
}

/* Corner badge */
.img-placeholder::before {
  content: "PHOTO";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d9622b;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

/* Grid pattern overlay for visual interest */
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217,98,43,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,98,43,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* When an actual <img> is placed inside, hide the placeholder UI */
.img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}
.img-placeholder img ~ .img-placeholder__inner { display: none; }
.img-placeholder img ~ .img-placeholder__inner + ::before { display: none; }

/* =========================================================
   DRAG-AND-DROP STATES
   ========================================================= */

/* "Drag-over" highlight — orange glow + bright border */
.img-placeholder.drag-over {
  border-color: #f0763a;
  box-shadow: 0 0 0 3px rgba(240, 118, 58, 0.35), inset 0 0 60px rgba(240, 118, 58, 0.08);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.img-placeholder.drag-over .img-placeholder__inner {
  opacity: 0.35;
}

/* Drop-zone overlay text while dragging over */
.img-placeholder.drag-over::before {
  content: "DROP TO SET PHOTO";
  background: #f0763a;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

/* Loading spinner state */
.img-placeholder.drop-loading {
  pointer-events: none;
}
.img-placeholder.drop-loading::before {
  content: "LOADING…";
  background: #8b919c;
}

/* Click-to-upload hint on hover (when no photo set yet) */
.img-placeholder:not(:has(img[data-user-photo])):hover .img-placeholder__hint::after {
  content: " or click to browse";
  color: #f0763a;
}

/* ── Remove-photo button ── */
.drop-remove-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.82);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.8rem;
  display: none;               /* shown via JS when photo is active */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drop-remove-btn:hover {
  background: #d9622b;
  transform: scale(1.12);
}

/* ── Success badge ── */
.drop-success-badge,
.drop-error-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 7px 16px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.drop-success-badge.visible,
.drop-error-badge.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.drop-success-badge {
  background: rgba(30, 180, 100, 0.92);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 180, 100, 0.4);
}
.drop-error-badge {
  background: rgba(210, 50, 50, 0.92);
  color: #fff;
  box-shadow: 0 4px 16px rgba(210, 50, 50, 0.4);
}

/* When a user photo is inside — hide the corner "PHOTO" stamp */
.img-placeholder:has(img[data-user-photo])::before {
  display: none;
}

/* ── Drag & Drop instruction badge on each placeholder ── */
.img-placeholder__hint .dd-icon {
  color: #f0763a;
  font-size: 0.68rem;
}

/* Photo number tag */
.img-placeholder__num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(217, 98, 43, 0.85);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}



:root {
  --black:        #0b0c0e;
  --ink:          #121418;
  --ink-2:        #181b20;
  --ink-3:        #20242b;
  --line:         rgba(255, 255, 255, 0.08);
  --line-strong:  rgba(255, 255, 255, 0.16);

  --white:        #ffffff;
  --fog:          #e9ebef;
  --mist:         #b8bdc7;
  --slate:        #8b919c;

  --ember:        #d9622b;
  --ember-bright: #f0763a;
  --ember-deep:   #a8421a;
  --gold:         #c9a25b;

  --grad-ember: linear-gradient(135deg, #f0763a 0%, #d9622b 50%, #a8421a 100%);

  --font-display: 'Oswald', 'Inter', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --maxw: 1240px;
  --radius: 4px;
  --shadow: 0 30px 80px rgba(0,0,0,0.5);
  --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(--black);
  color: var(--fog);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--ember-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--ember); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section-title { font-size: clamp(2rem, 5vw, 3.4rem); margin: 1rem 0 1.2rem; }
.lead { font-size: 1.18rem; color: var(--mist); font-weight: 300; max-width: 640px; }
.text-accent { color: var(--ember-bright); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.bg-ink { background: var(--ink); }
.bg-ink-2 { background: var(--ink-2); }
.center { text-align: center; }
.muted { color: var(--mist); }
.mx-auto { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.86rem; padding: 16px 30px;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn i { font-size: 0.85em; }
.btn--primary { background: var(--grad-ember); color: #fff; box-shadow: 0 12px 30px rgba(217, 98, 43, 0.35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(217, 98, 43, 0.5); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ember); color: var(--ember-bright); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { transform: translateY(-3px); background: var(--fog); }
.btn--lg { padding: 19px 40px; font-size: 0.95rem; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 22px 0;
  transition: all 0.4s var(--ease);
  background: linear-gradient(180deg, rgba(11,12,14,0.7), rgba(11,12,14,0));
}
.nav.scrolled { background: rgba(11,12,14,0.92); backdrop-filter: blur(14px); padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ember); color: var(--ember-bright); border-radius: 50%; font-size: 1.1rem; }
.brand__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 1rem; color: var(--white); line-height: 1; }
.brand__name span { display: block; font-size: 0.6rem; letter-spacing: 0.32em; color: var(--ember-bright); margin-top: 4px; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--mist); transition: color 0.25s; position: relative; }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a.active::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--ember); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,12,14,0.95) 0%, rgba(11,12,14,0.75) 45%, rgba(11,12,14,0.35) 100%), linear-gradient(180deg, rgba(11,12,14,0.6), rgba(11,12,14,0.85));
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 130px 28px 70px; width: 100%; }
.hero__content { max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 1.4rem 0 1.6rem; line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--ember-bright); }
.hero .lead { font-size: 1.3rem; max-width: 600px; margin-bottom: 2.4rem; color: var(--fog); }
.hero__sub { margin-top: 3rem; display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.hero__sub .stat strong { font-family: var(--font-display); font-size: 2rem; color: var(--white); display: block; line-height: 1; }
.hero__sub .stat span { font-size: 0.78rem; color: var(--mist); text-transform: uppercase; letter-spacing: 0.12em; }

.page-hero { position: relative; padding: 200px 0 90px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,0.82), rgba(11,12,14,0.94)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 1rem 0 1rem; max-width: 900px; }
.page-hero .lead { font-size: 1.25rem; }

.authority { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.authority__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.authority__item { padding: 38px 22px; text-align: center; border-right: 1px solid var(--line); }
.authority__item:last-child { border-right: none; }
.authority__item strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--ember-bright); display: block; line-height: 1; }
.authority__item span { font-size: 0.78rem; color: var(--mist); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-top: 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.split__media.tall img { aspect-ratio: 3/4; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.problem-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: all 0.35s var(--ease); }
.problem-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.problem-card i { color: var(--ember); font-size: 1.5rem; margin-bottom: 16px; display: block; }
.problem-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.problem-card p { color: var(--mist); font-size: 0.96rem; }

.pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px; }
.pillar { text-align: center; padding: 30px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.pillar i { font-size: 1.6rem; color: var(--ember-bright); margin-bottom: 14px; }
.pillar h4 { font-size: 0.92rem; letter-spacing: 0.05em; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--fog); }
.chip i { color: var(--ember); margin-right: 7px; }

.program { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.program:last-child { border-bottom: none; }
.program--reverse .program__media { order: 2; }
.program__media { position: relative; isolation: isolate; }
.program__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.program__num { position: absolute; top: -22px; left: -10px; font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: rgba(217,98,43,0.18); z-index: 0; line-height: 1; }
.program h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 18px; }
.program__block { margin: 18px 0; }
.program__block h4 { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--ember-bright); margin-bottom: 6px; }
.program__block p { color: var(--mist); }
.program ul.outcomes { margin: 8px 0 0; }
.program ul.outcomes li { color: var(--fog); padding: 5px 0 5px 26px; position: relative; }
.program ul.outcomes li::before { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--ember); font-size: 0.8rem; top: 8px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.4s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); border-color: var(--ember); }
.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: var(--ember-bright); margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--mist); font-size: 0.95rem; flex: 1; }
.card__link { margin-top: 18px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--white); }
.card__link i { color: var(--ember); margin-left: 6px; transition: transform 0.3s; }
.card:hover .card__link i { transform: translateX(5px); }

.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.quote { background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--ember); border-radius: var(--radius); padding: 36px 34px; }
.quote__stars { color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; }
.quote p { font-size: 1.1rem; color: var(--fog); font-weight: 300; font-style: italic; }
.quote__who { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-ember); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.quote__who strong { display: block; color: var(--white); font-size: 0.95rem; }
.quote__who span { color: var(--slate); font-size: 0.82rem; }

.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .stat { text-align: center; }
.statband .stat strong { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.6rem); color: var(--ember-bright); display: block; line-height: 1; }
.statband .stat span { color: var(--mist); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { overflow: hidden; border-radius: var(--radius); position: relative; margin: 0; }
.gallery img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery .span-2 { grid-column: span 2; }

.timeline { max-width: 760px; margin: 50px auto 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.tl-item { position: relative; padding: 0 0 44px 60px; }
.tl-item::before { content: ""; position: absolute; left: 11px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 5px rgba(217,98,43,0.18); }
.tl-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tl-item p { color: var(--mist); }

.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,0.86), rgba(11,12,14,0.94)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-band p { max-width: 620px; margin: 0 auto 2rem; color: var(--mist); font-size: 1.15rem; }

.form-wrap { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--mist); }
.field input, .field select, .field textarea { background: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 14px 16px; color: var(--white); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { color: var(--slate); font-size: 0.85rem; margin-top: 14px; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(80,180,120,0.12); border: 1px solid rgba(80,180,120,0.4); color: #7bd6a0; }
.form-msg.err { background: rgba(217,98,43,0.12); border: 1px solid rgba(217,98,43,0.4); color: var(--ember-bright); }

.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-line { display: flex; gap: 18px; align-items: flex-start; }
.contact-line i { color: var(--ember-bright); font-size: 1.2rem; width: 24px; margin-top: 4px; }
.contact-line h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-line p, .contact-line a { color: var(--mist); }

.footer { background: var(--black); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--slate); font-size: 0.92rem; margin-top: 16px; max-width: 320px; }
.footer h4 { font-size: 0.82rem; letter-spacing: 0.18em; color: var(--white); margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--mist); font-size: 0.92rem; transition: color 0.25s; }
.footer ul li a:hover { color: var(--ember-bright); }
.footer__socials { display: flex; gap: 12px; margin-top: 18px; }
.footer__socials a { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--mist); transition: all 0.3s; }
.footer__socials a:hover { background: var(--ember); color: #fff; border-color: var(--ember); }
.footer__bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--slate); font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.topic-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.topic-bar button { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; padding: 9px 18px; border-radius: 100px; cursor: pointer; background: transparent; border: 1px solid var(--line-strong); color: var(--mist); transition: all 0.25s; }
.topic-bar button:hover, .topic-bar button.active { background: var(--ember); border-color: var(--ember); color: #fff; }

@media (max-width: 1080px) {
  .authority__grid { grid-template-columns: repeat(3, 1fr); }
  .authority__item:nth-child(3) { border-right: none; }
  .authority__item { border-bottom: 1px solid var(--line); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; gap: 18px; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,12,14,0.98); padding: 28px; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: block; }
  .split, .program { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media, .program--reverse .program__media { order: 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .statband { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .span-2 { grid-column: span 2; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .authority__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  .hero__sub { gap: 24px; }
}
