:root {
  --ink: #17171b;
  --ink-soft: #232329;
  --cream: #fbf7ef;
  --parchment: #efe6d6;
  --gold: #c69a3e;
  --gold-bright: #e0b862;
  --stone: #6e6a63;
  --white: #ffffff;
  --radius: 14px;
  --max-width: 1080px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.eyebrow-light { color: var(--gold-bright); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(23, 23, 27, 0.08);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}

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

.brand-mark { height: 42px; width: auto; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.header-cta { padding: 10px 18px; font-size: 0.88rem; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(23,23,27,0.15);
}
.btn-primary:hover { background: #000; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: rgba(23,23,27,0.06); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  border-color: rgba(251,247,239,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(251,247,239,0.6); }

.icon { width: 18px; height: 18px; fill: currentColor; }

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 96px;
  text-align: center;
  background: var(--ink);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(198,154,62,0.28) 0%, rgba(198,154,62,0) 65%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-inner { position: relative; z-index: 1; }

.hero-mark {
  width: 148px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 28px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  color: var(--cream);
  line-height: 1.04;
  margin-bottom: 22px;
}

.hero-sub {
  color: rgba(251,247,239,0.72);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  margin: 0 0 40px;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-mark { animation: none; }
}

/* Schedule */
.schedule {
  padding: 80px 0 72px;
  text-align: center;
}

.schedule h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin-bottom: 44px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.hex-tile {
  aspect-ratio: 1 / 0.92;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.hex-tile:hover { transform: translateY(-4px); }

.hex-tile-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 10px;
}

.hex-tile .day {
  font-weight: 600;
  color: var(--gold-bright);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hex-tile .time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--cream);
}

/* Honeycomb cluster on mobile: one hex on top, two nested below,
   arranged and sized to echo the hexagon in the church mark. */
@media (max-width: 640px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 122px);
    grid-template-areas: "top top" "bl br";
    justify-content: center;
    column-gap: 14px;
    row-gap: 0;
    max-width: none;
  }

  .hex-tile:nth-child(1) { grid-area: top; justify-self: center; }
  .hex-tile:nth-child(2) { grid-area: bl; justify-self: end; transform: translateY(-16%); }
  .hex-tile:nth-child(3) { grid-area: br; justify-self: start; transform: translateY(-16%); }
  .hex-tile:hover { transform: none; }

  .hex-tile {
    width: 122px;
    aspect-ratio: 1 / 1.1547;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }

  .hex-tile .time { font-size: 1.05rem; }
  .hex-tile .day { font-size: 0.58rem; }
  .hex-tile-inner { gap: 4px; }
}

/* Location */
.location { padding: 72px 0 88px; }

.location-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 800px) {
  .location-inner { grid-template-columns: 1fr 1.15fr; align-items: center; }
}

.location h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 18px; }

.address {
  color: var(--stone);
  font-size: 1.08rem;
  margin: 0 0 28px;
}

.map-embed {
  display: block;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(23,23,27,0.1);
  box-shadow: 0 8px 24px rgba(23,23,27,0.08);
}

.map-embed iframe { pointer-events: none; }

/* Resume form */
.resume {
  padding: 80px 0 96px;
  background: var(--parchment);
  text-align: center;
}

.resume h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin-bottom: 10px;
}

.resume-sub {
  color: var(--stone);
  margin: 0 0 36px;
}

#resume-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid rgba(23,23,27,0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
  box-shadow: 0 12px 32px rgba(23,23,27,0.06);
}

.form-row { margin-bottom: 20px; }

.form-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 480px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(23,23,27,0.18);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--white);
}

input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

textarea { resize: vertical; }

.file-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 6px;
}

.hp-field { position: absolute; left: -9999px; }

.btn-submit {
  width: 100%;
  font-size: 1rem;
  padding: 15px 24px;
}

.form-status {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer {
  padding: 56px 0 44px;
  background: var(--ink);
  color: rgba(251,247,239,0.6);
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; }

.footer-mark {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 18px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.footer-address {
  margin: 0;
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.footer-links a:hover { text-decoration: underline; }

/* Small screens: tighten spacing */
@media (max-width: 480px) {
  .hero { padding: 28px 0 36px; }
  .eyebrow { margin-bottom: 4px; font-size: 0.7rem; }
  .hero-mark { width: 68px; margin-bottom: 12px; }
  .hero h1 { font-size: 2.1rem; margin-bottom: 10px; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 11px 20px; font-size: 0.88rem; }
  .schedule { padding-top: 28px; padding-bottom: 44px; }
  .schedule h2 { margin-bottom: 24px; }
  .location, .resume { padding-top: 56px; padding-bottom: 56px; }
  #resume-form { padding: 24px 20px; }
}
