/* Embrace It All — one-page site
   Navy, gold, olive, cream. Mobile first.
*/

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/cormorant-sc.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/cormorant-sc-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0e1730;
  --navy-deep: #090e1c;
  --navy-mid: #1a2744;
  --indigo: #243056;
  --gold: #c9a46a;
  --gold-soft: #e0c48a;
  --gold-dim: #a8884e;
  --olive: #4a5a2c;
  --olive-deep: #3a4722;
  --olive-soft: #6a7a45;
  --cream: #f6f1e8;
  --cream-dark: #e8e0d2;
  --sand: #ede4d4;
  --blush: #e9d5c8;
  --ink: #16141f;
  --body: #3d3946;
  --muted: #5c5663;
  --line: rgba(201, 164, 106, 0.38);
  --white: #fffcf7;
  --header-h: 4.15rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sc: "Cormorant SC", "Cormorant Garamond", serif;
  --font-sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 70rem;
  --radius: 1.15rem;
  --shadow: 0 1px 2px rgba(14, 23, 48, 0.05), 0 18px 40px rgba(14, 23, 48, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.8rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 420;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--olive-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-dim);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0.3rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); font-weight: 380; }
h2 { font-size: clamp(2rem, 4.6vw, 3.05rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); }

p { margin: 0 0 1em; }

.eyebrow,
.eyebrow-light {
  font-family: var(--font-sc);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 0.65rem;
}

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

.lede {
  max-width: 38rem;
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
  border-color: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 232, 0.45);
}

.btn-ghost:hover {
  background: rgba(246, 241, 232, 0.1);
  color: var(--white);
  border-color: var(--gold-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.text-link {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--olive-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}

.text-link:hover { color: var(--gold-dim); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(14, 23, 48, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 164, 106, 0.18);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.logo-link img {
  width: 2.55rem;
  height: auto;
  flex-shrink: 0;
}

.logo-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 164, 106, 0.35);
  background: transparent;
}

.nav-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.nav-toggle-btn .icon-close { display: none; }
.nav-toggle:checked + .nav-toggle-btn .icon-open { display: none; }
.nav-toggle:checked + .nav-toggle-btn .icon-close { display: block; }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem 1.5rem 2rem;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow: auto;
}

.nav-toggle:checked ~ .site-nav { transform: translateX(0); }

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid rgba(201, 164, 106, 0.15);
}

.site-nav a:hover { color: var(--gold-soft); }

.site-nav .nav-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
}

.site-nav .nav-cta:hover { background: var(--gold-soft); color: var(--navy-deep); }

body.nav-open { overflow: hidden; }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--navy-deep);
  padding-top: var(--header-h);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  background:
    linear-gradient(to top, rgba(8, 12, 24, 0.88) 0%, rgba(8, 12, 24, 0.45) 42%, rgba(8, 12, 24, 0.2) 70%, rgba(8, 12, 24, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 3.2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2rem, var(--max));
}

.hero-emblem {
  display: block;
  width: 7.2rem;
  margin: 0 0 1.15rem;
}

.hero-emblem img { width: 100%; }

.hero h1 {
  color: var(--white);
  font-style: italic;
  font-weight: 360;
  margin: 0 0 0.45em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(246, 241, 232, 0.88);
  max-width: 28rem;
  margin: 0;
}

/* ---------- Upcoming ---------- */

.upcoming {
  background: var(--cream);
  padding: 4.2rem 0 4.5rem;
}

.session-card {
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 23, 48, 0.06);
}

.session-poster {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 2.4rem 1.8rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  position: relative;
}

.session-poster::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(246, 241, 232, 0.18);
  pointer-events: none;
}

.sunburst {
  width: 5rem;
  height: 2.5rem;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
  stroke-width: 1.4;
}

.poster-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.1rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 0.55rem;
}

.poster-sub {
  font-family: var(--font-sc);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-soft);
  margin: 0;
}

.session-details { padding: 1.7rem 1.4rem 1.8rem; }

.session-kicker {
  font-family: var(--font-sc);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--gold-dim);
  margin: 0 0 0.35rem;
}

.session-details h3 { margin-bottom: 0.15rem; color: var(--navy); }

.session-type {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
}

.session-meta {
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.session-meta div {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}

.session-meta dt {
  font-family: var(--font-sc);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0;
}

.session-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 550;
}

.themes-label {
  font-family: var(--font-sc);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--muted);
  margin: 2.1rem 0 0.8rem;
}

.theme-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.theme-chips li {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--navy);
  background: var(--sand);
  border: 1px solid rgba(201, 164, 106, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* ---------- Offerings ---------- */

.offerings {
  background:
    linear-gradient(165deg, #f7efe4 0%, #f3e4d8 32%, #e8eee0 68%, #f4ebe0 100%);
  padding: 4.2rem 0 4.6rem;
}

.offer-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 23, 48, 0.05);
  display: flex;
  flex-direction: column;
}

.offer-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-mid); }

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-body { padding: 1.3rem 1.3rem 1.5rem; }

.offer-body p { margin-bottom: 1rem; }

.collab-band {
  margin-top: 1.25rem;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.collab-band h3 { color: var(--white); margin-bottom: 0.4rem; }

.collab-band p { margin: 0; color: rgba(246, 241, 232, 0.88); }

.collab-motif { width: 4.2rem; }

.collab-motif svg { width: 100%; height: auto; }

.collab-motif .moon {
  fill: var(--gold);
  stroke: none;
}

.collab-motif .star {
  fill: var(--gold-soft);
  stroke: none;
}

/* ---------- About ---------- */

.about {
  background: var(--cream);
  padding: 4.2rem 0 4.4rem;
}

.about-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.about-emblem {
  width: min(14rem, 70%);
  margin-inline: auto;
}

.about p { max-width: 36rem; }

.ornament {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.3rem;
  width: min(14rem, 70%);
  color: var(--gold);
}

.ornament span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.ornament svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- CTA ---------- */

.cta-band {
  background:
    linear-gradient(180deg, rgba(14, 23, 48, 0.55), rgba(14, 23, 48, 0.72)),
    url("../assets/hero.webp") center 40% / cover no-repeat;
  color: var(--cream);
  padding: 4.5rem 0 4.8rem;
  text-align: center;
}

.cta-inner { max-width: 38rem; }

.cta-band h2 { color: var(--white); }

.cta-band p { color: rgba(246, 241, 232, 0.88); }

.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 241, 232, 0.75);
  padding: 2.4rem 0 2rem;
  border-top: 1px solid rgba(201, 164, 106, 0.22);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.footer-brand img { width: 3.6rem; height: auto; }

.footer-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream);
  margin: 0 0 0.1rem;
}

.footer-brand p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
}

.footer-links a {
  color: var(--gold-soft);
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: rgba(246, 241, 232, 0.5);
}

/* ---------- Breakpoints ---------- */

@media (min-width: 700px) {
  .hero-content { padding-bottom: 4.4rem; }
  .hero-emblem { width: 8.4rem; }

  .session-card {
    grid-template-columns: 1fr 1.05fr;
    min-height: 20rem;
  }

  .session-poster { min-height: 100%; padding: 2.6rem; }

  .session-details {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }

  .collab-band {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 2rem 2.1rem;
  }

  .about-grid {
    grid-template-columns: 16rem 1fr;
    gap: 3rem;
  }

  .about-emblem { width: 16rem; margin: 0; }
}

@media (min-width: 900px) {
  .nav-toggle-btn { display: none; }

  .site-nav {
    position: static;
    inset: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    gap: 0.2rem 1.5rem;
    overflow: visible;
  }

  .site-nav a {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 550;
    padding: 0.3rem 0;
    border: none;
    color: rgba(246, 241, 232, 0.88);
  }

  .site-nav .nav-cta {
    margin-top: 0;
    align-self: auto;
    padding: 0.55rem 1.05rem;
    font-size: 0.88rem;
  }

  .hero-content {
    margin-left: max(calc((100% - var(--max)) / 2), 1.5rem);
    margin-right: auto;
    padding-bottom: 5.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-copy { grid-column: 1 / -1; }
}

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--navy);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media print {
  .site-header, .nav-toggle-btn, .btn-row, .cta-band { display: none; }
  body { background: white; color: black; }
  a { color: black; }
}
