/* Shared brand and typography */
:root {
  color-scheme: light;
  --purple: #4b2466;
  --deep: #321746;
  --gold: #bd9049;
  --cream: #fcf8f1;
  --lilac: #f7f2f8;
  --ink: #302938;
  --muted: #605568;
  --border: #e8dee9;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.65 "Segoe UI", system-ui, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--deep); line-height: 1.16; }
h2 { font: 400 clamp(2rem, 4vw, 3.15rem)/1.12 var(--serif); }
h3 { font-size: 1.15rem; }
p { color: var(--muted); }
a { color: var(--purple); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
img, video { display: block; max-width: 100%; }
.wrap { width: min(78rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; top: .75rem; left: .75rem; transform: translateY(-200%); z-index: 10; padding: .75rem; background: white; }
.skip:focus { transform: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.75rem;
  padding: .65rem .95rem;
  border: 1px solid var(--purple);
  border-radius: .25rem;
  background: var(--purple);
  color: white;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.button-outline { color: var(--purple); background: transparent; }
.button-gold { color: var(--deep); border-color: #e7bd75; background: #e7bd75; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }

/* Contact strip and navigation */
.contact-strip { background: var(--deep); color: #f8ecfa; font-size: .875rem; }
.strip-inner, .strip-inner > div { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.1rem; }
.strip-inner { min-height: 2.75rem; justify-content: space-between; padding-block: .2rem; }
.strip-inner a { color: white; display: inline-flex; min-height: 2.5rem; align-items: center; }
.header-inner { display: flex; min-height: 5.5rem; align-items: center; gap: 1.2rem; padding-block: .8rem; }
.identity { display: inline-flex; flex-direction: column; gap: .2rem; text-decoration: none; color: var(--deep); line-height: 1.2; }
.identity strong { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .065em; }
.identity small { font-size: .67rem; letter-spacing: .035em; }
.identity img { width: auto; height: auto; max-width: min(13rem, 100%); max-height: 3.75rem; object-fit: contain; }
.desktop-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .95rem; margin-left: auto; }
.desktop-nav a, .mobile-nav nav a { color: var(--deep); font-size: .875rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav nav a:hover { text-decoration: underline; }
.header-support { margin-left: auto; }
.mobile-nav { display: none; }

/* Hero and curved transition */
.hero { background: var(--cream); overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(1.75rem, 5vw, 5rem); padding-block: clamp(2.75rem, 5vw, 5rem) clamp(1.8rem, 4vw, 3rem); }
.hero-copy, .hero-photo { min-width: 0; }
.brand-label { font-size: .95rem; font-weight: 800; color: var(--purple); letter-spacing: .16em; margin-bottom: .8rem; }
h1 { font: 700 clamp(2.75rem, 5.65vw, 5.5rem)/.99 var(--serif); letter-spacing: -.057em; }
h1 span { display: block; font: 400 clamp(1.55rem, 3vw, 2.85rem)/1.18 var(--serif); margin-top: .5rem; letter-spacing: -.027em; }
.message { margin: 1.4rem 0; font-size: 1.14rem; white-space: pre-line; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.photo { overflow: hidden; border-radius: 1rem; background: #eee7de; }
.hero-photo { aspect-ratio: 4/3; border-radius: 45% 45% .9rem .9rem / 15% 15% .9rem .9rem; box-shadow: 0 10px 28px #43265014; }
.photo img, .entry-picture img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { display: grid; place-items: center; width: 100%; height: 100%; padding: 1.5rem; background: linear-gradient(145deg, #f0e7dc, #e8e0e7); color: #57485d; text-align: center; }
.media-placeholder span { padding: .5rem 1rem; border: 1px solid #a990a8; border-radius: .3rem; background: #fcf8f1cf; }
.wave { position: relative; height: clamp(2.4rem, 5vw, 4.5rem); overflow: hidden; background: white; }
.wave::before, .wave::after { content: ""; position: absolute; width: 120%; border-radius: 0 0 50% 47%; transform: rotate(-2deg); }
.wave::before { height: 170%; left: -9%; top: -88%; background: var(--purple); }
.wave::after { height: 160%; left: -9%; top: -103%; background: var(--cream); border-bottom: .23rem solid var(--gold); }

/* Homepage sections */
.section { padding-block: clamp(3rem, 6vw, 5.4rem); }
.section-heading { margin-bottom: 1.45rem; }
.section-heading h2::after { content: ""; display: block; width: 2.6rem; height: .18rem; margin-top: .65rem; background: var(--gold); }
.services .section-heading, .collection .section-heading { text-align: center; }
.services .section-heading h2::after, .collection .section-heading h2::after { margin-inline: auto; }
.service-list, .entry-grid { display: grid; gap: 1.1rem; }
.service-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .entry-card { border: 1px solid var(--border); border-radius: .65rem; background: white; box-shadow: 0 5px 16px #3217460a; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.3rem; }
.service-card h3, .entry-card h3 { margin-bottom: .6rem; }
.service-card .text-link { margin-top: auto; }
.service-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; border-radius: 50%; background: var(--lilac); color: var(--purple); font: 700 1.4rem var(--serif); }
.service-icon img { width: 1.7rem; height: 1.7rem; object-fit: contain; }
.about-section, .resources { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.about-photo { aspect-ratio: 6/5; }
.intro { font-size: 1.08rem; max-width: 60ch; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: .75rem; }
.principles > div { border-top: 2px solid var(--gold); padding-top: .55rem; }
.principles dt { font-weight: 750; color: var(--deep); }
.principles dd { color: var(--muted); }
.entry-card { overflow: hidden; }
.entry-copy { padding: 1.35rem; }
.entry-picture { aspect-ratio: 16/10; background: var(--lilac); }
.crop-frame { overflow: hidden; }
.crop-frame.crop-original { aspect-ratio: auto; }
.crop-frame.crop-original > img { height: auto; }
.admin .crop-frame { width: min(100%, 27rem); }
.admin .crop-frame > img { max-height: none; object-fit: cover; }
.admin .crop-frame + fieldset input[type="range"] { width: 100%; }
.entry-picture video { width: 100%; height: 100%; }
.item-label { display: inline-block; color: var(--purple); background: var(--lilac); border-radius: .25rem; padding: .15rem .55rem; margin-bottom: .7rem; font-size: .875rem; font-weight: 700; }
.empty-state { text-align: center; border: 1px dashed #b9a1bf; border-radius: .65rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--lilac); }
.support-section { background: var(--lilac); }
.support-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; border-radius: 1rem; border-top: 3px solid var(--gold); padding: clamp(1.4rem, 5vw, 3.4rem); background: var(--purple); }
.support-panel h2, .support-panel h3, .support-panel p, .contact-details, .contact-details a { color: white; }
.support-panel .button { margin-top: 1rem; }
.contact-details { display: grid; align-content: center; gap: .35rem; }
.contact-details h3 { margin-bottom: .35rem; }
.letterhead-footer { position: relative; margin-top: clamp(1rem, 2.8vw, 2.4rem); padding: .2rem 0 .25rem; background: var(--purple); color: white; }
.footer-wave { position: absolute; pointer-events: none; inset: auto 0 calc(100% - 1px); width: 100%; height: clamp(1.2rem, 3vw, 2.55rem); display: block; }
.footer-wave-purple { fill: var(--purple); }
.footer-hours { margin-top: .8rem; }
.footer-hours ul { display: grid; gap: .2rem; padding: 0; margin: 0; list-style: none; }
.footer-hours li { white-space: pre-line; }
.contact-tile { margin-block: .55rem; }
.publication-preview-toggle { margin-block: 1rem; }
.publication-preview-toggle > summary { cursor: pointer; font-weight: 700; }
.footer-guidance .section-heading { margin-bottom: .55rem; }
.footer-guidance h2 { color: white; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.footer-guidance h2::after { margin-top: .28rem; }
.footer-grid h3 { margin: 0 0 .2rem; color: #f4c666; font-size: .95rem; }
.footer-grid .s2r-address { margin: .25rem 0 0; }
.footer-contact-title { margin-bottom: .55rem; color: #f4c666; }
.footer-grid { align-items: start; }
.s2r-address { font-style: normal; white-space: pre-line; }
.footer-contact .s2r-address { margin-bottom: .4rem; }
.footer-contact a[href^="tel:"]::before { content: "☎" / ""; margin-right: .65rem; }
.footer-contact a[href^="mailto:"]::before { content: "✉" / ""; margin-right: .65rem; }
.footer-contact a { min-width: 0; overflow-wrap: anywhere; }
footer a, footer p, footer .identity { color: #f4ebf5; }
.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem 1rem; font-size: .9rem; line-height: 1.35; }
footer .identity + p { margin-top: .8rem; }
.footer-contact { display: grid; align-content: start; }
.footer-contact a, .policies summary, .footer-bottom a { display: flex; align-items: center; min-height: 1.65rem; }
.policies summary { cursor: pointer; }
.policies summary::before { content: "+"; margin-right: .55rem; color: #e7bd75; }
.policies details[open] summary::before { content: "−"; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; border-top: 1px solid #ffffff38; margin-top: .55rem; padding-block: .15rem; font-size: .85rem; }

/* Protected administration */
.admin { max-width: 68rem; padding-block: 2.5rem; }
.admin h1 { font-size: clamp(2rem, 5vw, 3.7rem); margin-block: 1rem; }
.admin-top, .admin-controls { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.admin-top a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.admin-panel, .admin fieldset { min-inline-size: 0; border: 1px solid var(--border); border-radius: .5rem; margin: .8rem 0; padding: .6rem .85rem; }
.admin-panel > summary, .admin legend { font-weight: 700; color: var(--deep); }
.admin summary { cursor: pointer; padding: .45rem 0; }
.admin label { display: grid; gap: .25rem; margin-block: .5rem; }
.admin .checkbox-field { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; }
.admin input, .admin textarea, .admin select { max-width: 100%; padding: .45rem; border: 1px solid #a48ea9; border-radius: .25rem; color: var(--ink); background: white; font: inherit; }
.admin textarea { min-height: 5rem; }
.admin button { padding: .4rem .8rem; border: 1px solid var(--purple); border-radius: .25rem; color: var(--purple); background: white; min-height: 2.75rem; margin: .2rem .3rem .2rem 0; font: inherit; cursor: pointer; }
.admin button:disabled { opacity: .55; cursor: default; }
.admin img, .admin video { max-height: 18rem; object-fit: contain; }
.admin-save { position: sticky; bottom: 0; background: var(--cream); border: 1px solid var(--border); border-radius: .5rem; padding: .6rem .85rem; }
.admin-save #save { color: white; background: var(--purple); }
.admin-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-block: 1.25rem; }
.admin .admin-tile { display: grid; align-content: start; gap: .4rem; min-width: 0; min-height: 7rem; margin: 0; padding: 1rem; text-align: left; border-color: var(--border); border-top: 3px solid var(--gold); border-radius: .6rem; }
.admin-tile strong { font-size: 1.14rem; }
.admin-tile span { color: var(--ink); }
.admin .admin-tile:hover { background: var(--lilac); border-color: var(--purple); }
.admin-selected h2 { margin-bottom: .7rem; }
.admin-context { margin-block: .65rem .25rem; }
.admin-records { display: grid; gap: .75rem; }
.admin-record { min-width: 0; border: 1px solid var(--border); border-radius: .55rem; padding: .55rem .75rem; background: #fff; }
.admin-record > summary { color: var(--deep); background: var(--lilac); border-radius: .35rem; padding: .75rem; }
.admin-record-number { display: inline-block; margin-inline: .25rem .6rem; }
.admin-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.admin-badges span { border: 1px solid var(--border); background: white; border-radius: .3rem; padding: .08rem .38rem; font-size: .75rem; text-transform: uppercase; }
.admin .admin-add-record { background: var(--purple); color: white; margin-bottom: .75rem; }
.admin .admin-choice { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.admin .admin-choice label { display: flex; align-items: center; min-height: 2.75rem; gap: .5rem; margin: 0; }
.admin-save { z-index: 2; }
@media (max-width: 52rem) { .admin-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35rem) {
  .admin-tiles { grid-template-columns: minmax(0, 1fr); }
  .admin .admin-tile { min-height: 0; }
  .admin-selected, .admin fieldset, .admin-record { padding-inline: .45rem; }
}
.admin-actions { display: flex; flex-wrap: wrap; gap: .2rem .35rem; }
.admin-save #exit { border-color: transparent; text-decoration: underline; background: transparent; }
.admin dialog { width: min(30rem, calc(100% - 2rem)); padding: 1.25rem; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: .65rem; }
.admin dialog::backdrop { background: #2d173866; }
.admin dialog h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.admin dialog button[data-primary] { background: var(--purple); color: white; }
.admin #admin-notice[role="status"] { min-height: 1.65em; }
.preview-bar { text-align: center; padding: .6rem; background: var(--lilac); }

@media (max-width: 73rem) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; position: relative; z-index: 3; }
  .mobile-nav summary { display: flex; align-items: center; min-height: 2.75rem; padding-inline: .75rem; cursor: pointer; color: var(--deep); font-weight: 700; }
  .mobile-nav summary::after { content: "+"; margin-left: .5rem; }
  .mobile-nav[open] summary::after { content: "−"; }
  .mobile-nav nav { position: absolute; top: 100%; right: 0; width: 12rem; padding: .45rem .75rem; border: 1px solid var(--border); border-radius: .4rem; background: white; box-shadow: 0 6px 20px #32174626; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 2.75rem; }
  .header-support { margin-left: 0; }
}
@media (max-width: 56rem) {
  .service-list, .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16/8; }
}
@media (max-width: 72rem) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner, .support-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 34rem) {
  .service-list, .entry-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .header-inner { gap: .3rem; flex-wrap: wrap; }
  .identity strong { font-size: 1rem; }
}
@media (max-width: 23rem) {
  .header-support { margin-left: auto; }
}

/* Desktop proportions follow the 1536-pixel approved reference. */
:root {
  --purple: #5e1267;
  --deep: #41104e;
  --gold: #e9ad3f;
  --cream: #fcf5e9;
  --lilac: #f3edf7;
  --ink: #242138;
  --muted: #302b41;
  --border: #e9deed;
}
.wrap { width: min(91.1%, 87.5rem); }
.contact-strip { background: #641b60; font-size: .875rem; }
.strip-inner { min-height: 37px; padding: 0; }
.strip-inner a { min-height: 37px; text-decoration: none; }
.strip-inner a:hover { text-decoration: underline; }
.strip-inner .strip-contact { gap: 1.15rem; }
.strip-contact a::before { margin-right: .75rem; font-size: 1rem; }
.strip-contact a[href^="tel:"]::before { content: "☎" / ""; }
.strip-contact a[href^="mailto:"]::before { content: "✉" / ""; }
.strip-right, .policy-links, .social-links { display: flex; flex-wrap: wrap; align-items: center; }
.strip-inner .strip-right { gap: clamp(1rem, 3.4vw, 3.3rem); }
.policy-links a + a::before { content: "|"; padding-inline: .65rem; }
.social-links { gap: 1.45rem; }
.social-icon { display: inline-flex; align-items: center; color: white; }
.social-icon svg { width: 17px; height: 17px; }
.header-inner { position: relative; min-height: 109px; gap: clamp(1.25rem, 2.65vw, 2.6rem); padding-block: .35rem; }
.header-inner .identity { flex: 0 1 223px; }
.identity img { max-height: 93px; max-width: 100%; }
.desktop-nav { margin-inline: auto; justify-content: center; gap: .25rem clamp(.65rem, 1.92vw, 1.85rem); }
.desktop-nav a { display: inline-flex; min-height: 48px; align-items: center; position: relative; font-size: .92rem; font-weight: 500; white-space: nowrap; color: #240847; }
.desktop-nav a[href="#top"] { font-weight: 700; color: #1b121e; }
.desktop-nav a[href="#top"]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); }
.header-tools { display: flex; align-items: center; gap: clamp(.45rem, 1.4vw, 1.35rem); flex: 0 0 auto; }
.header-support { margin: 0; border: 2px solid #e9ad3f; padding-inline: 1.15rem; min-height: 48px; font-size: 1rem; background: #6a1d61; white-space: nowrap; }
.header-support::before { content: "☎" / ""; margin-right: .5rem; }
.button { border-radius: 999px; }
.button-gold { color: var(--deep); border-color: #ebb242; background: #ebb242; }
.button-outline { background: #fbf8fb; }
.arrow-link::after { content: "→" / ""; margin-left: .6em; font-weight: 400; }
.search { position: relative; z-index: 4; }
.search summary { display: grid; place-items: center; cursor: pointer; width: 47px; height: 47px; border: 1px solid var(--purple); border-radius: 50%; color: var(--purple); }
.search summary::-webkit-details-marker { display: none; }
.site-search { position: absolute; width: min(18rem, calc(100vw - 2rem)); right: 0; top: calc(100% + .5rem); padding: 1rem; background: white; border: 1px solid var(--border); border-radius: .6rem; box-shadow: 0 5px 18px #42124426; }
.site-search input { display: block; width: 100%; padding: .55rem; margin: .4rem 0; font: inherit; }
.search-results a { display: block; margin-top: .5rem; }

.hero {
  position: relative;
  background: radial-gradient(ellipse at 17% 40%, #fcf7ef 18%, #fcf6e9 47%, transparent 64%),
    radial-gradient(ellipse at 5% 98%, #bba783 0, transparent 42%),
    linear-gradient(100deg, #e8d1a5, #fff5e5 46%, #cfb075 67%, #99733d);
  isolation: isolate;
}
.hero-inner { position: relative; display: block; min-height: 468px; padding: 19px 0 140px 5%; z-index: 2; pointer-events: none; }
.hero-copy { width: min(100%, 625px); pointer-events: auto; }
.hero-photo { position: absolute; inset: 0 0 auto auto; width: 57.03125%; height: 401px; border-radius: 0; background: transparent; box-shadow: none; }
.hero-photo img { object-fit: cover; object-position: center top; }
.hero:has(img[src="/assets/hero/approved-hero.png"]) .hero-inner { z-index: auto; }
@media (min-width: 62.001rem) {
  .hero:has(img[src="/assets/hero/approved-hero.png"]) .hero-inner { min-height: clamp(465px, calc(32vw + 68px), 563px); }
  .hero .hero-photo:has(img[src="/assets/hero/approved-hero.png"]) {
    inset-block: auto 65px;
    width: min(57.03125%, 880px);
    height: auto;
    aspect-ratio: 1672 / 941;
  }
  .hero:has(img[src="/assets/hero/approved-hero.png"]) .wave { height: 128px; }
}
.hero:has(img[src="/assets/hero/approved-hero.png"]) .hero-copy { position: relative; z-index: 2; }
.hero-photo:has(img[src="/assets/hero/approved-hero.png"]) { mask-image: linear-gradient(to right, transparent, black 21%); }
@media (min-width: 62.001rem) and (max-width: 85rem) {
  .hero .hero-photo:has(img[src="/assets/hero/approved-hero.png"]) { width: 54%; }
  .hero-photo:has(img[src="/assets/hero/approved-hero.png"]) {
    mask-image: linear-gradient(to right, transparent, black 21%), linear-gradient(to bottom, transparent, black 12%);
    mask-composite: intersect;
  }
}
@media (min-width: 44.001rem) and (max-width: 62rem) {
  .hero:has(img[src="/assets/hero/approved-hero.png"]) .hero-inner { min-height: 500px; }
  .hero-photo:has(img[src="/assets/hero/approved-hero.png"]) { top: 140px; width: 51%; height: 310px; mask-image: linear-gradient(to right, transparent, black 12%), linear-gradient(to bottom, transparent, black 15%); mask-composite: intersect; }
}
@media (max-width: 44rem) {
  .hero-photo:has(img[src="/assets/hero/approved-hero.png"]) { top: auto; width: min(100%, 530px); height: auto; mask-image: none; }
  .hero-photo:has(img[src="/assets/hero/approved-hero.png"]) { aspect-ratio: 1672 / 941; }
  .hero-photo img[src="/assets/hero/approved-hero.png"] { object-position: center top; }
}
.brand-label { margin: 0; color: var(--purple); font: 700 clamp(2.1rem, 3.81vw, 3.67rem)/1.06 var(--serif); letter-spacing: -.045em; transform: scaleX(.86); transform-origin: left; }
.hero h1 { color: #ac7812; font: 700 clamp(2rem, 3.35vw, 3.22rem)/.99 var(--serif); letter-spacing: -.035em; transform: scaleX(.91); transform-origin: left; }
.hero h1 span { width: fit-content; min-width: min(388px, 100%); border-top: 1px solid #d99a29; padding-top: .22rem; margin-top: .29rem; color: var(--purple); font: 700 clamp(1.35rem, 2.1vw, 2rem)/1.1 var(--serif); letter-spacing: -.02em; }
.message { max-width: 550px; margin: .67rem 0 .83rem; color: #111016; font-size: 1.19rem; line-height: 1.31; }
.actions { gap: .55rem 1rem; }
.actions .button { min-width: 175px; padding-inline: 1.35rem; min-height: 45px; font-size: 1.05rem; }
.actions .button:first-child { min-width: 215px; }
.actions .button-gold { min-width: 188px; }
.wave { position: absolute; z-index: 1; inset: auto 0 0; display: block; width: 100%; height: 156px; overflow: visible; background: transparent; }
.wave::before, .wave::after { display: none; }

.services { position: relative; z-index: 3; padding: 0 0 21px; background: linear-gradient(transparent 59px, #f8f5fa 59px); margin-top: -59px; }
.services .wrap { width: min(91.65%, 88rem); }
.service-list { gap: .83rem; }
.service-card { display: grid; grid-template-columns: minmax(0, 90px) minmax(0, 1fr); gap: clamp(.55rem, 1.3vw, 1.25rem); padding: 18px clamp(.85rem, 1.4vw, 1.35rem) 13px; min-height: 167px; border: 0; border-radius: 13px; box-shadow: 0 8px 21px #3d1d4c12; }
.service-icon { width: 100%; height: auto; aspect-ratio: 1; margin: 0; overflow: hidden; background: #fcf5e7; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-copy { align-self: stretch; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.service-card h3 { margin: .05rem 0 .25rem; font-size: 1.17rem; letter-spacing: -.024em; }
.service-card p { font-size: .94rem; line-height: 1.29; }
.service-card .text-link { min-height: 2rem; padding-block: .2rem; text-decoration: none; font-size: .88rem; }

.about-section { padding-block: 23px 27px; background: linear-gradient(115deg, #f1ebf6, #f5eef7); }
.about-grid { grid-template-columns: minmax(0, 362fr) minmax(0, 568fr) minmax(0, 394fr); align-items: start; gap: clamp(1rem, 2.15vw, 2.06rem); }
.about-photo { aspect-ratio: 362/230; border-radius: .8rem; }
.about-copy { padding-top: .2rem; }
.section-eyebrow { display: flex; align-items: center; gap: .8rem; font-size: .73rem; font-weight: 650; letter-spacing: .18em; color: #281932; }
.section-eyebrow::after { content: ""; display: block; width: min(45%, 238px); height: 1px; background: var(--gold); }
.about-copy .section-heading { margin: .23rem 0 .72rem; }
.about-copy h2 { letter-spacing: -.025em; color: var(--purple); font: 700 clamp(1.5rem, 2.05vw, 1.98rem)/1.04 var(--serif); white-space: pre-line; }
.about-copy .section-heading h2::after { display: none; }
.about-copy .intro { max-width: none; font-size: .97rem; line-height: 1.34; }
.about-copy .button { margin-top: .92rem; min-width: 242px; font-size: 1.02rem; }
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; margin-top: .25rem; padding-left: clamp(.65rem, 1.35vw, 1.3rem); border-left: 1px solid var(--border); }
.principles > div { display: grid; grid-template-columns: minmax(0, 66px) minmax(0, 1fr); align-items: center; gap: clamp(.55rem, 1.35vw, 1.3rem); padding: 0; border: 0; }
.principles > div > span { aspect-ratio: 1; width: 100%; border-radius: 50%; overflow: hidden; background: #e9ddec; }
.principles img { width: 100%; height: 100%; object-fit: contain; }
.principles dt { font-size: .98rem; }
.principles dd { font-size: .88rem; line-height: 1.37; white-space: pre-line; }
footer .identity { display: block; width: min(100%, 8rem); }
footer .identity img { width: 100%; height: auto; max-height: none; background: white; border-radius: .25rem; }
.hero .hero-logo { margin: 0; width: min(100%, clamp(14rem, 25vw, 22rem)); transform: none; }
.hero-logo img { width: 100%; height: auto; }

@media (max-width: 78rem) {
  .header-inner { min-height: 91px; gap: 1rem; }
  .header-inner .identity { flex-basis: 175px; }
  .desktop-nav { gap: .25rem .75rem; }
  .service-card { grid-template-columns: minmax(0, 57px) minmax(0, 1fr); }
  .hero-inner { padding-left: 2%; }
  .hero-copy { width: min(100%, 560px); }
  .hero-photo { width: 60%; }
}
@media (max-width: 73rem) {
  .header-inner { min-height: 83px; }
  .hero-inner { min-height: 440px; }
  .hero-photo { height: 375px; }
  .wave { height: 145px; }
  .hero-copy { width: min(100%, 505px); }
  .actions { gap: .55rem; }
  .actions .button, .actions .button:first-child, .actions .button-gold { min-width: 0; }
}
@media (max-width: 62rem) {
  .hero-inner { padding-left: 0; }
  .hero-copy { width: 52%; }
  .message { font-size: 1.04rem; }
  .actions .button { font-size: .93rem; padding-inline: .9rem; }
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .principles { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; padding: 0; }
  .principles > div { grid-template-columns: minmax(0, 46px) minmax(0, 1fr); }
}
@media (max-width: 44rem) {
  .strip-inner { min-height: 37px; justify-content: center; }
  .strip-inner .strip-right { gap: .55rem; justify-content: center; }
  .social-links { gap: .85rem; }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: .45rem; }
  .header-inner .identity { flex: 0 1 clamp(105px, 30vw, 160px); }
  .header-support { min-height: 42px; padding-inline: .7rem; font-size: .86rem; }
  .header-support::before { display: none; }
  .search summary { width: 42px; height: 42px; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; min-height: 0; padding: 1.4rem 0 .6rem; }
  .hero-copy { width: 100%; }
  .hero-photo { position: relative; width: min(100%, 530px); margin-left: auto; height: auto; aspect-ratio: 876/401; }
  .hero-photo img { object-fit: cover; }
  .wave { position: relative; height: 3rem; margin-top: -1.9rem; }
  .services { margin-top: -1rem; background: linear-gradient(transparent 1rem, #f8f5fa 1rem); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 32rem; }
  .principles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 26rem) {
  .header-support { min-height: 40px; padding-inline: .5rem; }
  .site-search { right: -3rem; }
  .service-card { min-height: 0; }
}
@media (min-width: 45rem) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 145px;
    height: 322px;
    background: url('/assets/hero/approved-ambient.png') center / cover no-repeat;
    mask-image: linear-gradient(to right, black 27%, transparent), linear-gradient(to bottom, black 85%, transparent);
    mask-composite: intersect;
  }
}

/* Local administrator sign-in */
.login-shell { min-height: 100vh; display: grid; align-items: center; justify-items: center; padding: 1rem; background: white; }
.login-card { width: min(100%, 38rem); padding: clamp(1.2rem, 5vw, 2.7rem); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: .9rem; box-shadow: 0 8px 25px #3d1d4c0c; }
.login-logo { width: min(100%, 18rem); height: auto; margin: 0 auto 1.25rem; }
.login-card h1 { font: 700 clamp(1.45rem, 4vw, 2.35rem)/1.12 var(--serif); letter-spacing: -.025em; margin: 0 0 1.25rem; text-align: center; }
.login-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-bottom: 1rem; }
.login-options a { display: grid; place-items: center; min-height: 2.75rem; padding: .4rem; text-align: center; border: 1px solid var(--border); border-radius: .35rem; line-height: 1.2; }
.login-options a[aria-current="page"] { border-color: var(--gold); color: white; background: var(--purple); text-decoration: none; }
.login-card h2 { font-size: 1.35rem; margin: 1.2rem 0 .6rem; }
.login-card form + form { margin-top: 1rem; }
.login-card p { margin-bottom: .85rem; }
.account-feedback { padding: .75rem 1rem; border: 1px solid var(--purple); border-radius: .35rem; background: var(--lilac); color: var(--deep); font-weight: 650; }
.account-feedback[role="alert"] { border-color: #a13140; background: #fff5f6; color: #751a27; }
.login-card label { display: grid; gap: .25rem; margin-bottom: .9rem; }
.login-card input { width: 100%; min-width: 0; padding: .55rem .7rem; border: 1px solid #a48ea9; border-radius: .25rem; font: inherit; }
.login-card button { width: 100%; cursor: pointer; }
.login-card .password-field { margin-bottom: .9rem; }
.login-card .password-field > label { margin-bottom: .25rem; }
.password-input { position: relative; }
.login-card .password-input input { padding-inline-end: 3.25rem; }
.login-card .password-toggle { position: absolute; inset: 0 0 0 auto; width: 2.9rem; border: 0; background: transparent; color: var(--purple); border-radius: .25rem; }
.password-toggle svg { vertical-align: middle; }
.password-slash { display: none; }
.password-toggle.is-visible .password-slash { display: initial; }
.management-choices { min-width: 0; border: 1px solid var(--border); padding: .6rem; }
.login-card .management-choices label { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .4rem; }
.login-card .management-choices input { width: auto; margin-top: .35rem; }
@media (max-width: 35rem) {
  .footer-contact a, .policies summary, .footer-bottom a { min-height: 2.35rem; }
}
.login-card button:disabled { opacity: .55; cursor: default; }
.login-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem; margin-top: 1rem; }
.login-actions a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.admin-top { align-items: center; }
.admin-top form { margin-left: auto; }
.admin fieldset { max-width: 100%; }
.admin label > input:not([type="checkbox"]), .admin textarea, .admin select { min-width: 0; }
.organisation-contact { padding-block: clamp(2rem, 5vw, 3.5rem); }
.support-panel #contact { min-width: 0; border-inline-start: 1px solid #ffffff45; padding-inline-start: clamp(1rem, 4vw, 3rem); }
.support-panel .contact-details a { justify-self: start; overflow-wrap: anywhere; }
.support-panel .contact-details h3 { font: 700 clamp(1.35rem, 2.2vw, 1.9rem)/1.2 var(--serif); }
.support-panel .s2r-address { margin-top: .35rem; }
@media (max-width: 44rem) {
  .support-panel #contact { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid #ffffff45; padding-top: 1.25rem; }
}
.support-panel .contact-details { min-width: 0; }

/* Extra contact links wrap within the existing header strip. */
.strip-inner .strip-contact-multiple { min-width: 0; max-width: 100%; }
.strip-contact-multiple a { min-width: 0; overflow-wrap: anywhere; }

.admin .admin-brand-logo { width: min(100%, 13rem); height: auto; max-height: none; margin-bottom: .65rem; }
.publication-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: .35rem 0 .7rem; }
.publication-actions a { min-width: 7rem; }
.publication-actions [aria-current="true"] { border-color: var(--gold); }
.admin .publication-actions button[aria-current="true"] { background: var(--purple); color: white; opacity: 1; }
.publication-preview { padding: .8rem; background: var(--cream); border-radius: .4rem; }
.publication-preview img { width: min(100%, 11rem); }
.availability-card { width: min(100%, 48rem); }
.availability-card fieldset { min-width: 0; margin: .8rem 0; border: 1px solid var(--border); border-radius: .4rem; }
.availability-card textarea { width: 100%; min-width: 0; min-height: 4rem; padding: .55rem .7rem; font: inherit; border: 1px solid #a48ea9; border-radius: .25rem; }
.login-card .availability-checkbox { display: flex; align-items: flex-start; gap: .6rem; }
.login-card .availability-checkbox input { width: auto; margin-top: .4rem; flex: 0 0 auto; }
.availability-status strong { display: inline-block; padding: .15rem .55rem; border: 1px solid var(--gold); border-radius: .25rem; color: var(--purple); background: var(--cream); }
.availability-notice { text-align: center; }
.availability-notice p { white-space: pre-line; }
.availability-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 1rem; }
.availability-contact a { min-height: 2.75rem; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.availability-card dialog { width: min(28rem, calc(100% - 2rem)); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: .55rem; }
.availability-card dialog::backdrop { background: #32174670; }
.availability-card dialog button { display: block; min-height: 2.75rem; margin-top: .4rem; color: var(--purple); font: inherit; background: white; border: 1px solid var(--border); border-radius: .35rem; }
