/* St. Bishoy COC Events — stbishoyevents.com */

:root {
  --maroon: #831100;
  --maroon-deep: #580a00;
  --maroon-ink: #340703;
  --gold: #c8973a;
  --gold-bright: #e8b54b;
  --gold-soft: #f4e3bf;
  --cream: #fbf7f0;
  --paper: #fffdf9;
  --ink: #241a16;
  --muted: #6d5f57;
  --line: rgba(131, 17, 0, 0.14);
  --shadow-sm: 0 2px 10px rgba(52, 7, 3, 0.06);
  --shadow-md: 0 14px 40px rgba(52, 7, 3, 0.12);
  --shadow-lg: 0 28px 70px rgba(30, 4, 1, 0.28);
  --radius: 16px;
  --radius-lg: 22px;
  --wrap: 1140px;
  --font-display: "Cinzel", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

p { margin: 0 0 1rem; }

a { color: var(--maroon); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--maroon);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 240, 0.92);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-arrow {
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.18s ease;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #2c1a04;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 22px rgba(200, 151, 58, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #f2c65a 0%, #d3a344 100%);
  color: #1d1002;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(200, 151, 58, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-maroon {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 8px 22px rgba(131, 17, 0, 0.24);
}

.btn-maroon:hover {
  background: var(--maroon-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(131, 17, 0, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fdf6e8;
  border-color: rgba(232, 181, 75, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-bright);
  color: #fff;
  transform: translateY(-2px);
}

.btn-xl {
  padding: 1.05rem 2.3rem;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 62px;
}

.header-cta {
  padding: 0.9rem 1.7rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 50px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, #a3200c 0%, rgba(163, 32, 12, 0) 55%),
    linear-gradient(158deg, var(--maroon-ink) 0%, var(--maroon-deep) 42%, var(--maroon) 100%);
  color: #fdf8ef;
  padding: 84px 0 96px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e8b54b' fill-opacity='0.10'%3E%3Cpath d='M36 30h-3v-6h-3v6h-6v3h6v6h3v-6h6v-3z'/%3E%3Cpath d='M-6 62h-3v-6h-3v6h-6v3h6v6h3v-6h6v-3z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 181, 75, 0.24) 0%, rgba(232, 181, 75, 0) 68%);
  pointer-events: none;
}

.hero-inner { max-width: 940px; text-align: center; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 1.1rem;
}

.eyebrow-dark { color: var(--maroon); opacity: 0.86; }

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fffdf8;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--gold-bright);
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.1rem;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.7;
  color: rgba(253, 248, 239, 0.82);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 248, 239, 0.5);
}

.hero-card {
  margin: 3.2rem auto 0;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.07);
  border: 1px solid rgba(232, 181, 75, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}

.hc-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  padding: 10px 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdf6e6 0%, #f0e0bd 100%);
  color: var(--maroon);
  box-shadow: inset 0 0 0 1px rgba(131, 17, 0, 0.12);
}

.hc-month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  opacity: 0.85;
}

.hc-day {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.05;
}

.hc-year {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hc-body { min-width: 0; margin-right: auto; }

.hc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.hc-body h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: #fffdf8;
  margin: 0 0 4px;
}

.hc-body p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(253, 248, 239, 0.66);
}

.hc-link {
  flex: 0 0 auto;
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 6px;
}
.hc-link:hover { color: #fff; text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }

.section-alt {
  background: linear-gradient(180deg, #f7f0e4 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 660px; margin: 0 0 3rem; }

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  color: var(--maroon-ink);
  text-wrap: balance;
}

.lede { font-size: 1.06rem; color: var(--muted); margin: 0; text-wrap: pretty; }

/* Detail cards */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(200, 151, 58, 0.14);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.detail-card h3 {
  font-size: 1.12rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.detail-strong { font-weight: 600; margin-bottom: 4px; }

.detail-muted { font-size: 0.93rem; color: var(--muted); margin: 0; }

.detail-muted a { color: var(--maroon); }

.callout {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(131, 17, 0, 0.055) 0%, rgba(200, 151, 58, 0.11) 100%);
  border: 1px solid rgba(200, 151, 58, 0.35);
}

.callout h3 { font-size: 1.15rem; color: var(--maroon-ink); margin-bottom: 3px; }
.callout p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.callout .btn { margin-left: auto; flex: 0 0 auto; }

/* Steps */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0 0 3rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 16px;
  box-shadow: 0 0 0 5px rgba(131, 17, 0, 0.07);
}

.step h3 {
  font-size: 1.08rem;
  color: var(--maroon-ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.step p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.app-cta { text-align: center; }

.app-cta-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--maroon-ink); }
.about-copy p { color: #453731; font-size: 1.02rem; text-wrap: pretty; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--maroon);
  border-bottom: 2px solid rgba(200, 151, 58, 0.55);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--maroon); }

.about-figure { margin: 0; text-align: center; }

.about-figure img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 50%;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line);
}

.about-figure figcaption {
  margin-top: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Visit (dark) */

.section-dark {
  background:
    radial-gradient(100% 80% at 12% 0%, rgba(163, 32, 12, 0.55) 0%, rgba(88, 10, 0, 0) 60%),
    linear-gradient(160deg, var(--maroon-ink) 0%, var(--maroon-deep) 100%);
  color: #fdf8ef;
}

.section-head-dark { max-width: 620px; }
.section-head-dark h2 { color: #fffdf8; }
.section-head-dark .eyebrow { color: var(--gold-bright); }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.visit-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.055);
  border: 1px solid rgba(232, 181, 75, 0.22);
}

.visit-card h3 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.visit-card p { margin: 0 0 8px; font-size: 0.98rem; color: rgba(253, 248, 239, 0.9); }

.visit-card a { color: #fdf8ef; text-decoration-color: rgba(253, 248, 239, 0.4); }
.visit-card a:hover { color: var(--gold-bright); }

.text-link-light { color: var(--gold-bright); border-bottom-color: rgba(232, 181, 75, 0.5); margin-top: 4px; }
.text-link-light:hover { border-bottom-color: var(--gold-bright); }

.dark-cta { margin-top: 44px; text-align: center; }

/* Footer */

.site-footer {
  background: #2a0602;
  color: rgba(253, 248, 239, 0.72);
  padding: 48px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(232, 181, 75, 0.18);
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 50%; border: 1px solid rgba(232, 181, 75, 0.5); }
.footer-brand p { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.footer-brand strong { color: #fdf8ef; font-size: 0.92rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }

.footer-nav a {
  color: rgba(253, 248, 239, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-nav a:hover { color: var(--gold-bright); text-decoration: underline; }

.footer-legal { padding-top: 22px; }
.footer-legal p { margin: 0; font-size: 0.78rem; color: rgba(253, 248, 239, 0.46); letter-spacing: 0.02em; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-figure { order: -1; }
  .about-figure img { max-width: 280px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { min-height: 74px; gap: 14px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 0.9rem; }
  .brand-text span { font-size: 0.74rem; }
  .brand-text em { display: none; }
  .hero { padding: 60px 0 68px; }
  .hero-card { flex-wrap: wrap; text-align: center; justify-content: center; padding: 20px; }
  .hc-body { margin-right: 0; width: 100%; }
  .hc-link { width: 100%; text-align: center; border-top: 1px solid rgba(232, 181, 75, 0.22); margin-top: 6px; padding-top: 12px; }
  .section { padding: 66px 0; }
  .callout { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .callout .btn { margin-left: 0; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .header-cta { padding: 0.72rem 1.05rem; font-size: 0.74rem; letter-spacing: 0.04em; min-height: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .btn-xl { padding: 1rem 1.4rem; font-size: 0.92rem; }
  .visit-grid { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .hero-glow, .footer-nav { display: none; }
  body { background: #fff; }
}
