/* Paris Yoga — shared base. Each direction sets the tokens and hero layout. */
:root {
  --rose: #E2BAB5;
  --rose-deep: #9E6B66;   /* AA on light surfaces for small rose text */
  --ink: #141211;
  --porcelain: #FAF6F2;
  --bg: var(--porcelain);
  --fg: var(--ink);
  --muted: #5E5653;
  --line: rgba(20, 18, 17, .16);
  --field: rgba(255, 255, 255, .55);
  --btn-bg: var(--ink);
  --btn-fg: var(--porcelain);
  --focus: var(--rose-deep);
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --display: "Tenor Sans", "Gill Sans", sans-serif;
  --label: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(72px, 11vw, 128px);
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
html.reduced { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 19px/1.6 var(--serif); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Labels / nav: brand tagline style (tracking 230) */
.label, .nav a, .btn, .who, .field label, .eyebrow-free { font-family: var(--label); font-weight: 400; text-transform: uppercase; letter-spacing: .23em; font-size: 11.5px; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: .06em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(34px, 5.2vw, 64px); }
.lede { font-style: italic; font-size: clamp(19px, 2vw, 23px); color: var(--muted); margin: 18px 0 0; max-width: 34ch; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px; transition: background .4s var(--ease), padding .4s var(--ease); }
.site-header .mark img { height: 26px; width: auto; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a { text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .2s var(--ease); }
.nav a:hover::after { right: 0; }
.nav .optional { display: none; }
@media (min-width: 760px) { .nav .optional { display: inline; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 34px; border: 0; border-radius: 2px; background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); z-index: -1; }
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero media treatment shared */
.hero { position: relative; }
.photo { position: relative; overflow: hidden; background: #2a2725; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.photo video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.photo video.ready { opacity: 1; }
/* no zoom on load: the photo/video stays still; only the type fades in */
/* window light drifting across the frame */
.photo .light { position: absolute; inset: -20%; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.16) 48%, transparent 60%); mix-blend-mode: soft-light; opacity: 0; }
@keyframes drift { from { transform: translateX(-18%); } to { transform: translateX(18%); } }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Load choreography */
.motion .seq { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.motion .loaded .seq { opacity: 1; transform: none; }
.motion .loaded .seq.d1 { transition-delay: .5s; }
.motion .loaded .seq.d2 { transition-delay: .9s; }
.motion .loaded .seq.d3 { transition-delay: 1.3s; }

/* Reveal on scroll */
/* sections are complete at rest; only the hero has a load sequence */
.reveal { opacity: 1; }

section { padding: var(--pad) var(--gutter); position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; }

/* Form */
.love-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .love-grid { grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; } }
.field { margin: 0 0 26px; }
.field label { display: block; margin-bottom: 10px; color: var(--fg); }
.field label .req { color: var(--rose-deep); margin-left: 4px; }
.field label .opt { text-transform: none; letter-spacing: .02em; color: var(--muted); font-size: 12px; margin-left: 6px; }
.field input, .field textarea { width: 100%; font: 400 19px/1.5 var(--serif); color: var(--fg); background: var(--field); border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); background: transparent; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 45%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; font-style: italic; }
.names { display: grid; gap: 0 18px; }
@media (min-width: 560px) { .names { grid-template-columns: 1fr 1fr; } }
.err { display: block; min-height: 0; font: italic 16px/1.4 var(--serif); color: #A23B2E; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #A23B2E; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; margin: 4px 0 30px; }
.consent input { appearance: none; width: 22px; height: 22px; margin: 3px 0 0; border: 1px solid var(--fg); border-radius: 2px; background: transparent; display: grid; place-content: center; cursor: pointer; }
.consent input::after { content: ""; width: 11px; height: 6px; border: 1.5px solid var(--btn-fg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.consent input:checked::after { opacity: 1; }
.consent label { font-size: 17px; line-height: 1.5; cursor: pointer; }
.fine { font-size: 15px; font-style: italic; color: var(--muted); margin: 18px 0 0; }
.form-error { color: #A23B2E; font-style: italic; min-height: 1em; }
.hp { position: absolute; left: -9999px; }
.thanks { display: none; }
.love.sent form { display: none; }
.love.sent .thanks { display: block; }
.thanks h3 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }

/* About + mat */
.placeholder { border: 1px dashed currentColor; opacity: .7; padding: 2px 8px; font: 12px/1.6 var(--label); letter-spacing: .08em; text-transform: uppercase; display: inline-block; }
.mat-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.mat-list li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .mat-list li { grid-template-columns: 180px 1fr 1fr auto; gap: 24px; align-items: baseline; } }
.mat-list .day { font-family: var(--display); letter-spacing: .06em; font-size: 22px; }
.mat-list .where { font-style: italic; color: var(--muted); }

.mat-note { font-size: clamp(20px, 2vw, 24px); max-width: 44ch; margin: 34px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.mat-note a { text-decoration-color: var(--rose-deep); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mat-note a:hover { color: var(--rose-deep); }

/* Testimonials */
.quotes { text-align: center; }
.carousel { position: relative; max-width: 860px; margin: 48px auto 0; min-height: 260px; }
.track { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide blockquote { margin: 0; font: italic 400 clamp(24px, 3.4vw, 38px)/1.35 var(--serif); }
.slide .who { margin-top: 28px; display: block; color: var(--rose-deep); }
.ctrl { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 36px; }
.ctrl button.prev, .ctrl button.next { width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; color: var(--fg); border-radius: 50%; cursor: pointer; font-size: 18px; transition: border-color .2s; }
.ctrl button.prev:hover, .ctrl button.next:hover { border-color: currentColor; }
.dots { display: flex; gap: 10px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--rose-deep); }
.preview-tag { display: inline-block; margin-top: 18px; font: 11px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Footer */
footer { padding: 72px var(--gutter) 40px; border-top: 1px solid var(--line); }
.foot { max-width: 1180px; margin: 0 auto; display: grid; gap: 32px; justify-items: center; text-align: center; }
.foot .mono { height: 86px; width: auto; }
footer details { max-width: 640px; font-size: 16px; color: var(--muted); }
footer summary { cursor: pointer; font: 11.5px var(--label); letter-spacing: .23em; text-transform: uppercase; color: var(--fg); list-style: none; }
footer summary::-webkit-details-marker { display: none; }
footer details p { text-align: left; margin-top: 16px; }
.copy { font: 11px var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Spam check: invisible for most visitors, shown above the button only if Cloudflare needs a tick */
/* Invisible mode: nothing shows. If Cloudflare ever has to ask, the box sits small and centred with soft corners. */
.cf-turnstile { display: flex; justify-content: center; }
.cf-turnstile iframe { border-radius: 12px; margin-bottom: 16px; }
