/* Mari's Moment — rebuilt from the Framer site */
:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --field: rgba(255, 255, 255, 0.06);
  --text: #f8f7f6;
  --white: #ffffff;
  --muted: #94918f;
  --dim: rgba(248, 247, 246, 0.18);
  --line: rgba(248, 247, 246, 0.35);
  --gutter: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Inter", system-ui, sans-serif;
  --display: "Mona Sans", "Inter", sans-serif;
  --heading: "Funnel Sans", "Inter", sans-serif;
  --serif: "Taviraj", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ---------- Buttons (pill) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 12px 24px;
  border-radius: 188px;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pill .arrow { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.pill:hover .arrow { transform: translate(2px, -2px); }
.pill--outline { color: var(--text); box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.pill--outline:hover { background: var(--white); color: var(--bg); box-shadow: inset 0 0 0 1px var(--white); }
.pill--solid { background: var(--white); color: var(--bg); box-shadow: inset 0 0 0 1px var(--white); }
.pill--solid:hover { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
}
.site-header .logo img { width: 120px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.menu-btn span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.3s, width 0.45s var(--ease), background-color 0.35s;
}
.menu-btn span:nth-child(1) { top: 20px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn span:nth-child(3) { top: 30px; width: 12px; margin-left: -9px; }
.menu-btn:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.menu-btn:hover span { background: var(--bg); }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { width: 18px; transform: translateY(-5px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.menu-open .site-header { position: fixed; }
.menu-overlay a {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.menu-overlay a:hover { color: var(--muted); }
.menu-open .menu-overlay a { opacity: 1; transform: none; }
.menu-open .menu-overlay a:nth-child(1) { transition-delay: 0.08s; }
.menu-open .menu-overlay a:nth-child(2) { transition-delay: 0.14s; }
.menu-open .menu-overlay a:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(100vh, 720px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 250px var(--gutter) 90px;
  perspective: 1200px;
}
.hero-copy { position: relative; z-index: 2; max-width: 420px; }
h1, .display {
  font-family: var(--display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.057em;
  text-transform: uppercase;
  color: var(--white);
}
.hero h1 { margin-bottom: 14px; }
.hero .sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero-img {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  will-change: transform, opacity;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
/* positions measured from the original at 1024px wide */
.hero-img.h-top       { left: 43%;  top: 102px; width: 13.8vw; aspect-ratio: 141/189; --tilt: rotateX(40deg); }
.hero-img.h-top-right { left: 81.7%; top: 176px; width: 12.5vw; aspect-ratio: 128/187; --tilt: skewY(-14deg) skewX(-4deg); }
.hero-img.h-left      { left: 5%;   top: 206px; width: 13.8vw; aspect-ratio: 141/237; --tilt: skewY(13deg); }
.hero-img.h-bot-left  { left: 11.3%; top: 584px; width: 11.4vw; aspect-ratio: 117/177; --tilt: skewY(-11deg); }
.hero-img.h-bot-right { left: 76.2%; top: 560px; width: 13.7vw; aspect-ratio: 140/208; --tilt: skewY(15deg); }
.hero-img { transform: var(--tilt); }
.js .hero-img { opacity: 0; transform: var(--tilt) translateY(60px) scale(0.92); }
.js .hero-img.in {
  opacity: 1;
  transform: var(--tilt);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}

/* ---------- Scattered gallery + text fill ---------- */
.scatter {
  position: relative;
  height: 1250px;
  margin-top: -110px;
}
.scatter .s-img { position: absolute; will-change: transform; }
.scatter .s-img img { width: 100%; height: 100%; object-fit: cover; }
.s-img.s-center { left: 42.7%; top: 7px;     width: 14.6vw; aspect-ratio: 150/180; }
.s-img.s1 { left: 14%;  top: 565px;  width: 10vw;   aspect-ratio: 102/116; }
.s-img.s2 { left: 77.3%; top: 555px; width: 11.4vw; aspect-ratio: 117/140; }
.s-img.s3 { left: 2.4%; top: 765px;  width: 11.9vw; aspect-ratio: 122/137; }
.s-img.s4 { left: 84.5%; top: 751px; width: 13.2vw; aspect-ratio: 135/163; }
.s-img.s5 { left: 9.4%; top: 1046px; width: 12.2vw; aspect-ratio: 125/139; }
.s-img.s6 { left: 1.8%; top: 1105px; width: 10.9vw; aspect-ratio: 112/107; }
.s-img.s7 { left: 80%;  top: 1054px; width: 12.2vw; aspect-ratio: 125/155; }
.s-img.s8 { left: 88.8%; top: 1150px; width: 9.5vw; aspect-ratio: 97/108; }
.fill-text {
  position: absolute;
  left: 50%;
  top: 710px;
  width: min(490px, calc(100% - 2 * var(--gutter)));
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
  z-index: 2;
}
.fill-text .ch { color: var(--text); opacity: 0.3; transition: opacity 0.4s linear; }
.fill-text .ch.on { opacity: 1; }
.fill-text .w { display: inline-block; white-space: nowrap; }

/* ---------- Meet Mari ---------- */
.meet { padding: 60px var(--gutter) 120px; max-width: 1080px; margin: 0 auto; }
h2 {
  font-family: var(--heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--text);
}
.meet-intro { max-width: 560px; margin: 0 auto 140px; text-align: center; }
.meet-intro h2 { margin-bottom: 12px; }
.body-copy { font-size: 16px; line-height: 28px; color: var(--muted); }
.instructor {
  display: grid;
  grid-template-columns: 422px minmax(0, 460px);
  justify-content: center;
  gap: 64px;
  align-items: center;
}
.instructor .portrait { aspect-ratio: 422/481; overflow: hidden; }
.instructor .portrait img { width: 100%; height: 100%; object-fit: cover; }
.instructor h4 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--white);
}
.role {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 24px;
}
.instructor .body-copy { max-width: 460px; }

/* ---------- CTA band + marquee ---------- */
.cta {
  background: var(--bg-2);
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}
.cta h2 { margin-bottom: 24px; padding: 0 var(--gutter); }
.marquee { margin-top: 60px; overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track img { object-fit: cover; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }

/* ---------- Footer ---------- */
.site-footer { padding: 80px var(--gutter) 30px; }
.site-footer .wordmark { width: 100%; opacity: 0.1; margin-bottom: 40px; }
.site-footer p { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Page heads (form + contact) ---------- */
.page-head { padding: 140px var(--gutter) 50px; text-align: center; }
.page-head h1 { margin-bottom: 12px; }
.page-head .lead { max-width: 552px; margin: 0 auto; font-size: 20px; line-height: 35px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-wrap { padding: 0 var(--gutter) 120px; }
.form-card { background: var(--bg); padding: 32px; border: 1px solid rgba(255, 255, 255, 0.04); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.field { display: flex; flex-direction: column; gap: 14px; grid-column: span 2; }
.field.half { grid-column: span 1; }
fieldset.field { border: 0; min-width: 0; }
.field > span, .field > legend {
  font-size: 14px;
  font-weight: 500;
  line-height: 24.5px;
  text-transform: uppercase;
  color: var(--text);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 28px;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s, background-color 0.25s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field ::placeholder { color: rgba(248, 247, 246, 0.3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--line); background-color: rgba(255, 255, 255, 0.08); }
.field.invalid input, .field.invalid textarea { border-color: #d46a6a; }
.field > legend { padding: 0; margin-bottom: 14px; }
.optional { font-style: normal; font-weight: 400; color: var(--muted); text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.place-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.place-card { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.place-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.place-photo {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 0 0 1px transparent;
  transition: box-shadow 0.3s var(--ease);
}
.place-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.4s var(--ease); filter: saturate(0.85); }
.place-card:hover .place-photo img { transform: scale(1.04); filter: none; }
.place-card input:checked ~ .place-photo { box-shadow: 0 0 0 2px var(--white); }
.place-card input:checked ~ .place-photo img { filter: none; }
.place-card input:focus-visible ~ .place-photo { outline: 2px solid var(--line); outline-offset: 4px; }
.place-name { font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--text); }
.place-name::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  vertical-align: 1px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.place-card input:checked ~ .place-name::before { background: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.place-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.place-photo { position: relative; }
.photo-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 3px 8px;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.45);
}
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.field.invalid .place-photo { box-shadow: 0 0 0 1px #d46a6a; }
.reveal-field:not([hidden]) { animation: field-in 0.5s var(--ease); }
@keyframes field-in { from { opacity: 0; transform: translateY(-8px); } }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 188px;
  background: var(--field);
  box-shadow: inset 0 0 0 1px transparent;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.chip:hover span { box-shadow: inset 0 0 0 1px var(--line); }
.chip input:checked + span { background: var(--white); color: var(--bg); }
.chip input:focus-visible + span { box-shadow: inset 0 0 0 1px var(--white); outline: 2px solid var(--line); outline-offset: 2px; }
.field.invalid .chip span { box-shadow: inset 0 0 0 1px #d46a6a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit {
  grid-column: span 2;
  width: 100%;
  justify-content: center;
  border: 0;
  margin-top: 8px;
}
.submit[disabled] { opacity: 0.6; cursor: progress; }
.form-status { grid-column: span 2; min-height: 28px; font-size: 15px; text-align: center; color: var(--muted); }
.form-status.ok { color: var(--text); }
.form-status.err { color: #e08a8a; }
.form-done { text-align: center; padding: 60px 20px; }
.form-done h2 { margin-bottom: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 0 var(--gutter) 120px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info a, .contact-info span { font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--text); transition: color 0.3s; }
.contact-info a:hover { color: var(--muted); }
.contact-head { text-align: left; padding-bottom: 60px; }
.contact-head .lead { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 809px) {
  :root { --gutter: 16px; }
  h1, .display { font-size: 44px; }
  h2 { font-size: 30px; }
  .site-header { padding: 16px var(--gutter); }
  .header-actions .pill { height: 44px; padding: 8px 18px; font-size: 14px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span:nth-child(1) { top: 16px; }
  .menu-btn span:nth-child(2) { top: 21px; }
  .menu-btn span:nth-child(3) { top: 26px; }
  .menu-overlay a { font-size: 30px; }
  .header-actions .pill { display: none; }
  .hero { min-height: 640px; padding: 210px var(--gutter) 70px; }
  /* measured from the original at 375px wide */
  .hero-img.h-top       { left: 41.9vw; top: 151px; width: 16.3vw; }
  .hero-img.h-top-right { left: 65.9vw; top: 175px; width: 20vw; }
  .hero-img.h-left      { left: 15.7vw; top: 172px; width: 16.8vw; }
  .hero-img.h-bot-left  { left: 16.5vw; top: 464px; width: 16.5vw; }
  .hero-img.h-bot-right { left: 66.9vw; top: 478px; width: 15vw; }
  .hero-img { z-index: 1; }
  .hero .pill { position: relative; z-index: 3; }
  .scatter { height: 740px; margin-top: -100px; }
  .s-img.s-center { left: 36.5vw; top: 0;     width: 101px; }
  .s-img.s1 { left: 2.9vw;  top: 220px; width: 65px; }
  .s-img.s6 { left: 9.3vw;  top: 254px; width: 77px; }
  .s-img.s8 { left: 76vw;   top: 213px; width: 78px; }
  .s-img.s7 { left: 71vw;   top: 287px; width: 83px; }
  .s-img.s5 { left: 13vw;   top: 608px; width: 80px; }
  .s-img.s3 { left: 67.5vw; top: 610px; width: 83px; }
  .s-img.s2, .s-img.s4 { display: none; }
  .fill-text { top: 474px; width: calc(100% - 40px); }
  .meet-intro { margin-bottom: 80px; }
  .instructor { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field, .field.half, .submit, .form-status { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .place-cards { grid-template-columns: 1fr; }
  .page-head .lead { font-size: 17px; line-height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .hero-img, .js .reveal { opacity: 1; transform: var(--tilt, none); }
}
