/* DYA NORTHEAST v3
   Photo-led. Big photos sit behind sections in a logo-blue duotone; event and team photos stay in full color.
   One family, Archivo: extra-wide and heavy for headings (retreat-shirt energy), normal width for reading. */
:root {
  --blue: #126694;
  --blue-2: #1B7DB3;
  --deep: #062436;
  --deep-2: #0B3550;
  --deep-3: #124767;
  --sky: #A9DBF5;
  --sky-2: #DDF0FA;
  --ink: #071D2B;
  --ink-2: #1F3A4A;
  --muted: #4A6372;
  --muted-2: #5B7382;
  --paper: #FFFFFF;
  --mist: #F2F7FA;
  --mist-2: #E4EFF5;
  --line: #DAE6ED;
  --line-2: #C3D7E4;
  --on-deep: #CFE4F0;
  --on-deep-2: #8FBAD3;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
  --r-sm: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-stretch: 100%; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--deep-2); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { max-width: 1220px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 560px) { .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); } }
.section { padding-top: 104px; padding-bottom: 104px; }
@media (max-width: 700px) { .section { padding-top: 72px; padding-bottom: 72px; } }
.mist, .tint { background: var(--mist); }

/* Type */
.kicker { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .2px; }
.h2, .h3-serif, .hero h1, .pagehead h1, .qoc-hero h1, .join h2 { font-stretch: 125%; }
.h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1; font-weight: 850; letter-spacing: -1px; color: var(--ink); }
.h3-serif { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.1; letter-spacing: -.4px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start; background: var(--blue); color: #FFF; text-decoration: none; font-weight: 750; font-stretch: 112%; font-size: 15px; padding: 15px 24px; border-radius: var(--r-sm); border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--deep-2); color: #FFF; }
.btn-light { background: #FFF; color: var(--deep); }
.btn-light:hover { background: var(--sky-2); color: var(--deep); }
.btn-line { background: transparent; color: #FFF; border-color: rgba(255,255,255,.6); }
.btn-line:hover { background: rgba(255,255,255,.12); color: #FFF; border-color: #FFF; }
.btn-ghost { background: #FFF; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-white { background: #FFF; color: var(--deep); }
.btn-white:hover { background: var(--sky-2); color: var(--deep); }
.link-more { font-weight: 750; font-stretch: 112%; font-size: 15px; text-decoration: none; color: var(--blue); padding: 8px 0; }
.link-more::after { content: " ↗"; }
.chip { background: var(--mist-2); color: var(--deep-2); font-size: 14px; font-weight: 650; padding: 9px 14px; border-radius: var(--r-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }

/* Duotone photo layer */
.duo { position: absolute; inset: 0; z-index: -2; background: var(--blue); isolation: isolate; overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.08); mix-blend-mode: luminosity; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #FFF; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { max-width: 1280px; margin: 0 auto; padding: 10px max(24px, env(safe-area-inset-right, 0px)) 10px max(24px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; }
.brand-name { display: block; font-weight: 900; font-stretch: 125%; font-size: 17px; letter-spacing: -.2px; line-height: 1.05; }
.brand-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav-links a { position: relative; color: var(--ink-2); font-weight: 600; text-decoration: none; font-size: 14.5px; padding: 10px 12px; }
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 750; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--blue); }
.nav-links .nav-cta { background: var(--deep); color: #FFF; margin-left: 8px; padding: 11px 18px; font-weight: 750; font-stretch: 112%; border-radius: var(--r-sm); }
.nav-links .nav-cta:hover { background: var(--blue); color: #FFF; }
.menu-toggle { display: none; background: #FFF; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; transform: translateY(-50%); }
  .nav-links .nav-cta { margin: 12px 0 0; text-align: center; border-bottom: none; }
}

/* Home hero */
.hero { position: relative; isolation: isolate; color: #FFF; min-height: min(780px, 90vh); display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(6,36,54,.9) 0%, rgba(6,36,54,.62) 45%, rgba(6,36,54,.12) 80%),
  linear-gradient(0deg, rgba(6,36,54,.95) 0%, rgba(6,36,54,0) 50%); }
.hero-word { position: absolute; left: 50%; bottom: -.17em; transform: translateX(-50%); z-index: -1; margin: 0; font-size: clamp(90px, 19vw, 300px); font-weight: 900; font-stretch: 125%; letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(169,219,245,.38); pointer-events: none; user-select: none; }
.hero-inner { padding-top: 120px; padding-bottom: 180px; display: flex; flex-direction: column; gap: 24px; width: 100%; }
.hero-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--on-deep); background: rgba(6,36,54,.5); border: 1px solid rgba(169,219,245,.3); padding: 6px 14px 6px 6px; border-radius: var(--r-sm); }
.hero-badge img { width: 30px; height: 30px; object-fit: contain; background: #FFF; border-radius: 4px; padding: 3px; }
.hero h1 { font-weight: 900; font-size: clamp(44px, 7vw, 96px); line-height: .92; letter-spacing: -2px; display: flex; flex-direction: column; }
.hero-text { font-size: 18px; line-height: 1.6; color: var(--on-deep); max-width: 500px; }
@media (max-width: 700px) { .hero::before { background: linear-gradient(0deg, rgba(6,36,54,.96) 0%, rgba(6,36,54,.8) 55%, rgba(6,36,54,.55) 100%); } .pagehead.has-photo::before { background: rgba(6,36,54,.82); } }
@media (max-width: 600px) { .hero { min-height: 620px; } .hero-inner { padding-top: 88px; padding-bottom: 130px; } .hero-text { font-size: 16px; } .hero h1 { letter-spacing: -1px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span, .hero-text, .hero .chips, .hero-badge { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 span:nth-child(1) { animation-delay: .1s; }
  .hero h1 span:nth-child(2) { animation-delay: .22s; }
  .hero h1 span:nth-child(3) { animation-delay: .34s; }
  .hero-text { animation-delay: .5s; }
  .hero .chips { animation-delay: .6s; }
  .hero-word { animation: drift 1.6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { opacity: 0; transform: translate(-46%, 0); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Quick links */
.quick { position: relative; margin-top: -64px; z-index: 2; }
.quick-bar { background: #FFF; border-radius: var(--r); box-shadow: 0 24px 50px rgba(6,36,54,.16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.quick-bar a { display: flex; align-items: center; gap: 14px; padding: 24px 22px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); border-top: 4px solid transparent; transition: border-color .2s, background .2s; }
.quick-bar a:last-child { border-right: none; }
.quick-bar a:hover { border-top-color: var(--blue); background: var(--mist); color: var(--ink); }
.icon-box { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--sky-2); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.quick-bar strong { display: block; font-size: 15.5px; font-stretch: 112%; font-weight: 800; }
.quick-bar small { font-size: 13px; color: var(--muted-2); }
@media (max-width: 900px) { .quick-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quick-bar a:nth-child(2) { border-right: none; } .quick-bar a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .quick-bar a { padding: 16px 12px; gap: 10px; } .icon-box { width: 36px; height: 36px; } .quick-bar small { display: none; } }

/* About + motto */
.about-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 72px; align-items: center; }
.motto { margin: 0; position: relative; display: flex; flex-direction: column; gap: 20px; padding: 36px 0 0 0; }
.motto::before { content: "“"; position: absolute; top: -34px; left: -6px; font-size: 140px; font-weight: 900; line-height: 1; color: var(--sky); }
.motto blockquote { position: relative; margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; font-stretch: 112%; line-height: 1.32; letter-spacing: -.3px; color: var(--deep-2); }
.motto figcaption { font-size: 14px; font-weight: 700; color: var(--blue); }
.mission { background: var(--mist); border-left: 4px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.mission p { font-size: 17px; line-height: 1.7; }
.about-intro { padding-top: 88px; }

/* Page header */
.pagehead { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #FFF; }
.pagehead.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,36,54,.94) 0%, rgba(6,36,54,.7) 55%, rgba(6,36,54,.3) 100%); }
.pagehead-inner { padding-top: 104px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; }
.pagehead .kicker, .qoc-hero .kicker, .qoc-band .kicker, .navy-band .kicker, .diocese .kicker { color: var(--sky); }
.pagehead h1 { font-weight: 900; font-size: clamp(40px, 6.4vw, 80px); line-height: .95; letter-spacing: -1.5px; max-width: 14ch; }
.pagehead .lead { color: var(--on-deep); font-size: 18px; }
@media (max-width: 600px) { .pagehead-inner { padding-top: 72px; padding-bottom: 64px; } }

/* Events: schedule rows */
.event-list { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.event { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.event.has-image { grid-template-columns: 140px minmax(0, 1fr) 240px; }
.date-box { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.date-box span:first-child { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: var(--blue); }
.date-box span:last-child { font-size: 46px; font-weight: 900; font-stretch: 125%; letter-spacing: -1.5px; color: var(--ink); white-space: nowrap; }
.event-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.event-body h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 850; font-stretch: 125%; letter-spacing: -.6px; line-height: 1.05; }
.event-body p { font-size: 15px; color: var(--muted-2); }
.event-body .loc { color: var(--blue); font-weight: 700; margin-right: 10px; }
.event-body .desc { color: var(--muted); }
.event-body .who { font-size: 14px; font-weight: 650; color: var(--deep-2); }
.event-img { width: 240px; height: 150px; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 700px) {
  .event, .event.has-image { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
  .date-box span:last-child { font-size: 34px; }
  .event-img { grid-column: 1 / -1; width: 100%; height: 180px; order: -1; }
}
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 28px; color: var(--muted); font-size: 16px; background: #FFF; margin-top: 18px; }
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.past-item { padding: 18px 2px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.past-item strong { font-size: 18px; font-weight: 800; font-stretch: 112%; }
.past-item span { font-size: 14px; color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Home QOC band (photo background) */
.qoc-band { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #FFF; }
.qoc-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,36,54,.95) 0%, rgba(6,36,54,.82) 50%, rgba(6,36,54,.55) 100%); }
.qoc-band-inner { padding-top: 112px; padding-bottom: 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 64px; align-items: center; }
.qoc-band .h2 { color: #FFF; }
.qoc-band .lead { color: var(--on-deep); }
.qoc-recent { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgba(255,255,255,.7); }
.qoc-recent li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.qoc-recent .when { font-size: 22px; font-weight: 900; font-stretch: 125%; color: var(--sky); white-space: nowrap; }
.qoc-recent .what { font-size: 17px; font-weight: 700; line-height: 1.35; }
.qoc-recent small { display: block; font-size: 14px; font-weight: 500; color: var(--on-deep-2); margin-top: 2px; }

/* More links */
.more-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; border-top: 2px solid var(--ink); }
.more-links a { text-decoration: none; color: var(--ink); padding: 28px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line-2); }
.more-links strong { font-size: 24px; font-weight: 850; font-stretch: 125%; letter-spacing: -.5px; }
.more-links strong::after { content: " ↗"; color: var(--blue); }
.more-links a:hover strong { color: var(--blue); }
.more-links span { font-size: 15px; color: var(--muted-2); }

/* Navy band (QOC page) */
.navy-band { background: var(--deep); color: #FFF; border-radius: var(--r); padding: 52px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.navy-band p { color: var(--on-deep) !important; line-height: 1.65; }
.navy-band .h2 { color: #FFF; font-size: clamp(28px, 3.6vw, 40px); }

/* History */
.timeline { list-style: none; margin: 0 0 0 6px; padding: 0; border-left: 2px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; background: var(--blue); }
.timeline .when { font-size: 14px; font-weight: 800; font-stretch: 112%; color: var(--blue); }
.timeline h4 { margin-top: 4px; font-size: 18px; font-weight: 800; }
.timeline p { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--muted); }
details.readmore { background: var(--mist); border-radius: var(--r); padding: 18px 22px; }
details.readmore summary { cursor: pointer; font-size: 16px; font-weight: 750; color: var(--deep-2); }
details.readmore .stack-sm { margin-top: 14px; }
details.readmore p { font-size: 16px; line-height: 1.8; color: var(--muted); }

/* Diocese */
.diocese { background: var(--deep); color: #FFF; border-radius: var(--r); padding: 60px 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: center; }
.diocese .h2 { color: #FFF; font-size: clamp(30px, 3.6vw, 42px) !important; }
.diocese p { color: var(--on-deep); line-height: 1.7; font-size: 17px; }
.diocese .contact { font-size: 15px; color: var(--on-deep-2); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid rgba(255,255,255,.6); }
.stat { padding: 22px 6px; border-bottom: 1px solid rgba(255,255,255,.16); }
.stat strong { display: block; font-size: 44px; font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--sky); letter-spacing: -1px; }
.stat span { font-size: 14px; color: var(--on-deep); }

/* Parishes */
.parishes { background: var(--mist); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); font-family: inherit; font-size: 15px; font-weight: 750; font-stretch: 112%; cursor: pointer; background: #FFF; color: var(--deep-2); border: 1.5px solid var(--line-2); }
.filters button:hover { border-color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--deep); color: #FFF; border-color: var(--deep); }
.parish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start; }
.parish { background: #FFF; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r-sm); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.parish[hidden] { display: none; }
.parish-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.parish h3 { font-size: 21px; font-weight: 850; font-stretch: 112%; line-height: 1.15; letter-spacing: -.3px; }
.parish .area { font-size: 14px; color: var(--blue); font-weight: 650; margin-top: 4px; }
.tag { flex: none; color: var(--deep-2); background: var(--sky-2); font-size: 12px; font-weight: 750; padding: 5px 9px; border-radius: 4px; }
.mass { background: var(--mist); border-radius: var(--r-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.mass .label { font-size: 13px; font-weight: 800; color: var(--deep-2); }
.mass .line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.mass .line span:first-child { color: var(--muted); font-weight: 600; }
.mass .line span:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.mass .none { font-size: 14px; color: var(--muted); }
.parish .addr { font-size: 14px; line-height: 1.55; color: var(--muted); }
.parish-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.parish-actions a { text-decoration: none; font-size: 14px; font-weight: 700; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); color: var(--deep-2); }
.parish-actions a:hover { border-color: var(--blue); color: var(--blue); }
.parish-actions a:first-child { background: var(--deep); color: #FFF; border-color: var(--deep); }
.parish-actions a:first-child:hover { background: var(--blue); border-color: var(--blue); color: #FFF; }
.fine { font-size: 13px; color: var(--muted-2); }

/* Team */
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.leader { background: var(--deep); color: #FFF; border-radius: var(--r); padding: 22px; display: flex; align-items: center; gap: 20px; }
.leader.director { background: var(--blue); }
.avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--deep-3); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 850; font-stretch: 112%; }
.leader.director .avatar { background: #FFF; color: var(--deep); }
.leader .role { font-size: 13px; font-weight: 750; color: var(--sky); }
.leader .name { margin-top: 3px; font-size: 19px; font-weight: 850; font-stretch: 112%; line-height: 1.2; }
.leader .years { font-size: 13px; color: var(--on-deep); margin-top: 3px; }
.avatar.photo { object-fit: cover; padding: 0; }
.leader .avatar.photo { width: 104px; height: 104px; border: 3px solid var(--sky); }
@media (max-width: 600px) { .leader .avatar.photo { width: 88px; height: 88px; } }
.rep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.rep { background: var(--mist); border-radius: var(--r-sm); padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.rep .avatar { width: 44px; height: 44px; font-size: 15px; background: var(--blue); color: #FFF; }
.rep strong { display: block; font-size: 16px; }
.rep span { font-size: 13px; font-weight: 650; color: var(--blue); }
.past-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.past-teams figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.past-teams img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.past-teams figcaption { font-size: 15px; font-weight: 750; }
.roster { background: var(--mist); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.roster h3 { font-size: 24px !important; font-weight: 850 !important; font-stretch: 125%; letter-spacing: -.5px; }
.roster ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.roster li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #FFF; border-radius: var(--r-sm); }
.roster .avatar { width: 34px; height: 34px; font-size: 12px; background: var(--sky-2); color: var(--deep-2); }
.roster strong { display: block; font-size: 15px; }
.roster small { font-size: 13px; color: var(--muted-2); }
.roster-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.roster.with-photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: center; }
.roster-photo { width: 100%; height: auto; border-radius: var(--r-sm); display: block; }
.roster.with-photo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .roster.with-photo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .roster.with-photo ul { grid-template-columns: 1fr; } }

/* QOC page */
.qoc-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: #FFF; }
.qoc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,36,54,.95) 0%, rgba(6,36,54,.8) 60%, rgba(6,36,54,.6) 100%); }
.qoc-hero-inner { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; align-items: center; }
.qoc-hero h1 { font-weight: 900; font-size: clamp(42px, 6.4vw, 80px); line-height: .95; letter-spacing: -1.5px; }
.qoc-hero .lead { color: var(--on-deep); }
.qoc-hero-img { width: 100%; height: auto; aspect-ratio: 640 / 618; object-fit: cover; border-radius: var(--r); }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; border-top: 2px solid var(--ink); }
.goal { padding: 28px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line-2); }
.goal-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--sky-2); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.goal h3 { font-size: 21px; font-weight: 850; font-stretch: 112%; }
.goal p { font-size: 15px; line-height: 1.65; color: var(--muted); }
details.qoc { border: 1px solid var(--line); border-radius: var(--r); background: #FFF; overflow: hidden; }
details.qoc[open] { border-color: var(--line-2); }
details.qoc summary { list-style: none; cursor: pointer; padding: 18px 20px; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
details.qoc summary::-webkit-details-marker { display: none; }
@media (max-width: 640px) { details.qoc summary { grid-template-columns: 80px minmax(0, 1fr); } details.qoc .toggle { grid-column: 1 / -1; justify-self: start; } }
.toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-2); color: var(--deep-2); font-size: 15px; font-weight: 750; padding: 11px 16px; border-radius: var(--r-sm); }
details.qoc summary:hover .toggle { border-color: var(--blue); }
.toggle svg { transition: transform .25s; }
.toggle .hide { display: none; }
details.qoc[open] .toggle .show { display: none; }
details.qoc[open] .toggle .hide { display: inline; }
details.qoc[open] .toggle svg { transform: rotate(180deg); }
.qoc-detail { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.qoc-detail img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.qoc-detail .body { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.qoc-detail .body p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts div { background: var(--mist); border-radius: var(--r-sm); padding: 14px 16px; }
.facts dt { font-size: 13px; font-weight: 750; color: var(--blue); }
.facts dd { margin: 3px 0 0; font-size: 16px; font-weight: 750; }

/* Join band (photo background) */
.join-band { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: #FFF; }
.join-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,102,148,.96) 0%, rgba(18,102,148,.85) 55%, rgba(6,36,54,.6) 100%); }
.join { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 36px; align-items: center; }
.join h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 900; line-height: .95; letter-spacing: -1.5px; }
.join p { font-size: 17px; line-height: 1.6; color: #DDEFF9; }
.join form { display: flex; flex-wrap: wrap; gap: 8px; }
.join input { flex: 1 1 220px; min-height: 56px; border: 2px solid transparent; border-radius: var(--r-sm); padding: 0 18px; font-size: 16px; font-family: inherit; color: var(--ink); background: #FFF; }
.join input:focus { outline: none; border-color: var(--sky); }
.join button { min-height: 56px; border: none; border-radius: var(--r-sm); padding: 0 28px; font-size: 16px; font-weight: 800; font-stretch: 112%; font-family: inherit; background: var(--deep); color: #FFF; cursor: pointer; }
.join button:hover { background: #000F19; }
.join button:disabled { opacity: 0.7; cursor: default; }
.form-msg { flex-basis: 100%; font-size: 15px; font-weight: 650; color: #FFF; min-height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .diocese, .navy-band { padding: 34px 22px; } .join { padding-top: 64px; padding-bottom: 64px; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-deep); }
.footer-grid { padding-top: 72px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.footer-brand img { height: 60px; width: 60px; object-fit: contain; background: #FFF; border-radius: var(--r-sm); padding: 6px; margin-bottom: 6px; }
.footer-name { font-weight: 900; font-stretch: 125%; font-size: 20px; color: #FFF; letter-spacing: -.3px; }
.footer-sub { font-size: 14px; line-height: 1.6; color: var(--on-deep-2); }
.footer-brand blockquote { margin: 14px 0 0; font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--on-deep); padding-left: 16px; border-left: 3px solid var(--sky); }
.footer-brand cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--sky); }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col p { font-size: 13px; font-weight: 800; color: var(--sky); margin-bottom: 8px; }
.footer-col a { color: var(--on-deep); text-decoration: none; font-size: 15px; padding: 6px 0; overflow-wrap: anywhere; }
.footer-col a:hover { color: #FFF; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-deep-2); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Legacy helpers */
.banner { background: var(--mist); }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #FFF; border: 1px solid var(--line-2); color: var(--blue); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: var(--r-sm); }

/* Headings: Plus Jakarta Sans (the v1 font) on the v3 layout */
.h2, .h3-serif, .hero h1, .pagehead h1, .qoc-hero h1, .join h2, .event-body h3, .date-box span:last-child,
.more-links strong, .qoc-recent .when, .stat strong, .roster h3, .parish h3, .goal h3, .footer-name, .motto blockquote, .past-item strong,
.btn, .quick-bar strong, .nav-cta, .filters button, .leader .name, .avatar, .brand-name, .link-more, .join button {
  font-family: var(--font); font-stretch: normal;
}
.h2 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.05; }
.h3-serif { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.6px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); font-weight: 800; line-height: .98; letter-spacing: -3px; }
.pagehead h1, .qoc-hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -2.2px; }
.join h2 { font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1; letter-spacing: -2px; }
.event-body h3 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.7px; line-height: 1.1; }
.date-box span:last-child { font-size: 44px; font-weight: 800; letter-spacing: -2px; }
.qoc-recent .when { font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.stat strong { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; }
.more-links strong { font-size: 23px; font-weight: 800; letter-spacing: -.6px; }
.roster h3 { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.5px; }
.parish h3 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.goal h3 { font-size: 20px; font-weight: 800; }
.past-item strong { font-size: 17px; font-weight: 800; }
.footer-name { font-size: 19px; font-weight: 800; }
.motto blockquote { font-weight: 700; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.4; letter-spacing: -.4px; }
.brand-name { font-weight: 800; letter-spacing: -.2px; }
.hero-word { font-family: var(--font); font-weight: 800; letter-spacing: -.03em; }
@media (max-width: 700px) { .date-box span:last-child { font-size: 34px; } .hero h1 { letter-spacing: -1.5px; } }

/* Event photos + viewer */
.ph { padding: 0; border: none; background: none; cursor: zoom-in; display: block; border-radius: var(--r-sm); overflow: hidden; }
.event-main { position: relative; }
.event-main .count { position: absolute; right: 8px; bottom: 8px; background: rgba(6,36,54,.82); color: #FFF; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 4px; }
.ph img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.ph:hover img { transform: scale(1.04); }
.event-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.event-thumbs .ph { width: 76px; height: 54px; }
.event-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .event-main { grid-column: 1 / -1; order: -1; } .event-main .event-img { width: 100%; height: 190px; } }
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(4,20,31,.94); display: flex; align-items: center; justify-content: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(56px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.viewer[hidden] { display: none; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.viewer button { position: absolute; background: rgba(255,255,255,.12); color: #FFF; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-sm); width: 48px; height: 48px; font-size: 22px; cursor: pointer; font-family: var(--font); }
.viewer button:hover { background: rgba(255,255,255,.22); }
.viewer .v-close { top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.viewer .v-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.viewer .v-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.viewer .v-count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--on-deep); font-size: 14px; font-weight: 600; }

/* Home: Moments from our events */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 8px; grid-auto-flow: dense; }
.moments figure { margin: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--mist-2); }
.moments img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.moments figure:hover img { transform: scale(1.04); }
.moments figure:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) {
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .moments figure:first-child { grid-row: span 1; }
  .moments figure:last-child:nth-child(even) { grid-column: span 2; }
}
.event-link { margin-top: 8px; padding: 11px 18px; font-size: 14px; }

/* QOC: college logo next to the date */
.qoc-when { display: flex; align-items: center; gap: 14px; }
.school-logo { width: 56px; height: 56px; object-fit: contain; background: #FFF; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px; flex: none; }
.school-badge { width: 56px; height: 56px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--school); color: #FFF; font-weight: 800; font-size: 15px; letter-spacing: -.3px; }
details.qoc summary { grid-template-columns: 190px minmax(0, 1fr) auto; }
@media (max-width: 640px) { details.qoc summary { grid-template-columns: minmax(0, 1fr); } .school-logo, .school-badge { width: 48px; height: 48px; } }
.qoc-when .date-box { width: 58px; flex: none; }

/* Spacing pass */
.section { padding-top: 112px; padding-bottom: 112px; }
@media (max-width: 700px) { .section { padding-top: 64px; padding-bottom: 64px; } }
.stack { gap: 22px; }
.stack-sm { gap: 12px; }
.lead + .lead { margin-top: -4px; }
.about-split, .grid-2 { column-gap: 80px; row-gap: 48px; }
.about-intro { align-items: start; padding-top: 96px; }
.about-intro .motto { margin-top: 24px; }
.mission { padding: 24px 28px; gap: 10px; }
.chips { gap: 10px; }
.timeline li { padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 4px; }
.timeline h4 { margin-top: 6px; }
.diocese { padding: 64px 56px; column-gap: 64px; }
/* Events */
.event { align-items: start; padding: 32px 0; column-gap: 28px; }
.event .date-box { padding-top: 4px; }
.event-body { gap: 10px; }
.event-thumbs { margin-top: 4px; }
.event-link { margin-top: 6px; }
.past-label { margin-top: 40px; font-size: 14px; font-weight: 700; color: var(--muted-2); }
.past-grid { margin-top: -18px; }
.past-item { padding: 20px 2px; }
/* Team */
.team-page .team-h { margin-top: 44px; }
.team-page .leader-grid, .team-page .rep-grid { gap: 14px; }
.leader { padding: 24px 26px; gap: 22px; }
.rep { padding: 16px 18px; }
.roster { padding: 32px; gap: 20px; }
.roster + .roster { margin-top: 4px; }
.roster.with-photo { gap: 36px; }
.roster-head { display: flex; flex-direction: column; gap: 4px; }
.roster-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.roster-head span { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.roster ul { gap: 10px; }
.roster li { padding: 12px 14px; }
/* Home */
.quick { margin-bottom: 8px; }
.qoc-band-inner { padding-top: 120px; padding-bottom: 120px; column-gap: 80px; }
.qoc-recent li { padding: 20px 0; }
.more-links a { padding: 32px 0; gap: 8px; }
.moments { gap: 10px; }
/* Parishes + QOC */
.parish-grid { gap: 18px; }
.parish { padding: 28px; gap: 18px; }
details.qoc summary { padding: 22px 24px; }
.qoc-list, .qoc-items { gap: 14px; }
.goal { padding: 32px 0; }
.navy-band { padding: 56px; }
.join { padding-top: 104px; padding-bottom: 104px; column-gap: 64px; }
.footer-grid { padding-top: 80px; padding-bottom: 56px; }
@media (max-width: 700px) {
  .event { padding: 24px 0; column-gap: 16px; }
  .team-page .team-h { margin-top: 32px; }
  .roster { padding: 20px; }
  .diocese { padding: 40px 24px; }
  .navy-band { padding: 36px 24px; }
  .qoc-band-inner { padding-top: 72px; padding-bottom: 72px; }
  .join { padding-top: 64px; padding-bottom: 64px; }
  .about-intro { padding-top: 64px; }
  .past-label { margin-top: 28px; }
}
.qoc-list { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }

/* Admin edit mode */
section:has(> .edit-btn), footer:has(> .edit-btn) { position: relative; }
.edit-btn { position: absolute; z-index: 15; top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); display: inline-flex; align-items: center; gap: 7px; background: #FFF; color: var(--deep); border: 2px solid var(--blue); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 750; text-decoration: none; box-shadow: 0 8px 22px rgba(6,36,54,.22); }
.edit-btn:hover { background: var(--blue); color: #FFF; }
.edit-btn[hidden] { display: none; }
.hero > .edit-btn, .qoc-hero > .edit-btn, .qoc-band > .edit-btn { top: 24px; }
.edit-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--deep); color: #FFF; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; font-size: 14px; box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
.edit-bar strong { color: var(--sky); }
.edit-bar button { background: transparent; color: #FFF; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--r-sm); padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.edit-bar button:hover { border-color: #FFF; }
body.editing { padding-bottom: 64px; }
.edit-note { position: fixed; z-index: 41; left: 50%; bottom: 76px; transform: translateX(-50%); width: min(92vw, 460px); background: #FFF; color: var(--ink); border: 2px solid var(--blue); border-radius: var(--r); padding: 16px 18px; font-size: 14px; line-height: 1.5; box-shadow: 0 16px 40px rgba(6,36,54,.25); }
@media (max-width: 600px) { .edit-note { bottom: 130px; } body.editing { padding-bottom: 110px; } .edit-bar { font-size: 13px; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
