/* ============================================================
   Sax Med Silas — design tokens (from logo: gold #BC924A, charcoal #1C1C1C)
   ============================================================ */
:root {
  --gold: #bc924a;
  --gold-light: #d9b676;
  --gold-dark: #8f6b32;
  --charcoal: #1c1c1c;
  --charcoal-soft: #262626;
  --cream: #faf7f2;
  --cream-soft: #f2ede4;
  --white: #ffffff;
  --text-dark: #232323;
  --text-muted: #5c584f;
  --text-light: #f5f1ea;
  --text-light-muted: #cabfa9;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 45px rgba(28, 28, 28, 0.12);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  color: var(--text-dark);
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gold);
  color: var(--charcoal);
}
.btn--primary:hover { background: var(--gold-light); }

.btn--ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--text-light);
}
.btn--ghost:hover { background: rgba(188, 146, 74, 0.12); }

.btn--full { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark { border-radius: 8px; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: var(--text-dark);
}
.brand-accent { color: var(--gold); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  position: relative;
  padding-block: 0.3rem;
}
.nav-link:not(.nav-link--cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:not(.nav-link--cta):hover::after { transform: scaleX(1); }

.nav-link--cta {
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-weight: 500;
}
.nav-link--cta:hover { background: var(--gold-light); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--charcoal) 0%, #131313 100%);
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero-shape {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: radial-gradient(circle at 30% 30%, rgba(188, 146, 74, 0.25), rgba(188, 146, 74, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(96px, 14vw, 150px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.35));
}

.eyebrow {
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.hero-lead {
  color: var(--text-light-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 56ch;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   Section layout
   ============================================================ */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section--light { background: var(--cream); }
.section--dark {
  background: var(--charcoal);
  color: var(--text-light);
}

.kicker {
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.kicker--on-dark { color: var(--gold-light); }

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.section-title--on-dark { color: var(--text-light); }

.section-lead {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.section-lead--on-dark { color: var(--text-light-muted); }

/* Om Silas — split layout */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 0.9fr 1.1fr; }
}

.photo-frame {
  width: 100%;
  border-radius: 62% 38% 55% 45% / 50% 45% 55% 50%;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--gold);
}

.split-text p { color: var(--text-muted); }
.split-text h2 { color: var(--text-dark); }

/* Media grid */
.media-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .media-grid { grid-template-columns: 1fr 1fr; }
}

.media-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(188, 146, 74, 0.35);
}
.media-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-card figcaption {
  padding: 0.9rem 1.1rem;
  background: var(--charcoal-soft);
  color: var(--text-light-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Events grid */
.events-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold);
  transition: transform 0.2s ease;
}
.event-card:hover { transform: translateY(-4px); }
.event-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.event-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.event-icon {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ============================================================
   Booking form
   ============================================================ */
.booking-form {
  max-width: 640px;
  background: var(--charcoal-soft);
  border: 1px solid rgba(188, 146, 74, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .form-row--split { grid-template-columns: 1fr 1fr; }
}
.form-row--split > div { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-light-muted);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 241, 234, 0.2);
  background: rgba(245, 241, 234, 0.06);
  color: var(--text-light);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(245, 241, 234, 0.4); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 241, 234, 0.1);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

textarea { resize: vertical; min-height: 110px; }

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  margin: 0;
}
.form-status.is-success { color: #8fd19e; }
.form-status.is-error { color: #e0a1a1; }
.form-status.is-pending { color: var(--gold-light); }

.direct-contact {
  margin-top: 1.75rem;
  color: var(--text-light-muted);
  font-size: 0.95rem;
}
.direct-contact a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #141414;
  color: var(--text-light-muted);
  padding-block: 2.5rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-mark { border-radius: 6px; margin-bottom: 0.5rem; }
.footer-inner a { color: var(--gold-light); }
.footer-copy { font-size: 0.8rem; opacity: 0.7; margin-top: 0.5rem; }

/* ============================================================
   Mobile nav
   ============================================================ */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    gap: 0.25rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 20px 30px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(28,28,28,0.08);
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding-block: 0.75rem; border-bottom: 1px solid rgba(28,28,28,0.06); }
  .nav-link--cta { text-align: center; margin-top: 0.5rem; }
}
