/* Exposed Focus — site styles. References tokens from /assets/css/tokens.css */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
a:hover { color: var(--fg); }
img { max-width: 100%; display: block; }

/* Scroll-reveal — applied to anything with [data-reveal] */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-from="left"]  { transform: translateX(-24px); }
[data-reveal-from="right"] { transform: translateX(24px); }
[data-reveal-from="left"].is-revealed,
[data-reveal-from="right"].is-revealed { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Skip link for keyboard users */
.ef-skip {
  position: absolute; left: -9999px;
  top: 0; padding: 12px 18px;
  background: var(--fg); color: var(--bg);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 200;
}
.ef-skip:focus { left: 8px; top: 8px; }

/* Visible focus everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.ef-app { min-height: 100vh; display: flex; flex-direction: column; }
.ef-main { flex: 1; }
.ef-section { max-width: 1280px; margin: 0 auto; padding: 96px 32px; }
.ef-section-soft { background: var(--bg-soft); max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.ef-section-soft > * { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.ef-section-head { margin-bottom: 56px; max-width: 720px; }
.ef-section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.015em; margin: 8px 0 0; }
.ef-section-title em { font-style: italic; }

/* ---------- Nav ---------- */
.ef-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(251, 247, 242, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.ef-nav-brand { display: flex; align-items: center; gap: 12px; }
.ef-nav-brand img { height: 36px; width: 36px; display: block; }
.ef-nav-name { font-family: var(--font-display); font-size: 22px; color: var(--fg); display: inline-flex; align-items: baseline; gap: 8px; }
.ef-nav-name .ef-nav-caps { font-family: var(--font-sans); font-weight: 500; font-size: 13px; letter-spacing: 0.42em; color: var(--fg); }
.ef-nav-name em { font-style: italic; font-size: 22px; }
.ef-nav-links { display: flex; gap: 30px; align-items: baseline; }
.ef-nav-link {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--fg);
  padding-bottom: 6px;
  transition: color 220ms var(--ease-out);
}
.ef-nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}
.ef-nav-link:hover { color: var(--ef-ink-700); }
.ef-nav-link:hover::after,
.ef-nav-link:focus-visible::after,
.ef-nav-link.is-active::after { transform: scaleX(1); }
.ef-nav-link.is-active { color: var(--fg); }
@media (max-width: 960px) {
  .ef-nav-link { font-size: 22px; padding: 8px 0; }
  .ef-nav-link::after { transform-origin: center; }
}

/* mobile menu toggle */
.ef-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--fg); }
.ef-nav-toggle svg { display: block; }

/* ---------- Buttons ---------- */
.ef-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 11px 20px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: all 200ms var(--ease-out);
  letter-spacing: 0.005em;
  text-decoration: none;
}
.ef-btn-primary { background: var(--accent); color: #fff; }
.ef-btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.ef-btn-secondary { background: transparent; color: var(--fg); border-color: var(--fg); }
.ef-btn-secondary:hover { background: var(--bg-soft); }
.ef-btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.ef-btn-ghost:hover { background: var(--bg-soft); border-color: var(--fg); }
.ef-btn-ghost-light { background: rgba(251,247,242,0.08); color: #FBF7F2; border-color: rgba(251,247,242,0.4); }
.ef-btn-ghost-light:hover { background: rgba(251,247,242,0.16); color: #fff; border-color: #FBF7F2; }
.ef-btn-link { background: transparent; padding: 6px 0; border: 0; border-bottom: 1px solid var(--accent); border-radius: 0; color: var(--fg); }
.ef-btn-link:hover { color: var(--accent-deep); }

/* ---------- Hero ---------- */
.ef-hero { position: relative; height: 86vh; min-height: 600px; max-height: 880px; overflow: hidden; color: #FBF7F2; background: var(--ef-ink-900); }
.ef-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.ef-hero-scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(31,27,22,0) 0%, rgba(31,27,22,0) 35%, rgba(31,27,22,0.55) 80%, rgba(31,27,22,0.85) 100%),
    linear-gradient(90deg, rgba(31,27,22,0.55) 0%, rgba(31,27,22,0.20) 35%, rgba(31,27,22,0) 60%);
  z-index: 2;
}
.ef-hero-copy { position: absolute; inset: 0; z-index: 3; max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 96px; pointer-events: none; }
/* Re-enable interaction only on actual buttons; the title/lede/eyebrow pass clicks through to the scrolling strip behind, so users can drag from those areas. */
.ef-hero-copy .ef-btn { pointer-events: auto; }

/* Hero variant: scrolling banner replaces the static portrait */
.ef-hero-strip .ef-hero-marquee {
  position: absolute; inset: 0; width: 100%; margin: 0; padding: 0;
  z-index: 1;
}
.ef-hero-strip .ef-hero-marquee .ef-marquee-track {
  height: 100%;
  align-items: stretch;
  padding: 0;
  gap: 0;
}
.ef-hero-strip .ef-hero-marquee .ef-marquee-item {
  height: 100%;
  min-height: 0; max-height: none;
}
.ef-hero-hint {
  position: absolute;
  bottom: 18px; right: 24px;
  z-index: 4;
  pointer-events: none;
  color: rgba(251, 247, 242, 0.55);
}
.ef-hero-copy .ef-eyebrow { color: rgba(251,247,242,0.85); }
.ef-hero-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 24px; max-width: 16ch; color: #FBF7F2; }
.ef-hero-title em { font-style: italic; font-weight: 400; }
.ef-hero-lede { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.5; max-width: 48ch; margin: 0 0 36px; color: rgba(251,247,242,0.92); }
.ef-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Category strip ---------- */
.ef-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ef-cat-grid-wide { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ef-cat { display: block; cursor: pointer; }
.ef-cat-img { aspect-ratio: 3 / 4; background-size: cover; background-position: center; transition: opacity 280ms; }
.ef-cat-grid-wide .ef-cat-img { aspect-ratio: 4 / 5; }
.ef-cat:hover .ef-cat-img { opacity: 0.85; }
.ef-cat-name { font-family: var(--font-display); font-size: 22px; margin-top: 14px; color: var(--fg); }
.ef-cat-meta { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }

/* ---------- About preview ---------- */
.ef-about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 96px 32px !important; }
.ef-about-img { aspect-ratio: 4/5; background-size: cover; background-position: center; }
.ef-about-copy p { max-width: 50ch; color: var(--ef-ink-700); }

/* ---------- Testimonial ---------- */
.ef-testimonial { background: var(--ef-ink-900); color: var(--ef-bone-50); padding: 96px 32px; text-align: center; }
.ef-testimonial .ef-eyebrow { color: var(--ef-bone-400); }
.ef-quote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.4; max-width: 30ch; margin: 18px auto 22px; color: var(--ef-bone-50); }
.ef-quote-attr { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ef-bone-400); }

/* ---------- Marquee banner (home) — auto-scrolls, drag/swipe to pan ---------- */
.ef-marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(-50vw + 50%);
  background: var(--ef-ink-900);
  padding: 18px 0;
}
.ef-marquee-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.ef-marquee-track::-webkit-scrollbar { display: none; }
.ef-marquee-track.is-grabbing { cursor: grabbing; }
.ef-marquee-item {
  flex: 0 0 auto;
  height: 52vh;
  min-height: 360px;
  max-height: 560px;
  display: block;
  transition: opacity 220ms;
}
.ef-marquee-item:hover { opacity: 0.88; }
.ef-marquee-item img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ef-marquee-hint {
  position: absolute;
  bottom: 8px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 247, 242, 0.55);
  pointer-events: none;
}
@media (max-width: 720px) {
  .ef-marquee-item { height: 38vh; min-height: 240px; }
  .ef-marquee-hint { display: none; }
}

/* ---------- Waitlist email signup (mini sessions) ---------- */
.ef-waitlist { margin: 16px 0 0; max-width: 480px; }
.ef-waitlist-label { display: flex; flex-direction: column; gap: 6px; }
.ef-waitlist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: var(--surface);
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 160ms, box-shadow 160ms;
}
.ef-waitlist-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ef-waitlist-row .ef-input { border: 0; padding: 8px 12px; background: transparent; }
.ef-waitlist-row .ef-input:focus { box-shadow: none; }
.ef-waitlist-row .ef-btn { padding: 10px 16px; font-size: 13px; }
.ef-waitlist-fineprint { font-size: 11px; color: var(--fg-muted); margin: 8px 0 0; letter-spacing: 0.01em; }
.ef-waitlist-success {
  padding: 14px 18px;
  background: var(--quiet-soft);
  border: 1px solid var(--ef-sage-200);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ef-sage-700);
  display: flex; align-items: center; gap: 10px;
}
.ef-waitlist-error {
  font-size: 12px;
  color: var(--accent-deep);
  margin: 6px 0 0;
}

/* ---------- Mini-session strip (home) ---------- */
.ef-strip { background: var(--bg-soft); padding: 56px 32px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.ef-strip-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ef-strip-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.01em; margin: 8px 0 8px; color: var(--fg); }
.ef-strip-title em { font-style: italic; }
.ef-strip p { font-size: 15px; color: var(--ef-ink-700); margin: 0; max-width: 56ch; }
@media (max-width: 720px) {
  .ef-strip-inner { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Reviews band ---------- */
.ef-reviews { max-width: 1280px; margin: 0 auto; padding: 96px 32px; }
.ef-reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.ef-reviews-head .ef-section-title { margin: 8px 0 0; }
.ef-reviews-meta { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin: 0; padding-bottom: 6px; }
.ef-review {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 28px 26px;
  margin: 0;
  display: flex; flex-direction: column;
  transition: box-shadow 220ms;
}
.ef-review:hover { box-shadow: var(--shadow-md); }
.ef-review-stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 18px; }
.ef-review-body {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.45;
  color: var(--fg);
  margin: 0 0 22px;
  flex: 1;
}
.ef-review-attr {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.ef-review-attr span { color: var(--fg-subtle); }

/* Reviews carousel: reuses .ef-horiz machinery (drag, prev/next, progress dots)
   but each item is a card, not an image. Cards sit on their natural content
   height (flex-start) so short quotes don't get stretched to match long ones. */
.ef-horiz-reviews .ef-horiz-track { padding: 16px 32px 24px; align-items: flex-start; gap: 20px; }
.ef-horiz-reviews .ef-horiz-item {
  height: auto; min-height: 0; max-height: none;
  width: 360px;
  cursor: grab;
  background: var(--surface);
  scroll-snap-align: start;
}
.ef-horiz-reviews .ef-horiz-item:hover { opacity: 1; }
.ef-horiz-reviews.is-grabbing .ef-horiz-item,
.ef-horiz-reviews .ef-horiz-track.is-grabbing .ef-horiz-item { cursor: grabbing; }
.ef-horiz-reviews .ef-review-body { flex: 0 1 auto; }
.ef-horiz-reviews .ef-horiz-progress { margin-top: 16px; }

@media (max-width: 960px) {
  .ef-reviews { padding: 64px 24px; }
  .ef-horiz-reviews .ef-horiz-track { padding: 12px 24px 20px; gap: 14px; }
  .ef-horiz-reviews .ef-horiz-item { width: 80vw; max-width: 340px; min-height: 0; height: auto; }
}

/* ---------- Closing CTA ---------- */
.ef-cta { max-width: 720px; margin: 0 auto; padding: 128px 32px; text-align: center; }
.ef-cta-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; }
.ef-cta-title em { font-style: italic; font-weight: 400; }
.ef-cta p { color: var(--fg-muted); margin: 0 0 32px; font-size: 18px; }
.ef-cta .ef-btn { padding: 14px 28px; }

/* ---------- Footer ---------- */
.ef-footer { background: var(--ef-ink-900); color: var(--ef-bone-100); padding: 72px 32px 28px; }
.ef-footer a { color: var(--ef-bone-100); }
.ef-footer a:hover { color: #fff; }
.ef-footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.ef-footer-tag { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--ef-bone-400); margin-top: 16px; max-width: 32ch; }
.ef-footer-areas { font-size: 12px; line-height: 1.7; color: var(--ef-bone-400); margin-top: 16px; max-width: 36ch; opacity: 0.85; }
.ef-footer-h { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ef-bone-400); margin-bottom: 14px; }
.ef-footer p { font-size: 14px; line-height: 1.7; margin: 0; }
.ef-footer-soc { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--ef-bone-400); border-radius: 999px; margin-right: 8px; }
.ef-footer-soc:hover { background: rgba(251,247,242,0.08); }
.ef-footer-base { max-width: 1280px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(251,247,242,0.08); display: flex; justify-content: space-between; font-size: 12px; color: var(--ef-bone-400); flex-wrap: wrap; gap: 12px; }

/* Instagram strip in the footer */
.ef-footer-ig { max-width: 1280px; margin: 0 auto 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(251,247,242,0.08); }
.ef-footer-ig-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 24px; }
.ef-footer-ig-head .ef-eyebrow { color: var(--ef-bone-400); }
.ef-footer-ig-handle { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--ef-bone-50); display: inline-flex; align-items: center; gap: 6px; transition: color 200ms; }
.ef-footer-ig-head:hover .ef-footer-ig-handle { color: #fff; }
.ef-footer-ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ef-footer-ig-tile { aspect-ratio: 1 / 1; overflow: hidden; display: block; position: relative; background: var(--ef-ink-700); }
.ef-footer-ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out), opacity 220ms; }
.ef-footer-ig-tile:hover img { transform: scale(1.04); opacity: 0.9; }
@media (max-width: 720px) {
  .ef-footer-ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ef-footer-ig-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Page chrome ---------- */
.ef-page { max-width: 1280px; margin: 0 auto; padding: 80px 32px 128px; }
.ef-page-narrow { max-width: 920px; }
.ef-page-head { max-width: 720px; margin-bottom: 56px; }
.ef-page-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 5.6vw, 80px); line-height: 1.05; letter-spacing: -0.015em; margin: 8px 0 16px; }
.ef-page-title em { font-style: italic; }
.ef-page-lede { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.5; color: var(--fg-muted); margin: 0; max-width: 50ch; }
.ef-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 24px; }
.ef-back:hover { color: var(--fg); }

/* ---------- Long-form prose ---------- */
.ef-prose { max-width: 64ch; }
.ef-prose p { margin: 0 0 22px; color: var(--ef-ink-700); font-size: 17px; line-height: 1.75; }
.ef-prose p.ef-lede { color: var(--fg); margin-bottom: 32px; }
.ef-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; margin: 64px 0 16px; color: var(--fg); }
.ef-prose h2 em { font-style: italic; }
.ef-prose h3 { font-family: var(--font-sans); font-weight: 500; font-size: 18px; margin: 32px 0 8px; color: var(--fg); }
.ef-prose ul { margin: 0 0 22px; padding: 0 0 0 1.1em; color: var(--ef-ink-700); }
.ef-prose ul li { margin: 0 0 8px; line-height: 1.6; }
.ef-prose .ef-rule { width: 32px; height: 1px; background: var(--accent); margin: 64px 0 24px; border: 0; }

/* anchor offset for sticky nav */
.ef-prose h2[id], section[id] { scroll-margin-top: 96px; }

/* Centre prose paragraphs/h2 within the wider page (when prose is no longer wrapped in .ef-page-narrow) */
.ef-prose { margin-left: auto; margin-right: auto; }

/* Editorial figures interspersed in long-form pages (Sessions). Sit wider than
   the prose column to give the page a sense of rhythm. */
.ef-sessions-figure {
  max-width: 1080px;
  margin: 80px auto 64px;
  padding: 0 32px;
}
.ef-sessions-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.ef-sessions-figure figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: 14px;
  letter-spacing: -0.005em;
}
/* Slight horizontal offset for visual rhythm — alternates left/right */
.ef-sessions-figure-left { margin-left: max(0px, calc(50% - 540px - 64px)); margin-right: auto; }
.ef-sessions-figure-right { margin-right: max(0px, calc(50% - 540px - 64px)); margin-left: auto; }
.ef-sessions-figure-left figcaption,
.ef-sessions-figure-right figcaption { text-align: left; padding-left: 32px; }
.ef-sessions-figure-right figcaption { text-align: right; padding-left: 0; padding-right: 32px; }
@media (max-width: 960px) {
  .ef-sessions-figure { margin: 56px auto 40px; padding: 0 24px; }
  .ef-sessions-figure-left, .ef-sessions-figure-right { margin-left: auto; margin-right: auto; }
  .ef-sessions-figure-left figcaption,
  .ef-sessions-figure-right figcaption { text-align: center; padding: 0; }
}

/* TOC */
.ef-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 56px; }
.ef-toc a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  color: var(--fg-muted); transition: all 160ms;
}
.ef-toc a:hover { border-color: var(--fg); color: var(--fg); }

/* ---------- Filters ---------- */
.ef-filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.ef-pill { font-size: 13px; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; transition: all 160ms; }
.ef-pill:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.ef-pill.is-active { background: var(--fg); color: var(--ef-bone-50); box-shadow: none; }

/* ---------- Horizontal scrolling gallery ---------- */
.ef-horiz {
  position: relative;
  margin: 0 calc(-1 * 32px);   /* break out of the .ef-page horizontal padding */
}
.ef-horiz-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 32px;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 32px;
  scrollbar-width: none;
  cursor: grab;
}
.ef-horiz-track::-webkit-scrollbar { display: none; }
.ef-horiz-track.is-grabbing {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
}
.ef-horiz-item {
  flex: 0 0 auto;
  height: 70vh;
  max-height: 720px;
  min-height: 420px;
  background: var(--bg-soft);
  scroll-snap-align: center;
  cursor: zoom-in;
  display: block;
  position: relative;
  overflow: hidden;
  transition: opacity 220ms;
}
.ef-horiz-item img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;          /* drag passes through to the track */
  user-select: none;
  -webkit-user-drag: none;
}
.ef-horiz-item:hover { opacity: 0.92; }

.ef-horiz-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(251, 247, 242, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: opacity 200ms, background 200ms;
}
.ef-horiz-btn:hover { background: var(--bg); }
.ef-horiz-btn[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }
.ef-horiz-prev { left: 12px; }
.ef-horiz-next { right: 12px; }

.ef-horiz-progress {
  display: flex; gap: 4px;
  justify-content: center;
  margin-top: 24px;
}
.ef-horiz-progress span {
  width: 28px; height: 2px;
  background: var(--border);
  transition: background 220ms;
}
.ef-horiz-progress span.is-active { background: var(--accent); }

.ef-horiz-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 12px;
  display: flex; gap: 8px;
  justify-content: center; align-items: center;
}
.ef-horiz-hint svg { opacity: 0.55; }

@media (max-width: 960px) {
  .ef-horiz { margin: 0 calc(-1 * 24px); }
  .ef-horiz-track { padding: 12px 24px; gap: 12px; }
  .ef-horiz-item { height: 60vh; min-height: 360px; }
  .ef-horiz-btn { display: none; }   /* let touch swipe drive on phones */
  .ef-horiz-hint { display: flex; }
}

.ef-empty {
  padding: 64px 24px; text-align: center; border: 1px dashed var(--border);
  color: var(--fg-muted); font-style: italic; font-family: var(--font-display); font-size: 22px;
}

/* ---------- Investment / packages ---------- */
.ef-package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ef-package-grid-wide { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 32px auto 0; }
.ef-package { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 6px; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.ef-package.is-featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.ef-package-flag { position: absolute; top: -10px; left: 24px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.ef-package-name { font-family: var(--font-display); font-size: 26px; }
.ef-package-tag { font-size: 12px; color: var(--fg-muted); margin-top: -6px; }
.ef-package-price { display: flex; align-items: baseline; gap: 6px; }
.ef-package-from { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); }
.ef-package-amount { font-family: var(--font-mono); font-size: 32px; color: var(--fg); }
.ef-package-list { list-style: none; margin: 0; padding: 16px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ef-package-list li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; align-items: flex-start; color: var(--ef-ink-700); }
.ef-package-list li svg { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }

.ef-fineprint {
  margin: 48px auto 0; max-width: 820px;
  padding: 28px 36px; background: var(--bg-soft); border-radius: 6px;
  color: var(--fg-muted); font-size: 14px; line-height: 1.7;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px;
}
.ef-fineprint p { margin: 0; }
.ef-fineprint p strong { color: var(--fg); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; display: block; margin-bottom: 2px; }

.ef-mini {
  margin: 88px auto 0; max-width: 1080px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: center;
  padding: 48px; background: var(--bg-soft); border-radius: 8px;
}
.ef-mini-copy p { color: var(--ef-ink-700); max-width: 50ch; font-size: 15px; }
.ef-mini-meta { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.ef-mini-meta li { font-size: 14px; color: var(--ef-ink-700); display: flex; align-items: baseline; gap: 14px; }
.ef-mini-k { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); min-width: 92px; letter-spacing: 0.02em; }
.ef-mini-img { aspect-ratio: 4/5; background-size: cover; background-position: center; border-radius: 4px; }

/* ---------- Contact ---------- */
.ef-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.ef-form { display: flex; flex-direction: column; gap: 18px; }
.ef-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ef-form label { display: flex; flex-direction: column; gap: 6px; }
.ef-form label > span { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted); }
.ef-input { font-family: var(--font-sans); font-size: 15px; color: var(--fg); padding: 12px 14px; border: 1px solid var(--border); background: var(--surface); border-radius: 4px; outline: none; transition: border-color 160ms, box-shadow 160ms; width: 100%; }
.ef-input::placeholder { color: var(--fg-subtle); }
.ef-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.ef-input { resize: vertical; font-family: var(--font-sans); }
select.ef-input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6055' stroke-width='1.5'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.ef-form-honey { position: absolute; left: -9999px; top: -9999px; }
.ef-form-success, .ef-form-error { padding: 56px 32px; background: var(--bg-soft); border-radius: 6px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ef-form-success { color: var(--accent); }
.ef-form-error { color: var(--accent-deep); }
.ef-form-success h3, .ef-form-error h3 { font-family: var(--font-display); font-size: 28px; margin: 0; color: var(--fg); font-weight: 400; }
.ef-form-success p, .ef-form-error p { color: var(--fg-muted); margin: 0; }
.ef-contact-aside { display: flex; flex-direction: column; gap: 28px; }
.ef-contact-block p { font-size: 14px; color: var(--fg); margin: 8px 0 0; line-height: 1.7; }
.ef-contact-block.ef-refer { background: var(--accent-soft); border-radius: 6px; padding: 18px 20px; }
.ef-contact-block.ef-refer .ef-eyebrow { color: var(--accent-deep); }
.ef-contact-block a { border-bottom: 1px solid var(--border); }
.ef-contact-block a:hover { border-color: var(--fg); }
.ef-map { aspect-ratio: 4/3; position: relative; border: 1px solid var(--border-soft); overflow: hidden; }
.ef-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.2) contrast(0.95); }

/* ---------- About full ---------- */
.ef-about-full { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ef-about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ef-about-img-1 { aspect-ratio: 3/4; background-size: cover; background-position: center; }
.ef-about-img-2 { aspect-ratio: 3/4; background-size: cover; background-position: center; transform: translateY(40px); }
.ef-about-prose p { color: var(--ef-ink-700); }
.ef-about-prose .ef-lede { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--fg); margin-bottom: 24px; }

/* ---------- Lightbox (vanilla JS controlled) ---------- */
.ef-lightbox { position: fixed; inset: 0; background: rgba(31,27,22,0.92); z-index: 100; display: none; align-items: center; justify-content: center; }
.ef-lightbox.is-open { display: flex; }
.ef-lightbox-img { max-width: 88vw; max-height: 86vh; box-shadow: var(--shadow-lg); }
.ef-lightbox-btn { position: absolute; width: 44px; height: 44px; background: transparent; color: #FBF7F2; border: 1px solid rgba(251,247,242,0.4); border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.ef-lightbox-btn:hover { background: rgba(251,247,242,0.1); }
.ef-lightbox-close { top: 24px; right: 24px; }
.ef-lightbox-prev { left: 32px; top: 50%; transform: translateY(-50%); }
.ef-lightbox-next { right: 32px; top: 50%; transform: translateY(-50%); }
.ef-lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12px; color: rgba(251,247,242,0.7); letter-spacing: 0.1em; }

/* ---------- 404 ---------- */
.ef-404 { max-width: 720px; margin: 0 auto; padding: 160px 32px 128px; text-align: center; }
.ef-404 .ef-page-title { margin-bottom: 24px; }
.ef-404 p { color: var(--fg-muted); font-family: var(--font-display); font-style: italic; font-size: 22px; margin: 0 0 36px; }

/* ---------- Studio (about) ---------- */
.ef-studio-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 48px; }
.ef-studio-grid > div { aspect-ratio: 3/4; background-size: cover; background-position: center; }

/* ---------- Journal ---------- */
.ef-journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
.ef-journal-card { display: block; }
.ef-journal-cover { aspect-ratio: 4/3; background-size: cover; background-position: center; transition: opacity 280ms; }
.ef-journal-card:hover .ef-journal-cover { opacity: 0.88; }
.ef-journal-meta { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted); margin: 22px 0 10px; }
.ef-journal-title { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--fg); margin: 0 0 12px; }
.ef-journal-title em { font-style: italic; }
.ef-journal-card:hover .ef-journal-title { color: var(--accent-deep); }
.ef-journal-excerpt { font-size: 15px; line-height: 1.65; color: var(--ef-ink-700); margin: 0; max-width: 50ch; }
.ef-journal-hero { aspect-ratio: 16/9; background-size: cover; background-position: center; margin: 0 calc(-1 * 32px) 56px; }
.ef-journal-byline { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin: 24px 0 0; }
@media (max-width: 720px) {
  .ef-journal-grid { grid-template-columns: 1fr; gap: 48px; }
  .ef-journal-hero { margin: 0 calc(-1 * 24px) 40px; }
}

/* ---------- Responsive trims ---------- */
@media (max-width: 960px) {
  .ef-section, .ef-page { padding-left: 24px; padding-right: 24px; padding-top: 64px; padding-bottom: 80px; }
  .ef-section { padding-top: 64px; padding-bottom: 64px; }
  .ef-nav { padding: 14px 24px; }
  .ef-nav-toggle { display: inline-flex; }
  .ef-nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(251,247,242,0.96); backdrop-filter: blur(14px); flex-direction: column; gap: 0; padding: 12px 24px 18px; border-bottom: 1px solid var(--border-soft); }
  .ef-nav.is-open .ef-nav-links { display: flex; }
  .ef-nav-link { padding: 10px 0; }
  .ef-nav .ef-btn { display: none; }
  .ef-nav .ef-nav-name { font-size: 18px; }
  .ef-nav .ef-nav-name em { font-size: 18px; }
  .ef-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ef-cat-grid-wide { grid-template-columns: 1fr; }
  .ef-about, .ef-about-full, .ef-contact { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px !important; }
  .ef-about-img-2 { transform: none; }
  .ef-package-grid, .ef-package-grid-wide { grid-template-columns: 1fr; }
  .ef-fineprint { grid-template-columns: 1fr; padding: 24px; }
  .ef-mini { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .ef-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ef-hero-copy { padding-bottom: 56px; }
  .ef-studio-grid { grid-template-columns: 1fr 1fr; }
  .ef-lightbox-prev { left: 12px; }
  .ef-lightbox-next { right: 12px; }
}

@media (max-width: 560px) {
  .ef-form-row { grid-template-columns: 1fr; }
  .ef-footer-grid { grid-template-columns: 1fr; }
  .ef-hero { height: 78vh; }
}
