
:root {
  --ink: #142620;
  --green: #173f35;
  --green-deep: #0d2e27;
  --green-soft: #e7eee9;
  --gold: #b79a61;
  --paper: #f7f5ef;
  --white: #fffefb;
  --muted: #6f7b75;
  --line: rgba(20, 38, 32, 0.14);
}

* { box-sizing: border-box; }

html { background: var(--green-deep); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--green); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.school-site { min-width: 320px; overflow: clip; }

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: 82px;
  padding: 0 clamp(20px, 4.6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: height 260ms ease, box-shadow 260ms ease;
}

.site-header--scrolled { height: 68px; box-shadow: 0 12px 34px rgba(20, 38, 32, 0.06); }

.site-brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; }
.site-brand > span:last-child { display: grid; gap: 4px; }
.site-brand b { font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 500; line-height: 1; }
.site-brand small { color: var(--muted); font-size: 7px; letter-spacing: 0.15em; text-transform: uppercase; }

.school-mark { position: relative; width: 92px; height: 92px; display: block; color: currentColor; }
.school-mark--small { width: 34px; height: 34px; }
.school-mark__diamond { position: absolute; inset: 20%; border: 1px solid currentColor; transform: rotate(45deg); }
.school-mark__diamond--two { transform: rotate(90deg); }
.school-mark__core { position: absolute; inset: 44%; background: var(--gold); border-radius: 50%; }

.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.desktop-nav a { position: relative; padding: 8px 0; color: rgba(20, 38, 32, 0.72); font-size: 11px; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform 240ms ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-caption { justify-self: end; color: var(--muted); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }
.menu-toggle, .mobile-menu { display: none; }

.school-hero {
  min-height: 900px;
  padding-top: 82px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--paper);
}

.hero-content {
  min-height: 818px;
  padding: clamp(80px, 9vw, 140px) clamp(28px, 6vw, 92px) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow { margin: 0 0 50px; display: flex; align-items: center; gap: 14px; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }

.hero-content h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(88px, 10vw, 150px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.065em;
}
.hero-content h1 em { color: var(--green); font-weight: 400; }

.hero-lead { max-width: 550px; margin: 52px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { margin-top: 48px; display: flex; align-items: center; gap: 34px; }
.primary-link { min-width: 210px; height: 56px; padding: 0 10px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--white); background: var(--green); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 220ms ease; }
.primary-link span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); background: var(--white); border-radius: 50%; transition: transform 260ms ease; }
.primary-link:hover { background: var(--green-deep); }
.primary-link:hover span { transform: translateY(3px); }
.hero-date { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-style: italic; }

.hero-visual {
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  min-height: 818px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(150deg, #1c4a3e, var(--green-deep));
}
.hero-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.045), transparent 52%); }
.hero-visual__halo { position: absolute; width: min(620px, 88%); aspect-ratio: 1; border: 1px solid rgba(183, 154, 97, 0.24); border-radius: 50%; animation: halo-breathe 8s ease-in-out infinite; }

.hero-arch {
  position: relative;
  z-index: 2;
  width: min(420px, 68%);
  height: 590px;
  padding: 10px;
  border: 1px solid rgba(183, 154, 97, 0.55);
  border-radius: 220px 220px 12px 12px;
  transform: translate(var(--shift-x), var(--shift-y));
  transition: transform 320ms ease-out;
}
.hero-arch__inner { height: 100%; padding: 54px 30px 48px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: inherit; text-align: center; }
.hero-arabic { color: #d8c291; font-family: Georgia, "Times New Roman", serif; font-size: 34px; direction: rtl; }
.hero-arch__inner > .school-mark { opacity: 0.8; }
.hero-arch__inner > div:last-child { display: grid; gap: 9px; }
.hero-arch__inner b { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; }
.hero-arch__inner small { color: rgba(255, 255, 255, 0.5); font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-visual__caption { position: absolute; right: 34px; bottom: 28px; margin: 0; color: rgba(255, 255, 255, 0.4); font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; }

.school-facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.school-facts p { min-height: 118px; margin: 0; padding: 28px clamp(22px, 4vw, 60px); display: grid; align-content: center; gap: 11px; border-left: 1px solid var(--line); }
.school-facts p:first-child { border-left: 0; }
.school-facts span { color: var(--muted); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; }
.school-facts b { font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px, 2vw, 27px); font-weight: 400; }

.school-about { padding: 135px clamp(24px, 7vw, 108px) 150px; background: var(--paper); }
.section-label { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.section-label span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 12px; }
.section-label--light { color: rgba(255, 255, 255, 0.52); }

.about-layout { margin-top: 62px; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: clamp(60px, 10vw, 160px); }
.about-layout h2, .path-heading h2, .leadership-main h2, .foundation-heading h2, .document-copy__main h2, .simple-contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.4vw, 108px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.about-layout h2 em, .path-heading h2 em, .leadership-main h2 em, .foundation-heading h2 em, .document-copy__main h2 em, .simple-contact h2 em { color: var(--green); font-weight: 400; }
.about-copy { max-width: 570px; padding-top: 12px; }
.about-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.about-copy p + p { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

.hifz-path { padding: 130px clamp(24px, 7vw, 108px) 140px; color: var(--white); background: var(--green-deep); }
.path-heading { display: grid; grid-template-columns: 0.48fr 1.12fr 0.6fr; align-items: end; gap: clamp(40px, 7vw, 100px); }
.path-heading h2 { font-size: clamp(54px, 6.7vw, 98px); }
.path-heading h2 em { color: #d8c291; }
.path-heading > p { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 14px; line-height: 1.75; }

.path-steps { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); }
.path-steps article { min-height: 270px; padding: 30px 34px 0; display: flex; flex-direction: column; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 1px solid rgba(255, 255, 255, 0.12); }
.path-steps article:first-child { padding-left: 0; border-left: 0; }
.path-steps article > span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 14px; }
.path-steps h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3vw, 46px); font-weight: 400; }
.path-steps p { max-width: 300px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.48); font-size: 13px; line-height: 1.7; }

.leadership-section { min-height: 820px; display: grid; grid-template-columns: 0.94fr 1.06fr; background: var(--white); }
.leadership-photo { min-height: 820px; padding: 76px clamp(34px, 6vw, 92px) 46px; display: flex; flex-direction: column; justify-content: space-between; background: var(--green-soft); }
.leadership-photo__arch { height: 660px; max-width: 560px; margin: 0 auto; overflow: hidden; border-radius: 290px 290px 8px 8px; }
.leadership-photo__arch img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; filter: saturate(0.84) contrast(1.02); transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.leadership-photo:hover img { transform: scale(1.018); }
.leadership-photo > p { margin: 28px 0 0; display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }
.leadership-photo > p b { color: var(--green); font-weight: 700; }

.leadership-copy { min-height: 820px; padding: 104px clamp(30px, 6vw, 94px) 60px; display: flex; flex-direction: column; justify-content: space-between; }
.leadership-main { margin: 65px 0; }
.leadership-role, .document-kicker { margin: 0 0 24px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.leadership-main h2 { font-size: clamp(66px, 7.8vw, 116px); }
.leadership-name { margin: 38px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; border-left: 1px solid var(--gold); }
.leadership-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.leadership-facts p { margin: 0; padding: 22px 20px 0; display: grid; gap: 9px; border-left: 1px solid var(--line); }
.leadership-facts p:first-child { padding-left: 0; border-left: 0; }
.leadership-facts span { color: var(--muted); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }
.leadership-facts b { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 400; }

.foundation-section { padding: 135px clamp(24px, 7vw, 108px) 140px; background: var(--paper); border-top: 1px solid var(--line); }
.foundation-heading { margin-top: 62px; }
.foundation-heading > p { margin: 0 0 26px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.foundation-heading h2 { max-width: 1120px; font-size: clamp(52px, 6.1vw, 90px); }
.foundation-heading > span { display: inline-block; margin-top: 34px; padding: 11px 15px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; }

.legal-line { margin-top: 94px; display: grid; grid-template-columns: 1.05fr 1.1fr 1fr 0.85fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-line p { min-height: 128px; margin: 0; padding: 28px clamp(16px, 2.4vw, 36px); display: grid; align-content: center; gap: 12px; border-left: 1px solid var(--line); }
.legal-line p:first-child { padding-left: 0; border-left: 0; }
.legal-line span { color: var(--muted); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }
.legal-line b { font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2vw, 26px); font-weight: 400; }

.document-section { min-height: 870px; display: grid; grid-template-columns: 0.84fr 1.16fr; background: var(--white); }
.document-copy { min-height: 870px; padding: 110px clamp(28px, 6vw, 94px) 70px; display: flex; flex-direction: column; justify-content: space-between; }
.document-copy__main { margin: 60px 0; }
.document-copy__main h2 { font-size: clamp(58px, 6.5vw, 96px); }
.document-copy__main > p:last-of-type { max-width: 500px; margin: 38px 0 34px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.document-link { min-width: 210px; height: 56px; padding: 0 12px 0 21px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--white); background: var(--green); border: 0; cursor: pointer; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.document-link span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--green); background: var(--white); border-radius: 50%; transition: transform 240ms ease; }
.document-link:hover span { transform: translate(2px, -2px); }

.document-preview { position: relative; min-height: 870px; padding: 70px clamp(28px, 7vw, 110px); display: grid; place-items: center; background: var(--green-soft); border: 0; cursor: zoom-in; overflow: hidden; }
.document-preview__frame { position: relative; width: min(480px, 78%); padding: 13px; background: var(--white); box-shadow: 0 24px 65px rgba(20, 38, 32, 0.13); transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 500ms ease; }
.document-preview:hover .document-preview__frame { transform: translateY(-6px); box-shadow: 0 30px 78px rgba(20, 38, 32, 0.18); }
.document-preview__frame img { width: 100%; height: auto; display: block; }
.document-preview__caption { position: absolute; right: 30px; bottom: 28px; color: var(--muted); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }

.simple-contact { padding: 120px clamp(24px, 7vw, 108px); color: var(--white); background: var(--green); }
.simple-contact h2 { margin-top: 55px; font-size: clamp(54px, 7.2vw, 106px); }
.simple-contact h2 em { color: #d8c291; }
.contact-line { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.17); }
.contact-line p { margin: 0; padding: 24px 25px 0; display: grid; gap: 9px; border-left: 1px solid rgba(255, 255, 255, 0.13); }
.contact-line p:first-child { padding-left: 0; border-left: 0; }
.contact-line span { color: rgba(255, 255, 255, 0.45); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-line b { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 400; }

.site-footer { min-height: 110px; padding: 25px clamp(20px, 4.6vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white); background: #081d18; }
.site-footer .site-brand small, .site-footer > p, .site-footer > a:last-child { color: rgba(255, 255, 255, 0.4); }
.site-footer > p, .site-footer > a:last-child { margin: 0; font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }
.site-footer > a:last-child { justify-self: end; color: #d8c291; }

.document-modal { position: fixed; z-index: 150; inset: 0; padding: 24px; display: grid; place-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 220ms ease, visibility 220ms ease; }
.document-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(8, 29, 24, 0.92); border: 0; cursor: zoom-out; backdrop-filter: blur(10px); }
.document-modal__panel { position: relative; z-index: 2; width: min(920px, 92vw); height: min(92vh, 1040px); display: grid; grid-template-rows: auto 1fr; color: var(--white); background: var(--green); transform: translateY(18px); transition: transform 260ms ease; }
.document-modal__header { min-height: 74px; padding: 14px 17px 14px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.document-modal__header p { margin: 0; display: grid; gap: 6px; }
.document-modal__header span { color: #d8c291; font-size: 7px; letter-spacing: 0.14em; text-transform: uppercase; }
.document-modal__header b { font-family: Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 400; }
.document-modal__close { width: 42px; height: 42px; color: var(--green); background: var(--white); border: 0; border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-size: 25px; cursor: pointer; }
.document-modal__image { min-height: 0; padding: 22px; display: grid; place-items: center; overflow: auto; }
.document-modal__image img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24); }
.document-is-open { overflow: hidden; }
.document-is-open .document-modal { opacity: 1; visibility: visible; pointer-events: auto; }
.document-is-open .document-modal__panel { transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes halo-breathe {
  0%, 100% { transform: scale(0.98); opacity: 0.55; }
  50% { transform: scale(1.035); opacity: 1; }
}

@media (max-width: 1040px) {
  .school-hero { grid-template-columns: 1fr; }
  .hero-content { min-height: 760px; }
  .hero-visual { min-height: 720px; }
  .path-heading { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .path-heading > p { max-width: 520px; }
  .leadership-section, .document-section { grid-template-columns: 1fr; }
  .leadership-photo, .leadership-copy { min-height: 760px; }
  .document-copy { min-height: 700px; }
  .document-preview { min-height: 820px; }
  .legal-line { grid-template-columns: 1fr 1fr; }
  .legal-line p:nth-child(3) { border-left: 0; }
}

@media (max-width: 780px) {
  .site-header { height: 68px; padding-inline: 18px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-caption { display: none; }
  .menu-toggle { position: relative; z-index: 102; width: 42px; height: 42px; padding: 0; display: grid; place-content: center; gap: 6px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; }
  .menu-toggle span { width: 16px; height: 1px; background: currentColor; transition: transform 220ms ease; }
  .menu-is-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-is-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 90; inset: 0; padding: 110px 24px 40px; display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--green-deep); opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: opacity 240ms ease, visibility 240ms ease, transform 240ms ease; }
  .menu-is-open { overflow: hidden; }
  .menu-is-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a { padding: 17px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 9vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .mobile-menu p { margin: 34px 0 0; color: rgba(255, 255, 255, 0.42); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; }

  .school-hero { padding-top: 68px; }
  .hero-content { min-height: 700px; padding: 70px 20px 56px; }
  .eyebrow { margin-bottom: 42px; }
  .hero-content h1 { font-size: clamp(70px, 20vw, 108px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { min-height: 640px; }
  .hero-arch { width: min(350px, 76%); height: 505px; }
  .hero-arabic { font-size: 29px; }

  .school-facts { grid-template-columns: 1fr; }
  .school-facts p { min-height: 100px; border-left: 0; border-top: 1px solid var(--line); }
  .school-facts p:first-child { border-top: 0; }

  .school-about, .hifz-path, .foundation-section, .simple-contact { padding: 86px 20px 94px; }
  .about-layout { margin-top: 42px; grid-template-columns: 1fr; gap: 45px; }
  .about-layout h2, .path-heading h2, .leadership-main h2, .foundation-heading h2, .document-copy__main h2, .simple-contact h2 { font-size: clamp(49px, 13vw, 72px); }
  .about-copy p { font-size: 14px; }
  .path-steps { margin-top: 64px; grid-template-columns: 1fr; }
  .path-steps article { min-height: 220px; padding: 28px 0; border-left: 0; }
  .leadership-photo { min-height: 650px; padding: 50px 20px 32px; }
  .leadership-photo__arch { height: 560px; max-width: 470px; }
  .leadership-copy { min-height: 650px; padding: 86px 20px 50px; }
  .leadership-main { margin: 52px 0; }
  .leadership-facts { grid-template-columns: 1fr; }
  .leadership-facts p { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .leadership-facts p:first-child { border-top: 0; }
  .foundation-heading { margin-top: 42px; }
  .legal-line { margin-top: 64px; grid-template-columns: 1fr; }
  .legal-line p, .legal-line p:first-child { min-height: 100px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .legal-line p:first-child { border-top: 0; }
  .document-copy { min-height: 620px; padding: 86px 20px 50px; }
  .document-copy__main { margin: 50px 0 0; }
  .document-preview { min-height: 700px; padding: 55px 20px; }
  .document-preview__frame { width: min(420px, 82%); padding: 9px; }
  .contact-line { margin-top: 55px; grid-template-columns: 1fr; }
  .contact-line p { padding: 18px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.13); }
  .contact-line p:first-child { border-top: 0; }
  .document-modal { padding: 0; }
  .document-modal__panel { width: 100vw; height: 100vh; }
  .document-modal__header { padding-inline: 15px; }
  .document-modal__header b { font-size: 12px; }
  .document-modal__image { padding: 12px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
}

@media (max-width: 420px) {
  .site-brand b { font-size: 13px; }
  .hero-content { min-height: 650px; }
  .hero-content h1 { font-size: clamp(64px, 20vw, 84px); }
  .primary-link { width: 100%; }
  .hero-visual { min-height: 560px; }
  .hero-arch { width: 290px; height: 440px; }
  .hero-arch__inner { padding: 44px 20px 38px; }
  .hero-visual__caption { right: 18px; bottom: 18px; }
  .leadership-photo { min-height: 570px; }
  .leadership-photo__arch { height: 490px; }
  .document-preview { min-height: 600px; }
  .document-preview__frame { width: 88%; }
  .simple-contact h2 { word-break: break-word; }
  .site-footer .site-brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
