@font-face {
  font-family: 'Libre Baskerville';
  src: url('./assets/libre-baskerville-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans';
  src: url('./assets/source-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans';
  src: url('./assets/source-sans-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  font-family: 'Source Sans', Arial, sans-serif;
  color: #213e32;
  background: #f8f7f2;
  font-synthesis: none;
  color-scheme: light;
  --forest: #143d31;
  --paper: #f8f7f2;
  --ink: #213e32;
  --muted: #60685e;
  --line: #dedfd5;
  --gold: #dbcc9f;
  --serif: 'Libre Baskerville', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: #dbcc9f; color: #143d31; }
:focus-visible { outline: 2px solid #99753a; outline-offset: 5px; }
html { scrollbar-color: #a9b5a3 var(--paper); }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--paper); color: var(--forest); transform: translateY(-180%); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.page { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.4fr); min-height: 100svh; }
.identity { position: sticky; top: 0; height: 100svh; min-height: 640px; display: flex; flex-direction: column; padding: clamp(40px, 4.5vw, 72px); background: var(--forest); color: var(--paper); }
.logo { display: block; width: 180px; height: auto; }
.church-name { margin-block: auto; padding-block: 72px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.65vw, 58px); letter-spacing: -.035em; line-height: 1.32; margin: 0; }
h1 span { display: block; }
h1 .city { color: var(--gold); margin-top: 5px; }
.identity-rule { display: block; width: 52px; height: 1px; background: #a8986f; margin-top: 34px; }
.hometown { display: flex; align-items: center; gap: 10px; margin: 0; color: #d0d9cc; font-size: 15px; }
.hometown svg { width: 17px; height: 17px; }
.content { width: 100%; max-width: 920px; margin: auto; padding: 48px clamp(32px, 4.5vw, 76px); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h2 { font-family: var(--serif); font-size: 30px; line-height: 1.3; letter-spacing: -.03em; font-weight: 400; margin: 0; }
.heading-icon { width: 25px; height: 25px; color: #6d7a66; }
.schedule { margin-top: 23px; }
.meeting-group { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.meeting-group:first-child { border-top: 1px solid var(--line); }
.meeting-group h3 { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 3px 0 0; }
.meeting-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.meeting-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.meeting-name { font-size: 16px; line-height: 1.45; color: #4d584d; }
.meeting-list time { font-size: 24px; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.025em; }
.meeting-list time span { font-size: 15px; padding-inline: 1px; color: var(--muted); }
.location { margin-top: 32px; }
.location h2 { font-size: 22px; }
.location-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: stretch; margin-top: 18px; }
.location-details { display: flex; align-items: flex-start; flex-direction: column; }
address { max-width: 230px; font-style: normal; font-size: 16px; line-height: 1.55; }
address > span { display: block; color: var(--muted); margin-top: 5px; font-size: 14px; }
.directions-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; margin-top: 18px; padding: 12px 16px; border-radius: 6px; background: var(--forest); color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .18s ease; }
.directions-link:hover { background: #275440; }
.button-arrow { width: 17px; margin-left: 6px; transition: transform .2s ease; }
.directions-link:hover .button-arrow { transform: translateX(3px); }
.copy-address { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 0; margin-top: 3px; border: 0; color: var(--muted); background: transparent; font-size: 13px; cursor: pointer; text-underline-offset: 4px; }
.copy-address[hidden] { display: none; }
.copy-address:hover span { text-decoration: underline; }
.copy-address svg { width: 14px; height: 14px; }
.copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.location-map { width: 100%; height: 100%; min-height: 198px; border: 0; border-radius: 10px; background: #e5e8df; }
.socials { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
.socials > p { font-size: 13px; color: var(--muted); margin: 0; }
.social-links { display: flex; align-items: center; gap: 16px; }
.social-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--forest); text-decoration: none; text-underline-offset: 4px; }
.social-link svg { width: 17px; height: 17px; }
.social-link:hover span { text-decoration: underline; }
@media (min-width: 1600px) { .page { grid-template-columns: 1fr 1.4fr; } .identity { padding-left: max(72px, calc((100vw - 1440px) / 2)); } }
@media (min-width: 981px) and (max-height: 800px) { .identity { min-height: 620px; padding-block: 38px; } .content { padding-block: 24px; } .meeting-group { padding-block: 12px; } .location { margin-top: 24px; } .socials { margin-top: 20px; } }
@media (max-width: 1180px) and (min-width: 981px) { .identity { padding-inline: 36px; } .content { padding-inline: 30px; } .meeting-group { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; } .socials { align-items: flex-start; flex-direction: column; gap: 5px; } .social-links { gap: 24px; } }
@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; }
  .identity { position: relative; height: auto; min-height: 0; padding: 36px 32px; display: grid; grid-template-columns: 140px 1fr; column-gap: 36px; align-items: center; }
  .logo { width: 140px; }
  .church-name { padding: 0; }
  h1 { font-size: 34px; line-height: 1.25; }
  h1 span:first-child, h1 span:nth-child(2) { display: inline; }
  h1 .city { margin-top: 3px; }
  .identity-rule { display: none; }
  .hometown { grid-column: 2; margin-top: 12px; font-size: 13px; }
  .content { max-width: 720px; padding: 36px 32px 24px; }
}
@media (max-width: 640px) {
  .identity {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 24px 20px;
    background: var(--paper);
    color: var(--forest);
    border-top: 4px solid var(--forest);
    border-bottom: 1px solid var(--line);
  }
  .brand-mark { display: block; }
  .logo { width: 72px; height: auto; mix-blend-mode: multiply; }
  .church-name { margin: 0; padding: 0; }
  h1 { font-size: 22px; line-height: 1.35; letter-spacing: -.03em; text-wrap: balance; }
  h1 span:first-child, h1 span:nth-child(2) { display: inline; }
  h1 .city { display: inline; margin: 0; color: var(--forest); }
  .hometown { display: none; }
  .content { padding: 24px 20px max(24px, env(safe-area-inset-bottom)); }
  h2 { font-size: 24px; line-height: 1.35; }
  .heading-icon { width: 22px; height: 22px; }
  .schedule { margin-top: 18px; }
  .meeting-group { display: block; padding: 14px 0; }
  .meeting-group h3 { margin: 0 0 7px; font-size: 14px; line-height: 1.35; color: var(--muted); }
  .meeting-group:first-child { background: var(--forest); color: var(--paper); border: 0; border-radius: 12px; padding: 17px 18px; margin-bottom: 3px; }
  .meeting-group:first-child h3 { color: #d0d9cc; margin-bottom: 12px; }
  .meeting-group ul { gap: 10px; }
  .meeting-list li { align-items: baseline; gap: 14px; }
  .meeting-name { font-size: 16px; line-height: 1.45; color: var(--ink); }
  .meeting-list time { font-size: 22px; line-height: 1.3; }
  .meeting-list time span { font-size: 14px; }
  .meeting-group:first-child .meeting-name { color: var(--paper); }
  .meeting-group:first-child time, .meeting-group:first-child time span { color: var(--gold); }
  .location { margin-top: 26px; }
  .location h2 { font-size: 24px; }
  .location-layout { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-top: 12px; }
  .location-details { display: contents; }
  address { grid-column: 1 / -1; grid-row: 1; max-width: none; font-size: 16px; line-height: 1.45; }
  address > span { margin-top: 4px; }
  .location-map { grid-column: 1 / -1; grid-row: 2; height: 170px; min-height: 0; border-radius: 12px; margin-top: 2px; }
  .directions-link { grid-column: 1; grid-row: 3; width: 100%; min-height: 48px; margin: 0; padding: 12px; border-radius: 8px; font-size: 15px; }
  .button-arrow { display: none; }
  .copy-address { grid-column: 2; grid-row: 3; justify-content: center; gap: 6px; min-height: 48px; margin: 0; padding: 10px; border: 1px solid #c4ccbf; border-radius: 8px; font-size: 13px; color: var(--ink); }
  .copy-address svg { width: 16px; height: 16px; }
  .copy-address:not([hidden]) { display: flex; }
  .socials { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; padding-top: 20px; }
  .socials > p { font-size: 14px; text-align: center; }
  .social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .social-link { flex-direction: column; justify-content: center; gap: 6px; min-height: 64px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
  .social-link svg { width: 20px; height: 20px; }
  .social-link:active, .copy-address:active { background: #e5e8df; }
}
@media (max-width: 360px) {
  .identity { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding-inline: 16px; }
  .logo { width: 62px; }
  h1 { font-size: 20px; }
  .content { padding-inline: 16px; }
  h2, .location h2 { font-size: 23px; }
  .meeting-group:first-child { padding-inline: 14px; }
  .meeting-list li { gap: 10px; }
  .meeting-list time { font-size: 21px; }
  .location-layout { column-gap: 8px; }
  .directions-link { gap: 6px; padding-inline: 8px; }
  .copy-address { padding-inline: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .church-name { animation: settle .7s cubic-bezier(.16, 1, .3, 1); }
  @keyframes settle { from { transform: translateY(12px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
