@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --ink: #182840;
  --paper: #fffaf0;
  --ivory: #f3ecdf;
  --red: #902f2d;
  --gold: #d2a62a;
  --green: #315d4e;
  --text: #25272a;
  --muted: #69645d;
  --line: rgba(24, 40, 64, 0.17);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--text); font-family: var(--sans); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--paper); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.top-rail { height: 9px; background: linear-gradient(90deg, var(--red) 0 33%, var(--gold) 33% 66%, var(--green) 66%); }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .nav { width: min(1480px, calc(100% - 2.5rem)); min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; aspect-ratio: 1; rotate: 45deg; border: 2px solid var(--gold); display: grid; place-items: center; }
.brand-mark::after { content: ''; width: 14px; aspect-ratio: 1; background: var(--red); }
.brand span:last-child { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.nav-links { display: flex; gap: clamp(.65rem, 1vw, 1.2rem); align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--red); }
.nav-links a[href='/directory/'] { background: var(--gold); color: var(--ink); padding: .5rem .7rem; }
.nav-links a[href='/directory/']:hover, .nav-links a[href='/directory/'][aria-current='page'] { background: var(--ink); color: var(--gold); }
.nav-links a[href='/community/'] { background: var(--red); color: #fff; padding: .5rem .7rem; }
.nav-links a[href='/community/']:hover, .nav-links a[href='/community/'][aria-current='page'] { background: var(--ink); color: var(--gold); }
.menu-button { display: none; border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: .55rem .75rem; font: inherit; }

@media (max-width: 1320px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; inset: 78px 0 auto; background: var(--paper); padding: 1.5rem; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
}

.share-hero { background: var(--ink); color: var(--paper); padding: 5rem 0 4rem; }
.share-hero h1 { color: var(--paper); font-size: clamp(3rem, 6vw, 5.5rem); margin: 1rem 0; }
.share-hero p { color: #d7dbe1; max-width: 700px; font-size: 1.08rem; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.qr-card { background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 1.5rem; }
.qr-card img { width: 150px; height: 150px; background: #fff; }
.qr-card h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.qr-card p { color: var(--muted); margin: 0 0 .75rem; }
.qr-card a { color: var(--red); font-weight: 600; }

.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; }
.hero-copy { padding: 5rem 5rem 5rem 0; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 600; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.08; margin: 0; }
.hero h1 { color: var(--paper); font-size: clamp(3.2rem, 6.5vw, 6.2rem); letter-spacing: -.045em; margin: 1.35rem 0 1.5rem; }
.hero h1 em { color: var(--gold); font-weight: 600; }
.hero-copy > p { max-width: 590px; color: #d7dbe1; font-size: 1.08rem; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.15rem; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: 5px 5px 0 var(--red); transition: .2s ease; }
.button:hover { translate: 2px 2px; box-shadow: 3px 3px 0 var(--red); }
.button.secondary { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.4); box-shadow: none; }

.hero-art, .page-art, .card-art { position: relative; overflow: hidden; isolation: isolate; }
.hero-art { min-height: 610px; background: radial-gradient(circle at 65% 24%, #efc451 0 8%, transparent 8.3%), linear-gradient(160deg, #a04437, #5d2e39 48%, #182840 49%); }
.hero-art::before { content: ''; position: absolute; inset: 12% -8% -10% 14%; border-radius: 50% 50% 0 0; background: repeating-linear-gradient(135deg, transparent 0 26px, rgba(255,255,255,.08) 27px 29px); border: 1px solid rgba(255,255,255,.18); }
.hero-art::after { content: 'ਸਤਲੁਜ'; position: absolute; right: 7%; bottom: 3%; color: rgba(255,255,255,.08); font-family: var(--serif); font-size: 8rem; }
.monument { position: absolute; left: 16%; bottom: 0; width: 68%; height: 54%; background: #121d31; clip-path: polygon(0 100%,0 72%,8% 72%,8% 42%,17% 42%,17% 19%,22% 19%,22% 52%,34% 52%,34% 29%,42% 29%,42% 0,48% 0,48% 29%,57% 29%,57% 58%,69% 58%,69% 35%,77% 35%,77% 67%,88% 67%,88% 48%,95% 48%,95% 76%,100% 76%,100% 100%); }

.weather-strip { background: var(--gold); color: var(--ink); border-bottom: 1px solid rgba(24,40,64,.22); padding: 1.25rem 0; }
.weather-card { display: grid; grid-template-columns: minmax(230px, .7fr) 1.3fr; align-items: center; gap: 2.5rem; }
.weather-heading .eyebrow { color: var(--red); }
.weather-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .3rem; }
.weather-heading h2 { margin-top: .3rem; font-size: 1.55rem; }
.weather-title-row h2 { margin: 0; }
.weather-directory-link { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid rgba(24,40,64,.45); border-radius: 999px; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .42rem .72rem; text-decoration: none; white-space: nowrap; }
.weather-directory-link:hover, .weather-directory-link:focus-visible { background: var(--ink); color: var(--paper); }
.weather-heading p { margin: .25rem 0 0; color: #403b31; font-size: .82rem; }
.weather-readings { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .35rem 2rem; }
.weather-primary { display: flex; align-items: center; gap: .7rem; white-space: nowrap; }
.weather-icon { font-size: 2.15rem; line-height: 1; }
.weather-primary strong { color: var(--ink); font: 600 2.15rem var(--serif); }
.weather-primary > span:last-child { font-weight: 600; }
.weather-details { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.weather-details div { min-width: 78px; }
.weather-details dt { color: #5e522f; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.weather-details dd { margin: 0; font-weight: 600; }
.weather-updated { grid-column: 1 / -1; margin: 0; color: #5e522f; font-size: .72rem; }
.weather-updated a { text-underline-offset: 3px; }
.weather-strip.weather-error .weather-readings { opacity: .65; }

.news-section { background: #101b2c; color: #d7dbe1; }
.news-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: end; margin-bottom: 2.5rem; }
.news-intro h2 { color: var(--paper); font-size: clamp(2.6rem, 4.5vw, 4.8rem); letter-spacing: -.04em; }
.news-intro .lead { color: #c9cdd4; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.news-panel { background: #17263b; border: 1px solid rgba(255,255,255,.16); padding: 1.5rem; }
.news-panel-local { border-color: rgba(210,166,42,.65); box-shadow: inset 0 4px 0 var(--gold); }
.news-panel header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 1rem; }
.news-panel header span { color: var(--gold); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.news-panel h3 { color: var(--paper); font-size: 2rem; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid rgba(255,255,255,.11); padding: 1rem 0; }
.news-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.news-list a { color: var(--paper); display: block; font: 600 1.05rem/1.35 var(--serif); text-decoration: none; }
.news-list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.news-meta { color: #aeb5c0; display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin-top: .4rem; font-size: .72rem; }
.news-source { color: var(--gold); font-weight: 600; }
.news-loading, .news-empty { color: #aeb5c0; font-style: italic; }
.news-footer { border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; padding-top: 1rem; color: #aeb5c0; font-size: .76rem; }
.news-footer p { margin: 0; }
.news-footer a { color: var(--paper); text-underline-offset: 3px; }
.multilingual-news-inline { border-top: 1px solid rgba(255,255,255,.18); margin: 0 0 2.5rem; padding-top: 2rem; }
.multilingual-news-inline-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.25rem; }
.multilingual-news-inline-heading h3 { color: var(--paper); font-size: clamp(2rem, 3vw, 3rem); }
.multilingual-news-inline .text-link { color: var(--gold); }
.multilingual-news-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.multilingual-news-preview-status { color: #aeb5c0; font-size: .76rem; margin: 1rem 0 0; }
.english-news-divider { align-items: center; color: var(--gold); display: flex; font-size: .7rem; font-weight: 700; gap: 1rem; letter-spacing: .14em; margin: 2.5rem 0 1.25rem; text-transform: uppercase; }
.english-news-divider::after { background: rgba(255,255,255,.18); content: ''; flex: 1; height: 1px; }

.local-news-hero { background: var(--ink); color: var(--paper); padding: 5rem 0; }
.local-news-hero h1 { color: var(--paper); font-size: clamp(3.4rem, 7vw, 7rem); }
.local-news-hero p { color: #c9cdd4; font-size: 1.1rem; max-width: 760px; }
.local-news-section { background: #101b2c; color: #d7dbe1; }
.local-news-heading { align-items: end; display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.local-news-heading h2 { color: var(--paper); }
.local-news-tabs { display: flex; gap: .6rem; }
.local-news-tabs button { background: transparent; border: 1px solid var(--gold); color: var(--paper); cursor: pointer; font: 700 1rem var(--sans); padding: .7rem 1rem; }
.local-news-tabs button[aria-selected='true'] { background: var(--gold); color: var(--ink); }
.local-news-panel { background: #17263b; border: 1px solid rgba(255,255,255,.16); padding: 1.5rem; }
.local-news-panel h3 { color: var(--paper); font-size: 2rem; margin-bottom: .75rem; }
.local-news-list { list-style: none; margin: 0; padding: 0; }
.local-news-list li { border-bottom: 1px solid rgba(255,255,255,.11); padding: 1rem 0; }
.local-news-list li:last-child { border-bottom: 0; }
.local-news-list a { color: var(--paper); display: block; font: 600 1.05rem/1.4 var(--serif); text-decoration: none; }
.local-news-list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.local-news-status { color: #aeb5c0; margin-bottom: 1.25rem; }
.local-news-note { border-top: 1px solid rgba(255,255,255,.18); color: #aeb5c0; margin-top: 2rem; padding-top: 1.25rem; }
.local-news-note strong { color: var(--paper); }

.section { padding: 5.5rem 0; }
.section.paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: end; margin-bottom: 2.5rem; }
.section h2 { font-size: clamp(2.35rem, 4vw, 4.15rem); letter-spacing: -.035em; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0; }
.rule-title { border-left: 3px solid var(--red); padding-left: 1.25rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--paper); border: 1px solid var(--line); }
.card-art { height: 240px; background: linear-gradient(145deg, #91433d, #182840); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-art img { transform: scale(1.035); }
.card-art.wetland { background: linear-gradient(165deg, #dda93a 0 35%, #4d7968 36% 64%, #1e4651 65%); }
.card-art.saragarhi { background: linear-gradient(145deg, #d7b65f, #8b342d 60%, #182840); }
.card-art:not(:has(img))::after { content: ''; position: absolute; inset: 22% 16% 0; border: 2px solid rgba(255,255,255,.55); border-bottom: 0; clip-path: polygon(50% 0,100% 38%,88% 38%,88% 100%,12% 100%,12% 38%,0 38%); background: rgba(24,40,64,.35); }
.card-body { padding: 1.5rem; }
.card h3 { font-size: 1.55rem; margin-bottom: .65rem; }
.card p { color: var(--muted); }
.text-link { color: var(--red); font-weight: 600; text-underline-offset: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--ink); color: var(--paper); padding: 2rem; }
.fact strong { display: block; color: var(--gold); font: 600 2.1rem var(--serif); }

.page-hero { background: var(--ink); color: var(--paper); }
.page-hero-grid { min-height: 420px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.page-hero-copy { padding: 5rem 5rem 5rem 0; align-self: center; }
.page-hero h1 { color: var(--paper); font-size: clamp(3rem, 5vw, 5rem); margin: 1rem 0; }
.page-hero p { color: #d7dbe1; max-width: 600px; }
.page-art { background: repeating-linear-gradient(45deg, var(--red) 0 24px, #7d3437 24px 48px); }
.page-art.photo { min-height: 420px; background: #6e5d4e; }
.page-art.photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.28) contrast(1.06); }
.page-art.photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(24,40,64,.12), transparent 55%), linear-gradient(0deg, rgba(24,40,64,.62), transparent 45%); }
.photo-caption { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1rem; color: white; font-size: .78rem; }
.page-art::after { content: ''; position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.55); rotate: 45deg; background: rgba(210,166,42,.22); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.prose h2 { font-size: 2.5rem; margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.timeline { border-left: 2px solid var(--gold); padding-left: 2rem; }
.timeline article { position: relative; margin-bottom: 2.5rem; }
.timeline article::before { content: ''; position: absolute; left: calc(-2rem - 7px); top: .45rem; width: 12px; aspect-ratio: 1; background: var(--red); rotate: 45deg; }
.timeline time { color: var(--red); font-weight: 600; }
.place-list { display: grid; gap: 1.2rem; }
.place-row { display: grid; grid-template-columns: minmax(260px, .72fr) 1.28fr; min-height: 270px; background: var(--paper); border: 1px solid var(--line); }
.place-image { position: relative; min-height: 270px; overflow: hidden; background: var(--ink); }
.place-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.place-row:hover .place-image img { transform: scale(1.025); }
.place-number { position: absolute; z-index: 2; left: 1rem; top: 1rem; width: 52px; aspect-ratio: 1; background: var(--ink); color: var(--gold); display: grid; place-items: center; font: 600 1.35rem var(--serif); box-shadow: 3px 3px 0 var(--red); }
.place-copy { padding: 1.5rem; }
.place-copy h2 { font-size: 1.65rem; margin-bottom: .4rem; }
.notice { background: #e7ddc8; border-left: 4px solid var(--gold); padding: 1.2rem 1.4rem; }
.itinerary { counter-reset: stop; display: grid; gap: 1rem; }
.stop { counter-increment: stop; background: var(--paper); border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.5rem 5rem; position: relative; }
.stop::before { content: counter(stop, decimal-leading-zero); position: absolute; left: 1.4rem; top: 1.3rem; color: var(--red); font: 600 1.6rem var(--serif); }
.stop.with-photo { display: grid; grid-template-columns: 150px 1fr; padding: 0; overflow: hidden; }
.stop.with-photo::before { z-index: 2; left: .8rem; top: .8rem; width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold); background: var(--ink); box-shadow: 3px 3px 0 var(--red); }
.stop-photo { min-height: 150px; overflow: hidden; }
.stop-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.stop:hover .stop-photo img { transform: scale(1.035); }
.stop-copy { padding: 1.35rem; align-self: center; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery figure { margin: 0; min-height: 260px; padding: 1.5rem; display: flex; align-items: flex-end; color: white; background: linear-gradient(145deg, var(--red), var(--ink)); position: relative; overflow: hidden; }
.gallery figure::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(10,18,30,.82)); }
.gallery figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figure:nth-child(1), .gallery figure:nth-child(4) { grid-column: span 7; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(5), .gallery figure:nth-child(6) { grid-column: span 6; }
.gallery figcaption { position: relative; z-index: 2; font: 600 1.3rem var(--serif); }

.site-footer { background: #101b2c; color: #d7dbe1; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; }
.site-footer h2, .site-footer h3 { color: var(--paper); }
.site-footer h2 { font-size: 2rem; }
.site-footer a { color: #d7dbe1; }
.footer-links { display: grid; gap: .55rem; }
.legal-disclaimer { border-left: 3px solid var(--gold); color: #d7dbe1; font-size: .82rem; line-height: 1.6; margin: 2.25rem 0 0; max-width: 920px; padding: .15rem 0 .15rem 1rem; }
.legal-disclaimer strong { color: var(--paper); }
.legal-only-footer { padding-top: 2rem; }
.legal-only-footer .legal-disclaimer { margin-top: 0; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #aeb5c0; }

@media (max-width: 860px) {
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; inset: 78px 0 auto; background: var(--paper); padding: 1.5rem; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero-grid, .page-hero-grid, .section-head, .two-col, .news-intro { grid-template-columns: 1fr; }
  .weather-card { grid-template-columns: 1fr; gap: 1rem; }
  .hero-copy, .page-hero-copy { padding: 4rem 0; }
  .hero-art { min-height: 380px; }
  .page-art { min-height: 250px; }
  .stop.with-photo { grid-template-columns: 1fr; }
  .stop-photo { height: 200px; }
  .cards, .facts { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .multilingual-news-preview-grid { grid-template-columns: 1fr; }
  .multilingual-news-inline-heading, .local-news-heading { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  .site-header .nav { width: min(100% - 1.5rem, var(--max)); }
  .qr-card { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3.3rem; }
  .weather-readings { grid-template-columns: 1fr; gap: .8rem; }
  .weather-updated { grid-column: auto; }
  .news-panel { padding: 1.2rem; }
  .news-panel header { align-items: start; flex-direction: column; gap: .25rem; }
  .news-footer { flex-direction: column; gap: .5rem; }
  .section { padding: 4rem 0; }
  .place-row { grid-template-columns: 1fr; }
  .place-image { min-height: 230px; }
  .credits { columns: 1; }
  .gallery figure { grid-column: 1 / -1 !important; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.credits { columns: 2; column-gap: 3rem; margin: 0; padding-left: 1.2rem; }
.credits li { break-inside: avoid; margin-bottom: .75rem; color: var(--muted); }
.credits a { color: var(--red); }

/* Shared typography rhythm: pages keep their own layouts, but speak in one visual voice. */
:root {
  --type-display: clamp(3rem, 5.8vw, 5.6rem);
  --type-section: clamp(2.35rem, 4vw, 4.15rem);
  --type-subhead: clamp(1.55rem, 2.2vw, 2.15rem);
  --type-copy: 1.05rem;
}

body { font-size: 1rem; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2 { letter-spacing: -.035em; }
h3, h4 { letter-spacing: -.02em; }
.eyebrow { font-size: .72rem; letter-spacing: .16em; }
.lead { font-size: var(--type-copy); line-height: 1.65; }
.section h2, .directory-heading h2 { font-size: var(--type-section); }
.page-hero h1, .directory-hero h1, .local-news-hero h1 { font-size: var(--type-display); }
.prose h2 { font-size: var(--type-subhead); }
.card h3, .place-copy h2, .local-news-panel h3 { font-size: 1.65rem; }
.button, .directory-filter-form input, .directory-filter-form select,
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { font-size: .95rem; }
.contact-form label > span, .community-filter > span { font-size: .72rem; letter-spacing: .08em; }

@media (max-width: 560px) {
  .hero h1 { letter-spacing: -.04em; }
  .section h2, .directory-heading h2 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .page-hero h1, .directory-hero h1, .local-news-hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .lead { font-size: 1rem; }
}

.directory-hero { background: var(--ink); color: var(--paper); padding: 3rem 0 5.5rem; }
.directory-hero-visual { border-top: 4px solid var(--gold); margin: 0 0 3.5rem; overflow: hidden; }
.directory-hero-visual img { display: block; height: clamp(260px, 42vw, 520px); object-fit: cover; width: 100%; }
.directory-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: end; }
.directory-hero h1 { color: var(--paper); font-size: clamp(3.2rem, 6vw, 6.3rem); letter-spacing: -.045em; margin: 1rem 0 1.35rem; }
.directory-hero p { color: #d7dbe1; max-width: 680px; font-size: 1.1rem; }
.directory-index { border-top: 1px solid rgba(255,255,255,.25); }
.directory-index a { display: flex; gap: 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.15); color: var(--paper); text-decoration: none; font-weight: 600; }
.directory-index a:hover { color: var(--gold); }
.directory-index span { color: var(--gold); font: 600 .85rem var(--sans); }
.directory-note { background: var(--gold); color: var(--ink); padding: 1rem 0; font-size: .9rem; }
.directory-note span { white-space: nowrap; }
.directory-section { scroll-margin-top: 88px; }
.directory-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 2.2rem; }
.directory-heading > div { display: flex; align-items: baseline; gap: 1rem; }
.directory-heading h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); }
.directory-heading > p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-number { color: var(--red); font: 600 1rem var(--sans); }
.directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.directory-card { background: var(--paper); border: 1px solid var(--line); padding: 1.5rem; display: flex; flex-direction: column; min-height: 265px; }
.paper .directory-card { background: #fffdf8; }
.directory-card.featured { border-top: 4px solid var(--red); padding-top: calc(1.5rem - 3px); }
.card-kicker { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600; margin-bottom: .65rem; }
.directory-card h4, .people-grid h4 { color: var(--ink); font: 600 1.35rem/1.2 var(--serif); margin: 0 0 .65rem; }
.directory-card p { color: var(--muted); margin: 0 0 1rem; }
.contact-row { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: auto; padding-top: .5rem; }
.contact-row a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.source-link { color: var(--red); font-size: .84rem; font-weight: 600; margin-top: .8rem; text-underline-offset: 3px; }
.community-notices { background: #f5efe3; }
.community-free-label { color: var(--red); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: .06em; margin: 1.5rem 0; text-align: center; }
.community-notices-header { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.community-notices-header h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); margin: .35rem 0 .6rem; }
.community-filter { align-items: center; display: flex; gap: .7rem; margin-bottom: .35rem; }
.community-filter > span { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.community-filter select { appearance: none; background: var(--paper) no-repeat right .9rem center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; font: 700 .9rem var(--sans); min-width: 220px; padding: .7rem 2.3rem .7rem 1rem; }
.community-notice-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.community-notice-card { align-content: start; background: #fffdf8; border: 1px solid var(--line); border-top: 4px solid var(--gold); column-gap: .9rem; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding: 1.35rem; }
.community-notice-icon { font-size: 1.65rem; grid-row: 1 / span 5; margin: 0; }
.community-notice-card .card-kicker { margin: .1rem 0 .45rem; }
.community-notice-card h4 { color: var(--ink); font: 600 1.55rem/1.2 var(--serif); margin: 0 0 .55rem; }
.community-notice-card p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0 0 1rem; }
.community-notice-phone { color: var(--red); font-size: .86rem; font-weight: 700; grid-column: 2; margin-bottom: .7rem; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.community-notice-expiry { border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; grid-column: 2; padding-top: .7rem; }
.community-boundary { background: #fff4df; border-left: 4px solid var(--gold); margin-top: 1.5rem; padding: 1rem 1.1rem; }
.community-boundary strong { color: var(--red); display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.community-boundary p { color: var(--ink); font-size: .9rem; margin: .35rem 0 0; }
.advertisement-disclaimer-section { background: #e7ddc8; padding-bottom: 2.5rem; padding-top: 2.5rem; }
.advertisement-disclaimer { border-left: 4px solid var(--red); max-width: 920px; padding: .25rem 0 .25rem 1.15rem; }
.advertisement-disclaimer strong { color: var(--red); display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.advertisement-disclaimer p { margin: .45rem 0 0; }
.community-correction-strip { background: #fffdf8; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 1.35rem 0; }
.community-correction-callout { align-items: center; display: flex; gap: 1.5rem; justify-content: space-between; }
.community-correction-callout strong { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }
.community-correction-callout p { color: var(--muted); margin: .25rem 0 0; }
.community-correction-callout .button { flex: 0 0 auto; }
#submit-notice { scroll-margin-top: 88px; }

.home-community-free { align-items: baseline; color: var(--gold) !important; display: flex; flex-wrap: wrap; gap: .35rem .8rem; letter-spacing: .04em; margin: 1.35rem 0 0; }
.home-community-free span { font: 600 clamp(1.8rem, 3.4vw, 3rem)/1 var(--serif); }
.home-community-free small { color: #fffdf8; font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.home-help-finder { background: #e7ddc8; border-bottom: 1px solid var(--line); padding-bottom: 4.5rem; padding-top: 4.5rem; scroll-margin-top: 88px; }
.help-finder-heading { align-items: end; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); }
.help-finder-heading .eyebrow { color: var(--red); }
.help-finder-heading h2 { font-size: clamp(2.7rem, 5vw, 5rem); margin: .6rem 0 0; }
.help-finder-heading > p { color: var(--muted); margin: 0; }
.help-finder-form { align-items: end; background: #fffdf8; border: 1px solid var(--line); display: grid; gap: .8rem; grid-template-columns: 1.4fr 1fr 1fr auto; margin-top: 2rem; padding: 1.25rem; }
.help-finder-form label { display: grid; gap: .35rem; }
.help-finder-form label > span { color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.help-finder-form input, .help-finder-form select { appearance: none; background: var(--paper); border: 1px solid rgba(24,40,64,.38); border-radius: 0; color: var(--ink); font: inherit; min-height: 50px; padding: .75rem .85rem; width: 100%; }
.help-finder-form input:focus, .help-finder-form select:focus { outline: 3px solid rgba(144,47,45,.24); outline-offset: 1px; }
.help-finder-form button { background: var(--red); border: 1px solid var(--red); color: #fff; cursor: pointer; font: 800 .86rem var(--sans); min-height: 50px; padding: .75rem 1.25rem; }
.help-finder-form button:hover, .help-finder-form button:focus-visible { background: var(--ink); border-color: var(--ink); }
.help-finder-form button:disabled { cursor: wait; opacity: .6; }
.help-finder-quick { align-items: center; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.help-finder-quick > span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; margin-right: .25rem; text-transform: uppercase; }
.help-finder-quick button { background: transparent; border: 1px solid rgba(24,40,64,.35); border-radius: 999px; color: var(--ink); cursor: pointer; font: 700 .78rem var(--sans); padding: .48rem .78rem; }
.help-finder-quick button:hover, .help-finder-quick button:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.help-finder-status { color: var(--ink); font-weight: 700; margin: 1.5rem 0 1rem; }
.help-finder-results { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--line); border: 1px solid var(--line); }
.help-result-card { background: #fffdf8; display: flex; flex-direction: column; min-height: 245px; padding: 1.3rem; }
.help-result-kicker { color: var(--red); font-size: .66rem; font-weight: 800; letter-spacing: .09em; margin-bottom: .65rem; text-transform: uppercase; }
.help-result-card h3 { font-size: 1.45rem; margin-bottom: .65rem; }
.help-result-card p { color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 0 0 1rem; overflow: hidden; }
.help-result-actions { align-items: flex-start; display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-top: auto; }
.help-result-actions a { color: var(--red); font-size: .76rem; font-weight: 800; text-underline-offset: 3px; }
.help-result-actions .help-call-link { background: var(--gold); color: var(--ink); padding: .42rem .58rem; text-decoration: none; }
.help-finder-empty { background: #fffdf8; border-left: 4px solid var(--gold); color: var(--muted); grid-column: 1 / -1; margin: 0; padding: 1rem 1.2rem; }
.help-finder-empty a { color: var(--red); font-weight: 700; }
.help-finder-footer { align-items: baseline; display: flex; gap: 1rem 2rem; justify-content: space-between; margin-top: 1rem; }
.help-finder-footer p { color: var(--muted); font-size: .76rem; margin: 0; max-width: 560px; text-align: right; }
.home-directory { background: var(--ink); color: var(--paper); padding-bottom: 4.25rem; padding-top: 4.25rem; }
.home-directory-grid { align-items: start; display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.home-directory-intro .eyebrow { color: var(--gold); }
.home-directory-intro h2 { color: #fffdf8; font-size: clamp(2.8rem, 5vw, 5rem); margin: .6rem 0 1rem; }
.home-directory-intro p { color: #cbd2dc; margin: 0 0 1.75rem; max-width: 610px; }
.home-directory-button { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.home-directory-button:hover, .home-directory-button:focus-visible { background: #fffdf8; border-color: #fffdf8; color: var(--ink); }
.home-directory-list > p { color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .14em; margin: 0 0 .75rem; text-transform: uppercase; }
.home-directory-links { border-left: 1px solid rgba(255,255,255,.24); border-top: 1px solid rgba(255,255,255,.24); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-directory-links a { align-items: center; border-bottom: 1px solid rgba(255,255,255,.24); border-right: 1px solid rgba(255,255,255,.24); color: #fffdf8; display: grid; gap: .65rem; grid-template-columns: auto 1fr; min-height: 64px; padding: .8rem .7rem; text-decoration: none; }
.home-directory-links a:hover, .home-directory-links a:focus-visible { background: var(--gold); color: var(--ink); }
.home-directory-links span { color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.home-directory-links a:hover span, .home-directory-links a:focus-visible span { color: var(--red); }
.home-directory-links strong { font: 600 .92rem/1.2 var(--serif); }
.home-community-board { background: #f5efe3; border-bottom: 1px solid var(--line); padding-bottom: 4.5rem; padding-top: 4.5rem; }
.home-community-heading { align-items: end; display: grid; gap: 4rem; grid-template-columns: .85fr 1.15fr; }
.home-community-heading h2 { font-size: clamp(2.8rem, 5vw, 5rem); margin: .6rem 0 .8rem; }
.home-community-heading p { color: var(--muted); margin: 0; max-width: 650px; }
.home-community-actions { background: var(--line); border: 1px solid var(--line); display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-community-actions a { background: #fffdf8; display: flex; flex-direction: column; min-height: 145px; padding: 1.25rem; text-decoration: none; }
.home-community-actions a:hover, .home-community-actions a:focus-visible { background: var(--ink); color: var(--paper); }
.home-community-actions strong { font: 600 1.22rem/1.25 var(--serif); }
.home-community-actions span { color: var(--muted); font-size: .8rem; margin-top: .45rem; }
.home-community-actions a:hover span, .home-community-actions a:focus-visible span { color: #d7dbe1; }
.home-community-latest { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.home-community-latest-heading { align-items: baseline; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.25rem; }
.home-community-latest-heading h3 { font-size: 1.8rem; }
.home-community-feed .community-notice-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.home-community-empty { background: #fffdf8; border-left: 4px solid var(--gold); color: var(--muted); grid-column: 1 / -1; margin: 0; padding: 1rem 1.2rem; }

/* Jobs */
.jobs-hero { background: var(--ink); color: var(--paper); padding: 5rem 0; }
.jobs-hero-grid { align-items: end; display: grid; gap: 4rem; grid-template-columns: 1.2fr .8fr; }
.jobs-hero h1 { color: var(--paper); font-size: clamp(4rem, 8vw, 8rem); letter-spacing: -.05em; }
.jobs-hero p { color: #d7dbe1; font-size: 1.15rem; max-width: 680px; }
.jobs-hero .secondary { border-color: #fffdf8; color: #fffdf8; }
.jobs-trust { border-left: 4px solid var(--gold); padding: .5rem 0 .5rem 1.5rem; }
.jobs-trust strong { color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.jobs-trust p { font-size: .95rem; margin-bottom: 0; }
.jobs-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-card { background: #fffdf8; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 285px; padding: 1.6rem; }
.official-job-card { border-top: 6px solid var(--gold); }
.local-job-card { border-top: 6px solid var(--red); }
.seeker-card { border-top: 6px solid var(--green); }
.job-card h3 { font-size: 1.55rem; margin: .65rem 0; }
.job-card p { color: var(--muted); }
.job-card .text-link, .job-card .job-phone { margin-top: auto; }
.job-meta { font-size: .9rem; }
.job-deadline { border-top: 1px solid var(--line); font-size: .85rem; margin-top: auto; padding-top: 1rem; }
.job-phone { color: var(--red); display: block; font-weight: 800; padding-top: .75rem; }
.job-email { color: var(--green); display: block; font-weight: 700; overflow-wrap: anywhere; padding-top: .4rem; }
.job-expiry { border-top: 1px solid var(--line); color: var(--muted); display: block; font-size: .8rem; margin-top: auto; padding-top: 1rem; }
.jobs-empty { background: #fffdf8; border-left: 5px solid var(--gold); color: var(--muted); grid-column: 1 / -1; margin: 0; padding: 1.25rem; }
.trusted-job-sources { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 2rem; }
.trusted-job-sources h3 { margin-bottom: 1rem; }
.trusted-job-sources > div { display: grid; grid-template-columns: minmax(0, 760px); }
.trusted-job-sources a { background: #f4d875; border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--gold); color: var(--ink); display: flex; flex-direction: column; min-height: 135px; padding: 1.35rem; text-decoration: none; transition: .2s ease; }
.trusted-job-sources a:hover, .trusted-job-sources a:focus-visible { background: var(--ink); border-color: var(--gold); box-shadow: 7px 7px 0 var(--red); color: var(--paper); translate: 2px 2px; }
.trusted-job-sources a:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.trusted-job-sources span { align-self: flex-start; background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 700; margin-top: .75rem; padding: .45rem .7rem; }
.trusted-job-sources a:hover span, .trusted-job-sources a:focus-visible span { background: var(--gold); color: var(--ink); }
.jobs-post-section { background: #f5efe3; }
.jobs-section-cta .button { margin-top: 1.25rem; }
.job-action-pair { align-items: flex-start; display: flex; flex-wrap: wrap; gap: .9rem; }
.job-seeker-button { background: var(--green); border-color: var(--green); box-shadow: 5px 5px 0 var(--gold); color: #fff; }
.job-seeker-button:hover, .job-seeker-button:focus-visible { background: #24483d; box-shadow: 3px 3px 0 var(--gold); }
.job-seeker-listings { background: #e6eee9; }
.job-seeker-post-section { background: #edf3ef; }
.job-posting-guidance { border-left: 3px solid var(--gold); margin-top: 1.5rem; padding-left: 1rem; }
.job-posting-guidance p { color: var(--muted); }
.directory-subhead { font-size: 1.7rem; margin: 3.25rem 0 1.25rem; }
.directory-subhead:first-of-type { margin-top: 0; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.people-grid article { background: var(--paper); padding: 1.4rem; }
.people-grid p { color: var(--muted); margin: 0 0 .65rem; }
.people-grid a { color: var(--red); font-size: .82rem; font-weight: 600; }
.people-grid.academic { grid-template-columns: repeat(3, 1fr); }
.directory-callout { margin: 1.4rem 0 0; background: #e7ddc8; border-left: 4px solid var(--gold); padding: 1rem 1.2rem; color: var(--muted); }
.directory-callout a { color: var(--red); font-weight: 600; }
.profile-link { color: var(--ink); font-size: .84rem; font-weight: 700; margin-top: auto; padding-top: .8rem; text-underline-offset: 3px; }

.today-strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.today-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; align-items: start; }
.today-grid h2 { font-size: clamp(2.35rem, 4vw, 4rem); margin: .65rem 0 .75rem; }
.today-grid p { color: var(--muted); margin: 0; }
.today-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.today-links a { background: #fffdf8; display: flex; flex-direction: column; min-height: 125px; padding: 1.2rem; text-decoration: none; }
.today-links a:hover, .today-links a:focus-visible { background: var(--ink); color: var(--paper); }
.today-links strong { font-family: var(--serif); font-size: 1.1rem; }
.today-links span { color: var(--muted); font-size: .78rem; margin-top: .35rem; }
.today-links a:hover span, .today-links a:focus-visible span { color: #d7dbe1; }

.directory-tools { background: #e7ddc8; border-bottom: 1px solid var(--line); padding: 3.5rem 0; scroll-margin-top: 88px; }
.directory-tools-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.directory-tools-heading h2 { font-size: clamp(2.1rem, 3.7vw, 3.75rem); margin-top: .65rem; }
.directory-tools-heading p { color: var(--muted); margin: 0; }
.directory-filter-form { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .8rem; align-items: end; margin-top: 2rem; }
.directory-filter-form label { display: grid; gap: .35rem; }
.directory-filter-form label > span { color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.directory-filter-form input, .directory-filter-form select { appearance: none; background: var(--paper); border: 1px solid rgba(24,40,64,.35); border-radius: 0; color: var(--ink); font: inherit; min-height: 48px; padding: .7rem .8rem; width: 100%; }
.directory-filter-form input:focus, .directory-filter-form select:focus { outline: 3px solid rgba(144,47,45,.24); outline-offset: 1px; }
.filter-reset { background: var(--ink); border: 1px solid var(--ink); color: var(--paper); cursor: pointer; font: 600 .84rem var(--sans); min-height: 48px; padding: .7rem 1rem; }
.filter-reset:hover, .filter-reset:focus-visible { background: var(--red); }
.directory-results { color: var(--ink); font-weight: 700; margin: 1rem 0 0; }
.directory-correction-link { font-size: .82rem; margin: .35rem 0 0; }
.directory-correction-link a { color: var(--red); font-weight: 600; }
[hidden] { display: none !important; }

.detail-hero { background: var(--ink); color: var(--paper); padding: 5rem 0; }
.detail-hero .eyebrow { margin-bottom: 1rem; }
.detail-hero h1 { color: var(--paper); font-size: clamp(3rem, 5.5vw, 5.5rem); letter-spacing: -.04em; max-width: 900px; }
.detail-hero p { color: #d7dbe1; font-size: 1.05rem; max-width: 720px; }
.breadcrumb { color: #bdc3cc; font-size: .8rem; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--paper); }
.detail-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; }
.detail-card { background: var(--paper); border: 1px solid var(--line); padding: 1.6rem; }
.detail-card h2, .detail-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.detail-list { display: grid; gap: .75rem; margin: 0; }
.detail-list div { border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
.detail-list dt { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-list dd { margin: .2rem 0 0; }
.verification-badge { background: #e4eee9; border-left: 4px solid var(--green); color: var(--ink); margin: 1.5rem 0; padding: 1rem 1.2rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.detail-actions a { border: 1px solid var(--ink); color: var(--ink); font-weight: 700; padding: .65rem .85rem; text-decoration: none; }
.detail-actions a:hover { background: var(--ink); color: var(--paper); }

.standards-nav { display: grid; gap: .6rem; position: sticky; top: 110px; }
.standards-layout { grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr); }
.standards-nav a { border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; padding: .7rem 0; text-decoration: none; }
.standards-section { border-bottom: 1px solid var(--line); padding-bottom: 3rem; scroll-margin-top: 100px; }
.standards-section + .standards-section { padding-top: 3rem; }
.standards-section h2 { font-size: 2.6rem; margin-bottom: 1rem; }
.contact-options { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
.contact-card { background: #e7ddc8; border-top: 4px solid var(--gold); padding: 1.35rem; }
.contact-card h3 { font-size: 1.45rem; margin-bottom: .65rem; }
.contact-card p { margin-bottom: 1rem; }
.contact-address { color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.contact-notice { background: rgba(231,221,200,.65); border-left: 4px solid var(--red); margin: 1rem 0 0; padding: 1rem 1.1rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-intro h2 { font-size: clamp(2.4rem, 4vw, 4rem); margin: .75rem 0 1.25rem; }
.contact-intro > p { color: var(--muted); }
.contact-safety { background: #e7ddc8; border-left: 4px solid var(--red); margin: 1.5rem 0; padding: 1.1rem 1.2rem; }
.contact-alternative { font-size: .9rem; }
.contact-form { background: #fffdf8; border: 1px solid var(--line); display: grid; gap: 1.1rem; padding: clamp(1.4rem, 4vw, 2.5rem); }
.contact-form label { display: grid; gap: .4rem; }
.contact-form label > span { color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.contact-form label small { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { appearance: none; background: var(--paper); border: 1px solid rgba(24,40,64,.38); border-radius: 0; color: var(--ink); font: inherit; padding: .78rem .85rem; width: 100%; }
.contact-form input:not([type="checkbox"]), .contact-form select { min-height: 49px; }
.contact-form textarea { line-height: 1.5; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(144,47,45,.24); outline-offset: 1px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.character-count { color: var(--muted); justify-self: end; }
.form-trap { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.contact-form .consent-field { align-items: start; display: grid; gap: .65rem; grid-template-columns: auto 1fr; }
.consent-field input { height: 1.1rem; margin: .15rem 0 0; width: 1.1rem; }
.consent-field span { font-size: .86rem !important; font-weight: 500 !important; letter-spacing: 0 !important; }
.form-submit { background: var(--red); border: 1px solid var(--red); color: #fff; cursor: pointer; font: 700 .9rem var(--sans); min-height: 50px; padding: .8rem 1.15rem; }
.form-submit:hover, .form-submit:focus-visible { background: var(--ink); border-color: var(--ink); }
.form-submit:disabled { cursor: wait; opacity: .6; }
.form-status { color: var(--muted); font-size: .86rem; margin: 0; min-height: 1.4em; }
.form-status.is-success { color: #20633f; font-weight: 700; }
.form-status.is-error { color: var(--red); font-weight: 700; }
.turnstile-field { min-height: 65px; }

@media (max-width: 960px) {
  .directory-hero-grid, .directory-heading { grid-template-columns: 1fr; gap: 2rem; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid, .people-grid.academic { grid-template-columns: repeat(2, 1fr); }
  .today-grid, .directory-tools-heading, .detail-layout, .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .directory-filter-form { grid-template-columns: 1fr 1fr; }
  .standards-nav { position: static; }
  .community-notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-community-heading { gap: 2rem; grid-template-columns: 1fr; }
  .jobs-hero-grid { gap: 2rem; grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-directory-grid { gap: 2.5rem; grid-template-columns: 1fr; }
  .home-directory-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-community-actions { grid-template-columns: 1fr; }
  .home-community-actions a { min-height: 0; }
  .help-finder-heading { align-items: start; grid-template-columns: 1fr; }
  .help-finder-form { grid-template-columns: 1fr 1fr; }
  .help-finder-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .directory-hero { padding: 1.5rem 0 4rem; }
  .directory-hero-visual { margin-bottom: 2.5rem; }
  .directory-hero-visual img { height: 250px; }
  .directory-hero h1 { font-size: 3.35rem; }
  .directory-grid, .people-grid, .people-grid.academic { grid-template-columns: 1fr; }
  .directory-card { min-height: 0; }
  .today-links, .directory-filter-form { grid-template-columns: 1fr; }
  .contact-options { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .community-notices-header { grid-template-columns: 1fr; }
  .community-filter { align-items: stretch; flex-direction: column; }
  .community-filter select { min-width: 0; width: 100%; }
  .community-notice-grid { grid-template-columns: 1fr; }
  .community-correction-callout { align-items: stretch; flex-direction: column; }
  .community-correction-callout .button { text-align: center; }
  .home-community-latest-heading { align-items: flex-start; flex-direction: column; }
  .jobs-grid, .trusted-job-sources > div { grid-template-columns: 1fr; }
  .job-card { min-height: 0; }
  .home-directory-links { grid-template-columns: 1fr; }
  .home-help-finder { padding-bottom: 3.5rem; padding-top: 3.5rem; }
  .help-finder-form, .help-finder-results { grid-template-columns: 1fr; }
  .help-finder-footer { align-items: flex-start; flex-direction: column; }
  .help-finder-footer p { text-align: left; }
}
