/* Olympus Chorale site styles. Colors, type and spacing follow the Olympus Chorale style guide. */

@font-face { font-family: "Jost"; src: url("../fonts/Jost-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-Variable-Italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --navy: #0B1A3E;
  --ink: #061130;
  --raised: #122149;
  --champagne: #EEE6D5;
  --muted: #C4BAAD;
  --gold: #C8A25A;
  --ivory: #F6F1E7;
  --bronze: #7A5A20;
  --slate: #4A4F60;
  --control: #8A90A3;
  --line: rgba(238, 230, 213, 0.2);
  --line-dark: rgba(11, 26, 62, 0.25);
  --sans: "Jost", "Century Gothic", Futura, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 7vw, 96px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--champagne); font-family: var(--serif); font-size: 19px; line-height: 32px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--champagne); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p, figure, ul { margin: 0; }
.band--ivory :focus-visible { outline-color: var(--bronze); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 16px; background: var(--gold); color: var(--navy); font-family: var(--sans); font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1144px; }

/* Type */
.eyebrow { font-family: var(--sans); font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.display { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
.display em { color: var(--gold); }
.statement { font-size: clamp(34px, 4vw, 46px); line-height: 1.17; font-weight: 400; letter-spacing: -0.01em; }
.italic-head { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.2; font-weight: 400; font-style: italic; text-wrap: balance; }
.h-sans { font-family: var(--sans); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.27; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-wrap: balance; }
.h-sans--sm { font-size: 18px; line-height: 26px; letter-spacing: 0.09em; }
.lead { font-size: 22px; line-height: 36px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 16px; line-height: 26px; }
.prose { max-width: 40em; display: flex; flex-direction: column; gap: 20px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border: 1px solid transparent; border-radius: 2px; font-family: var(--sans); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--champagne); color: var(--navy); }
.btn--outline { border-color: var(--champagne); color: var(--champagne); background: transparent; }
.btn--outline:hover { background: var(--champagne); color: var(--navy); }
.btn--bronze { background: var(--bronze); color: var(--ivory); }
.btn--bronze:hover { background: var(--navy); color: var(--ivory); }
.btn--sm { min-height: 44px; padding: 10px 22px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--sans); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.link .arrow { transition: transform .2s ease; }
.link:hover .arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.wordmark { font-family: var(--sans); font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--champagne); text-decoration: none; }
.wordmark:hover { color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.nav a:not(.btn) { font-family: var(--sans); font-size: 14px; line-height: 21px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); text-decoration: none; padding-block: 12px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold); }

/* Sections */
.band { padding-block: var(--section); }
.band--deep { background: var(--ink); }
.band--ivory { background: var(--ivory); color: var(--navy); }
.band--ivory .eyebrow { color: var(--bronze); }
.band--ivory .muted { color: var(--slate); }
.band--ivory a:not(.btn) { color: var(--bronze); }
.band--rule { border-top: 1px solid var(--line); }
.page-intro { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 4vw, 64px); display: flex; flex-direction: column; gap: 24px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; padding-block: clamp(48px, 7vw, 96px); }
.hero__copy { flex: 1 1 460px; min-width: 0; max-width: 660px; display: flex; flex-direction: column; gap: 24px; }
.feathered { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.hero__logo { flex: 0 1 400px; min-width: 240px; aspect-ratio: 1; }

.photo-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 45%; }

.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.split > :first-child { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 48px; }
.col { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.col--gold { border-top-color: var(--gold); gap: 12px; padding-top: 20px; }

.person { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.person--top { align-items: flex-start; }
.intro-split { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 4vw, 64px); }
.intro-split .person__text { gap: 24px; }
.person__photo { flex: 0 1 340px; min-width: 240px; display: flex; flex-direction: column; gap: 24px; }
.person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.person__text { flex: 1 1 420px; min-width: 0; max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 24px; }
.facts strong { font-weight: 600; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery > * { break-inside: avoid; margin-bottom: 24px; }
.gallery figure { display: flex; flex-direction: column; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .tall img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.gallery figcaption { font-size: 16px; line-height: 26px; color: var(--muted); }
.tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 160px; padding: 24px; background: var(--raised); color: var(--champagne); text-decoration: none; }
.tile:hover { color: var(--champagne); background: #1A2C5C; }
.tile__title { font-size: 28px; line-height: 36px; font-style: italic; }

/* Forms */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.form { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.field .optional { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.input { width: 100%; min-height: 48px; padding: 11px 16px; background: var(--raised); color: var(--champagne); border: 1px solid var(--control); border-radius: 2px; font-family: var(--serif); font-size: 18px; line-height: 24px; }
textarea.input { line-height: 28px; resize: vertical; }
.input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.hidden { display: none; }
.aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.aside .col a { color: var(--champagne); overflow-wrap: anywhere; }
.note { padding: 16px 20px; background: var(--raised); font-size: 16px; line-height: 26px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); padding-block: clamp(56px, 6vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 48px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand img { width: 200px; aspect-ratio: 1; margin: -20px 0 -20px -14px; }
.footer-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-list a { color: var(--champagne); text-decoration: none; font-size: 17px; line-height: 36px; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--gold); }
.icon-link { display: inline-flex; align-items: center; gap: 12px; }
.icon-link svg { flex: none; color: var(--gold); }
.icon-link:hover svg { color: inherit; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 24px; color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 18px; line-height: 30px; }
  .lead { font-size: 20px; line-height: 32px; }
  .nav { gap: 4px 20px; }
  .hero__logo { order: -1; flex-basis: 260px; margin: -24px auto 0; }
  .photo-band img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link .arrow { transition: none; }
  .link:hover .arrow { transform: none; }
}

/* ---------- Light theme, matched to the cream logo ----------
   Paper #FBF7F0 is sampled from the logo background, navy #11224B from its lettering,
   and gold #AE935F from its laurel. Gold is used for decoration only; text uses bronze. */
:root {
  --paper: #FBF7F0;
  --paper-deep: #F3ECDF;
  --card: #FFFFFF;
  --ink-navy: #11224B;
  --laurel: #AE935F;
  --gold-on-navy: #D9BE86;
  --rule: rgba(17, 34, 75, 0.18);
  color-scheme: light;
}
body { background: var(--paper); color: var(--ink-navy); }
a { color: var(--bronze); }
a:hover { color: var(--ink-navy); }
:focus-visible { outline-color: var(--ink-navy); }
.skip { background: var(--ink-navy); color: var(--paper); }

.eyebrow { color: var(--bronze); }
.display em { color: var(--bronze); }
.lead, .muted { color: var(--slate); }

.btn--gold { background: var(--ink-navy); color: var(--paper); }
.btn--gold:hover { background: var(--bronze); color: var(--card); }
.btn--outline { border-color: var(--ink-navy); color: var(--ink-navy); }
.btn--outline:hover { background: var(--ink-navy); color: var(--paper); }

.site-header { border-bottom-color: var(--rule); }
.wordmark { color: var(--ink-navy); }
.wordmark:hover { color: var(--bronze); }
.nav a:not(.btn) { color: var(--ink-navy); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--bronze); }

.band--deep { background: var(--paper-deep); }
.band--rule { border-top-color: var(--rule); }
.col { border-top-color: var(--rule); }
.col--gold { border-top-color: var(--laurel); }

.hero__logo { aspect-ratio: auto; flex: 0 1 460px; min-width: 260px; }

/* Join band: the one navy block on the page */
.band--navy { background: var(--ink-navy); color: var(--paper); }
.band--navy .eyebrow { color: var(--gold-on-navy); }
.band--navy .muted { color: #D8D1C4; }
.band--navy :focus-visible { outline-color: var(--gold-on-navy); }
.band--navy .btn--bronze { background: var(--gold-on-navy); color: var(--ink-navy); }
.band--navy .btn--bronze:hover { background: var(--paper); color: var(--ink-navy); }

/* Gallery and contact */
.gallery figcaption { color: var(--slate); }
.tile { background: var(--ink-navy); color: var(--paper); }
.tile:hover { background: #1B3166; color: var(--paper); }
.tile .eyebrow { color: var(--gold-on-navy); }
.input { background: var(--card); color: var(--ink-navy); border-color: #7C7F8C; }
.input:focus-visible { outline-color: var(--ink-navy); }
.field .optional { color: var(--slate); }
.aside .col a { color: var(--ink-navy); }
.note { background: var(--paper-deep); color: var(--slate); }

/* Footer */
.site-footer { background: var(--paper-deep); }
.footer-brand img { width: 220px; aspect-ratio: auto; margin: 0; }
.footer-list a { color: var(--ink-navy); }
.footer-list a:hover { color: var(--bronze); }
.icon-link svg { color: var(--bronze); }
.icon-link:hover svg { color: inherit; }
.legal { border-top-color: var(--rule); color: var(--slate); }

@media (max-width: 640px) {
  .hero__logo { flex-basis: 300px; margin: 0 auto; }
}

/* One-page additions */
html { scroll-padding-top: 16px; }
.about-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.about-grid .prose { flex: 1 1 460px; min-width: 0; }
.about-grid .person__photo { flex: 0 1 380px; }
