/* Mihrap — design system
   Palette: forest, paper, sand, brass. Type: Cormorant Garamond + DM Sans. */

:root {
  --forest-950: #071f18;
  --forest-900: #0b3025;
  --forest-800: #123f31;
  --forest-700: #1b5642;
  --sage: #8da295;
  --brass: #c69a58;
  --brass-bright: #ddb883;
  --brass-soft: #efe2cc;
  --cream: #f7f3e9;
  --cream-deep: #f0e9dc;
  --sand: #e9dfce;
  --paper: #fffcf6;
  --ink: #1c2a24;
  --muted: #5f6c62;
  --muted-light: #748077;
  --line: #e2d8c7;
  --line-strong: #d1c3ae;
  --danger: #9b4437;
  --success: #347257;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --arabic: "Amiri", "Segoe UI", serif;
  --container: 1240px;
  --radius: 12px;
  --shadow-soft: 0 16px 44px rgba(34, 48, 38, 0.07);
  --shadow-lift: 0 24px 60px rgba(23, 46, 34, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--brass-soft); color: var(--forest-900); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.narrow-page { width: min(840px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--forest-900); color: var(--paper); padding: 10px 16px; border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Typographic rhythm */
h1, .display { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; color: var(--forest-900); line-height: 1; }
h2 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); line-height: .98; font-weight: 600; letter-spacing: -.022em; color: var(--forest-900); }
h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.012em; color: var(--forest-900); }
em { font-style: italic; }
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin-bottom: 16px;
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--forest-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); flex: none; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--forest-700); line-height: 1.4; }
.text-link .ic { width: 14px; height: 14px; transition: transform .2s ease; }
.text-link:hover .ic { transform: translateX(3px); }
.muted { color: var(--muted); }
.small-copy { font-size: 13px; color: var(--muted); line-height: 1.65; }
.small-copy code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85em; background: var(--cream-deep); border-radius: 3px; padding: 1px 4px; overflow-wrap: anywhere; }
.aside-tip .small-copy { color: #a9bbad; font-size: 10px; }
.aside-tip .small-copy code { background: rgba(255,255,255,.08); color: #e8d6bb; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; color: var(--forest-700); background: var(--paper); }
.meta-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.link-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.link-row a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--forest-700); border-bottom: 1px solid var(--brass); padding-bottom: 4px; }
.link-row .ic { width: 14px; height: 14px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn .ic { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--forest-900); color: var(--paper); }
.btn--primary:hover { background: var(--forest-800); }
.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--forest-900); }
.btn--outline:hover { background: var(--paper); border-color: var(--forest-700); }
.btn--gold { background: var(--brass); color: var(--forest-950); }
.btn--gold:hover { background: var(--brass-bright); }
.btn--ghost { background: transparent; color: var(--forest-700); }
.btn--ghost:hover { background: var(--cream-deep); }
.btn--small { min-height: 36px; padding: 0 14px; font-size: 12px; border-radius: 7px; }
.btn--tiny { min-height: 29px; padding: 0 10px; font-size: 11px; border-radius: 5px; }
.btn--block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 8px; font-size: inherit; color: inherit; }
.icon-button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; color: var(--forest-900);
  transition: background .18s ease, border-color .18s ease;
}
.icon-button .ic { width: 17px; height: 17px; }
.icon-button:hover { border-color: var(--forest-700); background: var(--cream); }
.icon-button[aria-pressed="true"] { background: var(--forest-900); color: var(--brass-bright); border-color: var(--forest-900); }
.text-button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--forest-700); font-size: 12px; font-weight: 600; padding: 0; }
.text-button .ic { width: 14px; height: 14px; }

/* Forms */
.field { margin-bottom: 18px; }
.field > label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #66736a; }
.field > label em { font-style: normal; font-size: 9px; letter-spacing: .08em; color: #9d7b48; }
.field > label span { font-size: 10px; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted-light); }
input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper);
  min-height: 46px; padding: 10px 13px; font-size: 14px; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
input::placeholder, textarea::placeholder { color: #a9afa8; }
input:hover, select:hover, textarea:hover { border-color: #b9a98f; }
input:focus, select:focus, textarea:focus { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(27, 86, 66, .09); outline: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b756e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px;
}
textarea { line-height: 1.65; resize: vertical; }
.field-hint { margin-top: 5px; font-size: 11.5px; color: var(--muted-light); line-height: 1.5; }
.field-error { margin-top: 5px; font-size: 12px; color: var(--danger); font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row--small { grid-template-columns: minmax(0, 220px) minmax(0, 220px); }

/* Searchable select (native select remains the form control) */
.mh-select { position: relative; display: block; width: 100%; min-width: 0; }
.mh-select__native {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
  padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important; opacity: 0 !important; pointer-events: none !important;
}
.mh-select__trigger {
  width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 7px;
  background: var(--paper); color: var(--ink); display: flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 1.3; text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.mh-select__trigger:hover { border-color: #b9a98f; }
.mh-select__trigger[aria-expanded="true"] { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(27, 86, 66, .09); background: #fffefb; }
.mh-select__trigger[aria-invalid="true"] { border-color: var(--danger); }
.mh-select__trigger:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.mh-select__trigger:disabled { opacity: .6; cursor: not-allowed; }
.mh-select__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-select__chevron { width: 13px; height: 13px; color: var(--muted); flex: none; stroke-width: 1.8; transition: transform .18s ease; }
.mh-select__trigger[aria-expanded="true"] .mh-select__chevron { transform: rotate(180deg); }
.mh-select__popover {
  position: fixed; z-index: 130; display: flex; flex-direction: column; min-width: 0;
  padding: 7px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(23, 46, 34, .2); overflow: hidden; animation: mh-select-in .14s ease-out;
}
.mh-select__search { display: flex; align-items: center; gap: 7px; flex: none; padding: 0 9px; margin-bottom: 5px; border: 1px solid var(--line); border-radius: 7px; background: var(--cream); transition: border-color .18s ease, box-shadow .18s ease; }
.mh-select__search:focus-within { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(27, 86, 66, .08); }
.mh-select__search .ic { width: 14px; height: 14px; color: var(--muted); }
.mh-select__search input { width: 100%; min-height: 35px; height: 35px; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; font-size: 12.5px; }
.mh-select__search input:focus { box-shadow: none; outline: 0; border: 0; }
.mh-select__search input::-webkit-search-cancel-button,
.mh-select__search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.mh-select__list { list-style: none; margin: 0; padding: 2px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; max-height: 260px; scrollbar-width: thin; }
.mh-select__option { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 6px; font-size: 12.5px; line-height: 1.35; color: #415047; cursor: pointer; }
.mh-select__option:hover, .mh-select__option.is-active { background: var(--cream-deep); color: var(--forest-900); }
.mh-select__option[aria-selected="true"] { background: var(--brass-soft); color: var(--forest-900); font-weight: 600; }
.mh-select__option .ic { width: 13px; height: 13px; color: var(--success); opacity: 0; flex: none; }
.mh-select__option[aria-selected="true"] .ic { opacity: 1; }
.mh-select__option.is-disabled { opacity: .4; cursor: not-allowed; }
.mh-select__empty { padding: 18px 12px; text-align: center; font-size: 12px; color: var(--muted); }
@keyframes mh-select-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.hero-search .mh-select { grid-column: 2; min-width: 0; width: 100%; }
.hero-search .mh-select__trigger { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 13px; font-weight: 500; }
.hero-search .mh-select__trigger[aria-expanded="true"] { border: 0; box-shadow: none; background: transparent; }
.hero-search .mh-select__chevron { width: 10px; height: 10px; color: #8d9a90; }
.filter-group .mh-select { margin-top: 2px; }
.filter-group .mh-select__trigger { min-height: 38px; padding: 6px 10px; font-size: 12px; border-radius: 7px; }
.filter-group .mh-select__chevron { width: 11px; height: 11px; }
.sort-inline .mh-select { width: auto; flex: none; }
.sort-inline .mh-select__trigger { min-height: 31px; min-width: 132px; padding: 4px 9px; font-size: 10px; border-radius: 5px; background-color: var(--paper); }
.sort-inline .mh-select__chevron { width: 10px; height: 10px; }
.form-section .mh-select__trigger { min-height: 43px; padding: 8px 11px; font-size: 13.5px; }
.form-section .mh-select__chevron { width: 12px; height: 12px; }

@media (max-width: 620px) {
  .mh-select__trigger { font-size: 14px; }
  .form-section .mh-select__trigger { min-height: 44px; font-size: 13.5px; }
  .filter-group .mh-select__trigger { min-height: 44px; font-size: 13px; }
  .mh-select__search input { height: 42px; min-height: 42px; font-size: 16px; }
  .mh-select__option { padding: 11px 10px; font-size: 14px; }
  .sort-inline .mh-select__trigger { font-size: 10px; min-height: 31px; }
  .hero-search .mh-select__trigger { font-size: 13px; }
}

.check-line { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.check-line input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--forest-800); flex: none; }
.radio-line { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 13px; color: #536158; cursor: pointer; }
.radio-line input { width: 14px; height: 14px; margin: 0; accent-color: var(--forest-800); }
.input-with-action { position: relative; }
.input-with-action input { padding-right: 46px; }
.visibility-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--muted-light); border-radius: 50%; }
.visibility-toggle:hover { background: var(--cream-deep); color: var(--forest-900); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-soft); }
.form-notice { display: flex; gap: 8px; align-items: flex-start; background: #f6f0e4; border: 1px solid #e5d9c5; border-radius: 7px; padding: 11px 13px; font-size: 12px; line-height: 1.55; color: #6d7a70; margin-bottom: 16px; }
.form-notice .ic { width: 14px; height: 14px; color: #9d7b48; margin-top: 1px; }
.form-notice--muted { background: #f4f0e8; }
.form-notice--error { border-color: #e6c4be; background: #fbf1ee; color: #84453b; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; line-height: 1.55; color: var(--muted); }
.alert .ic { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.alert p { margin: 0; }
.alert--info { background: #f7f2e8; border-color: #e5dac7; color: #5f6b62; }
.alert--success { background: #f0f6f1; border-color: #cfe0d3; color: #3d6c52; }
.alert--error { background: #fbf1ee; border-color: #e8c9c2; color: #8b4b41; }
.flash-wrap { padding-top: 18px; }
.flash-wrap + main, .flash-wrap + div { margin-top: 0; }

/* Badges & status */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 25px; padding: 0 9px; border-radius: 20px; font-size: 10px; font-weight: 600; letter-spacing: .015em; background: var(--cream-deep); color: var(--forest-700); white-space: nowrap; }
.badge .ic { width: 11px; height: 11px; }
.badge--light { background: rgba(255, 252, 246, .92); color: var(--forest-700); backdrop-filter: blur(10px); }
.badge--gold { background: rgba(239, 226, 204, .94); color: #805d2d; backdrop-filter: blur(10px); }
.badge--green { background: #edf4ee; color: #3d7458; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 25px; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status--published { background: #edf5ef; color: #3b7558; }
.status--pending { background: #faf1df; color: #936c31; }
.status--draft { background: #f2eee7; color: #737d75; }
.status--rejected { background: #fbf0ee; color: #9b5145; }
.status--archived { background: #f1ece4; color: #7c847c; }
.count-pill { display: inline-flex; justify-content: center; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 20px; background: var(--brass); color: var(--forest-950); font-size: 9px; font-weight: 700; }

/* Brand + header */
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--forest-900); flex: none; }
.brand-mark { width: 27px; height: 31px; color: var(--forest-800); }
.brand-copy { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 27px; line-height: .7; font-weight: 600; letter-spacing: -.04em; }
.brand-sub { margin-top: 6px; font-size: 6.5px; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand--light { color: var(--paper); }
.brand--light .brand-mark { color: var(--brass-bright); }
.brand--light .brand-name { color: var(--paper); }
.brand--light .brand-sub { color: #9cb1a3; }
.topbar { background: var(--forest-900); color: #c6d2c8; font-size: 10.5px; }
.topbar__inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ic { width: 11px; height: 11px; color: var(--brass-bright); stroke-width: 1.8; }
.topbar a { color: #e1cfb3; }
.topbar a:hover { color: var(--paper); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 246, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.site-header__inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; position: relative; }
.desktop-nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.desktop-nav a { display: inline-flex; align-items: center; height: 100%; position: relative; font-size: 12.5px; font-weight: 500; color: #536158; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--forest-900); }
.desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-login { font-size: 12px; font-weight: 600; color: var(--forest-800); }
.header-login:hover { color: var(--brass); }
.account-menu { position: relative; }
.account-menu summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; border: 1px solid var(--line); border-radius: 30px; padding: 4px 9px 4px 4px; cursor: pointer; color: var(--forest-800); font-size: 11px; font-weight: 600; background: var(--paper); }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary > .ic { width: 12px; height: 12px; color: var(--muted-light); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brass); color: var(--forest-950); font-size: 11px; font-weight: 700; flex: none; }
.avatar--large { width: 40px; height: 40px; font-size: 14px; background: var(--forest-800); color: var(--brass-bright); border: 1px solid rgba(221,184,131,.35); }
.account-menu__panel { position: absolute; right: 0; top: calc(100% + 10px); width: 232px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lift); padding: 10px; display: flex; flex-direction: column; }
.account-menu__label { padding: 7px 10px 9px; font-size: 9.5px; color: var(--muted-light); border-bottom: 1px solid var(--line); margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; }
.account-menu__panel a, .account-menu__panel button { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 8px 10px; border-radius: 5px; font-size: 12px; color: var(--forest-700); text-align: left; width: 100%; }
.account-menu__panel a:hover, .account-menu__panel button:hover { background: var(--cream); }
.account-menu__panel .ic { width: 14px; height: 14px; color: var(--muted); }
.account-menu__panel form { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 5px; }
.mobile-drawer { display: none; }
.mobile-drawer > summary { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; list-style: none; cursor: pointer; }
.mobile-drawer > summary::-webkit-details-marker { display: none; }
.mobile-drawer > summary span { display: block; width: 15px; height: 1px; background: var(--forest-800); }
.mobile-drawer[open] > summary span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.mobile-drawer[open] > summary span:nth-child(2) { opacity: 0; }
.mobile-drawer[open] > summary span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-drawer__panel { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); padding: 16px; }
.mobile-drawer__panel nav { display: flex; flex-direction: column; }
.mobile-drawer__panel nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mobile-drawer__auth { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }

/* Footer */
.site-footer { margin-top: 80px; background: var(--forest-950); color: #c4d0c6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 42px; padding: 58px 0 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { margin-bottom: 17px; }
.footer-brand > p { font-size: 12px; line-height: 1.65; max-width: 290px; color: #9eb1a4; }
.footer-rss { display: inline-flex; align-items: center; gap: 6px; margin-top: 17px; font-size: 10px; color: var(--brass-bright); }
.footer-rss .ic { width: 12px; height: 12px; }
.footer-grid h2 { font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #e5d6c0; font-weight: 600; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul a { font-size: 12px; color: #9eb1a4; }
.footer-grid ul a:hover { color: var(--paper); }
.footer-note { background: rgba(255,255,255,.04); border: 1px solid rgba(198,154,88,.2); border-radius: 9px; padding: 18px; }
.footer-kicker { font-size: 9px !important; letter-spacing: .16em !important; text-transform: uppercase !important; color: var(--brass-bright) !important; margin-bottom: 10px !important; }
.footer-note h2 { font-family: var(--display); text-transform: none; font-size: 24px; letter-spacing: -.02em; color: var(--paper); margin-bottom: 8px; }
.footer-note > p { font-size: 11px; line-height: 1.6; color: #9eb1a4; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 22px; font-size: 9px; letter-spacing: .04em; color: #7f9386; }
.footer-bottom a { color: #acbfb1; }
.footer-bottom p { margin: 0; }
.footer-credit { color: #6f8376; }
.footer-credit a { color: #9caf9f; }

/* Home */
.home-hero {
  position: relative; overflow: hidden; background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.home-hero::before {
  content: ""; position: absolute; right: -160px; top: -180px; width: 840px; height: 840px;
  background: radial-gradient(circle, rgba(198,154,88,.2), transparent 67%); pointer-events: none;
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23c8ad84' stroke-width='.6'%3E%3Cpath d='M80 8L94 46 132 32 118 70 156 80 118 90 132 128 94 114 80 152 66 114 28 128 42 90 4 80 42 70 28 32 66 46Z'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 105% 18%; background-repeat: no-repeat;
}
.home-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 60px; align-items: center; padding: 64px 0 36px; }
.hero-copy h1 { font-size: clamp(50px, 6.2vw, 82px); line-height: .9; letter-spacing: -.045em; font-weight: 600; }
.hero-copy h1 em { color: #9d713b; font-weight: 500; }
.hero-copy__lede { max-width: 540px; margin-top: 22px; font-size: 15px; line-height: 1.72; color: var(--muted); }
.hero-search {
  display: grid; grid-template-columns: 180px minmax(0,1fr) auto; align-items: stretch;
  margin-top: 28px; width: min(100%, 680px); min-height: 76px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 11px; box-shadow: 0 18px 38px rgba(27,48,37,.08);
}
.hero-search__field { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 8px; padding: 6px 14px; border-right: 1px solid var(--line); }
.hero-search__field--query { border-right: 0; }
.hero-search__icon { grid-row: 1 / 3; align-self: center; width: 27px; height: 27px; border-radius: 50%; background: var(--cream-deep); color: var(--forest-700); display: flex; align-items: center; justify-content: center; }
.hero-search__icon .ic { width: 13px; height: 13px; }
.hero-search label { font-size: 8px; line-height: 1.2; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.hero-search select, .hero-search input { min-height: 0; height: auto; border: 0; padding: 0; background: transparent; font-size: 13px; font-weight: 500; color: var(--forest-900); box-shadow: none; }
.hero-search select { padding-right: 18px; background-position: right 0 center; }
.hero-search input::placeholder { font-weight: 400; color: #8e988f; }
.hero-search__submit { align-self: stretch; min-width: 124px; margin-left: 8px; border-radius: 7px; background: var(--forest-900); color: var(--paper); font-size: 12px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-search__submit .ic { width: 15px; height: 15px; color: var(--brass-bright); }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; font-size: 10px; color: var(--muted-light); }
.hero-chips > span { margin-right: 2px; color: #7b857d; font-weight: 600; }
.hero-chips a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,252,246,.55); color: #607064; font-size: 10px; }
.hero-chips a b { font-weight: 600; color: var(--forest-700); }
.hero-chips a:hover { border-color: var(--brass); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; font-size: 10px; color: #6b7b6e; }
.hero-trust li { display: flex; align-items: center; gap: 5px; }
.hero-trust .ic { width: 12px; height: 12px; color: var(--forest-700); }
.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.hero-arch { position: relative; width: min(100%, 470px); aspect-ratio: 480 / 520; filter: drop-shadow(0 24px 34px rgba(16,40,28,.17)); }
.hero-arch > img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 520' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 520V248C0 144 72 56 207 16 228 10 237 4 240 0 243 4 252 10 273 16 408 56 480 144 480 248v272z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 520' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 520V248C0 144 72 56 207 16 228 10 237 4 240 0 243 4 252 10 273 16 408 56 480 144 480 248v272z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  filter: saturate(1.02) contrast(1.04) brightness(.94);
}
.hero-arch__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,26,19,.36) 0%, rgba(6,26,19,.03) 30%, rgba(6,26,19,.02) 54%, rgba(6,26,19,.3) 78%, rgba(6,26,19,.68) 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 520' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 520V248C0 144 72 56 207 16 228 10 237 4 240 0 243 4 252 10 273 16 408 56 480 144 480 248v272z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 520' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 520V248C0 144 72 56 207 16 228 10 237 4 240 0 243 4 252 10 273 16 408 56 480 144 480 248v272z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.hero-arch__label { z-index: 3; }
.hero-stamp { z-index: 3; }
.hero-arch::before { content: ""; position: absolute; inset: -10px -10px -1px -10px; border-radius: 48% 48% 8px 8px; border: 1px solid rgba(198,154,88,.3); clip-path: polygon(0 100%,0 48%,4% 31%,14% 14%,29% 4%,43% 0,50% 4%,57% 0,71% 4%,86% 14%,96% 31%,100% 48%,100% 100%); z-index: -1; }
.hero-arch__label { position: absolute; left: 16px; top: 70px; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 12px; font-size: 7px; font-weight: 600; letter-spacing: .27em; text-transform: uppercase; color: rgba(255,252,246,.7); }
.hero-arch__label::after { content: ""; width: 1px; height: 34px; background: rgba(255,255,255,.36); }
.hero-stamp { position: absolute; right: 14px; top: 48px; width: 82px; height: 82px; border-radius: 50%; background: rgba(255,250,240,.94); border: 1px solid rgba(255,255,255,.6); transform: rotate(7deg); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--forest-900); box-shadow: 0 10px 25px rgba(16,39,28,.16); }
.hero-stamp b { font-family: var(--display); font-size: 27px; line-height: .8; font-weight: 600; }
.hero-stamp span { margin-top: 4px; font-size: 6px; line-height: 1.35; text-align: center; text-transform: uppercase; letter-spacing: .12em; color: #8f6c38; }
.verse-card {
  position: absolute; left: -7%; bottom: 3%; width: 90%; min-height: 76px; display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; background: rgba(255,252,246,.97); border: 1px solid #e5d9c7; border-radius: 8px;
  box-shadow: 0 15px 35px rgba(18,42,29,.14); z-index: 4;
}
.verse-card__mark { width: 30px; height: 30px; flex: none; border: 1px solid #d9c39e; border-radius: 50%; color: var(--brass); display: flex; align-items: center; justify-content: center; }
.verse-card__mark .ic { width: 14px; height: 14px; }
.verse-card__arabic { flex: 1; font-family: var(--arabic); font-size: 24px; line-height: 1.2; color: var(--forest-900); direction: rtl; text-align: right; white-space: nowrap; overflow: hidden; }
.verse-card__meta { flex: none; width: 136px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 8.5px; line-height: 1.45; color: #79857b; }
.verse-card__meta b { display: block; font-size: 8.5px; font-weight: 600; color: #4e6154; letter-spacing: .01em; }
.home-numbers { position: relative; z-index: 2; display: flex; align-items: center; gap: 25px; padding: 22px 0 25px; border-top: 1px solid var(--line); }
.home-numbers > div { display: flex; align-items: baseline; gap: 7px; }
.home-numbers b { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--forest-900); font-weight: 600; }
.home-numbers span { font-size: 10px; letter-spacing: .02em; color: var(--muted-light); }
.home-numbers > i { width: 1px; height: 19px; background: var(--line); }
.home-numbers a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; font-weight: 600; color: var(--forest-700); }
.home-numbers a .ic { width: 13px; height: 13px; }

.section { padding: 76px 0; }
.section--sand { background: var(--sand); border-top: 1px solid #dfd3bf; border-bottom: 1px solid #dfd3bf; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 { max-width: 620px; }
.section-head__desc { margin-top: 8px; max-width: 540px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.section-head > .text-link { padding-bottom: 4px; }
.course-grid { display: grid; gap: 22px; }
.course-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.course-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #d5c5ad; }
.course-card__image { display: block; position: relative; aspect-ratio: 1.62 / 1; overflow: hidden; background: var(--sand); }
.course-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .course-card__image img { transform: scale(1.035); }
.course-card__image .badge { position: absolute; top: 11px; z-index: 2; }
.course-card__image .badge:nth-child(2) { left: 11px; }
.course-card__image .badge:nth-child(3) { left: 11px; top: 43px; }
.course-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(7,31,24,.35)); }
.course-card__body { padding: 17px 17px 14px; }
.course-card__location { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--muted-light); }
.course-card__location .ic { width: 11px; height: 11px; color: var(--brass); }
.course-card h3 { margin-top: 7px; font-size: 19px; line-height: 1.22; letter-spacing: -.018em; font-weight: 600; }
.course-card h3 a:hover { color: var(--forest-700); }
.course-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 8px; font-size: 10px; color: #7b877d; }
.course-card__meta li { display: flex; align-items: center; gap: 8px; }
.course-card__meta li:not(:first-child)::before { content: "·"; color: #bdb19f; }
.course-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #eee5d7; font-size: 9.5px; color: #9ba39b; }
.course-card__foot .text-link { font-size: 10.5px; }
.course-card__foot .text-link .ic { width: 12px; height: 12px; }

.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.city-card { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 14px 15px; background: rgba(255,252,246,.62); border: 1px solid rgba(205,188,163,.7); border-radius: 9px; transition: background .18s ease, border-color .18s ease; }
.city-card:hover { background: var(--paper); border-color: var(--brass); }
.city-card__mark { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--brass); display: flex; align-items: center; justify-content: center; flex: none; }
.city-card__mark .ic { width: 15px; height: 15px; }
.city-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.city-card b { font-size: 13px; font-weight: 600; color: var(--forest-900); }
.city-card small { font-size: 10px; color: var(--muted-light); }
.city-card > .ic { margin-left: auto; width: 14px; height: 14px; color: #9b8a72; }
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.how-copy h2 { margin-bottom: 20px; }
.how-copy p:not(.eyebrow) { max-width: 430px; font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 24px; }
.how-steps { border-top: 1px solid var(--line); }
.how-steps li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.how-steps > li > span { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--brass); padding-top: 2px; }
.how-steps h3 { font-size: 17px; margin-bottom: 5px; }
.how-steps p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.post-grid { display: grid; gap: 22px; }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.post-card__image { display: block; aspect-ratio: 1.58 / 1; overflow: hidden; background: var(--sand); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__image img { transform: scale(1.03); }
.post-card__body { padding: 19px; }
.post-card h3 { margin: 9px 0 9px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.post-card h3 a:hover { color: var(--forest-700); }
.post-card__excerpt { font-size: 12px; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee5d7; font-size: 10px; color: var(--muted-light); }
.post-card__foot .text-link { font-size: 10.5px; }
.tag { background: transparent; }
.cta-band { background: var(--forest-900); color: var(--paper); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23d9b77f' stroke-width='.7'%3E%3Cpath d='M70 6L82 38 114 26 102 58 134 70 102 82 114 114 82 102 70 134 58 102 26 114 38 82 6 70 38 58 26 26 58 38Z'/%3E%3C/g%3E%3C/svg%3E"); }
.cta-band__inner { position: relative; display: flex; align-items: center; gap: 26px; padding: 48px 0; }
.cta-band__mark { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(221,184,131,.45); display: flex; align-items: center; justify-content: center; color: var(--brass-bright); flex: none; }
.cta-band .eyebrow { color: #cdb28b; margin-bottom: 7px; }
.cta-band .eyebrow::before { background: var(--brass-bright); }
.cta-band h2 { color: var(--paper); font-size: clamp(28px, 3.4vw, 44px); }
.cta-band p:not(.eyebrow) { margin-top: 6px; color: #a9bcae; font-size: 12px; }
.cta-band .btn { margin-left: auto; }
.seo-copy { padding-bottom: 20px; }
.seo-copy__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding-top: 44px; border-top: 1px solid var(--line); }
.seo-copy h2 { max-width: 460px; margin-bottom: 8px; }
.seo-copy p:not(.eyebrow) { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 12px; max-width: 620px; }

/* Generic pages */
.page-shell { padding-top: 26px; padding-bottom: 32px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 30px; font-size: 10.5px; color: var(--muted-light); }
.breadcrumbs .ic { width: 10px; height: 10px; color: #b2a691; }
.breadcrumbs a { color: #748076; }
.breadcrumbs a:hover { color: var(--forest-900); }
.breadcrumbs span[aria-current="page"] { color: var(--forest-800); }
.page-intro { padding: 24px 0 34px; }
.page-intro__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 25px; }
.page-intro h1 { font-size: clamp(38px, 5vw, 64px); line-height: .96; }
.page-intro h1 em { color: #9d713b; font-weight: 500; }
.page-intro__description { max-width: 660px; margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.page-intro__actions { display: flex; align-items: center; gap: 9px; padding-bottom: 4px; }
.page-intro--directory h1 { font-size: clamp(38px, 4.8vw, 62px); }
.results-count { margin-top: 15px; font-size: 10.5px; color: var(--muted-light); }
.results-count b { color: var(--forest-800); }
.page-subheading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 18px; font-size: 12px; color: var(--muted); }
.page-subheading b { color: var(--forest-700); font-weight: 600; }
.narrow-page.page-shell { padding-top: 26px; }
.editorial-head { padding: 34px 0 45px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.editorial-head h1 { font-size: clamp(48px, 6vw, 76px); line-height: .93; }
.editorial-head h1 em { color: #9d713b; font-weight: 500; }
.editorial-head > p:last-child { max-width: 630px; margin-top: 22px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.prose { font-size: 16px; background: transparent; color: #3d4c43; line-height: 1.8; }
.prose h2 { font-size: clamp(27px, 3vw, 36px); margin: 40px 0 12px; }
.prose h3 { font-size: 19px; margin: 30px 0 9px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0 0 7px; padding-left: 3px; }
.prose a { color: #87632f; text-decoration: underline; text-decoration-color: rgba(198,154,88,.55); text-underline-offset: 3px; }
.prose strong { color: var(--forest-900); font-weight: 600; }
.prose blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--brass); font-family: var(--display); font-size: 24px; line-height: 1.35; color: var(--forest-700); }
.prose blockquote p { margin: 0; }
.prose code { background: var(--cream-deep); padding: 2px 5px; border-radius: 4px; font-size: .85em; }
.prose pre { padding: 18px; background: var(--forest-950); color: #e7dfd0; border-radius: 8px; overflow-x: auto; }
.prose pre code { background: transparent; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose--wide { max-width: 780px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 54px; padding: 25px; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; }
.inline-cta p { display: flex; flex-direction: column; gap: 4px; }
.inline-cta b { color: var(--forest-900); font-size: 15px; }
.inline-cta span { color: var(--muted); font-size: 12px; }
.process { display: grid; gap: 0; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-step > span { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--brass); }
.process-step h2 { font-size: 30px; margin-bottom: 7px; }
.process-step p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 630px; }
.faq-section { margin-top: 56px; }
.faq-section h2 { margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--forest-900); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 15px; height: 15px; color: var(--brass); transition: transform .2s ease; }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; max-width: 700px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.not-found-page { min-height: 480px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 60px; padding-bottom: 80px; }
.not-found-page h1 { font-size: clamp(44px, 7vw, 82px); line-height: .92; }
.not-found-page h1 em { color: #9d713b; font-weight: 500; }
.not-found-page > p:not(.eyebrow) { max-width: 450px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.message-card { max-width: 600px; margin: 60px auto; padding: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-align: center; box-shadow: var(--shadow-soft); }
.message-card__icon { width: 52px; height: 52px; border-radius: 50%; background: #fbf1ee; color: var(--danger); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.message-card__icon.is-success { background: #edf5ef; color: var(--success); }
.message-card .eyebrow { justify-content: center; }
.message-card .eyebrow::before { display: none; }
.message-card h1 { font-size: 38px; }
.message-card > p:not(.eyebrow) { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.message-card .button-row { justify-content: center; }

/* Cities & directory */
.city-directory { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.city-directory__item { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.city-directory__item:hover { border-color: var(--brass); }
.city-directory__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--brass); flex: none; }
.city-directory__mark .ic { width: 16px; height: 16px; }
.city-directory__item > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.city-directory__item b { font-size: 14px; color: var(--forest-900); line-height: 1.3; overflow-wrap: anywhere; }
.city-directory__item small { font-size: 10px; color: var(--muted-light); }
.city-directory__item > .ic { margin-left: auto; width: 14px; height: 14px; color: #a79379; }
.directory-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.directory-search { display: flex; align-items: center; flex: 1; gap: 8px; min-height: 54px; padding: 6px 6px 6px 15px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper); }
.directory-search__icon { color: var(--muted-light); display: flex; }
.directory-search__icon .ic { width: 16px; height: 16px; }
.directory-search input { border: 0; min-height: 40px; background: transparent; font-size: 13px; padding: 0 5px; box-shadow: none; }
.directory-search .btn { flex: none; }
.toolbar-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--forest-700); white-space: nowrap; }
.toolbar-link .ic { width: 14px; height: 14px; }
.district-strip { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.district-strip a { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; font-size: 10.5px; color: #69786d; background: var(--paper); }
.district-strip a span { font-size: 8.5px; color: var(--muted-light); }
.district-strip a:hover, .district-strip a.is-active { background: var(--forest-900); border-color: var(--forest-900); color: var(--paper); }
.district-strip a.is-active span { color: var(--brass-bright); }
.directory-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; position: sticky; top: 100px; }
.filters > summary { display: none; }
.filters__body { display: block; }
@media (min-width: 821px) {
  .filters__body::before {
    content: "Filtreler";
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--forest-900);
  }
}
.filters__scope { display: flex; align-items: center; gap: 5px; margin: 0 0 11px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.filters__scope .ic { width: 12px; height: 12px; color: var(--brass); }
.filter-group { border: 0; padding: 14px 0; margin: 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group legend { padding: 0; margin-bottom: 9px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7a867c; }
.filter-group select, .filter-group input[type="text"] { min-height: 38px; font-size: 12px; padding: 6px 10px; background-color: #fffdf9; }
.filter-group select { padding-right: 32px; }
.filter-apply { margin-top: 14px; min-height: 38px; font-size: 11px; }
.filter-clear { display: block; margin-top: 11px; text-align: center; font-size: 10px; color: #907044; }
.filters__chevron { display: none; }
.directory-results { min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; margin-bottom: 13px; font-size: 11px; color: var(--muted-light); }
.results-head b { color: var(--forest-700); }
.sort-inline { display: flex; align-items: center; gap: 7px; }
.sort-inline label { font-size: 10px; color: var(--muted-light); }
.sort-inline select { min-height: 31px; width: auto; min-width: 132px; border-radius: 5px; padding: 4px 27px 4px 9px; font-size: 10px; background-color: var(--paper); background-position: right 9px center; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 32px; font-size: 11px; color: var(--muted); }
.pagination a, .pagination > span:not(.pagination__dots) { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.pagination a:hover { border-color: var(--brass); color: var(--forest-800); }
.pagination .is-active { background: var(--forest-900) !important; border-color: var(--forest-900) !important; color: var(--paper); }
.pagination__arrow .ic { width: 13px; height: 13px; }
.pagination__dots { color: #a7afa6; padding: 0 3px; }
.empty-state { text-align: center; padding: 70px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.empty-state__mark, .empty-mark { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--brass); margin-bottom: 13px; }
.empty-state__mark .ic, .empty-mark .ic { width: 19px; height: 19px; }
.empty-state h2 { font-size: 28px; margin-bottom: 7px; }
.empty-state p { max-width: 420px; margin: 0 auto; font-size: 13px; line-height: 1.65; color: var(--muted); }
.empty-state .button-row { justify-content: center; }
.directory-seo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.directory-seo h2 { max-width: 460px; }
.directory-seo__copy p { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 12px; max-width: 650px; }

/* Course detail */
.course-detail { padding-top: 22px; padding-bottom: 0; }
.detail-head { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: start; padding: 18px 0 38px; }
.detail-gallery { min-width: 0; }
.detail-gallery__main { position: relative; overflow: hidden; border-radius: 11px; background: var(--sand); aspect-ratio: 1.55 / 1; }
.detail-gallery__main > img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery__main > .badge { position: absolute; left: 13px; bottom: 13px; }
.detail-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; }
.detail-gallery__thumbs a { flex: 1; aspect-ratio: 1.55 / 1; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: .7; }
.detail-gallery__thumbs a.is-active, .detail-gallery__thumbs a:hover { border-color: var(--brass); opacity: 1; }
.detail-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-summary { padding-top: 4px; }
.detail-summary h1 { font-size: clamp(42px, 5vw, 66px); line-height: .91; margin-top: 15px; }
.detail-location { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.detail-location .ic { width: 13px; height: 13px; color: var(--brass); }
.detail-location b { color: var(--forest-800); font-weight: 500; }
.detail-lede { margin-top: 18px; max-width: 560px; font-size: 14px; line-height: 1.72; color: #647169; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.feature-pills li { min-height: 27px; display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 10px; color: var(--forest-700); background: rgba(255,252,246,.6); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.detail-actions .icon-button { width: 43px; height: 43px; }
.detail-updated { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 15px; font-size: 10px; color: #919b93; }
.detail-updated .ic { width: 12px; height: 12px; }
.verified-inline { display: inline-flex; align-items: center; gap: 4px; color: #56806a; }
.verified-inline .ic { width: 11px; height: 11px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 54px; padding-top: 7px; align-items: start; }
.detail-content { min-width: 0; }
.detail-nav { display: flex; gap: 26px; min-height: 42px; border-bottom: 1px solid var(--line); }
.detail-nav a { display: inline-flex; align-items: center; font-size: 11px; color: var(--muted); position: relative; }
.detail-nav a:hover { color: var(--forest-900); }
.detail-nav a:first-child { color: var(--forest-900); font-weight: 600; }
.detail-nav a:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); }
.content-block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.content-block h2 { font-size: 30px; margin-bottom: 13px; }
.content-block p { font-size: 13.5px; line-height: 1.8; color: #5d6a61; margin-bottom: 10px; }
.content-block p:last-child { margin-bottom: 0; }
.program-list { display: flex; flex-wrap: wrap; gap: 8px; }
.program-list li { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--forest-700); }
.program-list .ic { width: 15px; height: 15px; color: var(--brass); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fact { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.fact span { display: block; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.fact strong { display: block; margin-top: 5px; font-size: 11px; font-weight: 600; color: var(--forest-800); }
.fact--wide { grid-column: span 2; }
.facility-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.facility-list li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.facility-list .ic { width: 13px; height: 13px; color: var(--success); }
.address-box { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.address-box__icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream-deep); color: #9c7b48; flex: none; }
.address-box__icon .ic { width: 14px; height: 14px; }
.address-box > div { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.address-box strong { font-size: 12px; font-weight: 500; color: var(--forest-800); }
.address-box span { font-size: 10.5px; color: var(--muted-light); }
.address-box .text-link { font-size: 10.5px; white-space: nowrap; }
.source-note { display: flex; gap: 12px; align-items: flex-start; padding: 17px; margin-top: 22px; background: #f3eee4; border: 1px solid var(--line); border-radius: 7px; }
.source-note > span { color: #a07c45; padding-top: 2px; }
.source-note p { margin: 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.source-note__date { white-space: nowrap; color: #7a877d; }
.source-note__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 7px; }
.source-note .text-link { margin-top: 0; font-size: 10.5px; }
.claim-band { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.claim-band__mark { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--brass); flex: none; }
.claim-band__mark .ic { width: 16px; height: 16px; }
.claim-band h2 { font-size: 22px; }
.claim-band p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.claim-band .btn { margin-left: auto; flex: none; }
.related-courses { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-courses .section-head { margin-bottom: 18px; }
.related-courses .section-head h2 { font-size: 28px; }
.detail-sidebar { position: sticky; top: 100px; }
.contact-card { background: var(--forest-900); border-radius: 11px; padding: 24px; color: var(--paper); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; right: -80px; top: -115px; width: 280px; height: 280px; border: 1px solid rgba(198,154,88,.24); border-radius: 50%; pointer-events: none; }
.contact-card::after { content: ""; position: absolute; right: -40px; top: -75px; width: 200px; height: 200px; border: 1px solid rgba(198,154,88,.14); border-radius: 50%; pointer-events: none; }
.contact-card .eyebrow { position: relative; z-index: 1; color: #cfb68e; margin-bottom: 8px; font-size: 8.5px; }
.contact-card .eyebrow::before { background: var(--brass-bright); }
.contact-card h2 { position: relative; z-index: 1; font-size: 32px; color: var(--paper); font-weight: 500; }
.contact-card__phone { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin-top: 15px; font-size: 18px; font-weight: 500; color: #fff9ed; letter-spacing: .025em; }
.contact-card__phone .ic { width: 15px; height: 15px; color: var(--brass-bright); }
.contact-card > p { position: relative; z-index: 1; margin-top: 8px; font-size: 10.5px; line-height: 1.55; color: #acc0b2; }
.contact-card .btn { margin-top: 16px; position: relative; z-index: 1; }
.contact-card__rows { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); }
.contact-card__website {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 9px; padding: 11px 13px; border: 1px solid rgba(221,184,131,.38); border-radius: 7px;
  background: rgba(255,255,255,.055); color: var(--paper); transition: background .18s ease, border-color .18s ease;
}
.contact-card__website:hover { background: rgba(255,255,255,.1); border-color: var(--brass-bright); }
.contact-card__website > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__website small { font-size: 7.5px; letter-spacing: .12em; text-transform: uppercase; color: #c7ad86; font-weight: 600; }
.contact-card__website b { font-size: 11.5px; font-weight: 500; color: #f6eddf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-card__website .ic { width: 14px; height: 14px; color: var(--brass-bright); flex: none; }
.contact-card__rows > div { display: flex; gap: 9px; font-size: 10px; line-height: 1.55; color: #acbcb0; }
.contact-card__rows .ic { width: 12px; height: 12px; color: var(--brass-bright); flex: none; margin-top: 1px; }
.contact-card__rows span { display: block; }
.contact-card__rows b { display: block; font-weight: 500; color: #efe6d8; font-size: 10px; }
.contact-card__rows a { color: #d9c5a6; }
.contact-card__note { font-size: 8.5px !important; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa698 !important; }
.sidebar-quiet { margin-top: 12px; padding: 14px 15px; background: rgba(255,252,246,.55); border: 1px solid var(--line); border-radius: 8px; }
.sidebar-quiet p { display: flex; align-items: flex-start; gap: 6px; font-size: 9.5px; line-height: 1.55; color: var(--muted-light); margin-bottom: 7px; }
.sidebar-quiet .ic { width: 11px; height: 11px; color: #75917d; margin-top: 1px; }
.sidebar-quiet a { font-size: 9.5px; color: #8b6b3c; font-weight: 500; }
.mobile-contact-bar { display: none; }

.saved-page { padding-top: 26px; }
.saved-results { min-height: 230px; }
.saved-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 230px; color: var(--muted-light); font-size: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.saved-loading__mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--brass); }
.saved-loading__mark .ic { width: 18px; height: 18px; }
.saved-card .course-card__foot { justify-content: space-between; }
.saved-card .course-card__foot .text-button { color: #8d6b5a; font-size: 10px; }
.saved-card .course-card__foot .text-button:hover { color: var(--danger); }
.saved-card .course-card__foot .text-button .ic { width: 11px; height: 11px; }
.saved-page .empty-state { padding-top: 55px; padding-bottom: 55px; }

/* Blog */
.blog-masthead { padding: 38px 0 46px; max-width: 760px; }
.blog-masthead h1 { font-size: clamp(44px, 6.5vw, 76px); line-height: .92; }
.blog-masthead h1 em { color: #9d713b; font-weight: 500; }
.blog-masthead > p:not(.eyebrow) { max-width: 580px; margin-top: 20px; font-size: 14px; line-height: 1.72; color: var(--muted); }
.blog-categories { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.blog-categories span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 20px; font-size: 9.5px; color: #707c72; background: rgba(255,252,246,.5); }
.featured-post { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 34px; }
.featured-post__image { min-height: 350px; overflow: hidden; background: var(--sand); }
.featured-post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.featured-post:hover .featured-post__image img { transform: scale(1.025); }
.featured-post__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 54px); }
.featured-post__body h2 { margin-top: 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.featured-post__body h2 a:hover { color: var(--forest-700); }
.featured-post__body > p { margin-top: 13px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.featured-post__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted-light); }
.article { padding-top: 10px; }
.article-head { max-width: 900px; padding: 22px 0 34px; }
.article-head h1 { font-size: clamp(42px, 6vw, 72px); line-height: .94; margin-top: 15px; }
.article-head__excerpt { max-width: 680px; margin-top: 20px; font-size: 15px; line-height: 1.72; color: var(--muted); }
.article-head__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 680px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted-light); }
.article-head__meta b { font-weight: 600; color: var(--forest-700); }
.article-cover { margin: 0 0 42px; border-radius: 11px; overflow: hidden; background: var(--sand); aspect-ratio: 2.08 / 1; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 280px; align-items: start; gap: 38px; }
.article-toc { position: sticky; top: 110px; padding-top: 8px; }
.article-toc > p { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; margin-bottom: 11px; }
.article-toc ol { border-left: 1px solid var(--line); }
.article-toc a { display: block; padding: 6px 0 6px 13px; font-size: 10.5px; line-height: 1.45; color: #748076; border-left: 1px solid transparent; margin-left: -1px; }
.article-toc a:hover { color: var(--forest-900); border-color: var(--brass); }
.article-layout .prose { max-width: 760px; }
.article-aside { position: sticky; top: 110px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.article-aside .eyebrow { font-size: 8px; letter-spacing: .16em; margin-bottom: 9px; }
.article-aside h2 { font-size: 25px; }
.article-aside > p:not(.eyebrow) { margin-top: 8px; margin-bottom: 16px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.article-aside .btn { min-height: 37px; font-size: 10px; }
.article-aside .text-link { margin-top: 12px; font-size: 10px; }
.related-posts { margin-top: 68px; padding-top: 34px; border-top: 1px solid var(--line); }
.related-posts .section-head { margin-bottom: 20px; }
.related-posts .section-head h2 { font-size: 30px; }

/* Auth */
.auth-page { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 680px; background: var(--paper); border-bottom: 1px solid var(--line); }
.auth-page__visual { position: relative; overflow: hidden; background: var(--forest-950); min-height: 620px; }
.auth-page__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.7) brightness(.66); }
.auth-page__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,18,.46), rgba(5,24,18,.9)); }
.auth-page__pattern { position: absolute; inset: 0; z-index: 1; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='none' stroke='%23d6b47e' stroke-width='.75'%3E%3Cpath d='M85 8L100 48 140 33 125 73 165 85 125 97 140 137 100 122 85 162 70 122 30 137 45 97 5 85 45 73 30 33 70 48Z'/%3E%3Ccircle cx='85' cy='85' r='25'/%3E%3C/g%3E%3C/svg%3E"); }
.auth-page__visual-copy { position: absolute; left: 54px; right: 54px; bottom: 50px; z-index: 2; color: var(--paper); }
.auth-quote { font-family: var(--arabic); font-size: 36px; line-height: 1.55; text-align: right; direction: rtl; color: #fff8eb; }
.auth-translation { margin-top: 17px; font-family: var(--display); font-size: 26px; line-height: 1.24; font-style: italic; color: #f0e4d0; }
.auth-source { margin-top: 10px; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: #c4a77f; }
.auth-benefits { display: flex; flex-direction: column; gap: 9px; margin-top: 31px; }
.auth-benefits li { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #d5dfd7; }
.auth-benefits .ic { width: 13px; height: 13px; padding: 3px; border: 1px solid rgba(221,184,131,.4); border-radius: 50%; color: var(--brass-bright); box-sizing: content-box; }
.auth-page__panel { padding: 30px clamp(28px, 6vw, 90px) 38px; display: flex; flex-direction: column; }
.auth-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 10px; color: var(--muted-light); }
.auth-panel-top p { margin: 0; }
.auth-panel-top a { color: var(--forest-700); font-weight: 500; }
.auth-back { display: inline-flex; align-items: center; gap: 5px; color: var(--muted) !important; }
.auth-back .ic { width: 12px; height: 12px; }
.auth-card { width: min(100%, 438px); margin: auto; padding: 40px 0 20px; }
.auth-card h1 { font-size: clamp(42px, 4.4vw, 58px); line-height: .92; margin-top: 10px; }
.auth-card h1 em { color: #9d713b; font-weight: 500; }
.auth-lede { max-width: 390px; margin-top: 13px; margin-bottom: 23px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.auth-card .auth-google-note { max-width: 390px; }
.google-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper); font-size: 12px; font-weight: 600; color: #3f4e44; }
.google-button:hover { background: var(--cream); border-color: #bdae97; }
.auth-google-note { margin-top: 7px; margin-bottom: 0; text-align: center; font-size: 9.5px; }
.google-icon { width: 17px; height: 17px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 9px; letter-spacing: .04em; color: var(--muted-light); }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-card .field > label { font-size: 9.5px; }
.auth-card input { min-height: 47px; }
.terms-line { margin: 5px 0 16px; font-size: 10px; }
.terms-line a { color: #87652f; text-decoration: underline; text-underline-offset: 2px; }
.forgot-line { margin: -6px 0 15px; text-align: right; font-size: 10px; }
.forgot-line a { color: #87652f; font-weight: 500; }
.forgot-line a:hover { color: var(--forest-900); text-decoration: underline; text-underline-offset: 2px; }
.auth-submit { margin-top: 5px; }
.auth-email-note { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 9.5px; color: var(--muted-light); }
.auth-email-note .ic { width: 12px; height: 12px; }
.auth-switch { margin-top: 19px; text-align: center; font-size: 10.5px; color: var(--muted); }
.auth-switch a { color: var(--forest-800); font-weight: 600; }
.auth-trust { display: flex; align-items: center; justify-content: center; gap: 17px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted-light); }
.auth-trust span { display: flex; align-items: center; gap: 4px; }
.auth-trust .ic { width: 11px; height: 11px; color: #72907c; }
.auth-support { margin: auto 0 0; text-align: right; font-size: 9px; color: var(--muted-light); }
.auth-support a { color: #6f7d72; }
.auth-message-page { min-height: 520px; padding-top: 50px; padding-bottom: 50px; }

/* Contact */
.contact-page { padding-top: 30px; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; padding-top: 28px; }
.contact-layout h1 { font-size: clamp(44px, 5.3vw, 68px); line-height: .93; }
.contact-layout h1 em { color: #9d713b; font-weight: 500; }
.contact-lede { max-width: 470px; margin-top: 20px; font-size: 14px; line-height: 1.72; color: var(--muted); }
.contact-meta { display: flex; flex-direction: column; gap: 13px; margin-top: 31px; }
.contact-meta p { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; color: var(--muted-light); }
.contact-meta .ic { width: 14px; height: 14px; color: var(--brass); margin-top: 1px; }
.contact-meta span { display: flex; flex-direction: column; gap: 2px; }
.contact-meta b { font-size: 12px; color: var(--forest-800); font-weight: 500; }
.contact-meta a { color: #87652f; }
.contact-note { display: flex; align-items: center; gap: 6px; margin-top: 25px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 9.5px; color: var(--muted-light); }
.contact-note .ic { width: 12px; height: 12px; color: #72907c; }
.contact-email-card { display: flex; flex-direction: column; gap: 14px; }
.contact-email-card h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1; }
.contact-email-card__lede { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.contact-email-card__address { display: block; padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--forest-800); font-size: clamp(17px, 2.2vw, 23px); font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; transition: border-color .18s ease, background .18s ease; }
.contact-email-card__address:hover { border-color: var(--brass); background: #fffdf8; }
.contact-email-card .btn { margin-top: 2px; }
.contact-email-card__note { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 10px; color: var(--muted-light); }
.contact-email-card__note .ic { width: 12px; height: 12px; color: #72907c; }

/* Dashboard */
.page-dashboard { background: #f4efe5; }
.page-dashboard .site-footer { margin-top: 0; }
.dashboard-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: calc(100vh - 78px); background: #f5f0e7; }
.dashboard-sidebar { background: var(--forest-950); color: #c4d0c6; padding: 28px 18px 22px; display: flex; flex-direction: column; position: sticky; top: 78px; height: calc(100vh - 78px); overflow-y: auto; }
.dashboard-sidebar__profile { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid rgba(198,154,88,.18); background: rgba(255,255,255,.045); border-radius: 8px; }
.dashboard-sidebar__profile > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dashboard-sidebar__profile b { font-size: 10.5px; color: var(--paper); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-sidebar__profile small { font-size: 8px; color: #94a89a; }
.dashboard-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 31px; }
.dashboard-nav p { margin: 18px 8px 7px; font-size: 7.5px; letter-spacing: .18em; text-transform: uppercase; color: #6b8678; font-weight: 600; }
.dashboard-nav a { min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 6px; color: #aabcb0; font-size: 12px; }
.dashboard-nav a .ic { width: 14px; height: 14px; color: #849b8d; }
.dashboard-nav a:hover { color: var(--paper); background: rgba(255,255,255,.05); }
.dashboard-nav a.is-active { color: var(--paper); background: rgba(255,255,255,.08); }
.dashboard-nav a.is-active .ic { color: var(--brass-bright); }
.nav-count { margin-left: auto; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--brass); color: var(--forest-950); font-size: 9px; font-weight: 700; }
.dashboard-sidebar__bottom { margin-top: auto; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 9px; }
.dashboard-sidebar__bottom a, .dashboard-sidebar__bottom button { display: flex; align-items: center; gap: 8px; font-size: 9.5px; color: #8fa396; padding: 4px 8px; background: none; border: 0; }
.dashboard-sidebar__bottom a:hover, .dashboard-sidebar__bottom button:hover { color: var(--paper); }
.dashboard-sidebar__bottom .ic { width: 12px; height: 12px; }
.dashboard-main { min-width: 0; padding: 0 36px 60px; }
.dashboard-topline { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid #e3d9c8; }
.topline-link { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: #7b887d; }
.topline-link .ic { width: 11px; height: 11px; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 29px 0 24px; }
.dashboard-heading h1 { font-size: clamp(36px, 4.4vw, 50px); }
.dashboard-heading__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 20px; align-items: start; }
.dashboard-main-column { min-width: 0; display: flex; flex-direction: column; gap: 17px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-card { position: relative; background: var(--paper); border: 1px solid #e5dacb; border-radius: 8px; padding: 15px 16px; min-height: 105px; }
.stat-card > span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-light); font-weight: 600; }
.stat-card strong { display: block; margin-top: 10px; font-family: var(--sans); font-size: 32px; line-height: .95; font-weight: 600; color: var(--forest-900); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stat-card strong small { margin-left: 5px; font-family: var(--sans); font-size: 9.5px; color: var(--muted-light); font-weight: 400; letter-spacing: 0; }
.stat-note { display: flex; align-items: center; gap: 4px; position: absolute; right: 13px; bottom: 13px; font-size: 8.5px; color: #8f988f; background: var(--cream-deep); border-radius: 20px; padding: 3px 7px; }
.stat-note .ic { width: 9px; height: 9px; }
.stat-note.is-positive { color: #3f7859; background: #edf4ee; }
.dashboard-card { background: var(--paper); border: 1px solid #e5dacb; border-radius: 8px; overflow: hidden; }
.dashboard-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 13px 17px; border-bottom: 1px solid #eee5d7; }
.dashboard-card__head h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--forest-900); }
.dashboard-card__head h2 span { font-size: 9px; font-weight: 500; color: var(--muted-light); margin-left: 4px; }
.dashboard-card__head > span { font-size: 11px; color: var(--forest-700); font-weight: 600; }
.dashboard-card__head .text-link { font-size: 10.5px; }
.owner-course-list { display: flex; flex-direction: column; }
.owner-course-row { display: flex; align-items: center; gap: 11px; padding: 13px 17px; border-bottom: 1px solid #f0e8dc; }
.owner-course-row:last-child { border-bottom: 0; }
.owner-course-row__image { width: 57px; height: 48px; border-radius: 5px; overflow: hidden; background: var(--sand); flex: none; }
.owner-course-row__image img { width: 100%; height: 100%; object-fit: cover; }
.owner-course-row__main { min-width: 0; flex: 1; }
.owner-course-row__main h3 { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner-course-row__main h3 a:hover { color: var(--forest-700); }
.owner-course-row__main p { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 9.5px; color: var(--muted-light); }
.owner-course-row__main p .ic { width: 10px; height: 10px; color: #ada087; }
.owner-course-row__main small { display: block; font-size: 8.5px; color: #a3aba3; margin-top: 4px; }
.owner-course-row .btn { flex: none; }
.owner-course-row__actions { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.owner-course-row__actions form { display: flex; margin: 0; }
.btn--danger { background: #8f3e33; border-color: #8f3e33; color: #fff9f3; }
.btn--danger:hover { background: #783329; border-color: #783329; color: #fff; }
.form-aside__danger { margin-top: 14px; padding: 16px; border: 1px solid #e3c5bd; border-radius: 8px; background: #fbf3f0; }
.form-aside__danger .eyebrow { color: #8a4a3e; margin-bottom: 7px; }
.form-aside__danger p:not(.eyebrow) { margin: 0 0 12px; font-size: 10.5px; line-height: 1.6; color: #7b5d56; }
.form-aside__danger .btn { min-height: 38px; font-size: 11px; }
.dashboard-note { display: flex; align-items: flex-start; gap: 6px; padding: 4px 1px; font-size: 9px; line-height: 1.5; color: #9aa39a; }
.dashboard-note .ic { width: 11px; height: 11px; color: #7e9786; margin-top: 1px; }
.dashboard-aside { display: flex; flex-direction: column; gap: 14px; }
.profile-strength { padding-bottom: 15px; }
.profile-strength .progress-bar { margin: 15px 16px 0; }
.progress-bar { height: 4px; border-radius: 4px; background: #e9e0d2; overflow: hidden; }
.progress-bar i { display: block; height: 100%; border-radius: 4px; background: var(--brass); }
.profile-strength > p { padding: 0 16px; margin-top: 10px; font-size: 8.5px; line-height: 1.55; color: var(--muted-light); }
.checklist { padding: 0 16px; margin-top: 10px; }
.checklist li { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-top: 1px solid #f0e8dc; font-size: 8.5px; color: #a2aaa2; }
.checklist li .ic { width: 9px; height: 9px; color: #c4b7a3; }
.checklist li.is-done { color: #61766a; }
.checklist li.is-done .ic { color: #4e8b68; }
.profile-strength .btn { width: calc(100% - 32px); margin: 12px 16px 0; }
.aside-tip { background: var(--forest-900); color: var(--paper); border-radius: 8px; padding: 18px; position: relative; overflow: hidden; }
.aside-tip::after { content: "✦"; position: absolute; right: 12px; top: 5px; color: rgba(198,154,88,.35); font-size: 28px; }
.aside-tip .eyebrow { position: relative; z-index: 1; color: var(--brass-bright); font-size: 7.5px; margin-bottom: 8px; }
.aside-tip .eyebrow::before { background: var(--brass-bright); }
.aside-tip h2 { position: relative; z-index: 1; font-size: 25px; color: var(--paper); line-height: .98; }
.aside-tip > p:not(.eyebrow) { position: relative; z-index: 1; margin-top: 8px; font-size: 9px; line-height: 1.6; color: #a9bbad; }
.aside-tip .text-link { position: relative; z-index: 1; margin-top: 11px; font-size: 9px; color: #dec395; }
.review-callout { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid #e5dac8; background: #f8f2e8; border-radius: 8px; }
.review-callout > span { width: 35px; height: 35px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: #8a6838; display: flex; align-items: center; justify-content: center; flex: none; }
.review-callout > span .ic { width: 15px; height: 15px; }
.review-callout > div { flex: 1; }
.review-callout b { display: block; font-size: 10px; color: var(--forest-800); }
.review-callout p { margin-top: 2px; font-size: 8.5px; color: var(--muted-light); }
.empty-inline { text-align: center; padding: 44px 20px; }
.empty-inline .empty-mark { margin-bottom: 12px; }
.empty-inline h3 { font-family: var(--display); font-size: 27px; font-weight: 600; margin-bottom: 4px; }
.empty-inline p { font-size: 11px; color: var(--muted); margin-bottom: 15px; }
.empty-inline .btn { margin-top: 8px; }
.dashboard-card .empty-inline { padding: 52px 20px; }
.dashboard-card .empty-inline h3 { font-family: var(--sans); font-size: 15px; }

/* Dashboard forms */
.course-form { margin-top: -7px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 22px; align-items: start; }
.form-main { min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.form-section { background: var(--paper); border: 1px solid #e5dacb; border-radius: 8px; padding: 21px 22px; }
.form-section__head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 19px; }
.form-section__head > span { width: 23px; height: 23px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--cream-deep); color: #936f3e; font-size: 9px; font-weight: 700; }
.form-section__head h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--forest-900); }
.form-section__head p { margin-top: 3px; font-size: 10.5px; color: var(--muted-light); }
.form-section--seo { padding: 0; }
.form-section--seo > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 17px 20px; cursor: pointer; }
.form-section--seo > summary::-webkit-details-marker { display: none; }
.form-section--seo > summary > span { width: 23px; height: 23px; border-radius: 50%; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; color: #936f3e; font-size: 12px; }
.form-section--seo > summary h2 { font-family: var(--sans); font-size: 14px; }
.form-section--seo > summary p { margin-top: 3px; font-size: 10px; color: var(--muted-light); }
.form-section--seo > summary > .ic { margin-left: auto; width: 14px; height: 14px; color: var(--muted-light); transition: transform .2s ease; }
.form-section--seo[open] > summary > .ic { transform: rotate(180deg); }
.form-section--seo > .field, .form-section--seo > .field-row { margin-left: 22px; margin-right: 22px; }
.form-section--seo > .field:last-child { margin-bottom: 20px; }
.form-section .field:last-child { margin-bottom: 0; }
.form-section .field > label { font-size: 10.5px; }
.form-section input, .form-section select { min-height: 43px; font-size: 13.5px; padding: 8px 11px; }
.form-section textarea { font-size: 13.5px; padding: 10px 11px; }
.form-section .field-hint { font-size: 10.5px; }
.form-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.form-aside__card { padding: 18px; background: var(--paper); border: 1px solid #e5dacb; border-radius: 8px; }
.form-aside__card h2 { margin-top: 5px; font-size: 28px; }
.form-aside__card > p:not(.eyebrow) { margin-top: 8px; font-size: 10.5px; line-height: 1.6; color: var(--muted-light); }
.form-actions--vertical { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; padding: 0; border: 0; }
.form-actions--vertical .btn { min-height: 39px; font-size: 11.5px; }
.form-aside__note { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--line); font-size: 9.5px !important; display: flex; gap: 5px; align-items: flex-start; }
.form-aside__note .ic { width: 10px; height: 10px; color: #7d9581; margin-top: 1px; flex: none; }
.form-aside__help { display: flex; gap: 10px; padding: 13px 15px; border: 1px solid #e5dacb; background: #f8f2e7; border-radius: 8px; }
.form-aside__help > span { color: #977445; }
.form-aside__help .ic { width: 15px; height: 15px; }
.form-aside__help p { display: flex; flex-direction: column; gap: 3px; font-size: 9px; color: var(--muted-light); }
.form-aside__help b { font-size: 9px; color: var(--forest-800); }
.form-aside__help a { font-size: 9px; color: #8d6b3a; }
.form-layout textarea.textarea--code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.6; }
textarea.textarea--code { min-height: 330px; }
.media-uploader { border: 1px dashed #d8cbb8; border-radius: 7px; padding: 13px; background: #fffdf8; }
.media-uploader__hint { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted-light); margin-bottom: 10px; }
.media-uploader__hint .ic { width: 12px; height: 12px; color: #8b6c3d; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.media-item { position: relative; margin: 0; border-radius: 5px; overflow: hidden; aspect-ratio: 1.45 / 1; background: var(--cream-deep); border: 1px solid var(--line); }
.media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item figcaption { position: absolute; left: 5px; bottom: 5px; background: rgba(7,31,24,.72); color: #f3eadb; border-radius: 3px; padding: 3px 5px; font-size: 7px; letter-spacing: .03em; }
.media-item.is-cover { outline: 2px solid var(--brass); outline-offset: -2px; }
.media-remove { position: absolute; right: 5px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,252,246,.92); border: 0; display: flex; align-items: center; justify-content: center; color: #704d3c; }
.media-remove .ic { width: 10px; height: 10px; }
.media-drop { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid var(--line); border-radius: 5px; margin-top: 10px; font-size: 10px; color: #7d6b52; cursor: pointer; background: var(--paper); }
.media-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.media-drop .ic { width: 14px; height: 14px; color: var(--brass); }
.media-drop small { color: var(--muted-light); font-size: 8px; }
.media-drop.is-dragover { border-color: var(--brass); background: var(--cream-deep); }
.media-status { margin-top: 7px; font-size: 9px; color: var(--muted-light); min-height: 13px; }
.media-status.is-error { color: var(--danger); }
.profile-form .field-row { margin-bottom: 3px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.account-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.account-info > div { padding: 16px; background: var(--paper); }
.account-info span { display: block; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.account-info b { display: block; margin-top: 4px; font-size: 11px; color: var(--forest-800); font-weight: 500; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.admin-table th { text-align: left; padding: 10px 13px; background: #f8f3ea; border-bottom: 1px solid var(--line); font-size: 7.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; white-space: nowrap; }
.admin-table td { padding: 11px 13px; border-bottom: 1px solid #f0e8dc; color: var(--muted); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td b { display: block; font-size: 10.5px; color: var(--forest-800); font-weight: 500; margin-bottom: 2px; }
.admin-table td small { font-size: 8px; color: var(--muted-light); display: block; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-table .text-link { font-size: 9px; white-space: nowrap; }
.review-intro { margin: -4px 0 17px; }
.review-intro p { display: flex; align-items: flex-start; gap: 6px; font-size: 9.5px; line-height: 1.6; color: var(--muted-light); }
.review-intro .ic { width: 12px; height: 12px; color: #7b9582; flex: none; margin-top: 1px; }
.review-list { display: flex; flex-direction: column; gap: 13px; }
.review-card { background: var(--paper); border: 1px solid #e5dacb; border-radius: 9px; padding: 18px 19px; }
.review-card__head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.review-kicker { font-size: 8px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.review-card h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-top: 4px; }
.review-card h2 a:hover { color: var(--forest-700); }
.review-card__head p { margin-top: 3px; font-size: 9px; color: var(--muted); }
.review-card__excerpt { margin-top: 11px; font-size: 10px; line-height: 1.6; color: var(--muted); max-width: 780px; }
.review-card__meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #eee5d7; font-size: 8.5px; color: var(--muted-light); }
.review-card__meta span { display: flex; align-items: flex-start; gap: 4px; }
.review-card__meta .ic { width: 10px; height: 10px; color: #a78b60; margin-top: 1px; }
.review-card__meta .is-missing { color: #9b5145; font-weight: 600; }
.review-card__meta .is-missing .ic { color: #b46a5a; }
.review-card__source { margin-top: 7px; font-size: 8px; color: var(--muted-light); overflow-wrap: anywhere; }
.review-card__source a { color: #886733; }
.review-card__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 13px; }
.review-card__actions form { display: inline-flex; }
.reject-form { gap: 6px; flex: 1; justify-content: flex-end; }
.reject-form input { min-height: 31px; max-width: 230px; font-size: 9px; padding: 5px 8px; }
.reject-form .btn { min-height: 31px; font-size: 9px; }
.ingest-grid { display: grid; grid-template-columns: minmax(0,1fr) 262px; gap: 20px; align-items: start; }
.ingest-hero { background: var(--forest-900); color: var(--paper); border-radius: 9px; padding: 23px 25px; position: relative; overflow: hidden; }
.ingest-hero::after { content: "✦"; position: absolute; right: 22px; top: 11px; color: rgba(198,154,88,.35); font-size: 35px; }
.ingest-hero .eyebrow { color: var(--brass-bright); font-size: 8px; margin-bottom: 8px; }
.ingest-hero .eyebrow::before { background: var(--brass-bright); }
.ingest-hero h2 { font-size: 34px; color: var(--paper); }
.ingest-hero > p:not(.eyebrow) { max-width: 690px; margin-top: 9px; font-size: 10px; line-height: 1.65; color: #aabdb0; }
.quota-bar { height: 7px; border-radius: 8px; margin-top: 18px; background: rgba(255,255,255,.1); overflow: hidden; }
.quota-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brass); }
.quota-label { margin-top: 7px; font-size: 8.5px; color: #a7b9ad; }
.quota-label b { color: var(--brass-bright); font-weight: 500; }
.ingest-grid .dashboard-card { margin-top: 13px; }
.api-copy { padding: 15px 17px 0; font-size: 9.5px; line-height: 1.65; color: var(--muted); }
.api-copy code { font-size: 8.5px; background: var(--cream-deep); border-radius: 3px; padding: 1px 4px; }
.api-copy a { color: #87632f; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; gap: 4px; }
.api-copy a .ic { width: 10px; height: 10px; }
.code-block { margin: 13px 17px 16px; background: var(--forest-950); color: #d9cfbf; border-radius: 6px; padding: 15px; overflow: auto; font-size: 8.5px; line-height: 1.65; }
.code-block code { font-family: ui-monospace, Consolas, monospace; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translate(-50%, 14px);
  max-width: min(92vw, 400px); padding: 11px 16px; border-radius: 7px; background: var(--forest-900);
  color: var(--paper); font-size: 12px; line-height: 1.4; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 620px) {
  body.page-course-detail .toast { bottom: 82px; }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .course-card, .post-card, .city-card, .city-directory__item, .btn, .icon-button { will-change: transform; }
}

/* Responsive */
@media (max-width: 1180px) {
  .desktop-nav { gap: 20px; }
  .hero-copy h1 { font-size: clamp(48px, 6vw, 70px); }
  .home-hero__grid { gap: 40px; }
  .hero-search { grid-template-columns: 166px minmax(0,1fr) auto; }
  .directory-layout { grid-template-columns: 248px minmax(0,1fr); gap: 22px; }
  .detail-head { gap: 36px; }
  .detail-layout { gap: 38px; }
  .article-layout { grid-template-columns: 165px minmax(0,1fr) 240px; gap: 26px; }
  .dashboard-grid, .ingest-grid { grid-template-columns: minmax(0,1fr) 235px; }
}

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .mobile-drawer { display: block; }
  .header-actions { margin-left: auto; }
  .site-header__inner { gap: 16px; }
  .home-hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 26px; }
  .hero-arch { width: min(100%, 380px); }
  .verse-card { left: -2%; width: 96%; }
  .verse-card__meta { display: none; }
  .hero-search { grid-template-columns: 145px minmax(0,1fr) auto; }
  .hero-search__submit { min-width: 100px; padding: 0 12px; font-size: 11px; }
  .city-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .course-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .post-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .how-grid { gap: 40px; }
  .detail-head { grid-template-columns: 1fr 1fr; gap: 26px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 26px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .article-toc { display: none; }
  .auth-page { grid-template-columns: .8fr 1.2fr; }
  .auth-page__visual-copy { left: 32px; right: 32px; bottom: 34px; }
  .auth-quote { font-size: 30px; }
  .auth-translation { font-size: 22px; }
  .contact-layout { gap: 45px; }
  .dashboard-shell { grid-template-columns: 205px minmax(0,1fr); }
  .dashboard-main { padding: 0 25px 50px; }
  .dashboard-grid, .ingest-grid { grid-template-columns: 1fr; }
  .dashboard-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .dashboard-main .dashboard-aside .aside-tip { height: 100%; }
  .form-layout { grid-template-columns: minmax(0,1fr) 260px; }
}

@media (max-width: 820px) {
  .container { width: calc(100% - 36px); }
  .topbar { display: none; }
  .site-header__inner { height: 68px; }
  .header-actions .header-login { display: none; }
  .header-actions .btn { min-height: 34px; font-size: 11px; padding: 0 12px; }
  .account-menu__name { display: none; }
  .brand-name { font-size: 25px; }
  .brand-mark { width: 24px; height: 28px; }
  .brand-sub { font-size: 6px; }
  .home-hero__grid { grid-template-columns: 1fr; padding-top: 44px; gap: 35px; }
  .hero-copy h1 { font-size: clamp(47px, 9.5vw, 70px); }
  .hero-copy__lede { max-width: 510px; }
  .hero-visual { justify-content: center; }
  .hero-arch { width: min(100%, 440px); }
  .hero-search { width: 100%; }
  .home-numbers { gap: 16px; flex-wrap: wrap; }
  .home-numbers a { margin-left: 0; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 22px; }
  .course-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
  .city-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .how-grid { grid-template-columns: 1fr; gap: 35px; }
  .how-copy p:not(.eyebrow) { max-width: 600px; }
  .post-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
  .cta-band__inner { flex-wrap: wrap; padding: 36px 0; gap: 18px; }
  .cta-band__mark { width: 40px; height: 40px; }
  .cta-band .btn { margin-left: 58px; }
  .seo-copy__inner, .directory-seo { grid-template-columns: 1fr; gap: 24px; }
  .seo-copy { padding-bottom: 10px; }
  .city-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .directory-layout { grid-template-columns: 1fr; }
  .filters { position: static; padding: 0; background: transparent; border: 0; }
  .filters > summary { list-style: none; display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--paper); cursor: pointer; font-size: 11px; font-weight: 600; color: var(--forest-800); margin-bottom: 9px; }
  .filters > summary::-webkit-details-marker { display: none; }
  .filters > summary .ic { width: 14px; height: 14px; }
  .filters__chevron { margin-left: auto; display: flex; transition: transform .2s ease; }
  .filters[open] .filters__chevron { transform: rotate(180deg); }
  .filters__body { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 17px; display: none; margin-bottom: 15px; }
  .filters[open] .filters__body { display: block; }
  .filter-group { padding: 11px 0; }
  .filter-apply { margin-top: 8px; }
  .directory-toolbar { flex-wrap: wrap; }
  .directory-toolbar .toolbar-link { display: none; }
  .detail-head { grid-template-columns: 1fr; gap: 24px; }
  .detail-gallery__main { aspect-ratio: 1.8 / 1; }
  .detail-summary h1 { font-size: clamp(43px, 8vw, 62px); }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .contact-card { height: 100%; }
  .sidebar-quiet { margin-top: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; }
  .fact-grid { grid-template-columns: repeat(4, 1fr); }
  .fact--wide { grid-column: span 4; }
  .claim-band { flex-wrap: wrap; }
  .claim-band .btn { margin-left: 52px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; margin-top: 8px; }
  .article-head { padding-bottom: 25px; }
  .article-cover { margin-bottom: 28px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__image { min-height: 260px; aspect-ratio: 1.6 / 1; }
  .featured-post__body { padding: 25px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-page__visual { display: none; }
  .auth-page__panel { padding: 25px 24px 38px; min-height: 650px; }
  .auth-card { margin: 35px auto 0; padding-top: 0; }
  .auth-panel-top { font-size: 9.5px; }
  .auth-support { margin-top: 35px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-lede { max-width: 600px; }
  .dashboard-shell { display: block; min-height: auto; }
  .dashboard-sidebar { position: static; height: auto; padding: 15px 18px; }
  .dashboard-sidebar__profile { display: none; }
  .dashboard-nav { flex-direction: row; overflow-x: auto; margin-top: 0; padding-bottom: 2px; gap: 4px; scrollbar-width: none; }
  .dashboard-nav::-webkit-scrollbar { display: none; }
  .dashboard-nav p { display: none; }
  .dashboard-nav a { flex: none; white-space: nowrap; padding: 0 12px; min-height: 35px; font-size: 10px; background: rgba(255,255,255,.04); }
  .dashboard-nav a .ic { width: 13px; height: 13px; }
  .nav-count { display: none; }
  .dashboard-sidebar__bottom { display: none; }
  .dashboard-main { padding: 0 18px 45px; }
  .dashboard-topline { min-height: 45px; }
  .dashboard-heading { padding: 22px 0 18px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .dashboard-heading h1 { font-size: 40px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-aside { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; order: initial; }
  .form-aside__card { display: block; }
  .form-aside__card .eyebrow { margin-bottom: 8px; }
  .form-aside__card > p:not(.eyebrow) { display: block; margin-top: 7px; }
  .form-actions--vertical { display: flex; flex-direction: column; margin-top: 14px; }
  .form-aside__note { margin-top: 10px !important; }
  .form-aside__help { display: none; }
  .media-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .ingest-grid { gap: 14px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .footer-note { grid-column: span 3; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; }
  .footer-note .footer-kicker { margin: 0; grid-column: 1 / -1; }
  .footer-note h2 { margin: 0; font-size: 24px; }
  .footer-note > p { margin: 0; }
  .footer-note .btn { grid-column: 2; grid-row: 2 / 4; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 30px); }
  .narrow-page { width: calc(100% - 30px); }
  .site-header__inner { height: 62px; }
  .site-header .brand-name { font-size: 24px; }
  .header-actions { display: none; }
  .mobile-drawer { margin-left: auto; }
  .home-hero__grid { padding-top: 33px; gap: 27px; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: .17em; margin-bottom: 12px; }
  .hero-copy h1 { font-size: clamp(43px, 12vw, 62px); line-height: .92; }
  .hero-copy__lede { margin-top: 16px; font-size: 13px; line-height: 1.65; }
  .hero-search { display: flex; flex-direction: column; padding: 6px; min-height: 0; gap: 0; margin-top: 22px; }
  .hero-search__field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 10px 11px; min-height: 53px; }
  .hero-search__field--query { border-bottom: 0; }
  .hero-search__submit { min-height: 44px; margin: 5px 0 0; }
  .hero-chips { margin-top: 12px; font-size: 9px; }
  .hero-chips > span { width: 100%; }
  .hero-trust { gap: 11px; font-size: 9px; margin-top: 16px; }
  .hero-arch { width: 92%; }
  .hero-stamp { width: 65px; height: 65px; top: 38px; right: 6px; }
  .hero-stamp b { font-size: 22px; }
  .hero-stamp span { font-size: 5px; }
  .verse-card { left: -4%; width: 108%; min-height: 65px; padding: 10px 12px; gap: 8px; }
  .verse-card__mark { width: 24px; height: 24px; }
  .verse-card__arabic { font-size: 20px; }
  .verse-card__meta { display: none; }
  .home-numbers { padding: 17px 0 20px; gap: 12px 16px; }
  .home-numbers > div { gap: 4px; }
  .home-numbers b { font-size: 21px; }
  .home-numbers span { font-size: 8px; }
  .home-numbers > i { display: none; }
  .home-numbers a { width: 100%; font-size: 10px; }
  .section { padding: 43px 0; }
  .section-head h2 { font-size: 30px; }
  .section-head__desc { font-size: 12px; }
  .section-head > .text-link { font-size: 11px; }
  .course-grid--3, .course-grid--2, .post-grid--3 { grid-template-columns: 1fr; gap: 13px; }
  .course-card h3 { font-size: 20px; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .city-card { min-height: 67px; padding: 10px 11px; gap: 8px; }
  .city-card__mark { width: 28px; height: 28px; }
  .city-card b { font-size: 11px; }
  .city-card small { font-size: 8px; }
  .how-copy h2 { font-size: 34px; }
  .how-steps li { padding: 17px 0; grid-template-columns: 35px minmax(0,1fr); }
  .how-steps h3 { font-size: 15px; }
  .how-steps p { font-size: 11.5px; }
  .cta-band__inner { padding: 32px 0; gap: 14px; }
  .cta-band__mark { width: 35px; height: 35px; }
  .cta-band h2 { font-size: 30px; }
  .cta-band p:not(.eyebrow) { font-size: 11px; }
  .cta-band .btn { margin-left: 0; width: 100%; }
  .seo-copy h2 { font-size: 33px; }
  .seo-copy p:not(.eyebrow) { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 20px; padding: 38px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 400px; }
  .footer-note { grid-column: 1 / -1; display: block; }
  .footer-note h2 { font-size: 25px; margin: 0 0 7px; }
  .footer-note .btn { margin-top: 13px; width: 100%; }
  .footer-bottom { flex-direction: column; gap: 5px; font-size: 8px; }
  .page-shell { padding-top: 12px; padding-bottom: 20px; }
  .breadcrumbs { font-size: 9px; min-height: 25px; }
  .page-intro { padding: 18px 0 23px; }
  .page-intro h1 { font-size: 40px; }
  .page-intro--directory h1 { font-size: 40px; }
  .page-intro__description { margin-top: 11px; font-size: 12px; line-height: 1.65; }
  .page-intro__row { gap: 16px; align-items: flex-start; }
  .page-intro__actions { width: 100%; }
  .page-intro__actions .btn { width: 100%; }
  .directory-search { min-height: 49px; padding-left: 11px; }
  .directory-search input { font-size: 12px; min-width: 0; }
  .directory-search .btn { min-height: 36px; font-size: 10px; padding: 0 12px; }
  .district-strip { margin-bottom: 17px; gap: 5px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .district-strip::-webkit-scrollbar { display: none; }
  .district-strip a { flex: none; }
  .results-head { font-size: 10px; flex-wrap: wrap; gap: 8px; }
  .sort-inline { width: 100%; justify-content: flex-end; }
  .sort-inline select { min-width: 122px; }
  .directory-seo { margin-top: 45px; padding-top: 26px; gap: 17px; }
  .directory-seo h2 { font-size: 29px; }
  .directory-seo__copy p { font-size: 12px; }
  .city-directory { grid-template-columns: 1fr; gap: 8px; }
  .city-directory__item { padding: 13px; }
  .editorial-head { padding: 24px 0 29px; margin-bottom: 28px; }
  .editorial-head h1 { font-size: 45px; }
  .editorial-head > p:last-child { margin-top: 16px; font-size: 13px; }
  .prose { font-size: 14.5px; line-height: 1.75; }
  .prose h2 { font-size: 29px; margin-top: 32px; }
  .prose h3 { font-size: 18px; }
  .prose blockquote { font-size: 21px; padding-left: 15px; }
  .inline-cta { flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 35px; padding: 18px; }
  .inline-cta .btn { width: 100%; }
  .process-step { grid-template-columns: 38px minmax(0,1fr); gap: 10px; padding: 20px 0; }
  .process-step h2 { font-size: 25px; }
  .process-step p { font-size: 12.5px; }
  .message-card { margin: 25px 0; padding: 26px 18px; }
  .message-card h1 { font-size: 33px; }
  .detail-head { gap: 19px; padding-top: 8px; padding-bottom: 27px; }
  .detail-gallery__main { aspect-ratio: 1.45 / 1; }
  .detail-gallery__thumbs { gap: 5px; }
  .detail-summary h1 { font-size: 43px; }
  .detail-lede { font-size: 12.5px; }
  .detail-actions { gap: 6px; margin-top: 16px; }
  .detail-actions .btn { flex: 1 1 120px; min-height: 40px; font-size: 11px; padding: 0 12px; }
  .detail-actions .btn--website { flex-basis: 100%; order: -1; }
  .detail-actions .icon-button { width: 40px; height: 40px; }
  .detail-nav { gap: 20px; min-height: 38px; font-size: 10px; }
  .content-block { padding: 22px 0; }
  .content-block h2 { font-size: 27px; }
  .content-block p { font-size: 12.5px; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact--wide { grid-column: span 2; }
  .address-box { flex-wrap: wrap; padding: 13px; }
  .address-box .text-link { width: 100%; margin-left: 42px; }
  .detail-sidebar { grid-template-columns: 1fr; }
  .claim-band { padding: 15px; gap: 10px; }
  .claim-band h2 { font-size: 20px; }
  .claim-band .btn { margin-left: 0; width: 100%; }
  .related-courses { margin-top: 30px; padding-top: 22px; }
  .related-courses .section-head h2 { font-size: 25px; }
  .mobile-contact-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 15px max(10px, env(safe-area-inset-bottom)); background: rgba(255,252,246,.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(29, 44, 34, .07); backdrop-filter: blur(12px); }
  .mobile-contact-bar > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .mobile-contact-bar span { font-size: 8px; color: var(--muted-light); }
  .mobile-contact-bar b { font-size: 12px; color: var(--forest-900); font-weight: 600; }
  .mobile-contact-bar .btn { min-height: 36px; font-size: 10px; }
  body.page-course-detail { padding-bottom: 65px; }
  .blog-masthead { padding: 23px 0 28px; }
  .blog-masthead h1 { font-size: 46px; }
  .blog-masthead > p:not(.eyebrow) { font-size: 12px; }
  .blog-categories { gap: 5px; margin-top: 17px; }
  .blog-categories span { font-size: 8.5px; padding: 4px 8px; }
  .featured-post { margin-bottom: 21px; }
  .featured-post__image { min-height: 200px; aspect-ratio: 1.5 / 1; }
  .featured-post__body { padding: 20px; }
  .featured-post__body h2 { font-size: 31px; }
  .featured-post__body > p { font-size: 11.5px; }
  .featured-post__foot { margin-top: 17px; font-size: 9px; }
  .article-head { padding: 14px 0 21px; }
  .article-head h1 { font-size: 43px; }
  .article-head__excerpt { font-size: 13px; margin-top: 14px; }
  .article-head__meta { margin-top: 16px; font-size: 9px; }
  .article-cover { margin-bottom: 20px; aspect-ratio: 1.4 / 1; }
  .article-layout { gap: 0; }
  .article-aside { margin-top: 23px; background: #f8f2e8; }
  .article-aside h2 { font-size: 22px; }
  .related-posts { margin-top: 38px; padding-top: 24px; }
  .related-posts .section-head h2 { font-size: 26px; }
  .post-card__body { padding: 16px; }
  .post-card h3 { font-size: 21px; }
  .auth-page__panel { padding: 19px 18px 28px; min-height: 0; }
  .auth-panel-top { font-size: 8.5px; gap: 10px; flex-wrap: wrap; }
  .auth-card { margin-top: 26px; }
  .auth-card h1 { font-size: 43px; }
  .auth-lede { font-size: 11px; margin-bottom: 18px; }
  .google-button { min-height: 45px; font-size: 11px; }
  .auth-card .field { margin-bottom: 14px; }
  .auth-card input { min-height: 44px; }
  .auth-trust { gap: 11px; font-size: 8px; }
  .auth-support { margin-top: 25px; font-size: 8px; text-align: center; }
  .contact-page { padding-top: 16px; }
  .contact-layout { padding-top: 15px; }
  .contact-layout h1 { font-size: 44px; }
  .contact-lede { margin-top: 14px; font-size: 12.5px; }
  .contact-meta { margin-top: 22px; }
  .contact-note { margin-top: 18px; }
  .form-card { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row--small { grid-template-columns: 1fr 1fr; }
  .field { margin-bottom: 14px; }
  .field > label { font-size: 10px; }
  input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], select, textarea { min-height: 44px; font-size: 13px; }
  .dashboard-main { padding-left: 13px; padding-right: 13px; }
  .dashboard-sidebar { padding: 10px 13px; }
  .dashboard-topline { min-height: 40px; font-size: 8.5px; }
  .dashboard-topline .breadcrumbs { font-size: 8.5px; }
  .topline-link { font-size: 8.5px; }
  .dashboard-heading { padding: 18px 0 13px; gap: 10px; }
  .dashboard-heading h1 { font-size: 35px; }
  .dashboard-heading__actions { width: 100%; }
  .dashboard-heading__actions .btn { width: 100%; }
  .stats-grid { gap: 6px; }
  .stat-card { min-height: 87px; padding: 11px; }
  .stat-card strong { font-size: 29px; margin-top: 7px; }
  .stat-card > span { font-size: 6.8px; letter-spacing: .04em; }
  .stat-note { position: static; margin-top: 7px; width: max-content; font-size: 6.8px; padding: 2px 5px; }
  .stat-card strong small { font-size: 7.5px; }
  .dashboard-card__head { min-height: 44px; padding: 10px 12px; }
  .dashboard-card__head h2 { font-size: 10.5px; }
  .owner-course-row { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .owner-course-row__image { width: 44px; height: 40px; }
  .owner-course-row__main { flex: 1 1 calc(100% - 60px); }
  .owner-course-row__main h3 { font-size: 10.5px; }
  .owner-course-row .btn { margin-left: auto; }
  .owner-course-row__actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .owner-course-row__actions form .btn { margin-left: 0; }
  .owner-course-row .status { order: 2; }
  .dashboard-note { font-size: 8px; }
  .dashboard-aside { grid-template-columns: 1fr; }
  .aside-tip h2 { font-size: 26px; }
  .form-section { padding: 16px 14px; }
  .form-section__head { margin-bottom: 14px; }
  .form-section__head h2 { font-size: 12px; }
  .form-section .field-row--small { grid-template-columns: 1fr 1fr; }
  .form-aside__card { display: block; }
  .form-aside__card h2 { margin-top: 4px; }
  .form-aside__card > p:not(.eyebrow) { display: block; margin-top: 6px; }
  .form-actions--vertical { display: flex; flex-direction: column; margin-top: 12px; }
  .form-aside__note { margin-top: 11px !important; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .form-layout textarea.textarea--code { min-height: 260px; font-size: 10px; }
  .admin-table { font-size: 9px; }
  .admin-table th, .admin-table td { padding: 8px 9px; }
  .review-card { padding: 14px; }
  .review-card__head { display: block; }
  .review-card__head > .status { margin-top: 7px; }
  .review-card__actions .reject-form { flex-wrap: wrap; justify-content: flex-start; }
  .reject-form input { max-width: none; flex: 1; }
  .review-card__actions > form .btn { font-size: 9px; }
  .ingest-hero { padding: 19px 17px; }
  .ingest-hero h2 { font-size: 29px; }
  .ingest-hero > p:not(.eyebrow) { font-size: 9px; }
  .api-copy { padding: 12px 13px 0; font-size: 9px; }
  .code-block { margin: 10px 13px 13px; font-size: 7.5px; padding: 11px; }
  .account-info { grid-template-columns: 1fr; }
  .account-info > div { padding: 12px 14px; }
  .profile-actions .btn { width: 100%; }
  .not-found-page { min-height: 0; padding-top: 45px; padding-bottom: 50px; }
  .site-footer { margin-top: 48px; }
}

@media (max-width: 380px) {
  .hero-copy h1 { font-size: 39px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 78px; }
  .stat-note { position: absolute; right: 10px; bottom: 10px; margin: 0; }
  .city-grid { grid-template-columns: 1fr; }
  .field-row--small { grid-template-columns: 1fr; }
  .detail-actions .btn { flex-basis: 100%; }
}

/* Auth pages: full-height split, no footer, compact signup. */
body.page-auth .site-footer { display: none; }
.page-auth { --auth-header: 112px; }
@media (min-width: 821px) {
  .auth-page {
    min-height: calc(100vh - var(--auth-header));
    min-height: calc(100svh - var(--auth-header));
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  }
  .auth-page__visual {
    min-height: calc(100vh - var(--auth-header));
    min-height: calc(100svh - var(--auth-header));
    height: auto;
    align-self: stretch;
  }
  .auth-page__visual > img { object-position: center 38%; filter: saturate(.88) brightness(.82); }
  .auth-page__visual::after {
    background: linear-gradient(180deg, rgba(5,24,18,.32) 0%, rgba(5,24,18,.22) 34%, rgba(5,24,18,.88) 100%);
  }
  .auth-page__visual-copy { left: 46px; right: 46px; bottom: 30px; }
  .auth-quote { font-size: 33px; line-height: 1.45; }
  .auth-translation { margin-top: 12px; font-size: 23px; }
  .auth-source { margin-top: 8px; }
  .auth-benefits { margin-top: 18px; gap: 6px; }
  .auth-benefits li { font-size: 9.5px; }
  .auth-page__panel {
    min-height: calc(100vh - var(--auth-header));
    min-height: calc(100svh - var(--auth-header));
    padding: 17px clamp(28px, 5vw, 74px) 15px;
  }
  .auth-panel-top { font-size: 9.5px; }
  .auth-card { padding: 4px 0 0; }
  .auth-card h1 { font-size: clamp(38px, 3.6vw, 50px); margin-top: 7px; }
  .auth-lede { margin-top: 7px; margin-bottom: 12px; font-size: 11.5px; line-height: 1.5; }
  .auth-card .field { margin-bottom: 9px; }
  .auth-card .field > label { margin-bottom: 5px; font-size: 9px; }
  .auth-card input { min-height: 40px; }
  .google-button { min-height: 41px; font-size: 11px; }
  .auth-google-note { margin-top: 5px; font-size: 9px; }
  .auth-divider { margin: 10px 0; }
  .terms-line { margin: 2px 0 10px; font-size: 9.5px; line-height: 1.45; }
  .forgot-line { margin: -4px 0 9px; }
  .auth-submit { min-height: 42px; margin-top: 2px; }
  .auth-switch { margin-top: 10px; font-size: 9.5px; }
  .auth-trust { margin-top: 10px; padding-top: 8px; gap: 12px; font-size: 8px; }
  .auth-support { font-size: 8px; }
}
@media (min-width: 821px) and (max-height: 840px) {
  .auth-benefits,
  .auth-google-note,
  .auth-trust,
  .auth-switch,
  .auth-support { display: none; }
  .auth-page__visual-copy { bottom: 24px; }
  .auth-quote { font-size: 29px; }
  .auth-translation { font-size: 20px; }
  .auth-card h1 { font-size: 38px; }
  .auth-lede { margin-bottom: 9px; }
}
@media (max-width: 820px) {
  body.page-auth .auth-page__panel { min-height: 0; padding: 16px 24px 18px; }
  .page-auth .auth-trust,
  .page-auth .auth-switch,
  .page-auth .auth-support,
  .page-auth .auth-google-note { display: none; }
  .auth-card { margin-top: 14px; }
  .auth-card h1 { font-size: 39px; }
  .auth-lede { margin-bottom: 12px; font-size: 11px; }
  .auth-card .field { margin-bottom: 10px; }
  .auth-card input { min-height: 42px; }
  .auth-divider { margin: 9px 0; }
  .terms-line { margin-bottom: 10px; }
  .auth-submit { min-height: 42px; }
}

/* Readability pass: raise the smallest UI text and darken secondary copy. */
.desktop-nav a { font-size: 13.5px; }
.header-login { font-size: 13px; }
.breadcrumbs { font-size: 11.5px; }
.eyebrow { font-size: 10.5px; }
.page-intro__description { font-size: 15px; line-height: 1.75; }
.section-head__desc { font-size: 14px; line-height: 1.7; }
.directory-search input { font-size: 14.5px; }
.toolbar-link { font-size: 12px; }
.results-count { font-size: 12px; }
.district-strip a { font-size: 11.5px; }
.filter-group legend { font-size: 10.5px; }
.radio-line { font-size: 13.5px; }
.sort-inline .mh-select__trigger { font-size: 11px; }
.course-card__location { font-size: 11.5px; }
.course-card__meta { font-size: 11.5px; }
.course-card h3 { font-size: 20px; }
.course-card__foot { font-size: 11px; }
.post-card__excerpt { font-size: 13px; }
.footer-brand > p { font-size: 13px; }
.footer-grid ul a { font-size: 13px; }
.footer-note > p { font-size: 12px; }
.footer-bottom { font-size: 9.5px; }
.detail-location { font-size: 13.5px; }
.detail-lede { font-size: 15.5px; line-height: 1.75; color: #536158; }
.feature-pills li { min-height: 30px; font-size: 11.5px; }
.content-block h2 { font-size: 31px; }
.content-block p { font-size: 15.5px; line-height: 1.8; color: #4f5d54; }
.program-list li { min-height: 42px; font-size: 13.5px; }
.fact span { font-size: 9.5px; }
.fact strong { font-size: 13px; }
.address-box strong { font-size: 14px; }
.address-box span { font-size: 12.5px; }
.contact-card > p { font-size: 12px; line-height: 1.65; }
.contact-card__phone { font-size: 20px; }
.contact-card__rows > div { font-size: 12px; }
.contact-card__rows b { font-size: 11.5px; }
.contact-card__note { font-size: 9.5px !important; }
.sidebar-quiet p { font-size: 10.5px; }
.course-form .field > label { font-size: 11.5px; }
.course-form input,
.course-form select,
.course-form textarea { font-size: 15px; }
.course-form .field-hint { font-size: 11.5px; }
@media (max-width: 620px) {
  .content-block p { font-size: 15px; }
  .detail-lede { font-size: 14.5px; }
  .contact-card__rows > div { font-size: 11.5px; }
  .course-card__meta { font-size: 11px; }
}

