/* ============================================================
   Safa — the site's layout over the base components in styles.css.
   Loads after the page stylesheets (berita, alumni, perpustakaan),
   so these rules win over the base ones they restate.
   Square joints, fine 1px lines, broad Manrope type, and olive and
   citron on ivory. Tokens are in styles.css :root.
   ============================================================ */

/* Type scale and component details. */
body { font-size: 15px; line-height: 1.75; }
.nav__link:hover, .nav__link[aria-current="page"] { background: transparent; color: var(--c-primary); border-bottom-color: var(--c-primary); }
.btn--lg { min-height: 50px; padding: 14px 24px; }
.section--sheet { border-radius: 0; }
.sec-head { margin-bottom: 36px; }
.bento__intro .h-lg { font-size: 23px; }
.bento__text { font-size: 12px; }
.program__meta { font-size: 10px; }
.sambutan__bubble::after { display: none; }
.sambutan__name { font-size: 15px; }
.sambutan__role { font-size: 11px; }
.carousel__viewport { aspect-ratio: 2.2; }
.carousel__overlay { background: linear-gradient(transparent 20%, #10261bba); }
.carousel__content { background: transparent; box-shadow: none; color: #fffdf7; flex-basis: 650px; padding: 20px; }
.carousel__eyebrow { color: #efdbb5; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.carousel__title { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; }
.carousel__caption { color: #fffdf7; font-size: 13px; }
.carousel__arrow { width: 42px; height: 42px; border-radius: var(--r-sm); }
.ppdb__step { background: transparent; padding: 0; border-radius: 0; font-size: 12px; }
.ppdb__step span:last-child { font-size: 11px; }
.kontak-strip__cta { order: 0; background: transparent; padding: 24px 24px 24px 0; border-radius: 0; justify-content: center; }
.kontak-strip__intro { font-size: 13px; }
.kontak-strip__cta .btn { margin-top: 10px; }
.kontak__row-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.kontak__row-val { font-size: 15px; font-weight: 500; line-height: 1.6; }
.kontak__row-val--small { font-size: 12px; }
.alumni-strip__card { border: 1px solid var(--c-line); border-radius: var(--r-md); }
.alumni-strip__name { font-weight: 500; }
.alumni-strip__meta { border-radius: 3px; font-size: 10px; }
.page-head__inner { margin: 0; max-width: 850px; }
.page-head__crumb { background: transparent; padding: 0; font-size: 11px; margin-bottom: 18px; }
.page-head--berita .page-head__title { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
:is(.formulir, .kontak-form, .syarat, .alumni-toolbar, .alumni-card, .berita-card) { border: 1px solid var(--c-line); box-shadow: none; }
:is(.berita-filter, .berita-page-link, .opac-tab, .opac-search__field, .opac-search select, .alumni-search input, .alumni-select summary) { border-radius: var(--r-sm); }
.berita-card__img { border-radius: var(--r-md) var(--r-md) 0 0; }
.berita-card__body { padding: 22px; }
.berita-card__title { font-weight: 500; line-height: 1.4; }
.sejarah__photo { border-radius: var(--blob); }
.rich-text blockquote { border-left: 3px solid var(--c-accent); border-radius: 0; }
.footer__about { padding: 0; align-items: flex-start; }

/* One horizontal wordmark and navigation, held on a fine baseline. */
.nav-root {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--c-line);
}
/* Frosted over the zellij ground. The blur sits on a pseudo-element: on
   .nav-root itself it would pin the fixed .fab and menu sheet to the bar. */
.nav-root::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--c-base) 84%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.masthead { flex: 1; min-width: 0; padding: 24px 0 24px var(--gutter); background: transparent; }
.masthead__inner { justify-content: space-between; gap: 24px; padding: 0; }
.brand { flex-direction: row; text-align: left; gap: 12px; }
.brand__mark { border-radius: 0; background: transparent; padding: 0; box-shadow: none; width: 42px; height: 42px; }
.brand__name { line-height: 1.3; font-size: 16px; letter-spacing: -.04em; font-weight: 800; }
.brand__sub { font-size: 8px; margin-top: 5px; letter-spacing: .04em; }
.nav { position: static; flex: none; padding: 0; border: 0; background: transparent; }
.nav__bar {
  justify-content: flex-start;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 24px;
  width: auto;
  max-width: none;
  padding: 0 var(--gutter) 0 20px;
  align-items: center;
}
.nav__link {
  padding: 15px 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  color: var(--c-ink-soft);
  font-size: 16px;
  font-weight: 600;
  padding-block: 12px;
}
.nav__link[href*="/ppdb"] { padding: 12px 18px; background: var(--c-ink); color: var(--c-on-dark); border: 0; }
.nav__link[href*="/ppdb"]:hover { background: var(--c-primary); }
.btn { font-size: 11px; letter-spacing: .01em; min-height: 50px; padding: 14px 22px; font-weight: 700; border-radius: 0; }
.btn--primary { background: var(--c-ink); }
.btn--primary:hover { background: var(--c-primary); }
.btn--soft { border: 1px solid var(--c-line-strong); box-shadow: none; border-color: var(--c-line-strong); background: transparent; }
.fab {
  min-height: 46px;
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding: 12px 18px;
  box-shadow: none;
  border-radius: 0;
  font-size: 11px;
}
.fab:hover { background: var(--c-primary); }
:focus-visible { outline-color: #647c34; }

/* The opening is an architectural spread, not an ornamental panel. */
.hero { overflow: hidden; padding-block: 58px 44px; border-bottom: 0; }
.hero > .container { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 64px; }
.hero__text { max-width: none; margin: 0; justify-content: center; align-items: flex-start; text-align: left; padding-block: 12px; }
.hero__eyebrow {
  text-transform: uppercase;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  font-size: 9px;
  letter-spacing: .14em;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.hero__eyebrow::before { color: var(--c-primary); content: ""; width: 7px; height: 7px; background: var(--c-primary); margin: 0; }
.hero__title { font-size: clamp(3rem, 4.65vw, 4.8rem); line-height: 1.08; font-weight: 600; letter-spacing: -.065em; margin-bottom: 28px; text-wrap: pretty; }
.hero__title :is(em, i) { background: none; font-style: normal; color: var(--c-primary); }
.hero__sub { font-size: 13px; line-height: 1.8; max-width: 32em; margin-bottom: 28px; }
.hero__ctas { gap: 12px; justify-content: flex-start; }
.hero__visual { margin: 0; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.hero__visual::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 0;
  inset: 16px 16px auto auto;
  width: 54px;
  height: 54px;
  border-top: 1px solid #fff9;
  border-right: 1px solid #fff9;
  border-radius: 0;
  z-index: 1;
}
.hero__visual::after {
  position: absolute;
  pointer-events: none;
  content: "";
  right: auto;
  top: auto;
  left: 16px;
  bottom: 77px;
  width: 54px;
  height: 54px;
  border-bottom: 1px solid #fff9;
  border-left: 1px solid #fff9;
}
.hero__band { aspect-ratio: .94; border-radius: 0; width: 100%; flex: 1; }
.hero__band img { object-position: 50% 50%; }
.hero__card {
  right: auto;
  left: -32px;
  top: auto;
  bottom: 93px;
  background: var(--c-accent);
  border: 0;
  border-radius: 0;
  padding: 22px 28px;
  min-width: 180px;
  box-shadow: none;
}
.hero__card-label { text-transform: uppercase; font-size: 9px; letter-spacing: .1em; color: #505b34; }
.hero__card-title { color: #20271c; font-size: 22px; font-weight: 700; letter-spacing: -.045em; }
.hero__card-badge { background: transparent; color: #394528; padding: 0; border-radius: 0; font-size: 9px; margin-top: 10px; }
.hero__meta {
  position: static;
  transform: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  flex-wrap: wrap;
  white-space: normal;
  margin: 0;
  padding: 18px 0 0;
  justify-content: space-between;
  gap: 12px;
}
.hero__meta li { padding: 0; gap: 10px; border-radius: 0; font-size: 9px; }
.hero__meta strong {
  padding: 0;
  min-width: 0;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.04em;
}

/* Precise joints, broad type, and deliberate changes in scale. */
.section { padding-block: calc(88px * var(--density)); }
.section--tight { padding-block: calc(42px * var(--density)); }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  margin: 0;
  background: currentColor;
}
.h-xl { font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 500; line-height: 1.13; letter-spacing: -.06em; }
.h-lg { line-height: 1.25; font-weight: 600; letter-spacing: -.045em; }
.sec-head__intro { font-size: 13px; max-width: 42em; }
.sec-head--center .eyebrow { justify-content: center; }
.bento { display: flex; flex-wrap: wrap; padding-block: 32px; border-block: 1px solid var(--c-line); gap: 0; }
.bento__intro { background: transparent; padding: 0 32px 0 0; border-radius: 0; justify-content: center; flex: 1.8 1 280px; padding-right: 40px; }
.bento__stat {
  justify-content: center;
  background: transparent;
  color: var(--c-primary);
  border-left: 1px solid var(--c-line);
  border-radius: 0;
  flex: 1 1 120px;
  min-height: 120px;
  padding: 16px 28px;
  gap: 14px;
}
.bento__num { font-size: 54px; font-weight: 400; letter-spacing: -.065em; color: var(--c-ink); }
.bento__lbl { color: var(--c-ink-soft); font-size: 10px; }
[data-block="ProgramBlock"] { background: transparent; }
[data-block="ProgramBlock"] .sec-head { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px 48px; margin-bottom: 40px; }
[data-block="ProgramBlock"] .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
[data-block="ProgramBlock"] .sec-head__intro { margin: 0; align-self: end; max-width: 30em; }
.programs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--c-line); }
.program {
  position: relative;
  background: transparent;
  min-height: 300px;
  padding: 32px;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  transition: background .2s ease;
}
.program:not(.program--featured):nth-child(n) { background: transparent; }
.program:nth-child(even) { border-left: 1px solid var(--c-line); }
.program--featured { border-color: var(--c-primary); grid-column: auto; background: var(--c-primary-deep) !important; color: var(--c-on-dark); }
.program:hover { transform: none; background: var(--c-base-deep); }
.program__num { font: 400 40px/1 var(--font-display); letter-spacing: -.05em; }
.program__icon { background: transparent; color: var(--c-primary); border: 1px solid var(--c-line-strong); border-radius: 50%; width: 40px; height: 40px; }
.program--featured .program__icon { border-color: #ffffff40; color: var(--c-accent); }
.program__icon svg { width: 18px; height: 18px; }
.program__title { line-height: 1.25; font-size: 28px; font-weight: 500; letter-spacing: -.055em; margin-block: 24px 12px; }
.program__desc { max-width: 35em; font-size: 13px; line-height: 1.8; }
.program__meta span { border-radius: 0; font-size: 9px; }
.program:not(.program--featured) .program__meta span { border-radius: 3px; color: var(--p1-fg); background: transparent; padding: 3px 0; margin-right: 16px; border-bottom: 1px solid var(--c-line-strong); }
[data-block="SambutanBlock"] { background: var(--c-accent); }
.sambutan__bubble {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -.045em;
  padding: 16px 0 24px;
  text-align: left;
  line-height: 1.3;
}
.sambutan__who { align-self: flex-start; }
.sambutan__more { text-align: left; }
.sambutan__more summary { font-size: 12px; border-radius: var(--r-sm); background: transparent; border: 1px solid #20271c50; }
.sambutan__more .rich-text { margin-left: 0; }
[data-block="SambutanBlock"] .sec-head { text-align: left; margin-inline: 0; }
[data-block="SambutanBlock"] .eyebrow { justify-content: flex-start; }
.sambutan__portrait { background: #c7d172; border: 1px solid #20271c40; width: 48px; height: 48px; }
.rail { grid-auto-columns: minmax(280px, 340px); gap: 24px; }
.rail__img { border-radius: 0; }
.rail__label { background: transparent; padding: 0; border-radius: 0; font-size: 9px; letter-spacing: .08em; }
.rail__name { font-size: 23px; font-weight: 600; letter-spacing: -.045em; }
.photo-placeholder { font-size: 11px; background-image: linear-gradient(90deg, transparent 49.5%, #48512a20 49.5% 50.5%, transparent 50.5%); background-size: 54px 54px; }

/* An architectural opening for admissions, with a stepped geometric corner. */
.ppdb {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px 60px;
  padding: 64px;
  background: var(--c-primary-deep);
  border-radius: 0;
  text-align: left;
  align-items: start;
  /* The stepped corner is cut out, so the zellij ground shows through it. */
  clip-path: polygon(0 0, calc(100% - 120px) 0, calc(100% - 120px) 30px, calc(100% - 60px) 30px, calc(100% - 60px) 60px, calc(100% - 30px) 60px, calc(100% - 30px) 120px, 100% 120px, 100% 100%, 0 100%);
}
.ppdb__badge {
  border: 1px solid #ffffff30;
  border-radius: var(--r-sm);
  justify-self: start;
  background: transparent;
  padding: 0;
  color: var(--c-accent);
  font-size: 9px;
  letter-spacing: .08em;
  grid-column: 1 / -1;
  margin: 0;
}
.ppdb__title {
  grid-column: 1;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.045em;
  max-width: 15em;
}
.ppdb__sub { grid-column: 1; margin: 0; font-size: 12px; max-width: 36em; }
.ppdb__count {
  grid-column: 2;
  grid-row: 2 / 4;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  justify-self: end;
}
.ppdb__count-cell { color: var(--c-on-dark); width: 84px; height: 84px; border: 1px solid #ffffff40; border-radius: 0; background: transparent; }
.ppdb__count-num { font-family: var(--font-display); font-size: 35px; font-weight: 400; letter-spacing: -.04em; color: var(--c-accent); }
.ppdb__count-lbl { color: var(--c-on-dark-soft); font-size: 9px; }
.ppdb__ctas { grid-column: 1; justify-content: flex-start; margin: 8px 0 0; }
.ppdb__steps { border-top: 1px solid #ffffff30; padding-top: 28px; grid-column: 1 / -1; margin: 20px 0 0; gap: 32px; }
.ppdb__step-num {
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  background: transparent;
  color: var(--c-accent);
  padding: 0;
  width: auto;
  justify-content: flex-start;
  font-size: 25px;
  font-weight: 400;
}
.kontak-strip { gap: 64px; }
.kontak__row { background: transparent; border: 1px solid var(--c-line); font-size: 13px; padding: 22px; border-radius: 0; }
.kontak__row-icon { width: 36px; height: 36px; border-radius: 0; background: transparent; color: var(--c-primary); border: 1px solid var(--c-line-strong); }

/* An approachable closing courtyard: pale stone, olive, and useful links. */
.footer {
  text-align: left;
  margin-top: 0;
  background: color-mix(in srgb, var(--c-base) 72%, transparent);
  color: var(--c-ink);
  border-top: 1px solid var(--c-line);
  border-radius: 0;
  padding: 48px 0 28px;
}
.footer > .container { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 44px 56px; }
.footer__invitation {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 32px 40px;
  background: #e8ecda;
  border-left: 4px solid var(--c-primary);
}
.footer__kicker { color: var(--c-primary); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.footer__invitation h2 { font: 500 clamp(1.75rem, 2.7vw, 2.5rem)/1.2 var(--font-display); letter-spacing: -.04em; margin: 0; }
.footer__invitation h2 span { color: var(--c-primary); }
.footer__connect {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--c-primary-deep);
  color: var(--c-on-dark);
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: background .2s ease;
}
.footer__connect-icon { order: 2; display: grid; place-items: center; }
.footer__connect-icon svg { width: 22px; height: 22px; }
.footer__connect:hover { background: var(--c-primary); }
.footer__identity { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__identity img { width: 42px; height: 42px; object-fit: contain; }
.footer__identity > span { font-size: 12px; line-height: 1.5; color: var(--c-ink-soft); }
.footer__identity strong { display: block; color: var(--c-ink); font-size: 20px; font-weight: 700; letter-spacing: -.035em; }
.footer__desc { color: var(--c-ink-soft); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer__desc em { color: var(--c-primary); }
.footer__label { display: block; color: var(--c-ink); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.footer__links {
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 12px 24px;
  padding-left: 32px;
  border-left: 1px solid var(--c-line);
}
.footer__links .footer__label { grid-column: 1 / -1; }
.footer__links a { padding: 0; border-radius: 0; color: var(--c-ink-soft); font-size: 14px; }
.footer__links a:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; color: var(--c-primary); }
.footer__address { margin: 0; color: var(--c-ink-soft); font-size: 14px; line-height: 1.8; border-left: 1px solid var(--c-line); padding-left: 32px; }
.footer__address .footer__label { margin-bottom: 20px; }
.footer__location { display: block; margin-bottom: 16px; }
.footer__address > a { display: block; margin-top: 6px; }
.footer__address a:hover { color: var(--c-primary); }
.footer__bottom {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: space-between;
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
  margin-top: 0;
  font-size: 11px;
  color: var(--c-ink-soft);
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__bottom .arabic { font-size: 19px; color: var(--c-primary); }
.footer__back-top { display: block; color: var(--c-primary); font-size: 12px; font-weight: 600; }

/* Inner pages: a left-aligned head over a fine baseline. */
.page-head { padding-top: 0; border-bottom: 1px solid var(--c-line); background: transparent; }
.page-head__panel { background: transparent; border-radius: 0; padding: 50px 0; text-align: left; border-bottom: 1px solid var(--c-line); padding-block: 58px 42px; }
.page-head__title { line-height: 1.2; font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -.06em; font-weight: 500; }
.page-head__sub { margin: 0; max-width: 48em; font-size: 13px; }
:is(.berita-card__title, .alumni-card__name, .opac-item__title) { letter-spacing: -.035em; }
.carousel { border-radius: 0; }

/* The zellij ground: a star pattern laid under the whole site, like
   tilework under a courtyard. It stays still while the page moves, and
   fades toward the middle of the screen so text stays calm.
   BrandSettings draws the tile (apps/core/zellij.py) and sets its strength.
   base.html gives the tile images (their URLs must resolve against the
   site, not the static host) and the tile sizes. */
body { isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: 50% 0 / var(--zellij-size, 200px 200px);
  opacity: calc(var(--pattern-strength) * .5);
  -webkit-mask-image: radial-gradient(ellipse 62% 75% at 50% 50%, transparent 25%, #000 95%);
  mask-image: radial-gradient(ellipse 62% 75% at 50% 50%, transparent 25%, #000 95%);
}
/* The same lattice in fine citron lines, rising from the PPDB panel's foot. */
.ppdb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--c-accent);
  opacity: calc(var(--pattern-strength) * .28);
  /* Two layers: the line tile from base.html, and a fade from the foot.
     Without base.html (the concept page) the first layer hides it all. */
  -webkit-mask-image: linear-gradient(transparent, transparent), none;
  mask-image: linear-gradient(transparent, transparent), none;
  -webkit-mask-position: 0 100%, 0 0;
  mask-position: 0 100%, 0 0;
  -webkit-mask-size: var(--zellij-lines-size, 120px 120px), 100% 100%;
  mask-size: var(--zellij-lines-size, 120px 120px), 100% 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media print {
  body::before, .ppdb::after { display: none; }
}

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .nav__bar { gap: 16px; }
  .brand__name { font-size: 14px; }
  .hero > .container { gap: 40px; }
  .hero__title { font-size: 3rem; }
  .bento__intro { flex-basis: 100%; padding: 0 0 28px; }
}

@media (max-width: 900px) {
  .nav-root { display: block; }
  .masthead { position: static; padding: 16px var(--gutter); }
  .nav { display: none; }
  .masthead__inner { width: 100%; max-width: none; }
  .nav__burger {
    box-shadow: none;
    border: 1px solid var(--c-line);
    width: 42px;
    height: 42px;
    border-radius: 0;
    border-color: var(--c-line-strong);
    background: transparent;
  }
  .hero { padding-block: 42px 32px; }
  .hero > .container { gap: 32px; }
  .hero__title { font-size: 2.7rem; }
  .hero__card { left: -20px; min-width: 140px; padding: 18px; }
  .hero__band { aspect-ratio: .72; }
  .ppdb { padding: 44px; gap: 22px 32px; }
  .footer > .container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__about { grid-column: 1 / -1; max-width: 36em; }
  .footer__invitation { padding: 28px; gap: 28px; }
  .footer__links { border-left: 0; padding-left: 0; }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .brand__sub { display: block; }
  .carousel__viewport { aspect-ratio: 1.15; }
  .carousel__content { margin: 0 12px 36px; padding: 12px; }
  .carousel__title { font-size: 24px; }
  .kontak-strip__cta { padding: 0; }
  :root { --gutter: 22px; }
  .brand__name { font-size: 15px; }
  .brand__mark { width: 36px; height: 36px; }
  .hero > .container { grid-template-columns: 1fr; gap: 32px; }
  .hero__eyebrow { margin-bottom: 22px; font-size: 8px; }
  .hero__title { font-size: clamp(2.65rem, 10.5vw, 4rem); line-height: 1.1; }
  .hero__sub { font-size: 12px; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn { font-size: 10px; padding-inline: 17px; }
  .hero__visual { max-width: none; width: 100%; margin: 0; padding: 0; }
  .hero__band { aspect-ratio: 1; }
  .hero__card { left: 12px; bottom: 75px; padding: 16px 20px; }
  .hero__visual::after { bottom: 65px; }
  .hero__meta { width: auto; flex-wrap: wrap; justify-content: flex-start; gap: 22px; }
  .section { padding-block: 58px; }
  .section--tight { padding-block: 30px; }
  .bento__stat { margin-block: 6px; flex-basis: 25%; padding-inline: 14px; min-height: 100px; }
  .bento__num { font-size: 43px; }
  [data-block="ProgramBlock"] .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .programs { grid-template-columns: 1fr; }
  .program { padding: 26px 0; min-height: 0; }
  .program--featured { padding: 26px; }
  .program:nth-child(even) { border-left: 0; }
  .program__title { font-size: 26px; }
  .program__num { font-size: 32px; }
  .ppdb { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 24px; gap: 18px; }
  .ppdb__title { font-size: 2.35rem; max-width: none; }
  .ppdb__count { display: flex; flex-wrap: wrap; gap: 8px; }
  .ppdb__count-cell { width: 54px; height: 64px; }
  .ppdb__count-num { font-size: 26px; }
  .ppdb__steps { grid-template-columns: 1fr 1fr; margin-top: 6px; gap: 20px 16px; }
  .ppdb__ctas { flex-direction: column; width: 100%; gap: 8px; }
  .ppdb__ctas .btn { width: 100%; white-space: normal; }
  .kontak-strip { gap: 28px; }
  .page-head__panel { padding-block: 36px; }
  .page-head__title { font-size: 2.6rem; }
  .footer { padding: 32px 0 96px; }
  .footer > .container { grid-template-columns: 1fr; gap: 32px; }
  .footer__invitation { align-items: flex-start; flex-direction: column; gap: 24px; padding: 24px 20px; }
  .footer__kicker { font-size: 10px; }
  .footer__invitation h2 { font-size: clamp(1.5rem, 6.3vw, 2rem); }
  .footer__connect { padding: 14px 18px; font-size: 13px; }
  .footer__about { grid-column: auto; }
  .footer__links { gap: 12px 20px; border-top: 1px solid var(--c-line); padding-top: 24px; }
  .footer__address { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-line); padding-top: 24px; }
  .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
