:root {
  color-scheme: light;
  --forest: #174a38;
  --forest-deep: #103a2d;
  --paper: #fbfaf6;
  --ink: #1d2722;
  --muted: #68716a;
  --coral: #e97558;
  --gold: #efbd54;
  --line: #dedfd7;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; z-index: 20; top: -50px; left: 16px; padding: 12px 16px; background: white; color: var(--forest); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 6.2%; background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { display: block; width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid #e8ddb3; border-radius: 50%; background: white; object-fit: cover; }
.brand-name { display: grid; gap: 1px; font-size: 13px; line-height: 1.15; }
.brand-name strong { font-size: 14px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 13px; font-weight: 600; }
.site-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--coral); }
.nav-cta { display: flex; align-items: center; gap: 13px; padding: 13px 17px; border: 1px solid var(--forest); color: var(--forest); }
.nav-cta:hover { background: var(--forest); color: white; }
.menu-toggle { display: none; border: 1px solid var(--line); padding: 10px 14px; background: transparent; color: var(--ink); }

.hero { position: relative; display: flex; min-height: min(680px, calc(100svh - 82px)); align-items: center; overflow: hidden; background: var(--forest); color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background-position: center 45%; background-size: cover; transition: background-image 500ms ease, opacity 350ms ease; }
.hero-shade { background: linear-gradient(90deg, rgba(14,39,31,.82) 0%, rgba(14,39,31,.59) 43%, rgba(14,39,31,.10) 100%), linear-gradient(0deg, rgba(14,39,31,.28), transparent 35%); }
.hero-copy { position: relative; z-index: 1; width: min(760px, 72%); margin: 0 0 15px 11.2%; padding: 60px 0 90px; animation: rise-in .7s ease both; }
.eyebrow, .welcome-label, .admin-kicker { font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #f5d992; }
.eyebrow::before { width: 29px; height: 1px; background: var(--gold); content: ""; }
.hero h1, .welcome h2, .learning h2, .notices h2, .visit h2 { margin: 22px 0; font-family: var(--display); font-size: clamp(48px, 6.2vw, 84px); font-weight: 500; line-height: .99; }
.hero h1 em, .welcome h2 em, .learning h2 em, .notices h2 em, .visit h2 em { color: var(--gold); font-weight: 500; }
.hero-description { max-width: 430px; margin: 24px 0 30px; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.75; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 24px; padding: 0 19px; border: 1px solid transparent; font-size: 12px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--forest); }
.button-light:hover { background: var(--gold); }
.hero-controls { position: absolute; z-index: 1; right: 6.2%; bottom: 32px; display: flex; align-items: center; gap: 10px; }
.slide-count { display: flex; align-items: center; gap: 10px; margin-right: 14px; font-size: 11px; font-weight: 600; }
.slide-count #slide-total { color: rgba(255,255,255,.55); }
.count-line { width: 35px; height: 1px; background: rgba(255,255,255,.55); }
.slider-button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.7); background: transparent; color: white; font-size: 18px; }
.slider-button:hover { background: white; color: var(--forest); }
.hero-caption { position: absolute; right: 6.2%; top: 50%; color: rgba(255,255,255,.88); font-size: 9px; font-weight: 700; letter-spacing: 1.6px; writing-mode: vertical-rl; }
.hero-caption span { padding: 9px 0; color: var(--gold); }

.section-wrap { width: min(1120px, 86%); margin-inline: auto; }
.welcome { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; column-gap: 9%; padding-top: 114px; padding-bottom: 125px; }
.welcome-label { display: flex; align-items: center; gap: 10px; color: var(--forest); }
.small-rule { width: 20px; height: 2px; background: var(--coral); }
.welcome-copy { display: contents; }
.welcome-copy h2 { grid-column: 2; margin: -7px 0 21px; font-size: clamp(42px, 4.5vw, 60px); }
.welcome h2 em, .learning h2 em, .notices h2 em { color: var(--coral); }
.welcome-details { grid-column: 2; display: grid; grid-template-columns: 1fr .65fr; gap: 38px; align-items: end; }
.welcome-details p { max-width: 435px; margin: 0; color: var(--muted); line-height: 1.8; }
.text-link { width: fit-content; padding-bottom: 7px; border-bottom: 1px solid var(--coral); color: var(--forest); font-size: 12px; font-weight: 700; white-space: nowrap; }
.welcome-photo { position: relative; grid-column: 1 / 3; display: block; width: 72%; height: 330px; margin: 64px 0 0 9%; background: #d3ddce url("assets/school-courtyard.jpg") center 45% / cover; }
.welcome-photo::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 38, 29, .58)); content: ""; }
.photo-credit { position: absolute; z-index: 1; right: 17px; bottom: 17px; display: flex; align-items: center; gap: 12px; color: white; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.photo-credit span { font-size: 14px; }
.welcome-note { position: absolute; right: 4%; bottom: 88px; display: flex; width: 160px; height: 160px; flex-direction: column; justify-content: center; gap: 5px; padding-left: 30px; border-radius: 50%; background: var(--gold); color: var(--forest-deep); font-family: var(--display); font-size: 18px; line-height: 1.25; transform: rotate(7deg); }
.note-star { font-family: var(--body); font-size: 23px; }

.learning { padding: 91px 0 100px; background: #e7eee6; }
.learning-inner { display: grid; grid-template-columns: .9fr 1.45fr; gap: 11%; }
.learning h2 { margin: 23px 0 0; font-size: clamp(39px, 4.1vw, 54px); }
.learning-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; row-gap: 43px; padding-top: 12px; }
.learning-item { padding-top: 17px; border-top: 1px solid #bdcabe; }
.learning-number { color: var(--coral); font-size: 10px; font-weight: 700; }
.learning-item h3 { margin: 12px 0 8px; color: var(--forest); font-family: var(--display); font-size: 23px; font-weight: 500; }
.learning-item p { margin: 0; color: #5d6860; font-size: 13px; line-height: 1.75; }

.notices { padding-top: 101px; padding-bottom: 115px; }
.notices-head { display: flex; align-items: end; justify-content: space-between; padding-bottom: 28px; }
.notices h2 { margin: 18px 0 0; color: var(--forest); font-size: clamp(42px, 4.4vw, 58px); }
.notices-head > p { max-width: 240px; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.notice-row { display: grid; grid-template-columns: 150px 1fr 30px; align-items: center; gap: 25px; min-height: 79px; border-top: 1px solid var(--line); }
.notice-row:last-child { border-bottom: 1px solid var(--line); }
.notice-date { color: var(--coral); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.notice-row h3 { margin: 0; color: var(--forest); font-family: var(--display); font-size: 20px; font-weight: 500; }
.notice-arrow { justify-self: end; color: var(--forest); }

.visit { display: grid; grid-template-columns: .87fr 1.13fr; min-height: 510px; background: var(--gold); }
.visit-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px 12% 60px 16%; }
.visit-content .welcome-label { color: var(--forest); }
.visit h2 { margin: 21px 0 17px; color: var(--forest); font-size: clamp(52px, 5.4vw, 72px); }
.visit h2 em { color: var(--coral); }
.visit-address { margin: 0 0 24px; color: #46564a; font-size: 14px; line-height: 1.8; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: var(--forest-deep); }
.visit-phone { min-height: 17px; margin: 15px 0 0; color: var(--forest); font-size: 12px; }
.map-frame { position: relative; min-height: 510px; background: #d8ded7; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.83); }
.map-label { position: absolute; right: 17px; bottom: 17px; padding: 11px 13px; background: var(--paper); color: var(--forest); font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }

.site-footer { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 18px 30px; padding: 31px 6.2% 25px; background: var(--forest-deep); color: white; }
.footer-brand .brand-logo { border-color: rgba(255,255,255,.55); }
.site-footer > p { color: rgba(255,255,255,.7); font-size: 12px; }
.footer-links { display: flex; align-items: center; justify-self: end; gap: 24px; font-size: 11px; }
.footer-links a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.58); font-size: 10px; }

.gallery-main { overflow: hidden; }
.gallery-intro { position: relative; display: flex; min-height: 390px; align-items: center; justify-content: space-between; overflow: hidden; padding: 66px 11%; background: var(--forest); color: white; }
.gallery-intro::after { position: absolute; right: 15%; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 78px rgba(255,255,255,.025); content: ""; }
.gallery-intro-copy { position: relative; z-index: 1; max-width: 700px; }
.gallery-intro .eyebrow { margin: 0; }
.gallery-intro h1 { margin: 20px 0 17px; font-family: var(--display); font-size: clamp(52px, 6vw, 78px); font-weight: 500; line-height: .98; }
.gallery-intro h1 em { color: var(--gold); font-weight: 500; }
.gallery-intro-copy > p:last-child { max-width: 450px; margin: 0; color: rgba(255,255,255,.77); font-size: 14px; line-height: 1.7; }
.gallery-intro-stamp { position: relative; z-index: 1; display: flex; width: 132px; height: 132px; flex: 0 0 132px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: rgba(255,255,255,.82); font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.gallery-intro-stamp strong { color: var(--gold); font-family: var(--display); font-size: 42px; font-weight: 500; }
.gallery-content { padding-top: 88px; padding-bottom: 90px; }
.gallery-heading-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; }
.gallery-external-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.gallery-heading-row h2 { margin: 16px 0 0; color: var(--forest); font-family: var(--display); font-size: clamp(40px, 4.5vw, 58px); font-weight: 500; line-height: 1; }
.gallery-heading-row h2 em { color: var(--coral); font-weight: 500; }
.gallery-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.gallery-card { position: relative; display: block; min-width: 0; overflow: hidden; background: #d7dfd4; color: white; isolation: isolate; }
.gallery-card[hidden] { display: none; }
.gallery-card-feature { grid-row: span 2; min-height: 560px; }
.gallery-card:not(.gallery-card-feature) { min-height: 330px; }
.gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card::after { position: absolute; z-index: 0; inset: 42% 0 0; background: linear-gradient(transparent, rgba(14,39,31,.82)); content: ""; }
.gallery-card-overlay { position: absolute; z-index: 1; right: 22px; bottom: 20px; left: 22px; display: grid; gap: 6px; }
.gallery-card-meta { color: #f3d37e; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.gallery-card-overlay strong { font-family: var(--display); font-size: 29px; font-weight: 500; }
.gallery-card-link { color: rgba(255,255,255,.78); font-size: 10px; }
.gallery-note { display: flex; min-height: 205px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 26px 30px; background: #e7eee6; color: var(--forest); }
.gallery-note .note-star { color: var(--coral); }
.gallery-note p { max-width: 290px; margin: 8px 0 17px; font-family: var(--display); font-size: 23px; line-height: 1.28; }
.gallery-note a { padding-bottom: 5px; border-bottom: 1px solid var(--coral); font-size: 11px; font-weight: 700; }
.gallery-note a:hover { color: var(--coral); }
.gallery-source { margin: 17px 0 0; color: var(--muted); font-size: 10px; }
.gallery-source a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.gallery-visit { display: flex; min-height: 118px; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 11%; background: var(--gold); color: var(--forest); }
.gallery-visit p { margin: 0; font-family: var(--display); font-size: 25px; }
.gallery-visit a { padding-bottom: 5px; border-bottom: 1px solid var(--forest); font-size: 12px; font-weight: 700; }
.gallery-visit a:hover { color: var(--coral); border-color: var(--coral); }

.admin-auth { display: grid; min-height: calc(100vh - 82px); place-items: center; padding: 48px 20px; background: radial-gradient(ellipse at 50% 42%, #edf1e8 0, var(--paper) 60%); }
.admin-auth[hidden], .admin-page[hidden], .admin-footer[hidden], .admin-account-actions[hidden] { display: none; }
.admin-auth-panel { width: min(440px, 100%); padding: 34px clamp(22px, 6vw, 42px) 38px; border-top: 3px solid var(--gold); background: white; box-shadow: 0 16px 55px rgba(27,54,40,.09); }
.admin-auth-panel h1 { margin: 10px 0 12px; color: var(--forest); font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1.1; }
.admin-auth-note { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.admin-auth-field { display: grid; gap: 7px; margin: 0 0 15px; color: var(--forest); font-size: 11px; font-weight: 700; }
.admin-auth-field input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #cfd4cb; border-radius: 0; background: white; color: var(--ink); font-size: 13px; font-weight: 400; }
.admin-auth-field input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.admin-auth-panel .button { width: 100%; margin-top: 4px; }
.admin-auth-status { min-height: 17px; margin: 12px 0 0; color: var(--forest); font-size: 11px; }
.admin-auth-status.is-error { color: #a63e2d; }
.admin-account-actions { display: flex; align-items: center; gap: 15px; margin: 0 0 18px; color: var(--muted); font-size: 10px; }
.account-action { border: 0; border-bottom: 1px solid var(--line); padding: 4px 0; background: transparent; color: var(--forest); font-size: 10px; font-weight: 700; }
.account-action:hover { border-color: var(--coral); color: var(--coral); }
.admin-password-dialog { width: min(480px, calc(100% - 28px)); max-height: 90vh; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px rgba(0,0,0,.3); }
.admin-password-dialog::backdrop { background: rgba(12,30,22,.68); backdrop-filter: blur(3px); }
.admin-password-form { padding: 27px clamp(20px, 5vw, 38px) 30px; }
.admin-password-form .admin-header { margin-bottom: 17px; }
.admin-password-form .admin-header h2 { font-size: 29px; }
.admin-password-form .admin-auth-note { padding: 11px 12px; border-left: 3px solid var(--gold); background: #f2efe3; }
.admin-password-actions { display: flex; align-items: center; gap: 17px; margin-top: 17px; }
.admin-password-actions .button { min-height: 42px; }
.admin-auth-panel button:disabled, .admin-password-form button:disabled { cursor: wait; opacity: .6; }

.admin-site-header { border-bottom: 1px solid var(--line); }
.admin-site-header > .text-link { white-space: nowrap; }
.admin-page { width: min(1050px, 88%); min-height: calc(100vh - 190px); margin: 0 auto; padding: 66px 0 90px; }
.admin-page-heading h1 { margin: 17px 0 10px; color: var(--forest); font-family: var(--display); font-size: clamp(44px, 5vw, 64px); font-weight: 500; line-height: 1; }
.admin-page-heading h1 em { color: var(--coral); font-weight: 500; }
.admin-page-description { max-width: 540px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.admin-storage-note { display: grid; grid-template-columns: 150px 1fr; gap: 18px; margin: 28px 0 35px; padding: 17px 19px; border-left: 3px solid var(--gold); background: #f2efe3; color: #53584f; font-size: 12px; line-height: 1.65; }
.admin-storage-note strong { color: var(--forest); }
.admin-photo-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.admin-photo-tab { display: flex; min-height: 48px; align-items: center; gap: 12px; padding: 0 17px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.admin-photo-tab:hover { color: var(--forest); }
.admin-photo-tab.is-active { border-bottom-color: var(--coral); color: var(--forest); }
.admin-photo-tab > span { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #e7eee6; color: var(--forest); font-size: 10px; }
.admin-photo-panel { padding-top: 30px; }
.admin-photo-panel[hidden] { display: none; }
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-panel-heading h2 { margin: 0; color: var(--forest); font-family: var(--display); font-size: 32px; font-weight: 500; }
.admin-panel-heading > p { max-width: 320px; margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.upload-form { padding: 20px; border: 1px solid var(--line); background: #fffefa; }
.upload-step-label { margin: 0 0 8px; color: var(--forest); font-size: 10px; font-weight: 700; }
.upload-step-two { margin-top: 20px; }
.upload-dropzone { display: flex; min-height: 150px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #9ca99e; background: #f7f8f2; color: var(--forest); text-align: center; cursor: pointer; }
.upload-dropzone:hover, .upload-dropzone:focus-within { border-color: var(--coral); background: #fff8f1; }
.upload-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.upload-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--gold); font-size: 22px; font-weight: 400; }
.upload-dropzone strong { font-family: var(--display); font-size: 21px; font-weight: 500; }
.upload-dropzone > span:last-of-type { color: var(--muted); font-size: 10px; }
.upload-form-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; margin-top: 17px; }
.caption-input { display: grid; gap: 7px; color: var(--forest); font-size: 10px; font-weight: 700; }
.caption-input input { min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #cfd4cb; border-radius: 0; background: white; color: var(--ink); font-size: 12px; font-weight: 400; }
.caption-input input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.upload-form-row .button { min-height: 44px; }
.upload-submit { min-width: 165px; }
.upload-submit:disabled { cursor: not-allowed; opacity: .46; }
.selected-files { min-height: 16px; margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.upload-form button:disabled, .photo-delete:disabled { cursor: wait; opacity: .58; }
.admin-action-status { min-height: 18px; margin: 11px 0 0; color: var(--forest); font-size: 11px; }
.admin-action-status.is-error { color: #a63e2d; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.admin-photo-card { min-width: 0; border: 1px solid var(--line); background: white; }
.admin-photo-card.is-unpublished { border-color: #dfc7a2; background: #fcfaf4; }
.admin-photo-card.is-unpublished .admin-photo-thumb img { opacity: .58; }
.admin-photo-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #e7eee6; }
.admin-photo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-photo-info { display: grid; gap: 5px; padding: 11px 12px 8px; }
.admin-photo-info strong { overflow: hidden; color: var(--forest); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-photo-info span { color: var(--muted); font-size: 9px; }
.admin-photo-info .photo-status { width: fit-content; margin-top: 2px; padding: 4px 7px; background: #e7eee6; color: var(--forest); font-size: 9px; font-weight: 700; }
.admin-photo-info .photo-status.is-unpublished { background: #f5e8d1; color: #815519; }
.admin-photo-info .photo-status.is-removed { background: #f6e5e1; color: #a63e2d; }
.photo-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding: 0 12px 12px; }
.photo-publish, .photo-delete, .photo-caption-edit, .photo-caption-save, .photo-caption-cancel, .photo-restore { border: 0; border-bottom: 1px solid; padding: 4px 0; background: transparent; font-size: 10px; }
.photo-caption-edit, .photo-caption-save, .photo-restore { border-color: #9eb4a3; color: var(--forest); }
.photo-caption-edit:hover, .photo-caption-save:hover, .photo-restore:hover { border-color: var(--forest); }
.photo-caption-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 9px; padding: 0 12px 12px; }
.photo-caption-editor[hidden] { display: none; }
.photo-caption-editor label { display: grid; min-width: 0; gap: 5px; color: var(--muted); font-size: 9px; }
.photo-caption-editor input { width: 100%; min-width: 0; min-height: 32px; padding: 0 7px; border: 1px solid #cfd4cb; border-radius: 0; font-size: 10px; }
.photo-caption-editor input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.photo-caption-editor .photo-caption-cancel { border-color: #dedfd7; color: var(--muted); }
.photo-publish { border-color: #9eb4a3; color: var(--forest); }
.photo-publish:hover { border-color: var(--forest); }
.photo-delete { border-color: #e4b7aa; color: #a63e2d; }
.photo-delete:hover { border-color: #a63e2d; }
.photo-publish:disabled, .photo-delete:disabled { cursor: wait; opacity: .58; }
.admin-empty-state { grid-column: 1 / -1; margin: 0; padding: 25px 0; color: var(--muted); font-size: 12px; }
.admin-footer { margin-top: 0; }

.admin-launch { position: fixed; z-index: 4; right: 17px; bottom: 17px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--forest); color: white; font-size: 19px; box-shadow: 0 4px 18px rgba(20,48,37,.2); }
.admin-launch:hover { background: var(--coral); }
.admin-dialog { width: min(620px, calc(100% - 28px)); max-height: min(90vh, 850px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px rgba(0,0,0,.3); }
.admin-dialog::backdrop { background: rgba(12,30,22,.68); backdrop-filter: blur(3px); }
.admin-form { padding: 27px clamp(20px, 5vw, 38px) 32px; }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; }
.admin-kicker { margin: 0 0 8px; color: var(--coral); }
.admin-header h2 { margin: 0; color: var(--forest); font-family: var(--display); font-size: 32px; font-weight: 500; }
.close-button { width: 37px; height: 37px; border: 1px solid var(--line); background: transparent; color: var(--forest); }
.admin-notice { margin: 19px 0 21px; padding: 12px 14px; border-left: 3px solid var(--gold); background: #f2efe3; color: #53584f; font-size: 11px; line-height: 1.6; }
.admin-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-fields label { display: grid; gap: 6px; color: var(--forest); font-size: 11px; font-weight: 700; }
.admin-fields label:nth-child(2), .admin-fields label:nth-child(3), .admin-fields label:nth-child(4), .admin-fields label:nth-child(6), .admin-fields label:nth-child(7) { grid-column: 1 / -1; }
.admin-fields input, .admin-fields textarea { width: 100%; padding: 10px 11px; border: 1px solid #cfd4cb; border-radius: 0; background: white; color: var(--ink); font-size: 12px; font-weight: 400; resize: vertical; }
.admin-fields input:focus, .admin-fields textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.admin-actions .button { min-height: 44px; }
.reset-button { border: 0; border-bottom: 1px solid var(--line); padding: 5px 0; background: transparent; color: var(--muted); font-size: 11px; }
.reset-button:hover { color: var(--coral); }
.save-status { min-height: 16px; margin: 13px 0 0; color: var(--forest); font-size: 11px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding-inline: 5%; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 5% 18px; border-top: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a { padding: 13px 3px; }
  .site-nav .nav-cta { justify-content: space-between; margin-top: 7px; padding: 13px; }
  .hero { min-height: max(660px, min(690px, calc(100svh - 70px))); align-items: end; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,39,31,.88), rgba(14,39,31,.2) 85%), linear-gradient(90deg, rgba(14,39,31,.1), transparent); }
  .hero-copy { width: 88%; margin: 0 0 62px 6%; padding: 70px 0 30px; }
  .hero h1 { font-size: clamp(49px, 12vw, 70px); }
  .hero-description { max-width: 400px; font-size: 14px; }
  .hero-controls { right: 6%; bottom: 15px; gap: 7px; }
  .hero-caption { display: none; }
  .section-wrap { width: 88%; }
  .welcome { grid-template-columns: 1fr; gap: 25px; padding-top: 73px; padding-bottom: 100px; }
  .welcome-copy { display: block; }
  .welcome-copy h2 { margin: 0 0 19px; font-size: 44px; }
  .welcome-details { grid-template-columns: 1fr; gap: 16px; }
  .welcome-photo { grid-column: 1; width: 100%; height: 250px; margin: 10px 0 0; }
  .welcome-note { right: 0; bottom: 42px; width: 116px; height: 116px; padding-left: 23px; font-size: 14px; }
  .note-star { font-size: 18px; }
  .learning { padding: 70px 0; }
  .learning-inner { grid-template-columns: 1fr; gap: 38px; }
  .learning h2 { font-size: 43px; }
  .learning-grid { column-gap: 23px; row-gap: 28px; }
  .learning-item h3 { font-size: 20px; }
  .notices { padding-top: 75px; padding-bottom: 80px; }
  .notices-head { display: block; }
  .notices-head > p { margin-top: 14px; }
  .notice-row { grid-template-columns: 85px 1fr 18px; gap: 12px; min-height: 76px; }
  .notice-row h3 { font-size: 17px; line-height: 1.25; }
  .notice-date { font-size: 8px; letter-spacing: .8px; }
  .visit { grid-template-columns: 1fr; }
  .visit-content { padding: 62px 7% 54px; }
  .visit h2 { font-size: 58px; }
  .map-frame { min-height: 360px; }
  .site-footer { grid-template-columns: 1fr auto; padding: 27px 6% 22px; }
  .site-footer > p { grid-column: 1 / -1; margin: 0; }
  .footer-links { grid-column: 2; grid-row: 1; gap: 14px; }
  .gallery-intro { min-height: 370px; padding: 55px 7%; }
  .gallery-intro-stamp { width: 92px; height: 92px; flex-basis: 92px; font-size: 6px; }
  .gallery-intro-stamp strong { font-size: 30px; }
  .gallery-intro h1 { font-size: 52px; }
  .gallery-content { padding-top: 67px; padding-bottom: 70px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-card-feature { grid-column: 1 / -1; grid-row: auto; min-height: 390px; }
  .gallery-card:not(.gallery-card-feature), .gallery-note { min-height: 245px; }
  .gallery-note { padding: 20px; }
  .gallery-note p { font-size: 19px; }
  .gallery-card-overlay { right: 14px; bottom: 14px; left: 14px; }
  .gallery-card-overlay strong { font-size: 24px; }
  .gallery-heading-row { align-items: flex-start; gap: 20px; }
  .gallery-external-links { justify-content: flex-end; gap: 14px; }
  .gallery-heading-row .text-link { margin-top: 0; font-size: 10px; }
  .gallery-visit { min-height: 105px; padding-inline: 7%; }
  .gallery-visit p { font-size: 21px; }
  .footer-links { grid-column: 1 / -1; justify-self: start; flex-wrap: wrap; gap: 15px; }
  .admin-page { width: 88%; padding: 47px 0 65px; }
  .admin-storage-note { grid-template-columns: 1fr; gap: 5px; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .admin-panel-heading > p { text-align: left; }
  .admin-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .brand-name { font-size: 12px; }
  .brand-name strong { font-size: 13px; }
  .hero { min-height: 620px; }
  .hero-copy { width: 89%; }
  .hero h1 { font-size: 48px; }
  .hero-description { font-size: 13px; }
  .learning-grid { grid-template-columns: 1fr; }
  .admin-fields { grid-template-columns: 1fr; }
  .admin-fields label { grid-column: 1 / -1; }
  .gallery-intro { min-height: 350px; }
  .gallery-intro-stamp { display: none; }
  .gallery-intro h1 { font-size: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-feature { min-height: 370px; }
  .gallery-card:not(.gallery-card-feature), .gallery-note { min-height: 270px; }
  .gallery-heading-row { flex-direction: column; }
  .gallery-external-links { justify-content: flex-start; }
  .gallery-heading-row .text-link { margin-top: 0; }
  .gallery-visit { align-items: flex-start; flex-direction: column; justify-content: center; }
  .admin-site-header .brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .admin-site-header > .text-link { font-size: 10px; }
  .admin-page-heading h1 { font-size: 46px; }
  .admin-photo-tab { gap: 7px; padding-inline: 9px; font-size: 10px; }
  .upload-form { padding: 12px; }
  .upload-form-row { grid-template-columns: 1fr; }
  .upload-form-row .button { justify-self: start; }
  .admin-photo-grid { gap: 10px; }
  .admin-photo-info { padding-inline: 9px; }
  .photo-card-actions { padding-inline: 9px; gap: 10px; }
}