/* St. Anne – St. Patrick Parish & Shrine, concept redesign by Tenczar Technologies (pitch mockup, not the official site). */
:root {
  --bg: #faf7f0;
  --paper: #ffffff;
  --ink: #1b2a20;
  --muted: #5a6559;
  --line: #e4ddcc;
  --green: #1f4d2e;
  --green-2: #2d6a40;
  --green-soft: #e8f0e9;
  --gold: #c99a2e;
  --gold-soft: #f7efd9;
  --gold-ink: #7d5c10;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(27, 42, 32, .06), 0 12px 32px rgba(27, 42, 32, .08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* concept banner */
.concept { background: #10251a; color: #e9efe6; font-size: 13px; text-align: center; padding: 8px 16px; }
.concept b { color: #e9c46a; }
.concept a { color: #fff; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 240, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .mark { width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 2px rgba(233, 196, 106, .55); }
.brand .mark svg { width: 20px; height: 20px; }
.brand b { font: 700 22px/1 var(--serif); letter-spacing: .005em; display: block; white-space: nowrap; }
.brand small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 5px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-2); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.head-cta { display: flex; gap: 10px; }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #241a04; }
.btn-gold:hover { background: #d6a83c; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 600px; display: flex; align-items: flex-end; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 14, .15) 0%, rgba(10, 24, 14, .35) 40%, rgba(10, 24, 14, .85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 140px 0 64px; display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
.hero .eyebrow { color: #f1d58e; }
.hero h1 { font: 600 clamp(44px, 6.4vw, 78px)/1 var(--serif); letter-spacing: -.01em; margin: 16px 0 16px; }
.hero h1 em { font-style: italic; color: #f1d58e; }
.hero p { font-size: 19px; max-width: 40ch; color: #eef2ea; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* next mass card */
.next-mass { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 22px; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.next-mass .label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); display: flex; align-items: center; gap: 8px; }
.next-mass .label i { width: 8px; height: 8px; border-radius: 50%; background: #2fa35a; box-shadow: 0 0 0 4px rgba(47, 163, 90, .18); }
.next-mass .when { font: 600 40px/1.05 var(--serif); margin: 10px 0 4px; }
.next-mass .where { color: var(--muted); font-size: 15px; }
.next-mass hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0 14px; }
.next-mass .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 3px 0; }
.next-mass .row span:first-child { color: var(--muted); }
.next-mass .row b { font-weight: 600; text-align: right; }
.next-mass a { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }

/* sections */
.section { padding: 92px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
h2 { font: 600 clamp(34px, 4vw, 50px)/1.05 var(--serif); letter-spacing: -.005em; margin-top: 10px; }
h3 { font: 650 22px/1.2 var(--sans); letter-spacing: -.01em; }
.lead { font-size: 18.5px; color: var(--muted); margin-top: 14px; }

/* times */
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.time-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.time-card h3 { font: 600 28px/1.1 var(--serif); color: var(--green); margin-bottom: 14px; }
.time-card dl { display: grid; gap: 10px; }
.time-card dl div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.time-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.time-card dt { color: var(--muted); font-size: 15px; }
.time-card dd { font-weight: 600; text-align: right; font-size: 15.5px; }
.time-card dd small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.time-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 15px; }
.time-note span { display: inline-flex; gap: 8px; align-items: center; }
.time-note svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* events */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.date { border-radius: 14px; overflow: hidden; text-align: center; border: 1px solid var(--line); }
.date small { display: block; background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; padding: 4px 0; }
.date b { display: block; font: 600 30px/1.4 var(--serif); }
.event h3 { font-size: 18px; }
.event p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.event .meta { font-size: 13.5px; font-weight: 600; color: var(--green-2); margin-top: 8px; }
.more-row { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* sacraments */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: grid; gap: 8px; transition: border-color .15s ease, transform .15s ease; }
.tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.tile svg { width: 30px; height: 30px; color: var(--green-2); }
.tile b { font-size: 16.5px; }
.tile span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.tile.feature { background: var(--green); color: #fff; border-color: var(--green); }
.tile.feature svg { color: #e9c46a; }
.tile.feature span { color: #cfe0d3; }

/* shrine band */
.shrine { background: var(--green); color: #eef3ec; overflow: hidden; }
.shrine .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 92px 0; }
.shrine .eyebrow { color: #e9c46a; }
.shrine h2 { color: #fff; }
.shrine p { color: #d3e1d6; font-size: 18px; margin-top: 16px; }
.shrine .places { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 24px; }
.shrine .places li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.shrine .places li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e9c46a; flex: none; }
.shrine .hours { margin-top: 26px; display: grid; gap: 6px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.shrine .hours b { color: #fff; }
.shrine .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 520px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.collage img:first-child { grid-row: span 2; }

/* ministries */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mini img { aspect-ratio: 3 / 1.4; object-fit: cover; width: 100%; }
.mini .body { padding: 20px 22px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.mini p { color: var(--muted); font-size: 15px; }
.mini a { font-weight: 600; text-decoration: none; margin-top: 4px; }

/* connect + give */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: 24px; padding: 36px; }
.panel.light { background: var(--gold-soft); }
.panel.dark { background: #10251a; color: #e6eee4; }
.panel.dark h2 { color: #fff; }
.panel.dark p { color: #c3d3c6; }
.panel p { margin-top: 12px; color: var(--muted); }
.panel .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.panel .fine { font-size: 13.5px; margin-top: 16px; }

/* footer */
.site-foot { background: #10251a; color: #c3d3c6; padding: 64px 0 28px; font-size: 15px; }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h4 { color: #fff; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot a { color: #e6eee4; text-decoration: none; }
.site-foot a:hover { color: #e9c46a; }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot .brand { color: #fff; margin-bottom: 14px; }
.site-foot .brand small { color: #9fb5a5; }
.site-foot .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8fa596; }

/* shrine page */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 14, .85), rgba(10, 24, 14, .3)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 110px 0 100px; }
.page-hero h1 { font: 600 clamp(42px, 5.6vw, 70px)/1.02 var(--serif); max-width: 14ch; margin: 14px 0; }
.page-hero p { font-size: 19px; max-width: 46ch; color: #eef2ea; }
.page-hero .eyebrow { color: #f1d58e; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.fact { padding: 26px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 600 30px/1.05 var(--serif); color: var(--green); }
.fact span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.places-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.place { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.place img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.place .body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.place .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.place p { color: var(--muted); font-size: 15px; }
.novena { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.novena img { border-radius: 22px; box-shadow: var(--shadow); }
.novena .when { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.visit .panel { background: var(--paper); border: 1px solid var(--line); }
.visit address { font-style: normal; font-size: 18px; margin-top: 12px; }
.visit dl { display: grid; gap: 8px; margin-top: 14px; }
.visit dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.visit dt { color: var(--muted); }
.visit dd { font-weight: 600; text-align: right; }

/* responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
  .menu-btn svg { width: 22px; height: 22px; }
  .site-head.open .nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; gap: 0; }
  .site-head.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .times, .events, .minis, .places-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .shrine .wrap, .connect, .novena, .visit { grid-template-columns: 1fr; }
  .collage { height: 420px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-head .wrap { min-height: 66px; gap: 10px; }
  .brand .mark { width: 38px; height: 38px; }
  .brand b { font-size: 19px; }
  .brand small { display: none; }
  .head-cta .btn { min-height: 42px; padding: 0 16px; }
  .hero { min-height: 0; }
  .hero .wrap { padding: 120px 0 36px; }
  .hero p { font-size: 17px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .next-mass .when { font-size: 34px; }
  .section { padding: 64px 0; }
  .times, .events, .minis, .places-grid, .tiles, .shrine .places { grid-template-columns: 1fr; }
  .collage { height: 320px; }
  .panel { padding: 26px; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .fact { padding: 18px 14px; }
  .fact b { font-size: 24px; }
}
.panel.dark .eyebrow { color: #e9c46a; }
.place img { aspect-ratio: 3 / 1.15; }
.mini img { aspect-ratio: 3 / 1.1; }
.novena img { aspect-ratio: 3 / 1.15; object-fit: cover; width: 100%; }
.nb { white-space: nowrap; }
.hero h1 { font-size: clamp(42px, 5.2vw, 66px); }
.next-mass .row a { margin-top: 0; display: inline; }
.hero h1, .hero p, .hero .eyebrow { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
@media (max-width: 1080px) {
  .hero::after { background: linear-gradient(180deg, rgba(10, 24, 14, .62) 0%, rgba(10, 24, 14, .7) 50%, rgba(10, 24, 14, .88) 100%); }
}
