/* ==========================================================
   J.B. Matriculation Higher Secondary School — Premium theme
   Palette drawn from the school crest: crimson, ivory, gold.
   ========================================================== */

:root {
  --crimson-900: #3E0D10;
  --crimson-800: #5E1519;
  --crimson-700: #7A1E22;
  --crimson-500: #A8323A;
  --gold-500: #B8925A;
  --gold-300: #D9BE8C;
  --gold-100: #F1E6D0;
  --ivory: #FAF6EF;
  --paper: #FFFDF9;
  --ink: #1C1715;
  --ink-soft: #4A423D;
  --muted: #7C716A;
  --line: rgba(28, 23, 21, .12);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--ivory { background: var(--ivory); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ── Type ───────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--crimson-700);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--gold-300); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.display--light { color: #fff; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink); line-height: 1.65; }

/* ── Buttons ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold-500); color: var(--crimson-900); }
.btn--gold:hover { background: var(--gold-300); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--crimson-800); border-color: #fff; }
.btn--outline { border-color: var(--crimson-700); color: var(--crimson-700); min-height: 44px; padding: 0 24px; }
.btn--outline:hover { background: var(--crimson-700); color: #fff; }

.icon-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line-light); color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }

.link-arrow { display: inline-block; margin-top: 14px; color: var(--gold-300); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.link-arrow::after { content: " →"; transition: margin .3s var(--ease); }
.link-arrow:hover::after { margin-left: 6px; }

/* ── Header ─────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; }
.utility { background: var(--crimson-900); color: rgba(255,255,255,.75); font-size: 13px; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.utility__note { margin: 0; letter-spacing: .06em; }
.utility__links { display: flex; gap: 28px; }
.utility__links a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.utility__links a:hover { color: var(--gold-300); }
.utility__links svg { width: 14px; height: 14px; fill: var(--gold-500); }

.nav { background: rgba(255,253,249,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .4s var(--ease); }
.site-header.is-scrolled .nav { box-shadow: 0 10px 30px -18px rgba(62,13,16,.35); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--crimson-800); }
.brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: .02em; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--crimson-700); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--crimson-700); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── Hero ───────────────────────────── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--crimson-900); }
.hero__slides, .hero__veil { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__veil {
  background:
    linear-gradient(180deg, rgba(30,8,10,.35) 0%, rgba(30,8,10,.15) 35%, rgba(30,8,10,.85) 100%),
    linear-gradient(90deg, rgba(62,13,16,.75) 0%, rgba(62,13,16,0) 65%);
}
.hero__content { position: relative; padding-top: 120px; padding-bottom: 40px; }
.hero__title { font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(46px, 7.4vw, 104px); line-height: .98; letter-spacing: -.015em; max-width: 13ch; margin-bottom: 28px; }
.hero__title em { font-style: italic; color: var(--gold-300); }
.hero__lede { max-width: 520px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.85); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 36px; }
.hero__meta::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line-light); }
.hero__counter { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 20px; color: rgba(255,255,255,.8); }
.hero__bar { position: relative; width: 120px; height: 1px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: var(--gold-300); transform-origin: left; transform: scaleX(0); }
.hero__bar i.is-running { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; }

/* ── Facts ──────────────────────────── */
.facts { background: var(--crimson-800); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 44px 28px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line-light); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--gold-300); }
.fact__num--word { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; padding-top: 10px; }
.fact__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ── About ──────────────────────────── */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.arch { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--crimson-900); box-shadow: 0 40px 80px -40px rgba(62,13,16,.55); }
.arch picture, .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.film { position: absolute; left: -36px; bottom: -40px; width: 58%; margin: 0; padding: 8px 8px 0; background: var(--paper); border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(62,13,16,.55); }
.film video { width: 100%; aspect-ratio: 19 / 12; object-fit: cover; border-radius: 2px; background: var(--crimson-900); }
.film figcaption { padding: 8px 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--crimson-700); }
.film figcaption::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--crimson-500); vertical-align: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.about__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold-500); border-radius: 999px 999px var(--radius) var(--radius); z-index: -1; opacity: .55; }
.about__seal { position: absolute; right: -28px; top: 64px; width: 124px; height: 124px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.about__seal img { width: 96px; height: 96px; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--crimson-700); }
.signature__line { width: 60px; height: 1px; background: var(--gold-500); }

/* ── Pillars ────────────────────────── */
.section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head .display { margin-bottom: 0; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 40px 32px 44px 0; margin-right: 32px; border-right: 1px solid var(--line); transition: transform .5s var(--ease); }
.pillar:last-child { border-right: 0; margin-right: 0; }
.pillar__no { display: block; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-500); margin-bottom: 44px; }
.pillar h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-bottom: 14px; }
.pillar p { margin: 0; font-size: 15px; }
.pillar:hover { transform: translateY(-6px); }

/* ── Legacy ─────────────────────────── */
.legacy { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--crimson-900); color: rgba(255,255,255,.8); }
.legacy__image { position: relative; min-height: 560px; overflow: hidden; }
.legacy__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.legacy__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(62,13,16,0) 60%, rgba(62,13,16,1)); }
.legacy__panel { padding: clamp(64px, 8vw, 120px) clamp(24px, 6vw, 96px); align-self: center; }
.legacy__quote { margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line-light); font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 38px); color: var(--gold-300); line-height: 1.2; }
.legacy__quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ── Gallery ────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--ink-soft); transition: all .3s var(--ease); }
.filter:hover { border-color: var(--crimson-700); color: var(--crimson-700); }
.filter.is-active { background: var(--crimson-800); border-color: var(--crimson-800); color: #fff; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gold-100); }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(62,13,16,.55)); opacity: 0; transition: opacity .5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { opacity: 1; }
.tile.is-hidden { display: none; }

/* ── CTA ────────────────────────────── */
.cta { position: relative; background: var(--crimson-800); color: rgba(255,255,255,.8); text-align: center; padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(184,146,90,.28), transparent 60%); }
.cta__inner { position: relative; max-width: 760px; }
.cta__crest { margin: 0 auto 28px; width: 88px; height: 88px; }
.cta .eyebrow::before { display: none; }
.cta p:not(.eyebrow) { max-width: 520px; margin-left: auto; margin-right: auto; font-size: 17px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ── Footer ─────────────────────────── */
.footer { background: var(--crimson-900); color: rgba(255,255,255,.7); padding-top: 96px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 48px; padding-bottom: 72px; }
.footer__brand img { width: 84px; height: 84px; margin-bottom: 22px; }
.footer__name { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.footer__motto { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-300); }
.footer h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 22px; }
.footer__list li { display: flex; flex-direction: column; margin-bottom: 16px; }
.footer__list span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer__list a, .footer__nav a { color: #fff; transition: color .3s; overflow-wrap: anywhere; }
.footer__list a:hover, .footer__nav a:hover { color: var(--gold-300); }
.footer__nav li { margin-bottom: 10px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(255,255,255,.5); }
.footer__base p { margin: 0; }
.footer__base a { color: rgba(255,255,255,.8); }
.footer__base a:hover { color: var(--gold-300); }
.credit { display: flex; align-items: center; gap: 10px; }
.credit__link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid rgba(217,190,140,.45); border-radius: 999px; color: var(--gold-300) !important; font-weight: 600; letter-spacing: .04em; transition: background .3s var(--ease), color .3s var(--ease); }
.credit__link:hover { background: var(--gold-500); color: var(--crimson-900) !important; border-color: var(--gold-500); }

/* ── WhatsApp ───────────────────────── */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 16px; border-radius: 999px; background: #1F9D55; color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: gap .4s var(--ease), padding .4s var(--ease); }
.wa svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.wa span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; transition: max-width .4s var(--ease); }
.wa:hover { gap: 10px; padding: 0 22px 0 18px; }
.wa:hover span { max-width: 140px; }

/* ── Lightbox ───────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20,6,8,.94); display: grid; place-items: center; padding: 64px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 16px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(255,255,255,.8); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ── 404 ────────────────────────────── */
.notfound { min-height: 100vh; display: grid; place-items: center; background: var(--crimson-900); color: rgba(255,255,255,.75); text-align: center; padding: 40px var(--gutter); }
.notfound__inner { max-width: 560px; }
.notfound img { margin: 0 auto 32px; }
.notfound .eyebrow { color: var(--gold-300); }
.notfound .eyebrow::before { display: none; }
.notfound .display { color: #fff; margin-bottom: 16px; }
.notfound p:not(.eyebrow) { margin-bottom: 36px; }

/* ── Reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide.is-active img { animation: none; transform: none; }
  .hero__slide { transition: none; }
}

/* ── Responsive ─────────────────────── */
@media (max-width: 1080px) {
  .nav__links { gap: 24px; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; margin-right: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .utility__note { display: none; }
  .utility__inner { justify-content: center; }
  /* backdrop-filter would trap the fixed menu panel inside the nav bar */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 40px); bottom: 0;
    flex-direction: column; gap: 0; padding: 24px var(--gutter) 40px;
    background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn) { display: block; padding: 20px 0; font-family: var(--serif); font-size: 28px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; border-bottom: 0 !important; padding-top: 28px; }
  .nav__cta-mobile .btn { width: 100%; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 9.5px; letter-spacing: .1em; }

  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 32px 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-light); }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto 40px 18px; width: calc(100% - 36px); }
  .film { left: -18px; width: 62%; }
  .about__seal { right: -12px; width: 104px; height: 104px; }
  .about__seal img { width: 80px; height: 80px; }

  .legacy { grid-template-columns: 1fr; }
  .legacy__image { min-height: 320px; }
  .legacy__image::after { background: linear-gradient(180deg, rgba(62,13,16,0) 55%, rgba(62,13,16,1)); }

  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
}

@media (max-width: 560px) {
  .utility__links { gap: 18px; font-size: 12px; }
  .utility__links li:last-child { display: none; }
  .hero { min-height: 88vh; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .hero .eyebrow::before { width: 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__bar { width: 70px; }
  .icon-btn { width: 42px; height: 42px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; margin-right: 0; padding-right: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .pillar__no { margin-bottom: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .mosaic { grid-auto-rows: 150px; }
  .wa { right: 16px; bottom: 16px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
}
