/* ==========================================================================
   Wakera — landing page styles
   ========================================================================== */

:root {
  --cream: #f2ede4;
  --sand: #e6dac8;
  --sage: #ccd3cb;
  --card: #faf7f0;
  --ink: #2a2620;
  --body: #3b362e;
  --muted: #5c554b;
  --hover: #4a4238;
  --bronze: #8a6f52;
  --gold: #c9a97e;
  --hero-text: #f7f2e9;
  --hero-script: #f0dfc2;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Mrs Saint Delafield', cursive;
  --sans: 'Jost', system-ui, sans-serif;

  --section-pad: clamp(64px, 9vw, 110px);
}

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

html { scroll-behavior: smooth; }

/* keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 56px; }
#top { scroll-margin-top: 0; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
a:hover { color: var(--bronze); }

h1, h2, h3, p { margin: 0; }

/* ---------- Shared pieces ---------- */

.container { max-width: 1200px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }

.band-sand { background: var(--sand); }
.band-sage { background: var(--sage); }

.section-head { text-align: center; margin-bottom: clamp(36px, 6vw, 64px); }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1.25;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 40px;
  color: var(--bronze);
  margin-top: -6px;
  line-height: 1.2;
}

.prose p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 13px 30px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.btn:hover { background: var(--hover); color: var(--cream); }

.btn--sm { padding: 11px 24px; font-size: 10.5px; letter-spacing: 2.5px; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 26px;
  font-size: 11px;
}
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.media { position: relative; overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.arch { border-radius: 200px 200px 0 0; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 237, 228, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 38, 32, 0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.logo:hover { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-book { background: var(--ink); color: var(--cream); padding: 10px 22px; }
.nav-links .nav-book:hover { background: var(--hover); color: var(--cream); }

@media (max-width: 640px) {
  .nav { padding: 12px 14px; gap: 10px; }
  .nav-links { gap: 14px; font-size: 10.5px; letter-spacing: 1.5px; }
  .nav-links .nav-gallery { display: none; }
  .logo { font-size: 17px; letter-spacing: 3px; }
}

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

.hero { position: relative; width: 100%; height: min(88vh, 780px); overflow: hidden; background: #6f5a4e; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 24, 20, 0.45) 0%, rgba(30, 24, 20, 0.15) 55%, transparent 100%);
  pointer-events: none;
}

.hero-text {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 8vw, 120px);
  top: 50%;
  transform: translateY(-50%);
}
.hero-text-inner { animation: wk-fadeup 1s ease both; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 96px);
  letter-spacing: clamp(8px, 1.6vw, 22px);
  text-transform: uppercase;
  color: var(--hero-text);
  line-height: 1;
}

.hero-slogan {
  font-family: var(--script);
  font-size: clamp(38px, 5.5vw, 68px);
  color: var(--hero-script);
  margin: -8px 0 0 clamp(30px, 8vw, 140px);
  line-height: 1.1;
}

@keyframes wk-fadeup {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

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

.cta-strip-inner {
  padding-top: 34px;
  padding-bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 36px;
  text-align: center;
}
.cta-strip p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--hover);
}
.cta-strip .btn { flex-shrink: 0; }

/* ---------- Meaning ---------- */

.meaning-inner {
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(56px, 9vw, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.collage { position: relative; min-height: 380px; height: 100%; }
.collage-arch { position: absolute; left: 0; top: 0; width: 62%; height: 82%; z-index: 1; }
.collage-rect {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 70%;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(42, 38, 32, 0.25);
}
.collage-label {
  position: absolute;
  left: 6%;
  bottom: 4%;
  z-index: 3;
  font-family: var(--script);
  font-size: 44px;
  color: var(--ink);
  pointer-events: none;
}

.meaning .h2 { letter-spacing: 4px; margin-bottom: 22px; }
.meaning .prose p:last-of-type { margin-bottom: 26px; }

/* ---------- Formats ---------- */

.formats { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(24px, 4vw, 44px);
}

.format {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.format-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(42, 38, 32, 0.2);
  padding: 10px;
}
.format-frame .media { width: 100%; height: 100%; }
.format h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 8px;
}
.format p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
  text-wrap: pretty;
}

/* ---------- Flow ---------- */

.flow-inner {
  max-width: 1100px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.flow .section-head { margin-bottom: clamp(36px, 6vw, 60px); }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: flex;
  gap: clamp(18px, 4vw, 40px);
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid rgba(42, 38, 32, 0.18);
}
.step-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--bronze);
  min-width: 44px;
}
.step-body { flex: 1; }
.step-title {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.step-desc { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 60ch; }

/* ---------- Gallery ---------- */

.gallery { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.gallery .section-head { margin-bottom: clamp(36px, 6vw, 56px); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.gallery-grid .media { aspect-ratio: 1; }

.video { margin-top: 14px; aspect-ratio: 21 / 9; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.play span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 233, 0.9);
  background: rgba(30, 24, 20, 0.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-text);
  font-size: 20px;
  padding-left: 4px;
}

/* ---------- Testimonials ---------- */

.quotes-inner {
  max-width: 1000px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  text-align: center;
}
.quotes .h2 { font-size: clamp(28px, 3.6vw, 38px); }
.quotes .script { color: var(--hover); margin: -6px 0 clamp(30px, 5vw, 48px); }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(28px, 5vw, 48px);
  text-align: left;
}
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote-mark {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 0.5;
  color: var(--bronze);
  margin-top: 20px;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: #2f2b25;
  text-wrap: pretty;
}
.quote figcaption {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hover);
}

/* ---------- Booking ---------- */

.booking {
  max-width: 860px;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.booking .section-head { margin-bottom: 36px; }
.booking-intro {
  margin: 14px auto 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}
.booking-card {
  background: var(--card);
  border: 1px solid rgba(42, 38, 32, 0.15);
  padding: clamp(22px, 5vw, 52px);
}
#booking-embed {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(42, 38, 32, 0.25);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: #8a8275;
}
.booking-email { text-align: center; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.booking-email a { border-bottom: 1px solid var(--bronze); font-weight: 400; }

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

.about-inner {
  max-width: 1100px;
  padding-top: clamp(56px, 9vw, 100px);
  padding-bottom: clamp(56px, 9vw, 100px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.about-portrait { width: min(100%, 400px); aspect-ratio: 4 / 5; margin: 0 auto; }
.about .h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: 4px; }
.about .script { margin: -4px 0 20px; }
.about .prose p:last-child { margin-bottom: 0; }

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

.site-footer { background: var(--ink); color: #cfc7b8; }
.footer-inner {
  padding-top: 52px;
  padding-bottom: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-script { font-family: var(--script); font-size: 30px; color: var(--gold); margin-top: -10px; }
.footer-links { display: flex; gap: 26px; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; }
.footer-links a { color: #cfc7b8; }
.footer-links a:hover { color: var(--cream); }
.footer-place { font-size: 12px; color: #8a8275; }
.footer-legal {
  width: 100%;
  font-size: 11px;
  color: #6d675c;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

/* ---------- Scroll reveal (only when JS is on) ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-text-inner { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
