/* Task 5: extend the existing forest, ivory and gold design system.
   Page templates stay static; shared styles remain ready for template parts. */
.refined-site {
  font-size: 18px;
  line-height: 1.7;
}
.refined-site .container { width: min(1200px, calc(100% - 64px)); }
.refined-site h1 { font-size: clamp(3rem, 5vw, 4.8rem); line-height: 1.06; }
.refined-site h2 { font-size: clamp(2.35rem, 3.5vw, 3.25rem); line-height: 1.12; }
.refined-site h3 { font-size: 1.8rem; }
.refined-site h1 em { font-weight: 400; }
.refined-site p { text-wrap: pretty; }
.refined-site .eyebrow { font-size: .72rem; letter-spacing: .14em; }
.refined-site .text-link { font-size: .9rem; gap: 24px; }
.refined-site .button { font-size: .9rem; min-height: 52px; }
.refined-site :where(a, button, summary, input):focus-visible { outline: 3px solid #a57d35; outline-offset: 5px; }
.section-pad { padding-block: 76px; }
.ivory-band { background: var(--ivory); }
.lead-text { font: 1.35rem/1.6 var(--serif); }
.fine-rule { height: 1px; margin-block: 24px; background: var(--line); }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 30px; }
.refined-heading { align-items: end; margin-bottom: 30px; gap: 36px; }
.refined-heading > p { max-width: 470px; color: #555e55; font-size: 1rem; }
.refined-heading h2 { margin-top: 12px; }
.editorial-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.editorial-split.align-start { align-items: start; }
.editorial-split h2 { margin: 14px 0 22px; }
.editorial-split p:not(.eyebrow) { color: #4c584f; }
.editorial-split .text-link { margin-top: 18px; }
.editorial-split .text-link + .text-link { display: flex; width: fit-content; margin-top: 8px; }
.refined-site figcaption { font: .8rem/1.6 var(--sans); color: var(--muted); padding-top: 12px; }
.refined-site main [id] { scroll-margin-top: 116px; }

/* Shared masthead: fewer links, readable labels and one mobile breakpoint. */
.refined-site .utility-bar { font-size: .65rem; letter-spacing: .09em; }
.refined-site .utility-bar .container { padding-block: 8px; }
.refined-site .header-inner { min-height: 96px; gap: 28px; flex-wrap: nowrap; }
.refined-site .wordmark { gap: 14px; }
.refined-site .brand-crest { width: 56px; height: 56px; flex-basis: 56px; }
.refined-site .wordmark-name { font-size: 1.48rem; line-height: 1.04; letter-spacing: -.035em; }
.refined-site .wordmark-name small { display: block; margin-bottom: 5px; color: #735a2a; font: 600 .55rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.refined-site .primary-nav { gap: 23px; width: auto; padding: 0; font-size: .86rem; flex-wrap: nowrap; }
.refined-site .primary-nav > a { white-space: nowrap; padding-block: 15px; }
.refined-site .primary-nav > a:last-child { background: var(--green); color: var(--paper); padding: 12px 20px; }
.refined-site .primary-nav > a:last-child::after { display: none; }
.refined-site .primary-nav > a[aria-current="page"] { color: #795c29; }
.refined-site .primary-nav > a:last-child[aria-current="page"] { background: var(--green-black); color: white; }
.refined-site .site-header { transition: box-shadow .2s; }
.refined-site .site-header.is-scrolled { box-shadow: 0 5px 24px #0d241e18; }
.refined-site .menu-toggle { min-height: 46px; font-size: .86rem; padding-inline: 15px; }
@media (min-width: 1101px) {
  .has-js .refined-site .menu-toggle { display: none; }
}
@media (max-width: 1100px) {
  .refined-site .header-inner { flex-wrap: wrap; min-height: 90px; }
  .refined-site .primary-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; padding-block: 8px 18px; }
  .has-js .refined-site .header-inner { flex-wrap: nowrap; }
  .has-js .refined-site .menu-toggle { display: inline-flex; }
  .has-js .refined-site .primary-nav {
    position: absolute; inset: 100% 0 auto; display: flex; flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 0; width: 100%;
    max-height: calc(100dvh - 90px); overflow-y: auto; padding: 12px 32px 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 25px #0d241e12;
    visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-7px);
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .has-js .refined-site .primary-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .has-js .refined-site .primary-nav > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .has-js .refined-site .primary-nav > a::after { display: none; }
  .has-js .refined-site .primary-nav > a:last-child { margin-top: 12px; padding: 13px 18px; border: 0; }
}

.office-note { padding: 35px 38px; border-top: 2px solid var(--gold); background: var(--ivory); }
.office-note h3 { margin-top: 20px; font-size: 2.35rem; }
.office-note p:not(.eyebrow) { font-size: 1rem; }
.vision-preview { background: #eee9dc; }
.landscape-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-preview { background: var(--ivory); }
.home-photo-grid { display: grid; grid-template-columns: 1fr .8fr 1.2fr; gap: 24px; align-items: start; }
.home-photo-grid a { min-width: 0; display: block; }
.home-photo-grid img { width: 100%; height: auto; transition: filter .25s; }
.home-photo-grid a:hover img { filter: brightness(.91); }
.home-photo-grid span { display: block; margin-top: 10px; font-size: .8rem; color: #586157; }
.home-craft { align-self: center; }
.home-craft img { aspect-ratio: 4 / 3; object-fit: cover; }

/* About, leadership and community have individual compositions. */
.profile-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 76px; align-items: center; padding-block: 55px 70px; }
.profile-copy h1 { margin: 15px 0 24px; }
.profile-copy > p:not(.eyebrow):not(.lead-text) { margin-top: 20px; color: #505b52; }
.profile-copy .text-link { margin-top: 22px; }
.profile-photo { width: 100%; max-width: 480px; justify-self: end; }
.profile-photo img { width: 100%; height: auto; }
.reading-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.reading-columns section { padding-top: 23px; border-top: 1px solid #c8c2b4; }
.section-index { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: #795c29; }
.reading-columns h3 { margin: 18px 0 14px; }
.reading-columns p { color: #505b52; }
.editorial-disclosure { margin-top: 30px; border-block: 1px solid var(--line); font-size: .93rem; }
.editorial-disclosure summary { padding-block: 17px; cursor: pointer; font-weight: 600; color: var(--green); }
.editorial-disclosure > p { max-width: 800px; padding-bottom: 20px; color: #505b52; }
.next-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 55px; align-items: center; }
.next-page h2 { margin-top: 14px; }
.next-page .text-link { display: flex; margin-block: 10px; width: fit-content; }
.leadership-masthead { padding-block: 60px; background: var(--green); color: var(--ivory); }
.leadership-masthead h1 { margin-top: 18px; font-size: clamp(3rem, 4.5vw, 4.5rem); }
.leadership-masthead .lead-text { margin-top: 24px; color: #d9dfd0 !important; font-size: 1.3rem; }
.leadership-craft img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.refined-site .leadership-craft figcaption { color: #d1d7c6; }
.office-topics details { border-top: 1px solid var(--line); }
.office-topics details:last-child { border-bottom: 1px solid var(--line); }
.office-topics summary { display: flex; align-items: center; gap: 18px; padding-block: 24px; list-style: none; cursor: pointer; }
.office-topics summary::-webkit-details-marker { display: none; }
.office-topics summary > span { color: #8d6c31; font-size: .8rem; }
.office-topics h3 { font-size: 1.65rem; }
.office-topics summary b { margin-left: auto; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.office-topics details[open] summary b { transform: rotate(45deg); }
.office-topics details > p { padding: 0 0 24px 38px; font-size: 1rem; margin: 0; }
.heritage-photo { max-width: 390px; }
.heritage-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page-intro { padding-block: 56px 42px; }
.page-intro h1 { margin: 16px 0 22px; max-width: 950px; }
.page-contact .contact-title-line { white-space: nowrap; }
.page-intro .lead-text { max-width: 800px; color: #505b52; }
.vision-section { padding-block: 64px; color: var(--ivory); background: radial-gradient(ellipse at right bottom, #3f583d, transparent 65%), var(--green-deep); }
.vision-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 72px; align-items: center; }
.vision-grid h2 { margin: 16px 0 22px; font-size: clamp(2.4rem, 3.6vw, 3.45rem); }
.vision-intro { color: #d0dac7; }
.vision-statement { border-left: 2px solid var(--gold-light); padding-left: 22px; margin-top: 28px; }
.vision-statement p { font: 1.45rem/1.5 var(--serif); }
.vision-statement span { display: block; margin-top: 13px; color: #d0dac7; font-size: .96rem; }
.vision-themes { display: flex; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid #ffffff30; margin-top: 28px; padding-top: 19px; color: #e2d5b5; font-size: .78rem; }
.vision-portrait { max-width: 340px; justify-self: end; }
.vision-portrait img { width: 100%; height: auto; }
.refined-site .vision-portrait figcaption { color: #d0dac7; }
.project-register { padding: 32px; border-left: 2px solid var(--gold); background: var(--ivory); }
.project-register h3 { margin: 18px 0; }
.project-register .text-link { font-size: .85rem; }
.community-reference img { width: 100%; aspect-ratio: 1.08; max-height: 480px; object-fit: cover; object-position: center 35%; }

/* One editorial Blog archive, one post with two relevant categories. */
.blog-archive { padding-bottom: 76px; }
.archive-toolbar { display: grid; gap: 17px; margin-bottom: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-filters[hidden] { display: none; }
.blog-filters button { min-height: 44px; padding: 8px 14px; color: var(--green); background: transparent; border: 1px solid #c8c7bc; font-size: .84rem; }
.blog-filters button[aria-pressed="true"] { color: white; background: var(--green); border-color: var(--green); }
.blog-filters button span { padding-left: 8px; opacity: .72; }
.blog-grid { display: grid; gap: 30px; }
.blog-feature { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 56px; align-items: center; padding: 32px; border-top: 2px solid var(--gold); background: var(--ivory); }
.blog-feature[hidden] { display: none; }
.blog-photo { display: block; width: 100%; max-width: 320px; justify-self: center; }
.blog-photo img { width: 100%; height: auto; }
.post-categories { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #795c29; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; }
.blog-feature-copy h2 { margin: 19px 0 24px; font-size: clamp(2rem, 3.15vw, 2.8rem); }
.blog-feature-copy > p:not(.post-status) { color: #505b52; font: 1.2rem/1.6 var(--serif); }
.post-status { color: #62695e; font-size: .83rem; margin-top: 20px; }
.blog-feature-copy .text-link { margin-top: 23px; }
.archive-results { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--line); color: #62695e; font-size: .85rem; }
.article-intro { max-width: 1000px; padding-block: 26px 42px; }
.refined-site .article-intro .back-link { margin-bottom: 20px; font-size: .87rem; }
.article-intro h1 { margin: 17px 0 23px; font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
.refined-site .article-deck { max-width: 850px; margin-top: 0; font: 1.45rem/1.6 var(--serif); color: #505b52; }
.remembrance-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "text photo"; gap: 64px; align-items: start; padding-bottom: 76px; }
.remembrance-photo { grid-area: photo; position: sticky; top: 120px; }
.remembrance-photo img { width: 100%; height: auto; }
.remembrance-copy { grid-area: text; min-width: 0; }
.reading-note { margin-bottom: 27px; padding: 14px 18px; border-left: 2px solid var(--gold); background: var(--ivory); font-size: .88rem; color: #586156; }
.statement-text { font: 1.3rem/1.85 var(--serif); color: #313c32; }
.statement-text p + p { margin-top: 25px; }
.refined-site .share-row { margin-top: 30px; gap: 12px; }
.refined-site .share-button { font-size: .85rem; padding: 9px 15px; }
.refined-site .share-status { flex-basis: 100%; font-size: .82rem; }
.refined-site .share-url { min-height: 44px; font-size: .87rem; }
.ceremony-context { margin-top: 32px; }
.ceremony-context h2 { margin: 13px 0 19px; font-size: 2rem; }
.ceremony-context > p:not(.eyebrow) { font-size: 1rem; color: #505b52; }
.ceremony-context .text-link { margin-top: 15px; }

/* Curated photographic grids: no inherited implicit columns or empty tiles. */
.collection-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; border-block: 1px solid var(--line); padding-block: 10px; }
.collection-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.royal-collection { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.royal-collection > div > .eyebrow { margin-bottom: 18px; }
.collection-portrait { max-width: 480px; }
.collection-ceremony { max-width: 400px; justify-self: end; }
.collection-ceremony > .text-link { margin-top: 13px; }
.refined-site .collection-item { margin: 0; min-width: 0; }
.refined-site .collection-item .gallery-link { display: block; position: relative; width: 100%; overflow: visible; background: transparent; }
.refined-site .collection-item .gallery-link img { width: 100%; height: auto; margin: 0; transform: none; transition: filter .25s; }
.collection-item .gallery-link:hover img { filter: brightness(.94); }
.gallery-expand { position: absolute; top: 14px; right: 14px; padding: 8px 13px; background: var(--green-deep); color: white; font-size: .73rem; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.gallery-link:hover .gallery-expand, .gallery-link:focus-visible .gallery-expand { opacity: 1; transform: none; }
.item-ceremony .gallery-expand { position: static; display: block; padding: 11px 0 0; color: var(--green); background: transparent; opacity: 1; transform: none; }
.refined-site .collection-item figcaption { padding-top: 13px; }
.collection-item figcaption strong { display: block; color: var(--green); font: 1.3rem/1.35 var(--serif); }
.collection-item figcaption > span { display: block; margin-top: 6px; font-size: .8rem; }
.reference-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 30px; align-items: start; }
.refined-site .reference-photo-grid .item-coast img, .refined-site .reference-photo-grid .item-craft img { aspect-ratio: 3 / 2; object-fit: cover; }
.refined-site .reference-photo-grid .item-gate img, .refined-site .reference-photo-grid .item-market img { aspect-ratio: 4 / 5; object-fit: cover; }
.refined-site .gallery-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 22px 30px; border: 0; background: var(--green-black); color: var(--ivory); overflow: auto; }
.refined-site .gallery-dialog[open] { display: flex; flex-direction: column; gap: 18px; animation: gallery-open .2s ease-out; }
.refined-site .gallery-dialog.is-closing { opacity: 0; transform: translateY(6px); transition: opacity .16s, transform .16s; }
.refined-site .gallery-dialog::backdrop { background: #0d241ef5; }
.refined-site .dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0; flex: 0 0 auto; }
.refined-site .dialog-close { min-height: 44px; padding: 8px 12px; font-size: .9rem; }
.refined-site .dialog-image-wrap { display: flex; justify-content: center; align-items: center; min-height: 0; flex: 1 1 300px; margin: 0; overflow: hidden; }
.refined-site .gallery-dialog .dialog-image { width: 100%; height: 100%; max-height: 100%; object-fit: contain; touch-action: pan-y; }
.refined-site .dialog-bottom { display: flex; flex: 0 0 auto; align-items: end; justify-content: space-between; gap: 24px; padding: 0; }
.refined-site .dialog-bottom h2 { margin: 0 0 5px; font-size: 1.5rem; }
.refined-site .dialog-caption, .refined-site .dialog-credit { max-width: 850px; font-size: .8rem; }
.refined-site .dialog-controls { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.refined-site .dialog-controls button { width: 46px; height: 46px; }
@keyframes gallery-open { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Contact details are confirmed by the Task 5 brief. */
.contact-strip { background: var(--green); color: var(--ivory); }
.contact-strip-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; }
.contact-strip h2 { margin: 16px 0 20px; }
.contact-strip p:not(.eyebrow) { color: #d5dece; font-size: 1rem; }
.contact-strip-actions { display: grid; }
.contact-strip-actions > a:not(.link-light) { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid #ffffff30; font: 1.65rem/1.4 var(--serif); overflow-wrap: anywhere; }
.contact-strip-actions .link-light { margin-top: 18px; font-size: .9rem; color: #e2d2aa; }
.contact-directory { display: grid; grid-template-columns: .95fr 1.25fr; }
.contact-identity { background: var(--green); color: var(--ivory); padding: 38px; }
.contact-identity > img { width: 88px; height: 88px; margin-bottom: 24px; }
.contact-identity h2 { margin-top: 15px; font-size: 2.2rem; }
.contact-identity > p:not(.eyebrow) { margin-top: 18px; font-size: 1rem; color: #d5dece; }
.contact-actions { padding: 12px 38px; background: var(--ivory); min-width: 0; }
.contact-actions > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 25px 0; gap: 10px; border-bottom: 1px solid #d3cebf; }
.contact-actions > a > .eyebrow { grid-column: 1 / -1; }
.contact-actions strong { font: 1.8rem/1.3 var(--serif); color: var(--green); overflow-wrap: anywhere; }
.contact-actions b { font-weight: 400; color: #795c29; }
.contact-location { padding-block: 25px; }
.contact-location > p { margin-top: 10px; font-size: 1rem; }
.contact-directory .contact-location > p { color: #465446; }
.social-directory { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.social-directory h2 { margin: 15px 0 20px; }
.social-directory p:not(.eyebrow) { font-size: 1rem; color: #505b52; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.social-links > a { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 1px solid #ffffff40; transition: background .2s, transform .2s; }
.social-links > a:hover { transform: translateY(-2px); background: #ffffff12; }
.social-links svg { width: 21px; height: 21px; fill: currentColor; flex-shrink: 0; }
.social-directory .social-links { display: grid; grid-template-columns: 1fr 1fr; }
.social-directory .social-links > a { width: auto; justify-content: flex-start; gap: 14px; min-height: 58px; padding: 12px 18px; border-color: var(--line); background: var(--ivory); font-size: .95rem; }
.social-directory .social-links > a:hover { background: #e9e2d1; }

/* One consistent footer and one floating scroll control. */
.refined-site .site-footer { padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 55px; padding-bottom: 28px; }
.footer-identity > img { width: 56px; height: 56px; }
.footer-identity .footer-name { margin: 16px 0; font: 2rem/1.1 var(--serif); color: var(--ivory); }
.footer-identity > p:not(.footer-name) { color: #c2cdb9; font-size: .9rem; }
.footer-menu { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 20px; font-size: .9rem; }
.footer-menu a { display: block; min-height: 32px; width: fit-content; }
.footer-menu a:hover, .footer-correspondence > a:hover { color: var(--gold-light); }
.footer-correspondence > a { display: block; width: fit-content; margin-top: 14px; font-size: 1rem; }
.footer-correspondence .social-links { margin-top: 24px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 23px; border-top: 1px solid rgb(194 205 185 / 22%); color: #bac8b1; font-size: .78rem; }
.footer-powered-by { margin-left: auto; white-space: nowrap; }
.footer-powered-by a { color: var(--gold-light); text-decoration: none; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.footer-powered-by a:hover { color: var(--ivory); text-decoration: underline; }
.footer-powered-by a:focus-visible { color: var(--ivory); outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 2px; }

.photo-credits-content { max-width: 900px; }
.photo-credits-content p:not(.eyebrow) { color: #4c584f; }
.photo-credits-content ul { display: grid; gap: 12px; padding-left: 22px; color: #4c584f; }
.photo-credits-content a { color: #725a2c; text-decoration: underline; text-underline-offset: 3px; }
.photo-credits-content hr { height: 1px; margin-block: 34px; border: 0; background: var(--line); }
.back-to-top {
  position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--green); color: var(--ivory); box-shadow: 0 5px 20px #0d241e30;
  visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.back-to-top.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--green-black); transform: translateY(-3px); }
.back-to-top svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-open .back-to-top { visibility: hidden; pointer-events: none; }
.reveal-pending { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.reveal-pending.is-revealed { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .editorial-split, .profile-hero, .vision-grid { gap: 40px; }
  .blog-feature { gap: 30px; grid-template-columns: .8fr 1.2fr; padding: 25px; }
  .blog-feature-copy h2 { font-size: 2.1rem; }
  .royal-collection { gap: 45px; }
  .remembrance-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 35px; }
  .contact-strip-grid { gap: 40px; }
  .footer-grid { gap: 32px; grid-template-columns: 1fr 1fr; }
  .footer-correspondence { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 15px 25px; padding-top: 22px; border-top: 1px solid #ffffff30; }
  .footer-correspondence > a, .footer-correspondence .social-links { margin: 0; }
  .footer-correspondence > .eyebrow { flex-basis: 100%; }
}
@media (max-width: 700px) {
  .refined-site { font-size: 17px; }
  .refined-site .container { width: calc(100% - 40px); }
  .refined-site .utility-bar { font-size: .58rem; }
  .refined-site .utility-bar .container > span:last-child { display: none; }
  .refined-site .header-inner { min-height: 86px; gap: 12px; }
  .refined-site .brand-crest { width: 46px; height: 46px; flex-basis: 46px; }
  .refined-site .wordmark { gap: 10px; }
  .refined-site .wordmark-name { font-size: 1.27rem; }
  .refined-site .wordmark-name small { font-size: .5rem; }
  .refined-site .menu-toggle { gap: 9px; padding-inline: 10px; font-size: .8rem; }
  .has-js .refined-site .primary-nav { padding-inline: 20px; max-height: calc(100dvh - 86px); }
  .section-pad { padding-block: 52px; }
  .refined-site h2 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .refined-site .eyebrow { font-size: .66rem; }
  .editorial-split, .profile-hero, .vision-grid, .reading-columns, .next-page, .contact-strip-grid, .social-directory { grid-template-columns: 1fr; gap: 32px; }
  .office-note { padding: 28px; }
  .office-note h3 { font-size: 2rem; }
  .refined-heading { display: grid; gap: 15px; }
  .home-photo-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .home-craft { grid-column: 1 / -1; }
  .home-craft img { aspect-ratio: 2; }
  .home-photo-grid span { font-size: .72rem; }
  .profile-hero { padding-block: 42px 52px; }
  .profile-copy h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .profile-photo { max-width: 430px; justify-self: center; }
  .lead-text { font-size: 1.22rem; }
  .reading-columns { margin-top: 25px; }
  .leadership-masthead { padding-block: 42px; }
  .leadership-masthead h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .office-topics h3 { font-size: 1.4rem; }
  .office-topics summary { gap: 14px; }
  .heritage-photo { max-width: 100%; }
  .heritage-photo img { aspect-ratio: 1.15; }
  .page-intro { padding-block: 40px 34px; }
  .page-intro h1 { font-size: clamp(2.7rem, 10.8vw, 4rem); }
  .page-contact .page-intro h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .page-contact .contact-title-line { white-space: normal; }
  .vision-section { padding-block: 45px; }
  .vision-grid h2 { font-size: clamp(2rem, 8.3vw, 2.8rem); }
  .vision-portrait { max-width: 340px; justify-self: center; }
  .project-register { padding: 25px; }
  .blog-archive { padding-bottom: 52px; }
  .blog-feature { grid-template-columns: 1fr; padding: 22px; gap: 25px; }
  .blog-photo { max-width: 300px; }
  .blog-feature-copy h2 { font-size: 2rem; }
  .blog-feature-copy > p:not(.post-status) { font-size: 1.15rem; }
  .blog-filters { gap: 8px; }
  .blog-filters button { font-size: .78rem; padding-inline: 11px; }
  .article-intro { padding-block: 18px 32px; }
  .article-intro h1 { font-size: clamp(2.4rem, 9.3vw, 3.6rem); }
  .refined-site .article-deck { font-size: 1.25rem; }
  .remembrance-layout { grid-template-columns: 1fr; grid-template-areas: "photo" "text"; gap: 30px; padding-bottom: 52px; }
  .remembrance-photo { position: static; width: 100%; max-width: 430px; margin-inline: auto; }
  .statement-text { font-size: 1.2rem; }
  .royal-collection { grid-template-columns: 1fr; gap: 38px; }
  .collection-portrait, .collection-ceremony { max-width: 430px; justify-self: center; width: 100%; }
  .reference-photo-grid { gap: 28px 18px; }
  .collection-item figcaption strong { font-size: 1.15rem; }
  .collection-item figcaption > span { font-size: .74rem; }
  .refined-site .gallery-dialog { padding: 16px; }
  .refined-site .dialog-bottom { display: grid; gap: 13px; }
  .refined-site .dialog-bottom h2 { font-size: 1.25rem; }
  .refined-site .dialog-caption, .refined-site .dialog-credit { font-size: .72rem; }
  .refined-site .dialog-controls { justify-content: space-between; }
  .contact-directory { grid-template-columns: 1fr; }
  .contact-identity { padding: 28px; }
  .contact-identity h2 { font-size: 2rem; }
  .contact-actions { padding: 5px 25px; }
  .contact-actions strong { font-size: 1.65rem; }
  .contact-strip-actions > a:not(.link-light) { font-size: 1.5rem; }
  .social-directory { gap: 25px; }
  .social-directory .social-links > a { padding-inline: 13px; font-size: .9rem; }
  .refined-site .site-footer { padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 24px; }
  .footer-menu { grid-template-columns: 1fr 1fr; gap: 6px 22px; }
  .footer-correspondence { grid-column: auto; display: block; }
  .footer-correspondence > a { margin-top: 14px; }
  .footer-correspondence .social-links { margin-top: 20px; }
  .footer-legal { font-size: .75rem; }
  .footer-powered-by { margin-left: 0; }
  .back-to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 379px) {
  .refined-site .wordmark-name { font-size: 1.12rem; }
  .refined-site .brand-crest { width: 40px; height: 40px; flex-basis: 40px; }
  .refined-site .wordmark { gap: 8px; }
  .refined-site .menu-toggle { padding-inline: 8px; }
  .refined-site .header-inner { gap: 8px; }
  .reference-photo-grid { grid-template-columns: 1fr; }
  .refined-site .text-link { font-size: .83rem; gap: 16px; }
  .contact-actions strong { font-size: 1.4rem; }
  .social-directory .social-links { grid-template-columns: 1fr; }
}
@media (hover: none) { .gallery-expand { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
@media print {
  .back-to-top, .blog-filters, .share-row, .collection-nav { display: none !important; }
  .refined-site .site-header { position: static; }
  .vision-section, .leadership-masthead, .contact-strip { background: white; color: var(--ink); }
  .remembrance-photo { position: static; }
  .reveal-pending { opacity: 1; transform: none; }
}

.community-reference img{width:min(100%,580px);height:auto;aspect-ratio:auto;max-height:none;object-fit:contain;}
.landscape-photo img[src*="community_vision_editorial_artwork"]{aspect-ratio:3/2;object-fit:contain;}
