@font-face {
  font-family: Cairo;
  src: url('assets/fonts/Cairo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cairo;
  src: url('assets/fonts/Cairo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Amiri;
  src: url('assets/fonts/Amiri-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
:root {
  --green: #103d2e;
  --green-dark: #092c22;
  --green-light: #22553c;
  --gold: #dfbd78;
  --gold-dark: #87632a;
  --red: #aa3e34;
  --paper: #faf7ef;
  --text: #173e30;
  --muted: #69746b;
  --border: #e3ddcd;
  --font: Cairo, Tahoma, Arial, sans-serif;
  --display: Amiri, 'Traditional Arabic', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 14px/1.85 var(--font); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; cursor: pointer; color: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
button:disabled { opacity: .35; cursor: default; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
:focus-visible { outline: 3px solid #b88129; outline-offset: 5px; }
.skip-link { position: fixed; inset-block-start: 10px; inset-inline-start: 20px; z-index: 10; background: #fff; padding: 12px 24px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.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; }
.eight-point-star { display: inline-block; width: 16px; height: 16px; background: currentColor; clip-path: polygon(50% 0,65% 15%,85% 15%,85% 35%,100% 50%,85% 65%,85% 85%,65% 85%,50% 100%,35% 85%,15% 85%,15% 65%,0 50%,15% 35%,15% 15%,35% 15%); flex-shrink: 0; }
.blessing-bar { background: var(--green-dark); color: #d9c493; border-block-end: 1px solid #caa8643b; }
.blessing-inner { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.blessing-inner > span { font-size: 10px; width: 250px; }
.blessing-inner > span:last-child { text-align: end; }
.basmala { font: 400 24px/1.5 var(--display); white-space: nowrap; padding-block-start: 5px; }
.site-header { background: var(--paper); position: relative; z-index: 1; }
.header-inner { min-height: 101px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: flex; gap: 13px; align-items: center; }
.brand img, .footer-brand img { border-radius: 50%; object-fit: contain; }
.brand img { width: 65px; height: 65px; border: 1px solid #b49b64; padding: 2px; }
.brand strong { display: block; font: 400 26px/1.55 var(--display); }
.branch { display: block; font-size: 11px; color: var(--muted); }
nav { display: flex; align-items: center; gap: 32px; font-size: 12px; }
nav a { padding-block: 18px; position: relative; }
.nav-active { font-weight: 700; }
.nav-active::after { content: ''; position: absolute; inset-block-end: 5px; inset-inline: 30%; height: 2px; background: var(--red); }
.header-download { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #bcc9b9; padding: 8px 20px; font-size: 12px; border-radius: 3px; }
.header-download:hover { background: #edeedf; }
.header-download .icon { width: 17px; height: 17px; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: radial-gradient(ellipse at 18% 55%, #235239 0%, transparent 52%), var(--green-dark); border-block: 1px solid #b8975659; }
.hero::before { content: ''; position: absolute; inset: 14px; border: 1px solid #e3c48326; pointer-events: none; z-index: -1; }
.hero-pattern { position: absolute; inset: 0; z-index: -2; background: url('assets/islamic-pattern.svg') repeat; background-size: 110px; opacity: .105; mask-image: linear-gradient(to right, #000, transparent 70%); }
.hero-skyline { position: absolute; inset-inline: 0; inset-block-end: 0; height: 205px; background: url('assets/minaret-silhouette.svg') center bottom / cover no-repeat; opacity: .09; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 80px; padding-block: 45px 55px; min-height: 635px; }
.hero-copy { padding-inline-start: 8px; padding-block: 18px; }
.eyebrow { color: #dfbd78; display: flex; align-items: center; gap: 13px; font-size: 13px; margin-block-end: 24px; }
.eyebrow .eight-point-star { width: 15px; height: 15px; }
h1 { font: 400 clamp(64px,6.4vw,88px)/1.22 var(--display); letter-spacing: -.7px; }
h1 > span { color: #e8c987; }
.ornamental-divider { display: flex; align-items: center; gap: 9px; color: var(--gold); margin-block: 23px; }
.ornamental-divider > span { width: 50px; height: 1px; background: #b99c6199; }
.ornamental-divider > span:last-child { width: 115px; background: linear-gradient(to left,#b99c6199,transparent); }
.ornamental-divider i { width: 10px; height: 10px; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-block-start: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 45px; padding: 10px 18px; font-size: 12px; font-weight: 700; border: 1px solid transparent; border-radius: 3px; transition: background .2s, box-shadow .2s, transform .2s; }
.button-gold { min-height: 53px; background: linear-gradient(110deg,#d4ad65,#ebce94); color: #163c2d; border-color: #e9cd93; box-shadow: 0 4px 20px #0002; padding-inline: 21px; font-size: 13px; }
.button-gold:hover { background: #f1d6a2; transform: translateY(-2px); }
.button-gold .icon:last-child { margin-inline-start: 14px; width: 19px; }
.hero-help { font-size: 11px; border-block-end: 1px solid #ddc39270; padding-block: 7px; white-space: nowrap; color: #e0d6bd; }
.hero-features { display: flex; gap: 22px; margin-block-start: 22px; font-size: 10px; color: #bfceb9; }
.hero-features > span { display: flex; align-items: center; gap: 5px; }
.hero-features .icon { color: #d6b671; width: 15px; height: 15px; }
.hero-art { height: 528px; position: relative; display: grid; place-items: center; }
.emblem-arch { position: relative; background: url('assets/arch-frame.svg') center / 100% 100% no-repeat; width: 410px; height: 522px; display: flex; flex-direction: column; align-items: center; padding-block-start: 107px; filter: drop-shadow(0 20px 20px #0002); }
.arch-halo { position: absolute; width: 500px; height: 500px; border: 1px solid #cfb2731f; transform: rotate(45deg); }
.arch-halo::before, .arch-halo::after { content: ''; position: absolute; inset: 24px; border: 1px solid #cfb27317; }
.arch-halo::after { transform: rotate(45deg); inset: 60px; }
.arch-star { position: absolute; top: 65px; width: 15px; height: 15px; color: #c5a465; }
.crest-frame { width: 244px; height: 244px; flex-shrink: 0; display: grid; place-items: center; position: relative; }
.crest-frame::before, .crest-frame::after { content: ''; position: absolute; inset: -8px; border: 1px solid #d3b77973; transform: rotate(22.5deg); }
.crest-frame::after { transform: rotate(67.5deg); }
.crest-frame img { width: 228px; height: 228px; border-radius: 50%; border: 4px solid #dfc185; padding: 4px; background: #fff8df; position: relative; box-shadow: 0 0 40px #bba36615; }
.arch-rule { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #c7a86a; margin-block: 8px 4px; }
.arch-rule span { height: 1px; width: 28px; background: #bca16c60; }
.arch-caption { font-size: 10px; color: #c8cfb9; }
.art-side-label { position: absolute; left: -24px; top: 44%; writing-mode: vertical-rl; font: 400 16px var(--display); color: #c1a36a; letter-spacing: 3px; }
.heritage-band { position: relative; background: #f1ead9; border-block-end: 1px solid #ded4bc; }
.heritage-band::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(to right,transparent,#ab3d3333,transparent); }
.hero-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-block: 26px; gap: 30px; }
.hero-summary > div { display: flex; align-items: center; justify-content: center; gap: 15px; }
.hero-summary > div + div { border-inline-start: 1px solid #d6cbb1; }
.summary-icon { width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; color: #88672c; border: 1px solid #c4ab7799; transform: rotate(45deg); }
.summary-icon .icon { transform: rotate(-45deg); width: 21px; height: 21px; }
.hero-summary p { padding-inline-start: 5px; }
.hero-summary strong { display: block; font-size: 12px; }
.hero-summary p span { display: block; font-size: 10px; color: #777263; margin-block-start: 3px; }
.guides-section { padding-block: 66px 55px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-block-end: 27px; }
.section-kicker { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--gold-dark); margin-block-end: 11px; font-weight: 700; }
.section-kicker .eight-point-star { width: 12px; height: 12px; color: var(--red); }
h2 { font: 400 41px/1.4 var(--display); }
.section-heading p:not(.section-kicker) { font-size: 12px; color: var(--muted); margin-block-start: 12px; }
.collection-label { font-size: 11px; display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 10px 21px; border-inline: 1px solid #d6c6a2; color: #727362; }
.collection-label bdi { font-size: 14px; letter-spacing: 2px; color: var(--green); }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-block: 30px 26px; border-block: 1px solid #e2d9c6; padding-block: 15px; }
.stage-filters { display: flex; gap: 6px; }
.filter { border: 1px solid transparent; background: transparent; padding: 8px 20px; min-height: 43px; font-size: 12px; border-radius: 3px; color: #697367; }
.filter.active { background: var(--green); color: #fff9e9; }
.filter:not(.active):hover { background: #ece9dc; }
.filter > span { font-size: 10px; padding: 1px 6px; background: #ffffff21; margin-inline-start: 5px; border-radius: 2px; }
.language-filter { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 11px; }
select { border: 1px solid #d9d1bd; background: #fffdf6; border-radius: 3px; padding: 8px 12px; min-height: 43px; min-width: 125px; }
.guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
.guide-card { display: grid; grid-template-columns: 142px minmax(0,1fr); background: #fffdf8; border: 1px solid #dfd8c7; border-radius: 5px; overflow: hidden; box-shadow: 0 4px 16px #40391404; transition: border-color .2s, box-shadow .2s; }
.guide-card:hover { border-color: #b59e6a; box-shadow: 0 8px 24px #4039140b; }
.guide-cover { display: flex; position: relative; flex-direction: column; align-items: center; justify-content: center; padding: 23px 12px; background: #194833; color: #e4ca91; isolation: isolate; border-inline-end: 5px solid #123b2b; text-align: center; }
.guide-cover::before { content: ''; position: absolute; inset: 7px; border: 1px solid #d3b57365; z-index: -1; }
.guide-cover::after { content: ''; position: absolute; inset: 0; background: url('assets/islamic-pattern.svg') center / 82px; opacity: .12; z-index: -2; }
.foundation-card .guide-cover { background: #775526; border-inline-end-color: #60411b; }
.foundation-card .guide-cover::before { border-color: #ead3a475; }
.cover-topline { font-size: 6.5px; white-space: nowrap; }
.cover-seal { margin-block-start: 17px; width: 62px; height: 62px; display: grid; place-items: center; padding: 2px; border: 1px solid #cbb075; border-radius: 50%; }
.cover-seal img { width: 56px; height: 56px; border-radius: 50%; }
.cover-divider { font-size: 10px; margin-block: 9px 3px; }
.guide-cover strong { font: 400 29px/1.2 var(--display); color: #fff4da; }
.cover-edition { font-size: 6px; margin-block-start: 12px; white-space: nowrap; }
.cover-year { font-size: 8px; letter-spacing: 1px; margin-block-start: 12px; }
.guide-details { padding: 22px; min-width: 0; display: flex; flex-direction: column; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 13px; }
.stage-icon { display: grid; place-items: center; width: 31px; height: 31px; color: #4d6b4f; }
.stage-icon .icon { width: 25px; height: 25px; }
.foundation-card .stage-icon { color: #8c6b35; }
.language-badge { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #6d756b; }
.language-badge > span:last-child { font: 400 9px Arial,sans-serif; border: 1px solid #ddd8c9; border-radius: 2px; padding: 4px; color: #75776d; }
.card-eyebrow { display: flex; flex-wrap: wrap; gap: 7px; font-size: 9px; color: #487255; margin-block-end: 7px; }
.card-eyebrow > span { font-size: 8px; color: #797b71; border-inline-start: 1px solid #d7d7c9; padding-inline-start: 7px; }
.foundation-card .card-eyebrow { color: #87632a; }
h3 { font-size: 18px; line-height: 1.65; }
.english-title { font: 700 17px/1.6 var(--font); text-align: right; }
.card-description { font-size: 13px; color: #687266; line-height: 1.9; margin-block: 10px 15px; flex: 1; }
.file-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 10px; color: #777a6f; margin-block-end: 17px; }
.file-meta > span { display: flex; align-items: center; gap: 4px; }
.file-meta > span + span::before { content: ''; width: 3px; height: 3px; background: #b8b7a6; border-radius: 50%; margin-inline: 8px; }
.file-meta .icon { width: 12px; height: 12px; }
.card-actions { border-block-start: 1px solid #e8e3d6; padding-block-start: 16px; display: flex; gap: 8px; }
.button-primary { background: var(--green); color: #fff9e8; }
.button-primary:hover { background: #255d42; }
.card-actions .button-primary { flex: 1; }
.card-actions .button { font-size: 10px; padding-inline: 10px; min-height: 43px; }
.card-actions .icon { width: 16px; height: 16px; }
.button-preview { border-color: #d4cbb7; color: var(--green); background: #fffdf8; }
.button-preview:hover { background: #f2ecd9; }
.reading-note { display: flex; gap: 19px; align-items: center; margin-block-start: 29px; padding: 22px 26px; background: #eee8d8; border-inline-start: 3px solid #b59453; position: relative; }
.note-icon { color: #8a6c31; flex-shrink: 0; }
.note-icon .icon { width: 28px; height: 28px; }
.reading-note p { font-size: 11px; color: #776d54; }
.reading-note strong { display: block; font-size: 12px; color: #435237; margin-block-end: 4px; }
.note-star { margin-inline-start: auto; width: 37px; height: 37px; color: #c3b287; opacity: .6; }
.help-section { background: #f3efdf; border-block: 1px solid #e2dac5; position: relative; isolation: isolate; }
.help-section::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 40%; background: url('assets/islamic-pattern.svg') center / 100px; opacity: .1; z-index: -1; mask-image: linear-gradient(to left,#000,transparent); }
.help-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; padding-block: 48px; }
.help-heading h2 { font-size: 45px; line-height: 1.25; }
.help-heading > p:last-child { color: #777768; font-size: 12px; margin-block-start: 18px; }
.help-steps { display: flex; flex-direction: column; gap: 23px; padding-block: 6px; }
.help-step { display: flex; align-items: flex-start; gap: 18px; }
.help-step > span { width: 38px; height: 38px; flex-shrink: 0; background: #fffaf0; border: 1px solid #d4c49c; color: #947434; display: grid; place-items: center; font: 400 25px/1 var(--display); padding-block-start: 3px; border-radius: 50% 50% 3px 3px; }
.help-step h3 { font-size: 14px; }
.help-step p { color: #757667; font-size: 11px; margin-block-start: 4px; }
.site-footer { background: var(--green-dark); color: #eddfc4; position: relative; overflow: hidden; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 35px 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 58px; height: 58px; border: 1px solid #9c874f; padding: 2px; }
.footer-brand strong { font: 400 22px/1.6 var(--display); display: block; }
.footer-brand span { font-size: 9px; color: #a8baa5; display: block; }
.footer-inner > p { font: 400 20px/1.6 var(--display); text-align: center; color: #d3c9aa; }
.footer-inner > p > span { display: block; font: 400 10px/2 var(--font); color: #a6b39f; margin-block-start: 5px; }
.footer-inner > a { font-size: 11px; color: #c8b888; }
.footer-inner > a > span { margin-inline-start: 10px; font-size: 18px; }
.footer-pattern { height: 12px; border-block-start: 1px solid #af925738; background: url('assets/islamic-pattern.svg') center / 40px; opacity: .5; }
.preview-dialog { width: min(920px,calc(100% - 32px)); max-height: 94dvh; border: 1px solid #b59c62; border-radius: 5px; padding: 0; background: var(--paper); color: var(--text); box-shadow: 0 30px 90px #0004; overflow: hidden; }
.preview-dialog[open] { display: flex; flex-direction: column; }
.preview-dialog::backdrop { background: #051d16d6; backdrop-filter: blur(5px); }
.preview-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-block-end: 1px solid var(--border); gap: 12px; }
.preview-header h2 { font: 700 16px/1.7 var(--font); }
.preview-header .section-kicker { margin: 0; font-size: 10px; }
.icon-button { width: 42px; height: 42px; flex-shrink: 0; display: inline-grid; place-items: center; border: 1px solid #d9cdb3; border-radius: 3px; background: #fffdf7; }
.icon-button:hover:not(:disabled) { background: #eee8d7; }
.preview-content { overflow: auto; min-height: 150px; background: #eae7dc; text-align: center; padding: 20px; overscroll-behavior: contain; }
.preview-content img { display: block; margin: auto; width: auto; max-width: 100%; height: auto; box-shadow: 0 2px 13px #0001; }
.preview-message { padding: 40px 15px; font-size: 14px; }
.preview-controls { padding: 14px 20px; display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; border-block-start: 1px solid var(--border); }
.pagination { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.flip { transform: rotate(180deg); }
.pdf-original { font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .hero-inner { gap: 36px; grid-template-columns: 1.1fr 1fr; }
  .emblem-arch { width: 350px; height: 446px; padding-block-start: 91px; }
  .arch-star { top: 55px; width: 12px; height: 12px; }
  .crest-frame { width: 200px; height: 200px; }
  .crest-frame img { width: 190px; height: 190px; }
  .arch-motto { font-size: 28px; margin-block-start: 24px; }
  .arch-caption { font-size: 9px; }
  .hero-art { height: 470px; }
  .arch-halo { width: 380px; height: 380px; }
  .art-side-label { left: -15px; font-size: 13px; }
  .hero-help { display: none; }
  .hero-inner { min-height: 578px; }
  .hero-description { font-size: 13px; }
  .guide-card { grid-template-columns: 118px minmax(0,1fr); }
  .guide-details { padding: 18px; }
  .guide-cover { padding-inline: 8px; }
  .cover-topline { font-size: 5.7px; }
  h3 { font-size: 16px; }
  .english-title { font-size: 15px; }
  .file-meta > span + span::before { margin-inline: 6px; }
  .card-actions .button { padding-inline: 9px; gap: 6px; }
  .card-actions .icon { width: 14px; height: 14px; }
  nav { gap: 22px; }
  .brand strong { font-size: 23px; }
  .header-download { padding-inline: 12px; }
  .hero-summary { gap: 20px; }
  .hero-summary > div { gap: 10px; }
  .hero-summary strong { font-size: 11px; }
  .hero-summary p span { font-size: 9px; }
}
@media (max-width: 850px) {
  .header-download { display: none; }
  .hero-inner { gap: 28px; }
  h1 { font-size: 64px; }
  .hero-art { height: 420px; }
  .emblem-arch { width: 302px; height: 385px; padding-block-start: 80px; }
  .arch-star { top: 47px; width: 11px; height: 11px; }
  .crest-frame { width: 167px; height: 167px; }
  .crest-frame img { width: 158px; height: 158px; padding: 3px; border-width: 3px; }
  .arch-motto { font-size: 25px; margin-block-start: 22px; }
  .arch-rule { margin-block: 6px 2px; }
  .arch-caption { font-size: 8px; }
  .arch-halo { width: 320px; height: 320px; }
  .art-side-label { display: none; }
  .hero-inner { min-height: 545px; padding-block: 35px 42px; }
  .hero-features { gap: 10px; font-size: 9px; }
  .eyebrow { font-size: 11px; }
  .hero-description { font-size: 12px; }
  .guide-card { grid-template-columns: 100px minmax(0,1fr); }
  .guide-details { padding: 16px; }
  .guide-cover strong { font-size: 26px; }
  .cover-topline { font-size: 5px; }
  .card-actions { flex-wrap: wrap; }
  .card-actions .button { min-height: 41px; }
  .card-actions .button-primary { flex-basis: 100%; }
  .button-preview { flex: 1; }
  .help-inner { gap: 45px; }
  .footer-inner > p { font-size: 16px; }
  .footer-brand strong { font-size: 20px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .blessing-inner { min-height: 41px; justify-content: center; }
  .blessing-inner > span { display: none; }
  .basmala { font-size: 23px; padding-block-start: 5px; }
  .header-inner { min-height: 84px; gap: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 20px; }
  .branch { font-size: 9px; }
  nav { font-size: 10px; }
  nav a:nth-child(2) { display: none; }
  .hero::before { inset: 9px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 25px; padding-block: 33px 36px; }
  .hero-copy { padding: 0 12px; }
  .eyebrow { justify-content: center; font-size: 11px; margin-block-end: 21px; }
  h1 { font-size: 65px; line-height: 1.16; }
  .ornamental-divider { justify-content: center; margin-block: 18px; }
  .ornamental-divider > span { width: 55px; background: #b99c6199; }
  .ornamental-divider > span:last-child { width: 55px; background: #b99c6199; }
  .hero-description { max-width: 365px; font-size: 12px; line-height: 2.05; margin-inline: auto; }
  .hero-actions { justify-content: center; margin-block-start: 23px; }
  .button-gold { min-height: 49px; font-size: 12px; }
  .hero-features { justify-content: center; margin-block-start: 17px; gap: 17px; }
  .hero-art { height: 364px; }
  .emblem-arch { height: 364px; width: 286px; padding-block-start: 76px; }
  .arch-star { top: 45px; }
  .crest-frame { width: 157px; height: 157px; }
  .crest-frame img { width: 151px; height: 151px; }
  .arch-motto { font-size: 24px; margin-block-start: 19px; }
  .arch-caption { font-size: 8px; }
  .arch-halo { width: 286px; height: 286px; }
  .hero-pattern { mask-image: linear-gradient(to top,#000,transparent); opacity: .09; }
  .hero-skyline { height: 130px; background-size: auto 130px; }
  .hero-summary { padding-block: 22px; gap: 10px; }
  .hero-summary > div { flex-direction: column; text-align: center; gap: 11px; justify-content: flex-start; }
  .hero-summary p { padding: 0 5px; }
  .hero-summary strong { font-size: 9px; line-height: 1.8; }
  .hero-summary p span { font-size: 8px; line-height: 1.8; margin-block-start: 5px; }
  .summary-icon { width: 29px; height: 29px; }
  .summary-icon .icon { width: 16px; height: 16px; }
  .guides-section { padding-block: 37px; }
  .section-heading { margin-block-end: 20px; }
  .section-kicker { font-size: 10px; margin-block-end: 12px; }
  h2 { font-size: 33px; line-height: 1.4; }
  .section-heading p:not(.section-kicker) { font-size: 11px; line-height: 2; margin-block-start: 10px; }
  .collection-label { display: none; }
  .filters { align-items: stretch; flex-direction: column; gap: 14px; margin-block: 21px; padding-block: 13px; }
  .stage-filters { justify-content: space-between; gap: 2px; }
  .filter { font-size: 10px; padding: 8px 10px; flex: 1; }
  .filter > span { font-size: 9px; padding-inline: 4px; margin-inline-start: 3px; }
  .language-filter { justify-content: space-between; font-size: 10px; }
  select { font-size: 10px; min-width: 140px; min-height: 40px; }
  .guide-grid { grid-template-columns: 1fr; gap: 17px; }
  .guide-card { grid-template-columns: 106px minmax(0,1fr); }
  .guide-details { padding: 17px; }
  .guide-cover { padding-inline: 8px; }
  .cover-topline { font-size: 5px; }
  .guide-cover strong { font-size: 27px; }
  .card-top { margin-block-end: 10px; }
  .card-eyebrow { font-size: 8px; gap: 5px; }
  .card-eyebrow > span { font-size: 7px; padding-inline-start: 5px; }
  h3 { font-size: 16px; }
  .english-title { font-size: 15px; }
  .card-description { font-size: 12px; margin-block: 9px 13px; }
  .file-meta { font-size: 9px; margin-block-end: 13px; }
  .file-meta > span + span::before { margin-inline: 5px; }
  .file-meta .icon { width: 11px; height: 11px; }
  .card-actions { padding-block-start: 13px; gap: 7px; }
  .card-actions .button { font-size: 11px; }
  .reading-note { padding: 20px 17px; gap: 12px; align-items: flex-start; margin-block-start: 23px; }
  .reading-note p { font-size: 10px; line-height: 2; }
  .reading-note strong { font-size: 11px; line-height: 1.8; margin-block-end: 7px; }
  .note-icon .icon { width: 23px; height: 23px; }
  .note-star { display: none; }
  .help-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 35px; }
  .help-heading h2 { font-size: 38px; }
  .help-heading h2 br { display: none; }
  .help-heading > p:last-child { font-size: 11px; margin-block-start: 13px; }
  .help-heading > p:last-child br { display: none; }
  .help-steps { gap: 25px; }
  .help-step h3 { font-size: 13px; }
  .help-step p { font-size: 10px; line-height: 2; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 24px; padding-block: 30px; }
  .footer-brand { text-align: start; }
  .footer-brand strong { font-size: 22px; }
  .footer-inner > p { font-size: 19px; }
  .footer-inner > a { font-size: 10px; }
  .preview-header { padding: 13px; }
  .preview-header h2 { font-size: 13px; }
  .preview-content { padding: 8px; }
  .preview-controls { gap: 9px; padding: 12px; }
  .preview-controls .button { font-size: 11px; padding-inline: 12px; }
  .pdf-original { width: 100%; text-align: center; }
  .pagination { font-size: 11px; gap: 8px; }
  .pagination .icon-button { width: 36px; height: 38px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 26px); }
  .brand strong { font-size: 18px; }
  .brand img { width: 45px; height: 45px; }
  nav { font-size: 9px; }
  .hero-copy { padding-inline: 6px; }
  h1 { font-size: 60px; }
  .hero-description { font-size: 11px; }
  .hero-features { gap: 10px; font-size: 8px; }
  .hero-summary strong { font-size: 8px; }
  .guide-card { grid-template-columns: 89px minmax(0,1fr); }
  .guide-details { padding: 13px; }
  .cover-topline { font-size: 4.4px; }
  .cover-seal { width: 52px; height: 52px; }
  .cover-seal img { width: 46px; height: 46px; }
  .guide-cover strong { font-size: 25px; }
  .cover-edition { font-size: 5px; }
  h3 { font-size: 14px; }
  .english-title { font-size: 13px; }
  .file-meta > span + span::before { margin-inline: 4px; }
  .filter { padding-inline: 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Floating navigation and lightweight CSS 3D. */
html { scroll-padding-top: 145px; }
.skip-link { z-index: 60; }
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  padding-block: 13px;
  background: #092c22e8;
  backdrop-filter: blur(18px);
  border-block-end: 1px solid #d4b57121;
}
.header-inner {
  min-height: 92px;
  padding: 12px 23px;
  border: 1px solid #e3cd97;
  border-radius: 15px;
  background: linear-gradient(115deg, #eae4d3, #fffdf5 40%, #f6f1e5);
  box-shadow: 0 4px 0 #aa8c4c, 0 8px 0 #142f20, 0 14px 30px #0004, inset 0 1px 0 #fff;
  gap: 22px;
}
.brand { gap: 15px; flex-shrink: 0; }
.brand img {
  width: 70px;
  height: 70px;
  padding: 3px;
  background: linear-gradient(135deg, #fce9b1, #9c7131, #f3d78e);
  border: 1px solid #bda166;
  box-shadow: 0 3px 0 #977940, 0 7px 12px #4e422328, inset 0 0 0 1px #fff0bb;
}
.brand strong { font-size: 25px; }
.branch { display: flex; gap: 7px; align-items: center; font-size: 10px; }
.branch::before { content: ''; width: 5px; height: 5px; background: #95722f; transform: rotate(45deg); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  background: #e7e6d9;
  border: 1px solid #dcd7c4;
  border-radius: 11px;
  box-shadow: inset 0 2px 4px #263a1710;
}
.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 15px;
  gap: 8px;
  font-size: 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  white-space: nowrap;
  color: #59644f;
  transition: background .2s, color .2s, box-shadow .2s;
}
.main-nav a .icon { width: 17px; height: 17px; }
.main-nav a.nav-active {
  color: #ffe7ad;
  background: linear-gradient(135deg, #285840, #123e2c);
  border-color: #315b41;
  box-shadow: 0 3px 0 #082c1e, 0 5px 10px #153f3023, inset 0 1px 0 #7293715c;
}
.main-nav .nav-active::after { display: none; }
.main-nav a:not(.nav-active):hover { background: #fff9e8; color: var(--green); }
.nav-count { min-width: 19px; height: 20px; display: grid; place-items: center; font-size: 9px; background: #eed28b22; border: 1px solid #b59b5d44; border-radius: 4px; }
.header-download {
  display: flex;
  background: linear-gradient(135deg, #f4d994, #cda252);
  color: #2c3f24;
  border: 1px solid #b9914e;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 3px 0 #9d762e, inset 0 1px 0 #fff0c6;
  padding: 10px 18px;
  white-space: nowrap;
}
.header-download:hover { background: #f2d596; box-shadow: 0 3px 0 #9d762e, 0 7px 16px #96723426; }
.hero-inner { min-height: 601px; padding-block: 24px 42px; }
.hero-copy { position: relative; z-index: 1; }
.hero-actions { margin-block-start: 32px; }
h1 { text-shadow: 0 3px 0 #061e1644, 0 12px 25px #0002; }
.hero-art { perspective: 1100px; height: 523px; }
.emblem-arch {
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 5deg)) rotateY(var(--tilt-y, -9deg));
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  filter: none;
  padding-block-start: 128px;
}
.emblem-arch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/arch-frame.svg') center / 100% 100% no-repeat;
  transform: translate3d(10px, 9px, -22px);
  filter: brightness(.6);
  pointer-events: none;
}
.emblem-arch::after {
  content: '';
  position: absolute;
  inset: 32px;
  background: radial-gradient(ellipse at var(--shine-x, 36%) var(--shine-y, 25%), #f8df9a16, transparent 62%);
  transform: translateZ(2px);
  pointer-events: none;
}
.crest-frame {
  width: 260px;
  height: 260px;
  transform-style: preserve-3d;
  transform: translateZ(55px);
  border-radius: 50%;
}
.crest-frame::before {
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from 25deg, #ba8b3e, #f7df99 12%, #a5732d 27%, #efcd78 40%, #fff0b4 53%, #a07631 68%, #e6c776 83%, #ba8b3e);
  border: 2px solid #cfac64;
  transform: translateZ(-9px);
  box-shadow: 1px 2px 0 #9b722e, 2px 4px 0 #6b4b21, 3px 6px 0 #b98e46, 4px 8px 0 #765522, 5px 10px 0 #b48941, 6px 12px 0 #674c22, 8px 18px 24px #0007;
}
.crest-frame::after {
  inset: -24px;
  border: 1px solid #d1b56a9c;
  transform: translateZ(-16px) rotate(22.5deg);
}
.crest-frame img {
  width: 256px;
  height: 256px;
  padding: 3px;
  border: 3px solid #fae9b5;
  transform: translateZ(2px);
  box-shadow: inset 0 0 0 2px #b99245, 0 0 30px #e4be5a15;
}
.arch-rule { margin-block: 36px 13px; transform: translateZ(24px); }
.arch-caption { font-family: var(--display); font-size: 21px; color: #e5d3a6; transform: translateZ(24px); }
.arch-halo { transform: rotate(45deg) scale(.9); border-color: #d6b26b30; box-shadow: 0 0 100px #d5b36c08; }
.arch-star { transform: translateZ(18px); }
.art-side-label { display: none; }
.crest-pedestal {
  position: absolute;
  inset-block-end: -1px;
  width: 350px;
  height: 36px;
  border: 1px solid #c6a15d80;
  border-radius: 50%;
  background: radial-gradient(ellipse, #294d32 15%, #123626 60%, #b89753 65%, #533f22 71%, #b59a5d 76%, #152f21 79%);
  box-shadow: 0 5px 0 #785c2d, 0 10px 0 #1c3424, 0 12px 0 #9e824b, 0 20px 28px #0005;
  pointer-events: none;
}
.guide-card { perspective: 850px; }
.guide-cover {
  transform-style: preserve-3d;
  transform: rotateY(var(--tilt-y, -8deg)) rotateX(var(--tilt-x, 1deg));
  transform-origin: center;
  transition: transform .4s ease, box-shadow .4s ease;
  margin: 12px 0 12px 12px;
  border-radius: 3px 7px 7px 3px;
  box-shadow: -3px 1px 0 #e1d5b6, -5px 2px 0 #f8efd9, -7px 3px 0 #b5a17a, -11px 8px 18px #18312130;
}
.guide-cover::before { border-color: #e2c68b8c; }
.guide-card:hover .guide-cover { box-shadow: -3px 1px 0 #e1d5b6, -5px 2px 0 #f8efd9, -7px 3px 0 #b5a17a, -15px 12px 22px #18312135; }

@media (max-width: 1100px) {
  .header-download { display: none; }
  .header-inner { padding-inline: 19px; }
  .brand strong { font-size: 24px; }
  .main-nav a { padding-inline: 14px; }
  .emblem-arch { padding-block-start: 106px; }
  .crest-frame { width: 219px; height: 219px; }
  .crest-frame img { width: 215px; height: 215px; }
  .arch-rule { margin-block: 31px 8px; }
  .arch-caption { font-size: 18px; }
  .hero-art { height: 471px; }
  .crest-pedestal { width: 290px; height: 30px; bottom: -2px; }
}
@media (max-width: 850px) {
  .header-inner { gap: 14px; padding-inline: 16px; }
  .brand img { width: 59px; height: 59px; }
  .brand strong { font-size: 22px; }
  .main-nav a { gap: 6px; font-size: 10px; padding-inline: 10px; }
  .main-nav a .icon { width: 15px; }
  .emblem-arch { padding-block-start: 92px; }
  .crest-frame { width: 181px; height: 181px; }
  .crest-frame img { width: 177px; height: 177px; }
  .arch-rule { margin-block: 29px 8px; }
  .arch-caption { font-size: 16px; }
  .hero-art { height: 427px; }
  .hero-inner { min-height: 532px; }
  .crest-pedestal { width: 245px; height: 26px; bottom: 1px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 166px; }
  .site-header { padding-block: 9px 12px; }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px 13px;
    gap: 13px;
    border-radius: 12px;
  }
  .brand { gap: 12px; justify-content: center; }
  .brand img { width: 55px; height: 55px; }
  .brand strong { font-size: 23px; }
  .branch { font-size: 9px; }
  .main-nav { width: 100%; display: grid; grid-template-columns: 1.2fr 1fr; padding: 4px; gap: 4px; border-radius: 8px; }
  .main-nav a, .main-nav a:nth-child(2) { display: flex; padding: 8px 7px; font-size: 10px; min-height: 41px; border-radius: 5px; }
  .main-nav a .icon { width: 16px; height: 16px; }
  .nav-count { height: 18px; min-width: 17px; font-size: 8px; }
  .hero-inner { padding-block: 28px 29px; gap: 20px; }
  .hero-actions { margin-block-start: 24px; }
  .hero-art { height: 398px; }
  .emblem-arch { padding-block-start: 86px; transform: rotateX(3deg) rotateY(-6deg); }
  .crest-frame { width: 174px; height: 174px; transform: translateZ(28px); }
  .crest-frame img { width: 170px; height: 170px; }
  .crest-frame::after { inset: -18px; }
  .arch-rule { margin-block: 26px 8px; }
  .arch-caption { font-size: 15px; }
  .crest-pedestal { width: 237px; height: 24px; bottom: 0; }
  .guide-cover { margin: 10px 0 10px 9px; transform: rotateY(-5deg); }
}
@media (max-width: 360px) {
  .header-inner { padding: 10px; gap: 11px; }
  .brand strong { font-size: 21px; }
  .brand img { width: 49px; height: 49px; }
  .main-nav a, .main-nav a:nth-child(2) { font-size: 9px; gap: 5px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .depth-object { transform: none; transition: none; }
}
