:root {
  --ink: #151615;
  --charcoal: #232422;
  --slate: #4b4d4b;
  --stone: #d9d7d0;
  --paper: #f4f1e9;
  --white: #fff;
  --accent: #bca26f;
  --line-light: rgb(255 255 255 / 22%);
  --line-dark: rgb(21 22 21 / 20%);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Alef", Arial, sans-serif;
  --shell: min(88rem, calc(100% - 3rem));
  --section-space: clamp(5.5rem, 10vw, 10rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: 1rem; line-height: 1.7; }
body.menu-open, body:has(dialog[open]) { overflow: hidden; }
body.menu-open { position: fixed; inset-inline: 0; width: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 5rem; display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(1.25rem, 4vw, 4rem); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, height .3s; }
.site-header.is-scrolled, .site-header.is-open { height: 4.5rem; background: rgb(21 22 21 / 94%); border-color: var(--line-light); backdrop-filter: blur(14px); }
.wordmark { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.wordmark > span:first-child { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid currentColor; font-size: .8rem; letter-spacing: .03em; }
.wordmark__name { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(1.35rem, 2.8vw, 3rem); }
.site-nav a { position: relative; padding-block: .5rem; font-size: .78rem; letter-spacing: .17em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; border: 0; background: transparent; padding: .5rem 0; align-items: center; gap: .8rem; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.menu-toggle__icon { position: relative; width: 1.5rem; height: 1rem; }
.menu-toggle__icon i { position: absolute; right: 0; width: 100%; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
.menu-toggle__icon i:first-child { top: .2rem; }
.menu-toggle__icon i:last-child { top: .75rem; width: 70%; }
.menu-toggle[aria-expanded="true"] i:first-child { top: .5rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { top: .5rem; width: 100%; transform: rotate(-45deg); }

.hero { position: relative; min-height: max(44rem, 100svh); display: grid; align-items: center; overflow: hidden; isolation: isolate; background: #312c28 url("../../img/home_photo3.jpg") 50% 30% / cover no-repeat; }
.hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(8 9 8 / 70%) 0%, rgb(8 9 8 / 22%) 55%, rgb(8 9 8 / 12%)), linear-gradient(0deg, rgb(8 9 8 / 35%), transparent 45%); }
.hero__content { padding-top: 5rem; }
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .23em; line-height: 1.3; text-transform: uppercase; }
.hero h1, .section h2, .contact h2, .dialog h2 { margin: 0; font-family: var(--font-display); font-weight: 300; letter-spacing: -.035em; line-height: .88; text-transform: uppercase; }
.hero h1 { max-width: 8ch; font-size: clamp(5rem, 11vw, 10.5rem); }
.hero__subtitle { margin: 1rem 0 0 .4rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 300; letter-spacing: .5em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.hero__scroll { position: absolute; right: clamp(1.5rem, 4vw, 4rem); bottom: 2rem; display: flex; align-items: center; gap: .7rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll svg, .text-button svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; }

.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.4rem; border: 1px solid transparent; border-radius: 0; font-size: .76rem; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button--light:hover { background: var(--accent); border-color: var(--accent); }
.button--ghost { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 55%); backdrop-filter: blur(8px); }
.button--ghost:hover { background: var(--white); color: var(--ink); }
.button--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button--dark:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button[disabled] { opacity: .55; cursor: wait; transform: none; }

.section { padding-block: var(--section-space); }
.section--ink { background: var(--ink); }
.section--stone { background: var(--stone); color: var(--ink); }
.section--slate { background: var(--slate); }
.section--charcoal { background: var(--charcoal); }
.section h2, .contact h2 { font-size: clamp(3.5rem, 7.5vw, 7.5rem); }
.section-heading { border-top: 1px solid var(--line-light); padding-top: 1.4rem; }
.section--stone .section-heading { border-color: var(--line-dark); }
.section-heading--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading--row .eyebrow { margin-bottom: 1rem; }
.section-intro { width: min(23rem, 100%); margin: 0 0 .45rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.prose-layout { display: grid; grid-template-columns: minmax(17rem, .8fr) minmax(20rem, 1.2fr); gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.prose-layout--reverse .section-heading { order: 2; }
.prose { padding-top: clamp(1rem, 6vw, 6rem); }
.prose p { margin: 0; font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.9; }

.photo-break { position: relative; width: 100%; height: clamp(24rem, 64vw, 52rem); margin: 0; overflow: hidden; background: var(--charcoal); }
.photo-break img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.photo-break--organ img { object-position: center 45%; }

.agenda-list { border-top: 1px solid var(--line-dark); }
.concert { position: relative; display: grid; grid-template-columns: minmax(10rem, .65fr) 1.35fr auto; gap: clamp(1rem, 4vw, 4rem); align-items: center; min-height: 8.5rem; padding: 1.5rem .25rem; border-bottom: 1px solid var(--line-dark); }
.concert time { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.concert h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.15; text-transform: uppercase; }
.concert p { margin: .3rem 0 0; color: rgb(21 22 21 / 70%); }
.concert__number { align-self: start; color: rgb(21 22 21 / 36%); font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; }
.empty-state { max-width: 43rem; margin: 0; padding: 3rem 0; font-size: 1.1rem; }
.text-button { display: flex; align-items: center; gap: .7rem; margin: 2.5rem auto 0; padding: .7rem .3rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

.album-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); aspect-ratio: 2 / 1; max-width: 68rem; margin-inline: auto; background: #333431; }
.album-feature__art { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; background: #242522; }
.album-feature__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.album-feature__copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 4vw, 4rem); }
.album-feature__copy h3 { margin: 0; max-width: 12ch; font-family: var(--font-display); font-size: clamp(2.5rem, 4.2vw, 4.5rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; text-transform: uppercase; }
.album-feature__copy > p:not(.eyebrow) { max-width: 28rem; margin: 1.25rem 0 1.5rem; color: rgb(255 255 255 / 72%); }
.streaming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(3rem, 6vw, 6rem); }
.streaming-grid iframe { width: 100%; height: 352px; border: 0; border-radius: .7rem; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 6rem); }
.video-card { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #111; }
.video-facade { position: relative; display: block; padding: 0; overflow: hidden; color: var(--white); cursor: pointer; }
.video-facade::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 35%), transparent 55%); content: ""; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video-facade__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 4rem; height: 2.8rem; display: grid; place-items: center; border-radius: .7rem; background: #f03; box-shadow: 0 .6rem 2rem rgb(0 0 0 / 35%); transform: translate(-50%, -50%); transition: background .2s, transform .2s; }
.video-facade__play svg { width: 1.65rem; fill: currentColor; }
.video-facade:hover img, .video-facade:focus-visible img { transform: scale(1.025); }
.video-facade:hover .video-facade__play, .video-facade:focus-visible .video-facade__play { background: #e0002a; transform: translate(-50%, -50%) scale(1.06); }
.video-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.section--links { background: var(--paper); color: var(--ink); }
.section--links .section-heading { border-color: var(--line-dark); }
.links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.link-card { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.25rem; align-items: center; min-height: 8rem; padding: 1.25rem; border-bottom: 1px solid var(--line-dark); transition: background .2s, padding .2s; }
.link-card:nth-child(odd) { border-right: 1px solid var(--line-dark); }
.link-card:hover, .link-card:focus-visible { padding-left: 1.6rem; background: var(--stone); outline: none; }
.link-card__logo { width: 8rem; height: 4.5rem; display: grid; place-items: center; padding: .35rem; }
.link-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.link-card__logo--round img { aspect-ratio: 1; }
.link-card__logo--cantorij img { width: 3.15rem; height: 3.15rem; }
.link-card__logo--geistliches img { width: 3.15rem; height: 3.15rem; }
.link-card__logo--lutherse img { width: 3.4rem; height: 3.4rem; }
.link-card__logo--photo { padding: 0; overflow: hidden; }
.link-card__logo--photo img { object-fit: cover; }
.link-card__body { display: grid; gap: .35rem; }
.link-card__number { color: rgb(21 22 21 / 45%); font-family: var(--font-display); font-size: .7rem; letter-spacing: .08em; }
.link-card__name { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.link-card__arrow { font-size: 1.2rem; transition: transform .2s; }
.link-card:hover .link-card__arrow { transform: translate(.2rem, -.2rem); }

.contact { display: grid; grid-template-columns: minmax(20rem, .9fr) minmax(27rem, 1.1fr); min-height: 56rem; background: var(--paper); color: var(--ink); }
.contact__image { min-height: 42rem; overflow: hidden; }
.contact__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.contact__content { align-self: center; width: min(45rem, calc(100% - 5rem)); margin-inline: auto; padding-block: var(--section-space); }
.contact__content > p:not(.eyebrow) { margin: 1.5rem 0 2.5rem; }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.form label { position: relative; display: grid; grid-template-rows: 1rem minmax(3.5rem, auto); align-content: start; gap: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form label:not(:has(> textarea)) { height: 5rem; }
.form__label-text { grid-row: 1; grid-column: 1; display: inline-flex; align-items: baseline; gap: .2em; line-height: 1rem; }
.form input, .form textarea, .form select { grid-row: 2; grid-column: 1; width: 100%; padding: .85rem .15rem; border: 0; border-bottom: 1px solid rgb(21 22 21 / 36%); border-radius: 0; outline: 0; background: transparent; color: inherit; font-size: 1rem; letter-spacing: normal; text-transform: none; }
.form input, .form select { height: 3.5rem; line-height: 1.5; }
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); background: transparent; box-shadow: none; }
.form__footer { display: flex; align-items: center; gap: 1.25rem; margin-top: .5rem; }
.form-status { margin: 0; font-size: .9rem; line-height: 1.4; }
.form-status.is-error { color: #9a2d2d; }

.dialog { width: min(44rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(2rem, 5vw, 4rem); border: 0; border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 35%); }
.dialog::backdrop { background: rgb(9 10 9 / 78%); backdrop-filter: blur(5px); }
.dialog h2 { margin-bottom: .8rem; font-size: clamp(3rem, 7vw, 5.5rem); }
.dialog > p:not(.eyebrow) { margin: 0 0 2rem; }
.dialog__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; }
.dialog__close svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.form--order { gap: .8rem; }
.form--order .form__row { gap: 1rem; }
.form--order input, .form--order select { display: block; margin: 0; }

.site-footer { padding-block: 4rem 2rem; background: var(--ink); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.wordmark--footer { margin-bottom: .8rem; }
.site-footer p { margin: 0; color: rgb(255 255 255 / 54%); font-size: .84rem; }
.social-links { display: flex; gap: 2rem; }
.social-links a { display: flex; gap: .5rem; border-bottom: 1px solid var(--line-light); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__credit { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.site-footer__credit a { color: var(--white); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 901px) {
  .hero { background-position: 50% 20%; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 2.5rem, 44rem); }
  .site-header.is-open { background: transparent; border-color: transparent; backdrop-filter: none; }
  .site-header > .wordmark, .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle { display: flex; touch-action: manipulation; }
  .site-nav { position: fixed; z-index: 1; top: 0; right: 0; bottom: auto; left: 0; width: 100%; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; padding: max(6rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-right)) max(3rem, env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left)); overflow-y: auto; background: var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-100%); transition: opacity .3s ease, visibility .3s, transform .45s cubic-bezier(.76, 0, .24, 1); }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .site-nav a { width: 100%; padding-block: .2rem; font-family: var(--font-display); font-size: clamp(2.6rem, 10vw, 4.5rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
  .prose-layout, .prose-layout--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .prose-layout--reverse .section-heading { order: initial; }
  .prose { padding-top: 0; }
  .streaming-grid { grid-template-columns: 1fr; }
  .streaming-grid iframe { height: 152px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-feature { grid-template-columns: 1fr; aspect-ratio: auto; max-width: 44rem; }
  .contact { grid-template-columns: 1fr; }
  .contact__image { height: min(100vw, 46rem); min-height: 0; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 2rem); --section-space: 5.25rem; }
  .wordmark__name { display: none; }
  .hero { background-position: 54% 30%; }
  .hero__shade { background: linear-gradient(90deg, rgb(8 9 8 / 62%), rgb(8 9 8 / 5%)), linear-gradient(0deg, rgb(8 9 8 / 52%), transparent 55%); }
  .hero__content { align-self: end; padding-bottom: 7rem; }
  .hero h1 { font-size: clamp(4.6rem, 25vw, 7rem); }
  .hero__scroll { display: none; }
  .section-heading--row { display: block; }
  .section-intro { margin-top: 1.5rem; }
  .photo-break { height: 70vw; min-height: 20rem; }
  .concert { grid-template-columns: 1fr auto; gap: .5rem 1rem; padding-block: 1.5rem; }
  .concert time { grid-column: 1; }
  .concert div { grid-column: 1 / -1; }
  .concert__number { grid-column: 2; grid-row: 1; }
  .album-feature__copy { padding: 2rem 1.5rem 2.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
  .link-card:nth-child(odd) { border-right: 0; }
  .link-card { grid-template-columns: 6.5rem 1fr auto; min-height: 7rem; padding-inline: .75rem; gap: .85rem; }
  .link-card:hover, .link-card:focus-visible { padding-left: 1rem; }
  .link-card__logo { width: 6.5rem; height: 3.8rem; }
  .contact__content { width: calc(100% - 2rem); }
  .form__row { grid-template-columns: 1fr; }
  .form__footer { align-items: flex-start; flex-direction: column; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__credit { grid-column: auto; }
  .dialog { padding: 4rem 1.25rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
