:root {
  color-scheme: light;
  --night: #17130f;
  --night-raised: #231b15;
  --cream: #f7f2e7;
  --paper: #efe7d6;
  --ink: #251b14;
  --muted: #635649;
  --gold: #e7be68;
  --light-muted: #c7b9a3;
  --line: #cfc3ac;
  --dark-line: #e7be6842;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2.75rem, 6.1vw, 6.05rem); letter-spacing: -.076em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.045em; }
h4 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.04em; }
a { color: inherit; }
img { display: block; height: auto; max-width: 100%; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #aa681f; outline-offset: 5px; }
.shell { width: min(100% - 6.5rem, 78rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .6rem; left: .6rem; padding: .6rem 1rem; color: var(--ink); background: var(--cream); transform: translateY(-160%); }
.skip:focus { transform: none; }
.eyebrow { font-size: .68rem; font-weight: 720; text-transform: uppercase; letter-spacing: .17em; line-height: 1.4; }
.title-line { display: block; overflow: clip; padding-block: .04em .12em; margin-block: -.04em -.12em; }
.title-line > span, .title-line > em { display: block; }

.header { position: sticky; top: 0; z-index: 4; background: var(--night); color: var(--cream); border-bottom: 1px solid var(--dark-line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 3.25rem; flex: none; object-fit: contain; padding: .23rem; background: #fff; border-radius: 50%; }
.brand-name { display: block; font: 1.45rem/1.05 var(--serif); letter-spacing: -.05em; }
.brand-detail { display: block; color: var(--light-muted); margin-top: .35rem; font-size: .61rem; text-transform: uppercase; font-weight: 650; letter-spacing: .13em; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem clamp(1rem, 3vw, 2.35rem); }
nav a, .text-link { position: relative; text-decoration: none; font-size: .87rem; font-weight: 670; }
nav a { padding-block: .6rem; }
nav a::after, .text-link::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .28s; }
nav a:hover::after, nav a[aria-current]::after, .text-link:hover::after { transform: scaleX(1); }
.nav-visit { color: var(--gold); }
.menu-button { display: none; }
.menu-icon { width: 1.15rem; height: .65rem; position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .25s; }
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }
.menu-button[aria-expanded="true"] .menu-icon::before { transform: translateY(.3rem) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { transform: translateY(-.3rem) rotate(-45deg); }

.hero { isolation: isolate; position: relative; overflow: clip; color: var(--cream); background: var(--night); }
.hero-atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-art, .hero-light { position: absolute; inset: 0; }
.hero-art { background: radial-gradient(ellipse at 75% 44%, #71502e 0, #38271b 25%, #191410 62%); }
.hero-photo { position: absolute; inset: 0; }
.editorial-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-light {
  background:
    linear-gradient(90deg, #16120fee 5%, #16120fb8 38%, #18120e29 79%),
    linear-gradient(0deg, #16120ff2, transparent 45%),
    repeating-linear-gradient(123deg, transparent 0 9rem, #f3cb7810 9.07rem, transparent 9.15rem 15rem);
}
.hero-inner { display: grid; align-items: center; grid-template-columns: 1.1fr .9fr; min-height: clamp(31rem, 68vh, 47rem); gap: 2rem; padding-block: 4.35rem 3.25rem; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow, .reflection .eyebrow, .watch .eyebrow, .upcoming .eyebrow { color: var(--gold); }
.hero-label { display: flex; align-items: center; gap: .75rem; }
.hero-label::before { content: ''; width: 2rem; height: 1px; background: currentColor; }
.hero h1 { margin-block: 1.35rem 1.65rem; font-size: clamp(4rem, 9vw, 9.05rem); letter-spacing: -.092em; line-height: .85; }
.hero h1 em { color: var(--gold); font-weight: inherit; padding-right: .08em; }
.hero-description { max-width: 32rem; color: #dfd4c3; font-size: clamp(1rem, 1.43vw, 1.2rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.4rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; font-weight: 750; text-decoration: none; padding: .8rem 1.08rem; color: var(--night); background: var(--gold); border: 1px solid transparent; transition: color .25s, background .25s, border-color .25s; }
.button:hover { color: var(--gold); background: var(--night); border-color: var(--gold); }
.button span, .text-link span { display: inline-block; transition: transform .25s; }
.button:hover span, .text-link:hover span { transform: translate(.15rem, -.12rem); }
.hero-seal { width: min(100%, 29rem); aspect-ratio: 1; position: relative; align-self: center; justify-self: center; display: grid; place-items: center; }
.seal-plaque {
  position: relative; isolation: isolate; display: grid; place-items: center; width: 68%;
  aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 1px solid #c9a363;
  background: radial-gradient(circle at 33% 30%, #fff5dc, #f0ddbc 63%, #c3a371);
  box-shadow: inset 0 0 0 .4rem #f5e6c862, 0 1rem 4rem #0e0a07aa;
}
.hero-seal img { width: 70%; mix-blend-mode: multiply; }
.seal-ring, .seal-guides { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.seal-ring { border: 1px solid #e7be6854; box-shadow: inset 0 0 4rem #f7bf5f13, 0 0 5rem #e7be681b; }
.seal-ring::before, .seal-ring::after { content: ''; position: absolute; inset: 5%; border: 1px solid #e7be682d; border-radius: 50%; }
.seal-ring::after { inset: -4%; border-style: dashed; opacity: .65; }
.seal-guides { background: linear-gradient(0deg, transparent 49.9%, #e7be6828 50%, transparent 50.2%), linear-gradient(90deg, transparent 49.9%, #e7be6828 50%, transparent 50.2%); mask-image: radial-gradient(circle, transparent 56%, black 57%); }
.hero-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--dark-line); padding-block: .85rem; color: #ede1c8; }
.hero-footer p { font: italic 1.15rem/1.35 var(--serif); }
.hero-footer p span { display: inline-block; margin-inline-start: .75rem; color: var(--gold); font: 650 .63rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.hero-footer a { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid var(--dark-line); border-radius: 50%; text-decoration: none; color: var(--gold); }

.notice { background: #e8c884; color: #27190c; }
.mobile-notice { display: none; }
.notice-inner { display: grid; grid-template-columns: minmax(8rem, .4fr) 1.7fr auto; align-items: center; gap: 1rem 1.5rem; padding-block: 1rem; }
.notice h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: -.035em; }
.notice h2 + p { margin-top: .25rem; font-size: .89rem; }
.notice .text-link { justify-self: start; }

.schedule { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.section-heading .eyebrow, .visit .eyebrow { color: #795427; margin-bottom: .6rem; }
.section-heading > p { max-width: 16rem; color: var(--muted); }
.schedule-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.85rem, 6vw, 6rem); align-items: start; }
.weekly { padding-top: .45rem; }
.rows { list-style: none; padding: 0; margin-top: 1rem; border-top: 1px solid var(--line); }
.rows > div, .rows > li { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; padding: .68rem 0; border-bottom: 1px solid var(--line); }
.rows dt, .rows li > span { font-weight: 650; }
.rows dd { text-align: right; }
.rows time { white-space: nowrap; font-weight: 720; }
.rows small { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
[data-sunday-cancelled] { font-size: .9rem; font-weight: 720; }
.footnote { margin-top: .8rem; font-size: .82rem; color: var(--muted); }
.upcoming { --line: var(--dark-line); --muted: var(--light-muted); position: relative; background: var(--night-raised); color: var(--cream); padding: clamp(1.2rem, 3.1vw, 2.8rem); border-top: 3px solid #ad7d36; }
.upcoming h3 { margin-top: .4rem; }
.upcoming li > span > time { display: block; font-weight: 650; white-space: normal; }
.upcoming li > span > time::first-letter { text-transform: uppercase; }
.upcoming li[data-special] small { color: var(--gold); }
.upcoming .rows > li > time { font-size: .9rem; }
.monthly { margin-top: clamp(3rem, 6vw, 5.7rem); }
.monthly > h3 { margin-bottom: 1.1rem; }
.activity { display: grid; grid-template-columns: minmax(9.5rem, .55fr) 1.55fr minmax(7rem, .45fr); align-items: start; gap: .75rem clamp(1rem, 2.5vw, 2rem); padding: 1.15rem 0; border-top: 1px solid var(--line); }
.activity:last-child { border-bottom: 1px solid var(--line); }
.activity .eyebrow { color: #795427; padding-top: .55rem; }
.activity div p { margin-top: .4rem; max-width: 39rem; color: var(--muted); }
.activity time { justify-self: end; text-align: right; font-size: .84rem; font-weight: 730; padding-top: .42rem; }

.reflection { position: relative; isolation: isolate; overflow: clip; color: var(--cream); background: var(--night); }
.reflection-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 76% 45%, #a97b49 0, #543a26 27%, #211810 57%, #18130f 76%); }
.reflection-art > div { position: absolute; inset: 0; background: url('/img/meditacion.webp') center right / cover no-repeat; }
.reflection-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #15110fee 5%, #15110fc7 40%, #15110f0e 82%); }
.reflection-inner { display: grid; align-items: center; min-height: clamp(25rem, 55vw, 42rem); padding-block: clamp(4rem, 8vw, 6rem); }
.reflection-copy { max-width: 38rem; }
.reflection h2 { color: var(--gold); font-size: clamp(4rem, 11vw, 10rem); margin-block: .75rem 1.5rem; }
.reflection .lead { font: clamp(1.35rem, 2.6vw, 2rem)/1.25 var(--serif); }
.reflection p:last-child { max-width: 30rem; margin-top: .85rem; color: #e0d3c1; }
.art-credit { position: absolute; right: 1.2rem; bottom: .8rem; color: #e0d3c1; font-size: .66rem; text-shadow: 0 1px 4px var(--night); }

.gallery { padding-block: clamp(3.5rem, 7vw, 6.5rem); overflow: clip; background: var(--paper); }
.gallery-controls { display: flex; gap: .65rem; }
.gallery-controls button { width: 2.85rem; height: 2.85rem; border: 1px solid #8c7656; border-radius: 50%; background: transparent; transition: background .2s, color .2s; }
.gallery-controls button:hover { color: var(--cream); background: var(--night); }
.gallery-controls button:disabled { opacity: .4; cursor: default; }
.gallery-track { display: flex; gap: .9rem; padding: .2rem max(3.25rem, calc((100vw - 78rem) / 2)) .8rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(3.25rem, calc((100vw - 78rem) / 2)); scrollbar-color: #9d8157 var(--paper); }
.gallery-track li { flex: 0 0 clamp(18rem, 42vw, 39rem); scroll-snap-align: start; }
.gallery-track figure { display: grid; gap: .45rem; }
.gallery-frame { overflow: hidden; aspect-ratio: 4/3; background: #d6c9af; }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.gallery-track li:hover img { transform: scale(1.045); }
.gallery-track figcaption { font-size: .82rem; color: var(--muted); }

.watch { background: var(--night-raised); color: var(--cream); padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--dark-line); }
.watch-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem clamp(2rem, 9vw, 9rem); align-items: center; }
.watch h2 { margin-top: .6rem; }
.watch-subtitle { display: block; font: italic clamp(1.8rem, 3.7vw, 3.1rem)/1.05 var(--serif); color: var(--gold); letter-spacing: -.05em; }
.watch p:not(.eyebrow) { color: #d9cfbd; max-width: 33rem; margin-top: .9rem; }
.watch .button { margin-top: 1.35rem; }
.broadcast { --line: var(--dark-line); --muted: var(--light-muted); }
.visit { padding-block: clamp(3.5rem, 8vw, 6.75rem); background: var(--paper); }
.visit-inner { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.visit h2 { font-size: clamp(2.65rem, 5.6vw, 5.75rem); }
.visit h2 + p { margin-top: .65rem; color: var(--muted); }
.visit .button { background: var(--night); color: var(--cream); }
.visit .button:hover { background: #443322; }
.footer { color: var(--cream); background: var(--night); }
.footer-inner { padding-block: 1.7rem; flex-wrap: wrap; }
.footer .text-link { color: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .intro-fallback .hero h1 .title-line > * { animation: title-entry .85s cubic-bezier(.22, .68, .23, 1) both; }
  .intro-fallback .hero h1 .title-line + .title-line > * { animation-delay: .11s; }
  .intro-fallback .seal-ring { animation: seal-entry 1s ease-out both; }
}
@keyframes title-entry { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes seal-entry { from { transform: scale(.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 63rem) {
  .shell { width: calc(100% - 3.75rem); }
  .hero h1 { font-size: clamp(3.8rem, 10.1vw, 6rem); }
  .gallery-track { padding-inline: 1.875rem; scroll-padding-inline: 1.875rem; }
}
@media (max-width: 48rem) {
  html { scroll-padding-top: 5rem; }
  .shell { width: calc(100% - 2.4rem); }
  .header-inner { min-height: 4.35rem; flex-wrap: wrap; gap: .45rem 1rem; padding-block: .45rem; }
  .brand img { width: 2.8rem; }
  .brand-name { font-size: 1.28rem; }
  .brand-detail { margin-top: .25rem; font-size: .56rem; }
  .menu-button { display: inline-flex; align-items: center; gap: .6rem; padding: .58rem .68rem; background: transparent; border: 1px solid var(--dark-line); color: var(--gold); font-size: .82rem; }
  nav { flex-basis: 100%; padding-block: .2rem .65rem; }
  .js-menu nav { display: grid; gap: 0; }
  .js-menu nav a { border-top: 1px solid var(--dark-line); padding-block: .75rem; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 1.75rem; padding-block: 3rem 1.75rem; }
  .hero h1 { font-size: clamp(3.6rem, 13.25vw, 6rem); margin-block: 1.1rem 1.35rem; }
  .hero-atmosphere .hero-art { background: radial-gradient(ellipse at 61% 62%, #69482c, #35251a 38%, #191410 75%); }
  .hero-light { background: linear-gradient(165deg, #17120fee 9%, #17120faa 43%, #17120f36 68%, #17120fcd); }
  .hero-seal { width: min(59%, 13.75rem); }
  .hero-footer p { font-size: 1rem; }
  .hero-footer p span { display: block; margin: .25rem 0 0; }
  .notice-inner, .schedule-grid, .watch-inner { grid-template-columns: 1fr; }
  .notice-inner { gap: .45rem; }
  .mobile-notice { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 1.2rem; background: #e8c884; color: #27190c; font-size: .81rem; font-weight: 700; text-decoration: none; }
  .section-heading, .visit-inner { display: grid; align-items: start; }
  .activity { grid-template-columns: 1fr auto; }
  .activity div { grid-column: 1 / -1; grid-row: 2; }
  .activity time { grid-column: 2; grid-row: 1; }
  .reflection-art::after { background: linear-gradient(90deg, #15110fe9 0%, #15110f9e 65%, #15110f46); }
  .gallery-track { padding-inline: 1.2rem; scroll-padding-inline: 1.2rem; }
  .gallery-track li { flex-basis: min(80vw, 26rem); }
  .visit .actions { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
