/* Origin, round P1: one stylesheet for every page, redesigned to Paula's Canva (outputs/websites/origin/design-p1.md).
   Her palette only, small letter-spaced type in the HWH Studio scale, centred text sections, pill buttons,
   one spacing scale. No shadows, no blur, almost no motion. */

/* ---------- Tokens (design-p1.md section 1 to 4) ---------- */
:root {
  /* colour, her Canva */
  --ink: #111010;            /* Soft Black, all text */
  --white: #FFFFFF;          /* Grounds White: header, footer, cards, the Grip Studio band */
  --gray: #EFEFEF;           /* Soft Gray: the main page ground */
  --beige: #E6E2D6;          /* Warm Beige: bands and the event cards */
  --blue: #406D8E;           /* Deep Blue: filled pill buttons */
  --blue-hover: #355C78;     /* Deep Blue, one step darker, hover only */
  --navy: #000912;           /* the "Submit your project" band */
  --muted: #55524F;          /* Soft Black at about 70%: meta lines, labels (6.5:1 on Soft Gray) */
  --line: rgba(17, 16, 16, .16);
  --line-strong: rgba(17, 16, 16, .55);
  --off-bg: #D5D5D5; --off-fg: #5E5E5E; /* inactive (Sold out) */
  --err: #8E3B2F;
  --pic: #DCDAD4;            /* behind a picture until it loads */

  /* type */
  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --t-xs: 11px;              /* badges, legal line */
  --t-sm: 12px;              /* nav, buttons, labels, meta */
  --t-base: 14px;            /* body */
  --t-md: 16px;              /* lead lines, card titles */
  --t-h3: 22px;
  --t-h2: 30px;
  --t-h1: 40px;
  --track: .03em;            /* body letter spacing */
  --track-caps: .12em;       /* caps: nav, buttons, labels */
  --track-head: .04em;       /* serif headings */

  /* space: one scale, used everywhere */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --pad: var(--s9);          /* every section, top and bottom */
  --gut: clamp(16px, 4.4vw, 64px);
  --w-text: 560px;           /* centred text */
  --w-mid: 780px;            /* event cards, forms, tickets */
  --w-wide: 1040px;          /* tiles, carousels, two columns */
  --head-h: 88px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}
@media (max-width: 699px) {
  :root { --pad: var(--s8); --t-h1: 32px; --t-h2: 26px; --t-h3: 20px; --head-h: 72px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--white); scroll-padding-top: calc(var(--head-h) + 8px); }
body {
  min-height: 100vh; min-height: 100dvh;
  background: var(--gray); color: var(--ink);
  font: 400 var(--t-base)/1.75 var(--sans); letter-spacing: var(--track);
  font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4 { overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; letter-spacing: var(--track-head); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: 16px; z-index: 100; padding: 8px 16px; background: var(--ink); color: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.o-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type roles ---------- */
.o-h1 { font: 500 var(--t-h1)/1.2 var(--serif); letter-spacing: var(--track-head); }
.o-h2 { font: 500 var(--t-h2)/1.2 var(--serif); letter-spacing: var(--track-head); }
.o-h3 { font: 500 var(--t-h3)/1.25 var(--serif); letter-spacing: var(--track-head); }
.o-caps { text-transform: uppercase; letter-spacing: .14em; }
.o-h2 span, .o-h1 span { display: block; }
.o-lead { font-size: var(--t-md); line-height: 1.7; }
.o-small { font-size: var(--t-sm); line-height: 1.6; color: var(--muted); }
.o-label { font: 500 var(--t-sm)/1.4 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase; }

/* ---------- Buttons: elongated pills ---------- */
.o-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; min-width: 168px; padding: 0 32px;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase;
  text-decoration: none; white-space: nowrap; text-align: center;
  border: 1px solid var(--blue); border-radius: 999px;
  background: var(--blue); color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.o-btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.o-btn--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.o-btn[disabled], .o-btn[aria-disabled="true"] { background: var(--off-bg); border-color: var(--off-bg); color: var(--off-fg); cursor: not-allowed; }
@media (hover: hover) {
  .o-btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
  .o-btn--line:hover, .o-btn--dark:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .o-btn--dark:hover { background: #2C2927; border-color: #2C2927; }
  .o-btn[disabled]:hover, .o-btn[aria-disabled="true"]:hover { background: var(--off-bg); border-color: var(--off-bg); color: var(--off-fg); }
}
.o-link {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0;
  font-size: var(--t-sm); letter-spacing: .04em; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  background: none; border: 0; cursor: pointer;
}
@media (hover: hover) { .o-link:hover { color: var(--blue); } }
.o-actions { display: flex; flex-direction: column; align-items: center; gap: var(--s2); margin-top: var(--s6); }

/* ---------- Header: her lockup with the menu right beside it, on the left ---------- */
.o-head {
  position: sticky; top: 0; z-index: 30;
  height: var(--head-h);
  display: flex; align-items: center; gap: clamp(32px, 4vw, 64px);
  padding: 0 var(--gut);
  background: var(--white); color: var(--ink);
  transition: box-shadow .3s var(--ease);
}
.o-head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.o-logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; flex: none; }
.o-logo svg { height: 48px; width: auto; } /* her lockup, 2.3:1 (round P2: 58 to 48 px, her "a little smaller"): WELLNESS / HUB cap height about 7.9 px */
.o-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.o-nav a {
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; padding: 14px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size .3s var(--ease);
}
.o-nav a[aria-current="page"] { background-size: 100% 1px; }
@media (hover: hover) { .o-nav a:hover { background-size: 100% 1px; } }
.o-menu-btn {
  display: none; margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 2px 0 12px;
  background: none; border: 0; color: inherit; align-items: center; gap: 12px;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase;
}
.o-menu-btn__lines { position: relative; width: 22px; height: 8px; }
.o-menu-btn__lines::before, .o-menu-btn__lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.o-menu-btn__lines::before { top: 0; }
.o-menu-btn__lines::after { bottom: 0; }
.o-head.is-open .o-menu-btn__lines::before { transform: translateY(3.5px) rotate(45deg); }
.o-head.is-open .o-menu-btn__lines::after { transform: translateY(-3.5px) rotate(-45deg); }
.o-panel {
  position: absolute; left: 0; right: 0; top: var(--head-h);
  max-height: calc(100vh - var(--head-h)); overflow-y: auto;
  background: var(--white); padding: var(--s2) var(--gut) var(--s6);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: none;
}
.o-head.is-open .o-panel { display: block; }
.o-panel a {
  display: flex; align-items: center; min-height: 52px;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.o-panel a[aria-current="page"] { color: var(--blue); }
/* round P2: Our products holds two pages. Phone: the label with both pages indented under it, always shown */
.o-panel__label {
  display: flex; align-items: center; min-height: 52px;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
.o-panel .o-panel__sub { min-height: 44px; padding-left: var(--s5); }
.o-panel__label + .o-panel__sub { border-top: 1px solid var(--line); }
/* Desktop: a small white panel under OUR PRODUCTS; opens on hover, click or tap, and from the keyboard (site.js) */
.o-drop { position: relative; }
.o-drop__btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; padding: 14px 0; background: none; border: 0; color: inherit;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 calc(100% - 8px); background-size: 0 1px;
  transition: background-size .3s var(--ease);
}
.o-drop__btn.is-current { background-size: calc(100% - 14px) 1px; }
@media (hover: hover) { .o-drop__btn:hover { background-size: calc(100% - 14px) 1px; } }
.o-drop__chev { width: 6px; height: 6px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.o-drop.is-open .o-drop__chev { transform: translateY(3px) rotate(-135deg); }
.o-drop__list {
  position: absolute; left: -20px; top: calc(100% + 12px); z-index: 2;
  min-width: 200px; padding: var(--s2) 20px;
  background: var(--white); border: 1px solid var(--line);
  display: none;
}
.o-drop__list::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; } /* bridges the gap for the pointer */
.o-drop.is-open .o-drop__list { display: block; }
.o-drop__list li { display: block; }
.o-nav .o-drop__list a { display: inline-block; padding: 12px 0; background-position: 0 calc(100% - 7px); }
/* The language switch (Spanish version, 2026-10-23): "Español" on the English pages, "English" on the Spanish ones (Marcus, 2026-10-23: the whole word, so the switch reads as a language), at the right end of the
   header at every width (beside MENU on a narrow screen), and once more in the footer links row */
.o-lang {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) 50% calc(100% - 12px) / 0 1px no-repeat;
  transition: background-size .3s var(--ease);
}
@media (hover: hover) { .o-lang:hover { background-size: 18px 1px; } }
.o-lang + .o-menu-btn { margin-left: 4px; }
/* Spanish only: "EVENTOS / DE LA COMUNIDAD" keeps its two lines on a phone (the second line runs longer than "EVENTS") */
@media (max-width: 520px) { html[lang="es"] #events-h.o-caps { font-size: 26px; letter-spacing: .1em; } }
@media (max-width: 1099px) {
  .o-nav { display: none; }
  .o-menu-btn { display: inline-flex; }
}
@media (max-width: 699px) { .o-logo svg { height: 44px; } } /* round P2: 52 to 44 px; cap height about 7.2 px on the phone */

/* ---------- Sections: one rhythm on every page ---------- */
.o-sec { padding: var(--pad) var(--gut); }
.o-sec--white { background: var(--white); }
.o-sec--beige { background: var(--beige); }
.o-sec--navy { background: var(--navy); color: var(--white); }
.o-center { max-width: var(--w-text); margin: 0 auto; text-align: center; }
.o-center > p { margin-top: var(--s4); }
.o-center > .o-h2 + p, .o-center > .o-h1 + p { margin-top: var(--s5); }
.o-sec__head { text-align: center; margin: 0 auto var(--s7); max-width: var(--w-text); }
.o-sec__head p { margin-top: var(--s4); }
.o-sec__foot { text-align: center; margin-top: var(--s6); }
/* two text sections of the same colour in a row share one gap, not two */
.o-sec--gray + .o-sec--gray, .o-sec--white + .o-sec--white, .o-sec--beige + .o-sec--beige { padding-top: 0; }

/* wide black and white pictures: the page heads and the strip */
.o-band { position: relative; overflow: hidden; background: var(--pic); aspect-ratio: var(--ar, 3 / 1); max-height: 640px; width: 100%; }
.o-band img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 699px) { .o-band { aspect-ratio: var(--ar-p, 2 / 1); } .o-band img { object-position: var(--pos-p, var(--pos, 50% 50%)); } }

/* ---------- Home 1. hero: a light still photo (her Canva page 3), her heading in Soft Black, the black outline pill.
   The text sits in the light upper part of the picture; the phone gets a taller cut with the text over the mist. ---------- */
.o-hero {
  --hero-h: clamp(460px, 43.5vw, 760px);   /* her proportions, about 2.3:1 */
  position: relative; isolation: isolate; overflow: hidden;
  height: var(--hero-h);
  display: grid; justify-items: center; align-items: center; text-align: center; color: var(--ink);
  background: #D9DCDB;                      /* the mist, until the picture loads */
}
.o-hero__pic { position: absolute; inset: 0; z-index: -1; }
.o-hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* round P3: her film over its own poster; shown only once it plays (site.js adds is-playing), so the poster is all a
   visitor ever sees until then */
.o-hero__film { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity .6s ease; }
.o-hero__film.is-playing { opacity: 1; }
.o-hero__copy { padding: 0 var(--gut); display: flex; flex-direction: column; align-items: center; } /* round P2: centred in the picture */
.o-hero h1 { font: 500 calc(var(--t-h1) * .85)/1.25 var(--serif); letter-spacing: .05em; color: var(--ink); } /* round P2: 40 to 34 px, phone 32 to 27 px */
.o-hero h1 span { display: block; }
.o-hero .o-btn { margin-top: var(--s5); }
@media (max-width: 699px) {
  .o-hero { --hero-h: min(78svh, 600px); min-height: 480px; }
  .o-hero__pic img, .o-hero__film { object-position: 25% 50%; } /* her 3:4 phone cut: a little more of the instructor at the left */
}

/* ---------- Event cards (home and the events list): square picture flush left, beige text panel ---------- */
.o-cards { max-width: var(--w-mid); margin: 0 auto; display: grid; gap: var(--s3); }
.o-card { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); background: var(--beige); }
.o-card__pic { aspect-ratio: 1 / 1; background: var(--pic); overflow: hidden; align-self: start; }
.o-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.o-card__body { display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; padding: var(--s6) var(--s6) var(--s6) var(--s6); }
.o-card h3 { font: 600 var(--t-md)/1.4 var(--sans); letter-spacing: .03em; padding-right: 104px; }
.o-card__meta { margin-top: var(--s2); font-size: var(--t-sm); line-height: 1.6; }
.o-card__meta span { display: block; }
.o-card__line { margin-top: var(--s4); font-size: var(--t-sm); line-height: 1.7; max-width: 40em; }
.o-card .o-btn, .o-card .o-soon { margin-top: auto; }
.o-card__go { margin-top: auto; padding-top: var(--s5); }
.o-card .o-btn { min-width: 0; min-height: 40px; padding: 0 24px; } /* one pill height on the page: 40 px */
.o-badge { display: inline-block; padding: 4px 9px; background: var(--ink); color: var(--white); font: 500 var(--t-xs)/1.2 var(--sans); letter-spacing: .06em; }
.o-card .o-badge { position: absolute; top: var(--s5); right: var(--s5); }
.o-soon { font-size: var(--t-sm); color: var(--muted); }
.o-empty { max-width: var(--w-mid); margin: 0 auto; padding: var(--s7) var(--s5); text-align: center; background: var(--beige); }
.o-empty .o-link { margin-top: var(--s2); }
@media (max-width: 699px) {
  .o-card { grid-template-columns: 1fr; }
  .o-card__pic { aspect-ratio: 1 / 1; }
  .o-card__body { padding: var(--s5) var(--s5) var(--s6); }
  .o-card h3 { padding-right: 0; }
  .o-card .o-badge { top: var(--s4); right: var(--s4); }
}

/* ---------- Home 4. our offerings: four small squares in one row, open space on both sides ---------- */
.o-tiles { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.o-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; color: var(--white); text-decoration: none; background: var(--pic); }
.o-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.o-tile::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(17, 16, 16, .5), rgba(17, 16, 16, 0)); pointer-events: none; }
.o-tile span { position: absolute; z-index: 1; left: var(--s4); right: var(--s4); bottom: var(--s3); font: 400 var(--t-sm)/1.4 var(--sans); letter-spacing: .05em; }
@media (hover: hover) { .o-tile:hover img { transform: scale(1.04); } }
.o-tile:focus-visible { outline-offset: 3px; }
@media (max-width: 860px) { .o-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; } }

/* ---------- Events: what guests say, below the event list: four short quotes, small and centred, at body size ---------- */
.o-quotes { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); text-align: center; }
.o-quotes blockquote { margin: 0; font: 400 var(--t-base)/1.75 var(--sans); letter-spacing: var(--track); }
.o-quotes figcaption { margin-top: var(--s3); font: 500 var(--t-xs)/1.4 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .o-quotes { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); } }
@media (max-width: 520px) { .o-quotes { grid-template-columns: 1fr; max-width: 340px; } }

/* ---------- Signup: underline field, Deep Blue pill ---------- */
.o-signup { max-width: 420px; margin: var(--s6) auto 0; display: grid; justify-items: center; gap: var(--s5); }
.o-signup .o-field { width: 100%; max-width: 240px; text-align: center; gap: 0; } /* her short underline */
.o-signup label { font-size: var(--t-base); }
.o-signup .o-line-input { height: 34px; }
.o-line-input {
  width: 100%; height: 40px; padding: 0 2px; text-align: center;
  font: 400 var(--t-base)/1.3 var(--sans); letter-spacing: var(--track); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.o-line-input:focus-visible { outline: none; border-bottom: 2px solid var(--blue); }
.o-line-input::placeholder { color: var(--muted); opacity: 1; }
.o-line-input[aria-invalid="true"] { border-bottom-color: var(--err); }
.o-signup .o-small, .o-signup .o-form-note { text-align: center; }

/* ---------- Carousels: native sideways scroll, snap, round arrows over the first and last picture ---------- */
.o-carousel { position: relative; max-width: var(--w-wide); margin: 0 auto; }
.o-strip {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.o-strip::-webkit-scrollbar { display: none; }
.o-strip.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.o-strip li { flex: none; scroll-snap-align: start; }
.o-strip img { -webkit-user-drag: none; user-select: none; }
/* home: three 4:5 pictures side by side */
.o-strip--three li { width: calc((100% - 16px) / 3); aspect-ratio: 4 / 5; background: var(--pic); overflow: hidden; }
.o-strip--three img { width: 100%; height: 100%; object-fit: cover; }
/* retreats: a vertical, a horizontal, a vertical */
/* portraits 4:5, the centre 1.15:1 (her page 7): 0.8 + 1.15 + 0.8 = 2.75 heights across */
.o-strip--mix { --h: clamp(300px, calc((min(100vw - 2 * var(--gut), 1040px) - 16px) / 2.75), 420px); }
.o-strip--mix li { height: var(--h); }
.o-strip--mix button { display: block; height: 100%; padding: 0; border: 0; background: var(--pic); cursor: zoom-in; }
.o-strip--mix img { height: 100%; width: auto; object-fit: cover; }
.o-arrow {
  position: absolute; z-index: 2; top: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .72); color: var(--ink);
  transition: background-color .3s var(--ease), opacity .3s var(--ease);
}
.o-arrow svg { width: 16px; height: 16px; }
.o-arrow[data-prev] { left: 0; }
.o-arrow[data-next] { left: 100%; }
@media (hover: hover) { .o-arrow:hover { background: var(--white); } }
.o-arrow[disabled] { opacity: .35; cursor: default; }
@media (max-width: 699px) {
  .o-carousel { margin-right: calc(-1 * var(--gut)); }
  .o-strip { padding-right: var(--gut); scroll-padding-left: 0; }
  .o-strip--three li { width: 76%; }
  .o-strip--mix { --h: 340px; }
  .o-arrow { width: 40px; height: 40px; }
  .o-arrow[data-prev] { left: 28px; }
  .o-arrow[data-next] { left: calc(100% - 28px - var(--gut)); }
}

/* the full-screen picture viewer (Retreats) */
.o-viewer { padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border: 0; background: var(--ink); color: var(--white); }
.o-viewer::backdrop { background: var(--ink); }
.o-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.o-viewer__top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gut); font-size: var(--t-sm); }
.o-viewer figure { margin: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--gut); min-height: 0; }
.o-viewer img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.o-viewer__nav { display: flex; justify-content: center; gap: 8px; padding: 16px; }
.o-viewer .o-arrow { position: static; transform: none; }
.o-close {
  min-height: 36px; padding: 0 18px; display: inline-flex; align-items: center;
  background: transparent; border: 1px solid currentColor; border-radius: 999px; color: inherit;
  font: 500 var(--t-xs)/1 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase;
}

/* ---------- Footer: minimal, centred, small ---------- */
.o-foot { background: var(--white); padding: var(--s7) var(--gut) var(--s6); text-align: center; font-size: var(--t-sm); }
.o-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s6); }
.o-foot__links a, .o-foot__links button {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase;
  text-decoration: none; background: none; border: 0; color: inherit; cursor: pointer;
}
@media (hover: hover) { .o-foot__links a:hover, .o-foot__links button:hover { text-decoration: underline; text-underline-offset: 5px; } }
.o-foot__block { max-width: 640px; margin: var(--s5) auto 0; }
.o-foot__block h2 { font: 500 var(--t-sm)/1.4 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase; }
.o-foot__block p { margin: var(--s1) auto 0; max-width: 560px; line-height: 1.6; color: var(--muted); }
.o-foot__social { margin-top: var(--s2); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s6); }
.o-foot__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; font: 500 15px/1 var(--serif); letter-spacing: .06em; }
.o-foot__social svg { width: 18px; height: 18px; }
@media (hover: hover) { .o-foot__social a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.o-foot__mail { margin-top: var(--s1); display: flex; flex-wrap: wrap; justify-content: center; gap: 2px var(--s6); }
.o-foot__k { color: var(--muted); margin-right: 6px; }
.o-foot__mail a { text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.o-foot__legal { margin-top: var(--s5); font-size: var(--t-xs); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); }

/* ---------- Events list ---------- */
.o-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin: var(--s6) auto 0; }
.o-chip {
  min-height: 34px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink);
  font: 500 var(--t-xs)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
/* phone: the four chips in two even rows of two, same order */
@media (max-width: 520px) { .o-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 320px; } .o-chip { padding: 0 8px; } }
.o-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (hover: hover) { .o-chip[aria-pressed="false"]:hover { background: rgba(17, 16, 16, .06); } }

/* ---------- One event page: Soft Gray column, title in tracked caps, one picture, tickets table ---------- */
.o-event { max-width: 640px; margin: 0 auto; }
.o-event__top { text-align: center; }
.o-event__top h1 { font: 500 var(--t-h2)/1.2 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.o-event__dates { margin-top: var(--s5); font-size: var(--t-base); line-height: 1.7; }
.o-event__dates span { display: block; }
.o-event__when { text-transform: uppercase; letter-spacing: .06em; }
.o-event__line { margin: var(--s5) auto 0; max-width: 30em; font-size: var(--t-md); }
.o-event__top .o-btn { margin-top: var(--s6); }
.o-event__pic { margin: var(--s7) auto 0; width: 100%; aspect-ratio: 1 / 1; background: var(--pic); overflow: hidden; }
.o-event__pic img { width: 100%; height: 100%; object-fit: cover; }
.o-facts { margin-top: var(--s6); }
.o-facts h2 { font: 400 var(--t-h3)/1.25 var(--serif); letter-spacing: var(--track-head); }
.o-facts ul { margin-top: var(--s3); }
.o-facts > div + div { margin-top: var(--s6); }
.o-about { margin-top: var(--s3); }
.o-about > * + * { margin-top: var(--s3); }
.o-about ul, .o-about ol { padding-left: 1.2em; list-style: disc; display: grid; gap: 4px; }
.o-about ol { list-style: decimal; }
.o-about li p { margin: 0; }
.o-about strong, .o-about b { font-weight: 500; }
.o-about a { text-underline-offset: 3px; }
.o-tickets { margin-top: var(--s7); scroll-margin-top: calc(var(--head-h) + 16px); }
.o-tickets__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: var(--s2); border-bottom: 1px solid var(--ink); }
.o-tickets__head h2 { font: 500 var(--t-h2)/1 var(--serif); letter-spacing: var(--track-head); }
.o-tickets__head .o-badge { margin-bottom: 6px; }
.o-ttable { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.o-ttable th { padding: var(--s3) 0 var(--s1); text-align: left; font: 400 var(--t-xs)/1.4 var(--sans); letter-spacing: .04em; color: var(--muted); }
.o-ttable td { padding: var(--s1) 0 var(--s4); vertical-align: top; }
.o-ttable tbody tr { border-bottom: 1px solid var(--ink); }
.o-ttable th:nth-child(2), .o-ttable td:nth-child(2) { width: 30%; }
.o-ttable th:nth-child(3), .o-ttable td:nth-child(3) { width: 132px; }
.o-fee { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: 2px; }
.o-ttable tfoot td { padding: var(--s4) 0 0; font: 500 var(--t-base)/1.4 var(--sans); }
/* Checkout sits under the Total column (her page 6): the same three columns as the table, the pill centred over Price and Quantity */
.o-tickets__go { display: grid; grid-template-columns: minmax(0, 1fr) 30% 132px; row-gap: var(--s2); margin-top: var(--s4); }
.o-tickets__go > * { grid-column: 2 / 4; }
.o-tickets__go .o-btn { justify-self: center; }
.o-tickets__go .o-form-note { margin-top: 0; text-align: center; }
.o-tickets__code { margin-top: var(--s4); font-size: var(--t-sm); color: var(--muted); }
.o-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 999px; }
.o-stepper button { width: 36px; min-height: 34px; border: 0; background: transparent; font: 500 15px/1 var(--sans); border-radius: 999px; }
.o-stepper button[disabled] { color: var(--off-fg); opacity: .5; cursor: default; }
.o-stepper output { min-width: 28px; display: inline-flex; align-items: center; justify-content: center; font: 500 var(--t-sm)/1 var(--sans); }
.o-gone { max-width: var(--w-text); margin: 0 auto; text-align: center; min-height: 40vh; }
.o-gone .o-btn { margin-top: var(--s6); }
main[data-event-page][aria-busy="true"] { min-height: 80vh; }
@media (max-width: 520px) {
  .o-ttable th:nth-child(3), .o-ttable td:nth-child(3) { width: 112px; }
  .o-tickets__go { grid-template-columns: 1fr; }
  .o-tickets__go > * { grid-column: 1; }
  .o-tickets__go .o-btn { justify-self: stretch; }
}

/* ---------- Retreats: two ways side by side, buttons on one line ---------- */
/* each door is a subgrid of five rows (title, text, field, button, small line), so both buttons sit on one line */
.o-ways { max-width: 920px; margin: var(--s7) auto 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s7); row-gap: 0; }
.o-way { display: grid; grid-row: span 5; grid-template-rows: subgrid; justify-items: center; align-items: start; text-align: center; }
.o-way > p:first-of-type { margin-top: var(--s3); max-width: 26em; }
.o-way .o-signup { display: contents; }
.o-way .o-field, .o-way__field { width: 100%; max-width: 320px; margin-top: var(--s5); }
.o-way .o-btn { margin-top: var(--s5); }
.o-way .o-small { margin-top: var(--s3); }
.o-way .o-form-note { grid-column: 1; }
@media (max-width: 760px) { .o-ways { grid-template-columns: 1fr; } .o-way + .o-way { margin-top: var(--s8); } .o-way__field { display: none; } }

/* ---------- Private experiences ---------- */
.o-four { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); text-align: center; }
.o-three { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); text-align: center; }
.o-four h3, .o-three h3 { font: 500 var(--t-h3)/1.25 var(--serif); letter-spacing: var(--track-head); }
.o-four p, .o-three p { margin-top: var(--s2); font-size: var(--t-sm); }
.o-pics3 { max-width: var(--w-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.o-pics3 li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pic); }
.o-pics3 img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .o-four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .o-four, .o-three { grid-template-columns: 1fr; gap: var(--s5); } .o-pics3 { grid-template-columns: 1fr 1fr; gap: 4px; } .o-pics3 li:first-child { grid-column: 1 / -1; } }

/* ---------- Collaborations: the contact form in a white card ---------- */
.o-card-form { max-width: 720px; margin: var(--s7) auto 0; padding: clamp(24px, 4vw, 48px); background: var(--white); }
/* her light grey labels (page 10), still 4.8:1 on white */
.o-card-form--soft .o-field > label, .o-card-form--soft .o-field > .o-label-t { color: #75716D; }

/* ---------- Our products ---------- */
.o-welcome-gs .o-h1 { font-weight: 600; letter-spacing: .01em; }
.o-sec--navy { padding-top: var(--s8); padding-bottom: var(--s8); } /* her compact band */
.o-navy p { color: rgba(255, 255, 255, .92); }
.o-socksform { max-width: 640px; margin: 0 auto; }
.o-min { font: 600 var(--t-sm)/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.o-socksform__contact { max-width: 640px; margin: var(--s7) auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s6); font-size: var(--t-sm); }
.o-socksform__contact a { text-underline-offset: 3px; }
.o-sample { max-width: var(--w-text); margin: var(--s7) auto 0; padding-top: var(--s6); border-top: 1px solid var(--line); text-align: center; }
.o-sample h3 { font: 500 var(--t-h3)/1.25 var(--serif); }
.o-sample p { margin-top: var(--s2); }
.o-sample .o-btn { margin-top: var(--s5); }
.o-founder p { font-size: var(--t-sm); line-height: 1.8; }
.o-products-more { max-width: var(--w-mid); margin: var(--s7) auto 0; text-align: center; font-size: var(--t-sm); color: var(--muted); }
.o-products-more .o-link { color: var(--ink); }
/* her textured mark above the note (page 13): cut from her original photo (1080 px wide, 1000 x 324 used), so shown at
   the card width (780 px), not full width */
.o-founder__pic { max-width: var(--w-mid); margin: 0 auto var(--s7); aspect-ratio: 1000 / 324; background: var(--pic); overflow: hidden; }
.o-founder__pic img { width: 100%; height: 100%; object-fit: cover; }
.o-quality__h { font: 500 var(--t-base)/1.75 var(--sans); letter-spacing: var(--track); }
.o-quality { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.o-quality__text p { margin-top: var(--s4); max-width: 26em; }
.o-quality__text .o-btn { margin-top: var(--s6); }
.o-faq { border-top: 1px solid var(--line); }
.o-faq details { border-bottom: 1px solid var(--line); }
.o-faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 56px; padding: var(--s3) 0; cursor: pointer;
  font: 500 var(--t-sm)/1.4 var(--sans); letter-spacing: var(--track-caps); text-transform: uppercase; color: #3A3836;
}
.o-faq summary::-webkit-details-marker { display: none; }
.o-faq summary::after { content: "+"; flex: none; width: 16px; text-align: center; font: 300 20px/1 var(--sans); letter-spacing: 0; }
.o-faq details[open] summary::after { content: "\2212"; }
.o-faq details p { padding: 0 var(--s6) var(--s5) 0; font-size: var(--t-sm); color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .o-quality { grid-template-columns: 1fr; gap: var(--s6); } .o-quality__text { text-align: center; } .o-quality__text p { margin-left: auto; margin-right: auto; } }

/* ---------- Forms ---------- */
.o-form { display: grid; gap: var(--s5); }
.o-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.o-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.o-field > label, .o-field > .o-label-t, fieldset legend { font: 400 var(--t-sm)/1.4 var(--sans); letter-spacing: .04em; color: #3A3836; padding: 0; }
.o-field label i, .o-label-t i, legend i { font-style: normal; color: var(--muted); }
.o-input {
  width: 100%; height: 44px; padding: 0 14px;
  font: 400 var(--t-base)/1.3 var(--sans); letter-spacing: var(--track); color: var(--ink);
  background: var(--white); border: 1px solid rgba(17, 16, 16, .3); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
textarea.o-input { height: auto; min-height: 110px; padding: 10px 14px; resize: vertical; line-height: 1.6; }
.o-input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }
.o-input::placeholder { color: var(--muted); opacity: 1; }
.o-input[aria-invalid="true"] { border-color: var(--err); }
.o-err { font: 500 var(--t-sm)/1.4 var(--sans); color: var(--err); }
.o-form-note { margin-top: var(--s2); font: 500 var(--t-sm)/1.5 var(--sans); color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.o-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.o-choice { position: relative; }
.o-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.o-choice span {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); font: 500 var(--t-xs)/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.o-choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.o-choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) { .o-choice input:not(:checked):hover + span { background: rgba(17, 16, 16, .06); } }
.o-form > .o-btn, .o-form__go .o-btn { justify-self: start; }
.o-form__go { display: grid; gap: var(--s2); }
.o-slot { padding: 28px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: var(--t-sm); min-height: 140px; display: flex; align-items: center; justify-content: center; text-align: center; }
.o-hint { font-size: var(--t-xs); line-height: 1.5; color: var(--muted); margin-top: -2px; }
/* the opt-in tick box on the request forms (Klaviyo, only when ticked) */
.o-check { position: relative; display: block; cursor: pointer; font-size: var(--t-sm); line-height: 1.5; color: #3A3836; }
.o-check input { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; margin: 0; opacity: 0; cursor: pointer; }
.o-check span { position: relative; display: block; padding-left: 28px; }
.o-check span::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border: 1px solid var(--ink); background: var(--white) no-repeat center / 12px 12px; }
.o-check input:checked + span::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3 4.8 8.8 9.8 3.4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); }
.o-check input:focus-visible + span::before { outline: 2px solid var(--blue); outline-offset: 2px; }
/* the Calendly calendar, only when her link is set (site.js CALENDLY_URL) */
.o-cal { margin-top: var(--s3); min-width: 280px; height: 700px; background: var(--white); }
.o-cal p { padding: var(--s5) 0; }
/* the socks form: underline-only fields, her page 12 */
.o-form--line .o-input, .o-form--line .o-dd__btn { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 0 2px; height: 40px; }
.o-form--line textarea.o-input { min-height: 88px; padding: 8px 2px; }
.o-form--line .o-input:focus-visible { outline: none; border-bottom: 2px solid var(--blue); }
.o-form--line .o-field > label, .o-form--line legend { font-size: var(--t-base); color: var(--ink); }
.o-file { position: relative; display: inline-flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.o-file input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.o-file__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; min-width: 150px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; font: 500 var(--t-xs)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.o-file input:focus-visible + .o-file__btn { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) { .o-file:hover .o-file__btn { background: var(--ink); color: var(--white); } }
.o-file__name { font-size: var(--t-sm); color: var(--muted); }
.o-file__hint { font-size: var(--t-xs); color: var(--muted); }
.sk-logo-part { display: grid; gap: var(--s5); }

/* the dropdown: an in-page listbox, never a native select */
.o-dd { position: relative; }
.o-dd__btn {
  width: 100%; height: 44px; padding: 0 40px 0 14px; text-align: left;
  font: 400 var(--t-base)/1.3 var(--sans); letter-spacing: var(--track); color: var(--ink);
  background: var(--white); border: 1px solid rgba(17, 16, 16, .3); border-radius: 0;
  position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.o-dd__btn::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.o-dd__btn[aria-expanded="true"]::after { transform: translateY(-20%) rotate(-135deg); }
.o-dd__btn.is-empty { color: var(--muted); }
.o-dd__btn[aria-invalid="true"] { border-color: var(--err); }
.o-dd__list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% - 1px); max-height: 260px; overflow-y: auto; margin: 0; padding: 4px 0; background: var(--white); border: 1px solid var(--ink); }
.o-dd__list li { padding: 8px 14px; font-size: var(--t-base); cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.o-dd__list li[aria-selected="true"] { font-weight: 500; }
.o-dd__list li.is-active { background: var(--ink); color: var(--white); }

/* the panels: contact and request, over the page */
.o-sheet {
  margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 0;
  width: min(600px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  background: var(--white); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.o-sheet::backdrop { background: rgba(17, 16, 16, .5); }
.o-sheet__in { padding: var(--s5) clamp(20px, 4vw, 48px) var(--s7); }
.o-sheet__top { display: flex; justify-content: flex-end; }
.o-sheet h2 { margin-top: var(--s3); font: 500 var(--t-h2)/1.2 var(--serif); letter-spacing: var(--track-head); }
.o-sheet h2:focus { outline: none; }
.o-sheet h3 { margin-top: var(--s6); font: 500 var(--t-h3)/1.25 var(--serif); }
.o-sheet__lede { margin-top: var(--s3); }
.o-sheet .o-form { margin-top: var(--s6); }
.o-sheet .o-slot { margin-top: var(--s3); }
html.has-sheet { overflow: hidden; }

/* ---------- Phone ---------- */
@media (max-width: 699px) {
  .o-form__row { grid-template-columns: 1fr; }
  .o-sec__head { margin-bottom: var(--s6); }
  .o-form > .o-btn, .o-form__go .o-btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
