/* =====================================================================
   Harmónia duší — site styles

   FONTS: a system font stack, deliberately.
   The agency default is Bunny Fonts, but this site's entire
   cookie-consent-exempt position rests on making zero third-party requests.
   No licensed WOFF2 files were available to self-host, and a system stack is
   an explicitly permitted fallback: zero requests, zero bytes, instant text.
   If real webfonts are wanted later, self-host the WOFF2 files under
   /assets/fonts/ — never link an external font CDN.
   ================================================================== */

:root {
  /* Palette: bronze gong metal against deep night, on warm sand. */
  --night:        #1E1B2E;
  --night-soft:   #2C2742;
  --bronze:       #B8863B;
  --bronze-light: #D9A961;
  --bronze-dim:   #8A6428;
  --sand:         #FAF6EF;
  --sand-deep:    #F1E9DB;
  --ink:          #2A2635;
  --ink-soft:     #5A5468;
  --line:         #E2D8C6;
  --white:        #FFFFFF;

  --font-head: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  --wrap: 1120px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(30, 27, 46, .07);
  --shadow-md: 0 10px 34px rgba(30, 27, 46, .12);

  --step: clamp(1rem, .95rem + .25vw, 1.0625rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step);
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-dim); }

[hidden] { display: none !important; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--night); color: var(--white); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bronze); color: var(--white); }
.btn-primary:hover { background: var(--bronze-dim); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--night); }
.brand-mark { color: var(--bronze); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; }
.brand-text em { font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.nav-toggle { display: none; background: none; border: 0; color: var(--night); padding: .4rem; cursor: pointer; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--bronze-dim); }
.site-nav .nav-cta {
  background: var(--night); color: var(--white); padding: .55rem 1.15rem; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--night-soft); color: var(--white); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 76px 0 auto; flex-direction: column; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
    padding: .5rem 0 1rem; display: none; box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: .9rem 1.25rem; }
  .site-nav .nav-cta { margin: .5rem 1.25rem 0; width: auto; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(105deg, rgba(30, 27, 46, .96) 0%, rgba(30, 27, 46, .82) 42%, rgba(44, 39, 66, .55) 100%),
    url('/assets/images/hero-gong.webp');
  background-size: cover, cover;
  background-position: center, center 35%;
}
/* Keep the text side readable on narrow screens, where the photo would
   otherwise sit directly behind the headline. */
@media (max-width: 720px) {
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(30, 27, 46, .93) 0%, rgba(30, 27, 46, .88) 60%, rgba(44, 39, 66, .80) 100%),
      url('/assets/images/hero-gong.webp');
  }
}
.hero-inner { position: relative; z-index: 1; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); max-width: 46rem; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--bronze-light); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.75rem, 8vw, 4.75rem); margin-bottom: .3em; color: var(--white); }
.hero-lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 34rem; }

.hero-next {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(217, 169, 97, .35);
  border-radius: var(--radius); backdrop-filter: blur(4px); max-width: 34rem;
}
.hero-next-label { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--bronze-light); }
.hero-next-date { margin: .4rem 0 .2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.hero-next-date strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--white); }
.hero-next-date span { color: rgba(255, 255, 255, .75); }
.hero-next-venue { color: rgba(255, 255, 255, .8); margin-bottom: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions .btn-ghost { color: var(--white); }
.hero-next--evergreen .hero-next-date strong { font-size: 1.35rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--sand-deep); }
.section-title { font-size: clamp(1.85rem, 4vw, 2.5rem); color: var(--night); }
.section-lede { color: var(--ink-soft); max-width: 42rem; margin-bottom: 2.5rem; }

/* ---------- Events ---------- */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.event-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.event-date {
  display: grid; place-items: center; width: 76px; padding: .75rem .5rem;
  background: var(--night); color: var(--white); border-radius: 10px;
}
.event-day { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
.event-mon { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bronze-light); }
.event-title { font-size: 1.3rem; margin-bottom: .25rem; }
.event-meta { color: var(--bronze-dim); font-weight: 600; margin-bottom: .2rem; }
.event-venue { color: var(--ink-soft); margin-bottom: .6rem; }
.event-venue-note { display: block; font-size: .9rem; }
.event-desc { margin-bottom: 1rem; }
.event-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.event-poster { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--bronze-dim); font-size: .9rem; }
.event-poster img { width: 64px; border-radius: 6px; border: 1px solid var(--line); }

@media (max-width: 620px) {
  .event-card { grid-template-columns: 1fr; gap: 1rem; }
  .event-date { width: auto; grid-auto-flow: column; gap: .5rem; justify-content: start; padding: .5rem .9rem; }
}

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.card h3 { font-size: 1.2rem; color: var(--bronze-dim); }
.card p { margin: 0; color: var(--ink-soft); }

.disclaimer {
  margin-top: 2rem; font-size: .88rem; color: var(--ink-soft);
  border-left: 3px solid var(--bronze); padding-left: 1rem; max-width: 44rem;
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; counter-reset: s; }
.steps li { position: relative; padding-top: .5rem; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bronze); color: var(--white); font-family: var(--font-head);
  font-size: 1.15rem; margin-bottom: .85rem;
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-soft); margin: 0; }

.bring { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; max-width: 44rem; }
.bring h3 { font-size: 1.15rem; }
.bring ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--ink-soft); }
.bring li { margin-bottom: .35rem; }
.bring-note { margin: 0; font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .85rem; }
.gallery-item { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: rgba(20, 18, 30, .93); padding: 1.5rem;
}
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); text-align: center; margin-top: .85rem; font-size: .92rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem; background: none; border: 0;
  color: var(--white); font-size: 2.5rem; line-height: 1; cursor: pointer;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: start; }
.about-name { font-family: var(--font-head); font-size: 1.4rem; color: var(--bronze-dim); margin-bottom: .1rem; }
.about-role { color: var(--ink-soft); margin-bottom: 1.5rem; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; padding: 1.15rem 0; font: inherit; font-weight: 600;
  color: var(--night); text-align: left; cursor: pointer;
}
.faq-icon { color: var(--bronze); font-size: 1.5rem; transition: transform .2s ease; }
.faq-icon.is-open { transform: rotate(45deg); }
.faq-a p { color: var(--ink-soft); padding-bottom: 1.15rem; margin: 0; }

/* ---------- Contact ---------- */
.section-contact { background: var(--night); color: var(--white); }
.section-contact .section-title { color: var(--white); }
.section-contact .section-lede { color: rgba(255, 255, 255, .78); }
/* Single column since the contact form was removed. The second 1.1fr column
   held the form; leaving it would squeeze the details into half the page
   against an empty void. */
.contact { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: start; max-width: 34rem; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.contact-label { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--bronze-light); margin-bottom: .15rem; }
.contact-list a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(217, 169, 97, .5); }
.contact-list a + a { margin-left: 1rem; }
.form-privacy-note { margin: 2rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .6); }

/* .field and its inputs are shared with the admin forms (admin.php loads this
   stylesheet), so they stay even though the public site no longer has a form. */
.field { display: block; margin-bottom: 1.1rem; }
.field > span { display: block; font-size: .85rem; margin-bottom: .35rem; color: rgba(255, 255, 255, .82); }
.field em { color: var(--bronze-light); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; color: var(--white);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}
.field input:focus, .field textarea:focus { border-color: var(--bronze); outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-soft); color: rgba(255, 255, 255, .8); padding: 3rem 0 5.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); display: block; margin-bottom: .4rem; }
.footer-brand p { max-width: 26rem; font-size: .93rem; margin: 0; }
.footer-contact { display: grid; gap: .35rem; }
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-social { display: flex; gap: 1rem; margin-top: .4rem; }
.footer-social a { font-size: .9rem; color: var(--bronze-light); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; color: rgba(255, 255, 255, .55);
}

/* ---------- Sticky mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--night); border-top: 1px solid rgba(217, 169, 97, .3);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .95rem .5rem; color: var(--white); text-decoration: none;
    font-size: .9rem; font-weight: 600;
  }
  .mobile-bar .mb-call { background: var(--bronze); }
  .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
}

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