/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --ink: #101616;
  --paper: #faf6ef;
  --gold: #dfbf85;
  --muted: #ccc9c0;
  --serif: 'Cormorant Garamond', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
::selection { background: #b39360; color: #101616; }
[hidden] { display: none !important; }
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #101616; pointer-events: none; }
.backdrop__poster { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.backdrop__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.backdrop__video.is-visible { opacity: 1; }
.backdrop__video iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.778vh); height: max(100vh, 56.25vw); transform: translate(-50%, -50%); border: 0; }
@supports (height: 100dvh) {
  .backdrop__video iframe { width: max(100vw, 177.778dvh); height: max(100dvh, 56.25vw); }
}
.backdrop__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,16,16,.75) 0%, rgba(9,16,16,.37) 35%, rgba(9,16,16,.54) 58%, rgba(9,16,16,.93) 100%), linear-gradient(90deg, rgba(8,17,17,.24), rgba(8,17,17,.16) 50%, rgba(8,17,17,.24)); }
.page { position: relative; z-index: 1; width: 100%; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: 0 clamp(22px, 4.3vw, 84px); isolation: isolate; }
.masthead { width: 100%; padding: 32px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(223,191,133,.2); font-size: .75rem; text-transform: uppercase; letter-spacing: .21em; line-height: 1.6; }
.masthead__place { margin: 0; color: var(--paper); }
.masthead__place span { color: var(--gold); margin: 0 13px; opacity: .7; }
.masthead__identity { color: #d7cbb6; }
.sanctuary { width: 100%; max-width: 1380px; margin: auto; padding: clamp(32px, 5vh, 76px) 0 38px; text-align: center; }
.emblem { display: flex; align-items: center; justify-content: center; gap: 28px; margin-bottom: 28px; }
.emblem img { width: 88px; height: 108px; object-fit: contain; filter: drop-shadow(0 2px 12px rgba(0,0,0,.24)); }
.emblem__line { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, rgba(223,191,133,.6)); }
.emblem__line:last-child { transform: rotate(180deg); }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; text-shadow: 0 2px 25px rgba(0,0,0,.17); }
h1 > span { display: block; font-size: clamp(2.625rem, 5.3vw, 6.4rem); letter-spacing: -.025em; }
h1 em { display: block; margin-top: 6px; color: var(--gold); font-weight: 400; font-size: clamp(4.1rem, 8.4vw, 9.75rem); letter-spacing: -.035em; }
.dedication { margin: 26px auto 0; max-width: 540px; color: #e3dfd5; font-size: 1rem; line-height: 1.75; font-weight: 400; }
.ornament { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 30px auto 25px; }
.ornament span { height: 1px; width: 43px; background: rgba(223,191,133,.46); }
.ornament i { display: block; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.parish-names { display: grid; justify-items: center; gap: 9px; }
.parish-names p { margin: 0; max-width: 100%; color: #d9d7ce; font-size: 1rem; line-height: 1.6; }
.parish-names .parish-names__english { font-family: var(--serif); font-size: 1.625rem; color: var(--paper); line-height: 1.4; margin-bottom: 4px; }
.parish-names strong { font-weight: 600; }
.parish-names [lang='el'] { font-family: Georgia, 'Times New Roman', serif; font-size: 1.125rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 max(24px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(223,191,133,.2); }
.footer__name { margin: 0; color: #b5b8b2; font-size: .75rem; line-height: 1.6; letter-spacing: .03em; }
.video-controls { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.video-toggle { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(223,191,133,.36); border-radius: 30px; background: rgba(16,22,22,.3); color: #e7dcc7; font-size: .875rem; line-height: 1.5; cursor: pointer; transition: border-color .2s, background .2s; }
.video-toggle:hover { border-color: #dfbf85; background: rgba(223,191,133,.12); }
.video-toggle .icon--pause { display: none; }
.video-toggle[aria-pressed='true'] .icon--play { display: none; }
.video-toggle[aria-pressed='true'] .icon--pause { display: block; }
.video-source { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .75rem; text-decoration: none; color: #b5b8b2; transition: color .2s; }
.video-source:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (min-width: 900px) and (min-height: 1000px) {
  .sanctuary { padding-top: 64px; padding-bottom: 64px; }
  .emblem { margin-bottom: 35px; }
  .emblem img { width: 105px; height: 129px; }
  .ornament { margin-top: 40px; margin-bottom: 30px; }
}
@media (min-width: 701px) and (max-height: 900px) {
  .masthead { padding-top: 24px; padding-bottom: 18px; }
  .sanctuary { padding-top: 24px; padding-bottom: 26px; }
  .emblem { margin-bottom: 18px; }
  .emblem img { width: 72px; height: 88px; }
  h1 > span { font-size: clamp(2.625rem, min(5vw, 8.5vh), 5.5rem); }
  h1 em { font-size: clamp(4rem, min(7.3vw, 12vh), 8rem); }
  .dedication { margin-top: 20px; }
  .ornament { margin-top: 24px; margin-bottom: 20px; }
  .parish-names { gap: 7px; }
  .footer { padding-top: 16px; padding-bottom: 18px; }
}
@media (max-width: 700px) {
  .masthead { padding-top: 23px; padding-bottom: 20px; font-size: .75rem; letter-spacing: .15em; }
  .masthead__identity { display: none; }
  .masthead__place { margin: auto; }
  .sanctuary { padding-top: 36px; padding-bottom: 36px; }
  .emblem { gap: 22px; margin-bottom: 29px; }
  .emblem img { width: 76px; height: 93px; }
  .emblem__line { width: 34px; }
  h1 > span { max-width: 520px; margin: auto; font-size: clamp(2.625rem, 8.1vw, 3.6rem); line-height: 1.1; }
  h1 em { margin-top: 8px; font-size: clamp(3.7rem, 12.8vw, 5.6rem); }
  .dedication { margin-top: 25px; max-width: 350px; font-size: 1rem; line-height: 1.75; }
  .desktop-break { display: none; }
  .ornament { margin-top: 27px; margin-bottom: 24px; }
  .parish-names { gap: 11px; }
  .parish-names p { font-size: 1rem; line-height: 1.55; }
  .parish-names .parish-names__english { font-size: 1.5rem; margin-bottom: 3px; }
  .parish-names [lang='el'] { font-size: 1.0625rem; }
  .footer { justify-content: center; flex-direction: column-reverse; gap: 12px; padding-top: 16px; }
  .footer__name { text-align: center; font-size: .75rem; }
  .video-controls { gap: 24px; }
  .backdrop__shade { background: linear-gradient(180deg, rgba(9,16,16,.7), rgba(9,16,16,.51) 32%, rgba(9,16,16,.77) 66%, rgba(9,16,16,.95)); }
}
@media (max-width: 360px) {
  .page { padding-left: 18px; padding-right: 18px; }
  h1 > span { font-size: 2.5rem; }
  h1 em { font-size: 3.7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .sanctuary { animation: appear 1.2s ease both; }
  @keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body, html { background: white; color: black; }
  .backdrop, .video-controls { display: none; }
  .page { min-height: auto; padding: 1cm; }
  .sanctuary { padding: 1cm 0; }
  h1 em, .dedication, .parish-names p, .masthead__identity, .masthead__place, .footer__name { color: black; }
}
