/* Seemanchal Public School. Phone layout first; wider screens are added below. */
:root {
  --teal: #669999;
  --teal-light: #99CCCC;
  --teal-pale: #D1E5E8;
  --wash: #F0F7F8;
  --white: #FFFFFF;
  --ink: #2F5F5F;
  --ink-deep: #1F4545;
  --error: #9B1C1C;
  --ph-bg: #FFF4CC;
  --ph-ink: #5A4300;
  --head-font: "Baloo 2", "Noto Sans Devanagari", system-ui, sans-serif;
  --body-font: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--body-font); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink-deep); font-family: var(--head-font); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 9vw, 3.75rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.625rem, 5.5vw, 2.375rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
ul { margin: 0; padding: 0; list-style: none; }
main ul:not([class]) { list-style: disc; padding-inline-start: 1.25em; margin-bottom: 1em; }
address { font-style: normal; }
strong { font-weight: 600; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink-deep); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible, .site-foot :focus-visible { outline-color: var(--white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.break { overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 46rem; }
.measure { max-width: 42rem; }
.gap-top { margin-top: 2rem; }

.skip { position: absolute; inset-inline-start: 8px; top: -100px; z-index: 100; padding: .75rem 1rem; background: var(--ink-deep); color: var(--white); border-radius: 4px; }
.skip:focus { top: 8px; outline-color: var(--white); outline-offset: -5px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .5rem 1.25rem; background: var(--ink); border: 2px solid var(--ink); border-radius: 8px; color: var(--white); font: 600 1.0625rem/1.2 var(--body-font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn[disabled] { cursor: wait; opacity: .8; }
.btn--line { background: var(--white); color: var(--ink-deep); }
.btn--line:hover { background: var(--teal-pale); border-color: var(--ink); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink-deep); }
.btn--light:hover { background: var(--teal-pale); border-color: var(--teal-pale); }
.btn--sm { min-height: 44px; padding: .25rem .75rem; font-size: 1rem; }
.btn-row { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Language links */
.lang-bar { background: var(--ink-deep); }
.lang-bar ul { display: flex; justify-content: flex-end; gap: .25rem; }
.lang-bar a { display: flex; align-items: center; min-height: 36px; padding: 0 .625rem; color: var(--white); font: 600 .9375rem/1.2 system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", "Noto Naskh Arabic", sans-serif; text-decoration: none; }
.lang-bar a:hover { text-decoration: underline; }
.lang-bar a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.lang-bar :focus-visible { outline-color: var(--white); outline-offset: -3px; }
.lang-note { padding: .625rem .875rem; margin-bottom: 1.25rem; background: var(--wash); border-inline-start: 3px solid var(--teal-light); border-radius: 4px; }
.section--wash .lang-note { background: var(--white); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--teal-pale); }
.head-row { display: flex; align-items: center; gap: 6px; min-height: 64px; padding-block: 8px; position: relative; }
.brand { display: flex; align-items: center; gap: .5rem; margin-inline-end: auto; color: var(--ink-deep); font: 600 .875rem/1.1 var(--head-font); text-decoration: none; }
.brand img { width: 44px; height: 48px; flex: none; }
.head-actions { display: flex; gap: 6px; }
.head-actions .btn--line { min-width: 44px; padding-inline: .5rem; }
.menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 9px; min-width: 44px; min-height: 44px; padding: 8px 2px 0; background: none; border: 0; border-radius: 8px; color: var(--ink-deep); font: 600 .8125rem/1 var(--body-font); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); background: var(--ink-deep); }
.menu-btn[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); background: var(--ink-deep); }
.wide-only { display: none; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--white); border-bottom: 3px solid var(--teal); box-shadow: 0 12px 24px rgb(31 69 69 / .15); }
.site-nav.is-open { display: block; }
.site-nav a { display: flex; align-items: center; min-height: 48px; padding: .25rem 16px; border-top: 1px solid var(--teal-pale); color: var(--ink-deep); font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--wash); }
.site-nav a[aria-current="page"] { background: var(--teal-pale); }
.site-nav a:focus-visible { outline-offset: -3px; }

@media (max-width: 349px) {
  .brand span { display: none; }
}

/* Decorative motifs from the logo */
.rays { display: block; fill: none; stroke: var(--teal-light); stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.fan { line-height: 0; margin-bottom: -1px; }
.fan svg { display: block; width: 100%; height: clamp(26px, 5vw, 56px); }
.fan .f1 { fill: var(--teal-light); }
.fan .f2 { fill: var(--teal-pale); }
.fan--white .f3 { fill: var(--white); }

/* Hero */
.hero { background: var(--wash); text-align: center; overflow: hidden; }
.hero-grid { display: grid; gap: 1.25rem; padding-block: 2.25rem 1.5rem; }
.hero-logo { position: relative; width: 160px; margin: 2.75rem auto 0; }
.hero-logo img { position: relative; width: 160px; height: auto; box-shadow: 0 8px 24px rgb(31 69 69 / .14); }
.rays--hero { position: absolute; left: 50%; bottom: 58%; width: 440px; transform: translateX(-50%); }
.kicker { margin-bottom: .5rem; font-weight: 600; }
.lead { font-size: 1.1875rem; line-height: 1.5; max-width: 40rem; }
.hero .lead { margin-inline: auto; }

.quick-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; justify-content: center; }
.quick-facts li { padding: .25rem .75rem; background: var(--white); border: 1px solid var(--teal-light); border-radius: 999px; color: var(--ink-deep); font-weight: 600; }
.season { margin-bottom: 0; font-weight: 600; }

/* Sections */
.section { position: relative; padding-block: clamp(2.5rem, 8vw, 5rem); }
.section--wash { background: var(--wash); }
.section--pale { background: var(--teal-pale); color: var(--ink-deep); }
.section--deep, .section--ink { background: var(--ink-deep); color: var(--white); overflow: hidden; }
.section--ink { background: var(--ink); }
.on-dark h2, .on-dark h3, .on-dark a:not(.btn) { color: var(--white); }
.split { display: grid; gap: 2rem; }

.page-head { position: relative; background: var(--wash); overflow: hidden; }
.page-head .wrap { position: relative; padding-block: 2.25rem 1rem; }
.page-head .lead { margin-bottom: 0; }
.rays--head { position: absolute; inset-inline-end: -90px; top: -8px; width: 280px; opacity: .55; transform: rotate(180deg); }

/* Approach */
.focus { display: grid; gap: 0; }
.focus li { padding-block: 1rem; border-top: 2px solid var(--teal-light); }
.focus li:last-child { border-bottom: 2px solid var(--teal-light); }
.focus h3 { margin-bottom: .25rem; font-size: 1.375rem; }
.focus--row { margin-top: 1.5rem; }
.callout { margin-top: 1.5rem; padding: 1.25rem; background: var(--teal-pale); border-radius: 12px; color: var(--ink-deep); }

/* Values */
.rays--values { position: absolute; left: 50%; bottom: 0; width: min(1100px, 240%); transform: translateX(-50%); stroke: var(--ink); stroke-width: 2; }
.section--deep .wrap { position: relative; }
.values { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.values li { display: grid; gap: .125rem; }
.value-name { font: 700 clamp(1.75rem, 7vw, 2.25rem)/1.15 var(--head-font); color: var(--white); }
.value-text { color: var(--white); }

/* Only visible in the placeholder preview (npm run preview) */
.is-placeholder { padding: 0 .25em; background: var(--ph-bg); color: var(--ph-ink); border-radius: 3px; }

/* Smaller lists */
.plain-list { list-style: disc; padding-inline-start: 1.25em; margin-top: .5rem; }
.steps { padding-inline-start: 1.5em; display: grid; gap: .75rem; margin: 1rem 0 0; }
.session-label { display: inline-block; padding: .125rem .625rem; margin-bottom: 1rem; background: var(--teal-pale); border-radius: 4px; color: var(--ink-deep); font-weight: 600; }
.person-more { margin: .125rem 0 0; font-size: .9375rem; line-height: 1.3; }
.directions-text { margin-bottom: 1.25rem; }
.directions-text h3 { margin-bottom: .25rem; }
.table-wrap { background: var(--white); }

/* Director */
.sign { margin-top: 1rem; }

/* News, events, notices */
.two-col { display: grid; gap: 2rem; }
.col-title { padding-bottom: .5rem; border-bottom: 2px solid var(--teal-light); }
.entries { display: grid; gap: 0; }
.entry { padding-block: 1rem; border-bottom: 1px solid var(--teal-pale); }
.section--wash .entry { border-color: var(--teal-light); }
.entry h3 { margin-bottom: .25rem; }
.entry-date { margin-bottom: .125rem; font-size: .9375rem; font-weight: 600; }
.more { margin-top: 1.5rem; }
.empty { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--wash); border-radius: 12px; }
.section--wash .empty { background: var(--white); }
.empty svg { width: 64px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; }
.empty-title { margin-bottom: .25rem; color: var(--ink-deep); font: 600 1.1875rem/1.25 var(--head-font); }

/* Contact strip */
.strip { display: grid; gap: 2rem; }
.strip-list { display: grid; gap: 1rem; }
.strip-list li, .contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.strip-list .ico { margin-top: .2em; }
.contact-list { display: grid; gap: 1.25rem; }
.contact-list .ico { width: 1.5rem; height: 1.5rem; margin-top: .125rem; color: var(--ink); }
.contact-list h3 { margin-bottom: .125rem; }
.contact-list a, .strip-list a { display: inline-block; min-height: 28px; }

/* Facts and placeholders */
.facts { display: grid; gap: 1.5rem; }
.fact { padding-top: .875rem; border-top: 2px solid var(--teal-light); }
.ph { display: inline; padding: .1em .35em; background: var(--ph-bg); border: 1px dashed var(--ph-ink); border-radius: 3px; color: var(--ph-ink); font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.school-note { padding: .75rem 1rem; margin-bottom: 1.25rem; background: var(--ph-bg); border: 1px dashed var(--ph-ink); border-radius: 6px; color: var(--ph-ink); }

/* Photos */
.photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--teal-pale); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty { display: flex; align-items: center; justify-content: center; padding: .75rem; border: 2px dashed var(--ink); background: repeating-linear-gradient(135deg, var(--wash) 0 14px, var(--white) 14px 28px); text-align: center; }
.photo--empty span { padding: .125em .4em; background: var(--ph-bg); border-radius: 3px; color: var(--ph-ink); font-weight: 600; line-height: 1.3; }
.post .photo { margin-block: 1.5rem; aspect-ratio: auto; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery .photo--empty { font-size: .9375rem; }

/* People */
.people { display: grid; gap: .75rem; margin-bottom: 1rem; }
.person { display: flex; align-items: center; gap: .875rem; padding: .75rem; background: var(--wash); border-radius: 12px; }
.face { display: grid; place-items: center; width: 64px; height: 64px; flex: none; overflow: hidden; border-radius: 50%; background: var(--teal-pale); color: var(--ink-deep); font: 700 1.25rem var(--head-font); }
.face img { width: 100%; height: 100%; object-fit: cover; }
.person-name { margin: 0; color: var(--ink-deep); font-weight: 600; line-height: 1.3; }
.person-role { margin: 0; line-height: 1.3; }

/* Subjects */
.subjects { display: grid; gap: .75rem; }
.subject { padding: 1.125rem; background: var(--white); border-top: 4px solid var(--teal); border-radius: 0 0 12px 12px; }
.subject h3 { margin-bottom: .25rem; font-size: 1.5rem; }
.subjects--lined .subject { background: var(--wash); }
.subject-teacher { margin-top: .5rem; font-weight: 600; }
.ticks { display: grid; gap: .75rem; margin-block: 1rem; }
.ticks li { padding-inline-start: 1rem; border-inline-start: 3px solid var(--teal-light); }
.statement { color: var(--ink-deep); font: 600 clamp(1.375rem, 5vw, 1.75rem)/1.3 var(--head-font); }

/* Forms */
.form { display: grid; gap: 1.125rem; margin-top: 1.25rem; }
.form-note, .form-privacy { margin: 0; font-size: .9375rem; }
.field label { display: block; margin-bottom: .25rem; color: var(--ink-deep); font-weight: 600; }
.opt { font-weight: 400; }
.hint { margin: 0 0 .25rem; font-size: .9375rem; }
.field input, .field textarea { display: block; width: 100%; min-height: 48px; padding: .625rem .75rem; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; color: var(--ink-deep); font: 400 1.0625rem/1.4 var(--body-font); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { margin: .25rem 0 0; color: var(--error); font-weight: 600; }
.section--pale .error { background: var(--white); padding: .125rem .5rem; border-radius: 4px; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .625rem; align-items: start; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin: .125rem 0 0; accent-color: var(--ink); }
.field--check label { margin: 0; font-weight: 400; }
.field--check .error { grid-column: 1 / -1; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form .btn { width: 100%; }
.form-msg { padding: .875rem 1rem; border-inline-start: 5px solid; border-radius: 4px; background: var(--white); color: var(--ink-deep); }
.form-msg--good { border-color: var(--ink); }
.form-msg--bad { border-color: var(--error); }
.form-msg--bad strong { color: var(--error); }
.jump { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.25rem; }

/* FAQ */
.faq { border-top: 2px solid var(--teal-light); }
.faq details { border-bottom: 2px solid var(--teal-light); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 48px; padding-block: .75rem; color: var(--ink-deep); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 700 1.5rem/1 var(--head-font); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 1rem; }

/* Map */
.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--teal-pale); color: var(--ink-deep); }
.map-wait { position: absolute; inset: 0; display: block; margin: 0; padding: 1.25rem; text-align: center; align-content: center; }
.map iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
.directions { margin-top: 1.25rem; }

.crumb { font-weight: 600; }
.center-page { min-height: 50vh; text-align: center; }
.center-page .lead { margin-inline: auto; }
.rays--plain { width: 200px; margin: 0 auto 1rem; }

/* Privacy policy */
.legal h2 { margin-top: 2rem; font-size: 1.5rem; }
.legal h3 { margin-top: 1.5rem; }
.legal h2:first-of-type { margin-top: 1rem; }
.legal ul { list-style: disc; padding-inline-start: 1.25em; margin-bottom: 1em; }
.legal li { margin-bottom: .375rem; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: .5rem .625rem; border: 1px solid var(--teal-light); text-align: start; vertical-align: top; }
.table-wrap th { background: var(--teal-pale); color: var(--ink-deep); }

/* Footer */
.site-foot { background: var(--ink-deep); color: var(--white); padding-top: 2.5rem; }
.site-foot a { color: var(--white); }
.site-foot h2 { margin-bottom: .5rem; color: var(--white); font-size: 1.25rem; }
.foot-grid { display: grid; gap: 2rem; }
.foot-brand { display: flex; gap: 1rem; align-items: center; }
.foot-brand img { width: 96px; height: auto; flex: none; }
.foot-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1rem; }
.foot-links--one { grid-template-columns: 1fr; }
.foot-links a { display: flex; align-items: center; min-height: 40px; }
.site-foot address a { display: inline-block; padding-block: .25rem; }
.foot-base { margin-top: 2rem; padding-block: 1rem; border-top: 1px solid var(--ink); font-size: .9375rem; }

@media (min-width: 480px) {
  .btn-row, .jump { flex-direction: row; flex-wrap: wrap; }
  .hero .btn-row { justify-content: center; }
  .center-page .btn-row { justify-content: center; }
  .form .btn { width: auto; justify-self: start; }
}

@media (min-width: 640px) {
  .wrap { padding-inline: 24px; }
  .site-nav a { padding-inline: 24px; }
  .wide-only { display: inline; }
  .head-row, .head-actions { gap: .5rem; }
  .head-actions .btn--line { padding-inline: .75rem; }
  .brand { font-size: 1rem; }
  .facts, .subjects, .people, .two-col, .values { grid-template-columns: repeat(2, 1fr); }
  .values { gap: 1.75rem 2.5rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .map { aspect-ratio: 16 / 9; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .focus--row { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
  .focus--row li:last-child { border-bottom: 0; }
}

@media (min-width: 900px) {
  .hero { text-align: start; }
  .hero-grid { grid-template-columns: 1fr minmax(0, 340px); align-items: center; gap: 4rem; padding-block: 4rem 2.5rem; }
  .hero-text { order: -1; }
  .hero .lead { margin-inline: 0; }
  .hero .btn-row { justify-content: flex-start; }
  .quick-facts { justify-content: flex-start; }
  .hero-logo { width: 280px; margin: 5rem auto 0; }
  .hero-logo img { width: 280px; }
  .rays--hero { width: 460px; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  .subjects, .people { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .focus--row { grid-template-columns: repeat(4, 1fr); }
  .focus--row li, .focus--row li:last-child { border-bottom: 0; }
  .strip { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
  .foot-grid { grid-template-columns: 1.1fr 1.3fr 1.2fr .7fr; }
  .foot-brand { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1160px) {
  .menu-btn { display: none; }
  .head-row { flex-wrap: nowrap; }
  .brand { margin-inline-end: 1rem; font-size: 1rem; }
  .site-nav { display: block; position: static; max-height: none; overflow: visible; background: none; border: 0; box-shadow: none; margin-inline-end: auto; }
  .site-nav ul { display: flex; gap: .125rem; }
  .site-nav a { min-height: 44px; padding: .25rem .5rem; border: 0; border-radius: 6px; font-size: 1rem; white-space: nowrap; }
  .site-nav a:focus-visible { outline-offset: 2px; }
}

/* Urdu is written in Nastaliq, which needs more height for each line and a larger size to stay readable. */
:root[lang="ur"] { --head-font: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; --body-font: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; }
[lang="ur"] body { font-size: 1.0625rem; line-height: 2.2; }
[lang="ur"] h1, [lang="ur"] h2, [lang="ur"] h3 { line-height: 1.9; font-weight: 700; }
[lang="ur"] h1 { font-size: clamp(1.875rem, 7.5vw, 3rem); }
[lang="ur"] h2 { font-size: clamp(1.375rem, 4.5vw, 2rem); }
[lang="ur"] h3 { font-size: 1.125rem; }
[lang="ur"] .lead { line-height: 2.2; font-size: 1.125rem; }
[lang="ur"] .btn { font: 600 1rem/2 var(--body-font); padding-block: .25rem; }
[lang="ur"] .brand { font: 700 .8125rem/1.7 var(--head-font); }
[lang="ur"] .menu-btn { font: 600 .75rem/1.5 var(--body-font); gap: 6px; }
[lang="ur"] .value-name { font: 700 clamp(1.375rem, 6vw, 1.75rem)/1.9 var(--head-font); }
[lang="ur"] .empty-title { font: 600 1.0625rem/1.9 var(--head-font); }
[lang="ur"] .statement { font: 600 clamp(1.125rem, 4.5vw, 1.5rem)/2 var(--head-font); }
[lang="ur"] .person-name, [lang="ur"] .person-role, [lang="ur"] .person-more { line-height: 2; }
[lang="ur"] .face { font: 700 1.125rem/1 var(--head-font); }
[lang="ur"] .field input, [lang="ur"] .field textarea { line-height: 1.8; }
[lang="ur"] .site-nav a { line-height: 2; }
[lang="ur"] .brand span, [lang="ur"] .head-actions .btn { white-space: nowrap; }
[lang="ur"] .foot-links a { min-height: 44px; }
@media (min-width: 1160px) and (max-width: 1300px) {
  [lang="ur"] .site-nav a { padding-inline: .25rem; font-size: .875rem; }
  [lang="ur"] .brand { margin-inline-end: .25rem; }
  [lang="ur"] .head-actions .wide-only { display: none; }
}
[lang="ur"] [lang="en"] { --head-font: system-ui, -apple-system, "Segoe UI", sans-serif; --body-font: system-ui, -apple-system, "Segoe UI", sans-serif; font-family: var(--body-font); line-height: 1.6; }
[lang="ur"] [lang="en"] h3 { line-height: 1.3; }
[lang="ur"] [dir="ltr"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
