/* flo100.com: Flo100 Circle design system styling, shared by every page.
   No black anywhere: walnut #3e2a1e is the darkest colour, and every shadow, line and overlay is walnut-based. */

:root {
  --bg: #f5efe6;
  --bg-soft: #efe7da;
  --ink: #3e2a1e; /* walnut */
  --ink-soft: #5c4634;
  --ink-mute: #8a7560;
  --line: rgba(62, 42, 30, .16);
  --line-soft: rgba(62, 42, 30, .08);
  --card-bg: #3e2a1e;
  --card-ink: #f2e8d9;
  --card-ink-mute: #c9b79e;
  --accent: #b8895a; /* camel: dots, rules and bars only, never text */
  --brown-1: #6b4f3a; /* card rows run light to dark: brown-1, ink-soft, brown-2, walnut */
  --brown-2: #4a3426;
  --shadow: rgba(62, 42, 30, .22);
  /* Every card on the site: a faint walnut ring for the edges and a soft walnut shadow for the lift. */
  --card-shadow: 0 0 0 1px rgba(62, 42, 30, .1), 0 2px 6px rgba(62, 42, 30, .16), 0 16px 40px rgba(62, 42, 30, .24);
  --card-shadow-hover: 0 0 0 1px rgba(62, 42, 30, .12), 0 4px 10px rgba(62, 42, 30, .18), 0 22px 48px rgba(62, 42, 30, .28);
  --scrim: rgba(62, 42, 30, .9);
  --scrim-lightbox: rgba(62, 42, 30, .94);

  /* Hero brand tint: tune between .30 and .90 */
  --hero-tint: var(--card-bg);
  --hero-tint-strength: .62;

  --display: 'Cormorant Garamond', Georgia, serif;
  --text: 'Inter Tight', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
em { font-style: italic; color: var(--ink-soft); }
.on-dark em { color: var(--card-ink-mute); }
a { color: var(--ink); }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: var(--card-ink); }
.modal-panel a:focus-visible, .modal-panel button:focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--bg); color: var(--ink);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 112px; padding-bottom: 120px; }
.raised { background: var(--bg-soft); }
.divided { border-top: 1px solid var(--line-soft); }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft);
}
.on-dark .eyebrow { color: var(--card-ink-mute); }
/* .eyebrow-dot and .eyebrow-rule: the dot and the short gold lines beside eyebrows were removed 2026-11-28 (operator: cleaner without); the classes stay as no-ops. */
.eyebrow-framed { justify-content: center; gap: 14px; }

.h2 {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance;
}
.lede { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; max-width: 44ch; }
.on-dark .lede { color: var(--card-ink); }

.section-head { margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head.centred { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 64px; }
.section-head.centred .eyebrow { display: inline-flex; }
.section-head.centred .h2 { margin-bottom: 18px; }
.section-head.centred .lede { margin: 0 auto; font-size: 15px; }
#expect-h { max-width: 18ch; }

/* ---------- Icons ---------- */
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 16px; height: 16px; stroke-width: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  background: transparent; transition: transform .15s ease, background-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 44px; padding: 0 22px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-light { background: var(--bg); }
.on-dark .btn-ghost { border-color: rgba(242, 232, 217, .5); color: var(--card-ink); }
.on-dark .btn-ghost:hover { background: rgba(242, 232, 217, .1); }
.btn-ghost:hover { background: rgba(62, 42, 30, .04); }
.btn-cream { background: var(--card-ink); color: var(--ink); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

.pill {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--bg); color: var(--ink);
  font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.pill-soft { background: var(--bg-soft); border: 1px solid var(--line-soft); padding: 7px 14px; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(640px, 100vh); min-height: max(640px, 100svh); /* fills any screen, grows if the copy needs more room */
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--card-ink);
}
/* The hero photo, as a CSS background so it covers the hero at any screen size. */
.hero-photo {
  position: absolute; inset: 0;
  background: url(assets/events/healthtech/03.webp) center / cover no-repeat;
}
.hero-tint { position: absolute; inset: 0; background: var(--hero-tint); opacity: var(--hero-tint-strength); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(62,42,30,.8) 0%, rgba(62,42,30,.55) 38%, rgba(62,42,30,0) 68%), /* keeps the headline side readable */
    linear-gradient(180deg, rgba(62,42,30,.65) 0%, rgba(62,42,30,0) 28%, rgba(62,42,30,0) 55%, rgba(62,42,30,.85) 100%);
}
.topbar {
  position: relative; z-index: 2; padding-top: 28px; padding-bottom: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
/* "Powered by" in the page's own type above the Flo100 wordmark (assets/flo100-wordmark-*.png). */
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; color: var(--card-ink); text-decoration: none; padding: 4px 0; }
.lockup-small { font-size: 9px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--card-ink-mute); line-height: 1; }
.lockup-word { display: block; width: 150px; height: auto; transition: opacity .2s ease; }
.lockup:hover .lockup-word { opacity: .8; }
.lockup-walnut { color: var(--ink); }
.lockup-walnut .lockup-small { color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.nav > a:not(.btn) { color: var(--card-ink); text-decoration: none; font-size: 13px; letter-spacing: .04em; padding: 12px 0; }
.nav > a:not(.btn):hover { color: var(--card-ink-mute); }
.nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.menu-btn { display: none; background: transparent; border-color: rgba(242, 232, 217, .5); color: var(--card-ink); }
.menu-btn:hover { background: rgba(242, 232, 217, .1); }

.hero-body {
  position: relative; z-index: 2; flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 80px;
}
.hero-body > .eyebrow { margin-bottom: 26px; }
.hero-title {
  margin: 0; max-width: 14ch; font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 7.4vw, 108px); line-height: .98; letter-spacing: -.02em; text-wrap: balance;
}
.hero-row { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-lede { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
/* A prompt to scroll, not a control: no outline, no pointer, nothing to click. */
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; color: var(--card-ink); opacity: .8; pointer-events: none; user-select: none; }
.bob { display: flex; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@keyframes heroIn { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: heroIn 1.8s cubic-bezier(.16, .8, .24, 1) both; }
  .hero-in-2 { animation-delay: .35s; }
  .hero-in-3 { animation-delay: .7s; }
  /* Home: headline, then the sentence, then the doors, each on its own beat. */
  .hero-home .hero-lede { animation-delay: .45s; }
  .hero-home .doors { animation-delay: .9s; }
}
/* hero-gate.js holds the entrance until the fonts and photo arrive (1.5s at most). */
.hero-wait .hero-in { animation-play-state: paused; }
.hero-wait .hero-photo { opacity: 0; }
.hero-photo { transition: opacity .6s ease; }

/* Home hero: full screen on every device, like Events (chosen 2026-11-27 over showing the logo strip:
   plainer, more immersive). The copy sits a little higher than the default bottom placement. */
.hero.hero-home { min-height: 100vh; min-height: 100svh; }
.hero.hero-home .hero-body { padding-bottom: clamp(96px, 16vh, 200px); }

/* ---------- 2. Logo strip ---------- */
.strip { padding: 32px 0 30px; border-bottom: 1px solid var(--line-soft); }
.strip .eyebrow { margin-bottom: 20px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0 64px 0 0;
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: marquee 150s linear infinite; /* app.js sets the real duration from the strip's width */
  will-change: transform;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Logos are trimmed files; app.js sizes each by area so wide wordmarks and square marks feel the same size. */
.logo-slot { flex: none; height: 56px; display: flex; align-items: center; justify-content: center; }
/* No blend on the moving strip: desktop browsers repaint blended layers every frame, which makes it stutter. The logos are transparent anyway. */
.logo-slot img { object-fit: contain; }
.logo-wall img { object-fit: contain; mix-blend-mode: multiply; }

/* ---------- 3. What to expect ---------- */
.expect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.panel { position: relative; height: 560px; border-radius: 14px; overflow: hidden; background: var(--card-bg); color: var(--card-ink); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Fades in from about a third of the way down and is darkest behind the text, so the copy reads on any photo. */
.panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(62,42,30,0) 25%, rgba(62,42,30,.7) 48%, rgba(62,42,30,.92) 66%, rgba(62,42,30,.96) 100%);
}
.panel-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.panel-num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--card-ink-mute); }
.panel h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.08; }
.panel p { margin: 0; max-width: 32ch; font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* ---------- 4. Events ---------- */
.events-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.events-head .eyebrow { margin-bottom: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: 12px; letter-spacing: .02em; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease;
}
.chip:active { transform: scale(.98); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip { position: relative; }
.chip::after { content: ""; position: absolute; inset: -2px 0; } /* 44px touch target */

/* auto-fill (not auto-fit) keeps the empty column, so a lone tile stays half width. */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr)); gap: 28px; }
.tile {
  display: flex; flex-direction: column; padding: 0; text-align: left; width: 100%;
  border: 0; border-radius: 14px; background: var(--bg); overflow: hidden; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.cluster { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 170px 170px; gap: 4px; width: 100%; }
.cluster.single { grid-template-columns: 1fr; }
.cluster > span { position: relative; overflow: hidden; background: var(--card-bg); }
.cluster .big { grid-row: 1 / 3; }
.cluster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cluster .pill { position: absolute; top: 16px; left: 16px; z-index: 1; }
.cluster .plus { display: flex; align-items: center; justify-content: center; }
.cluster .plus::after { content: ""; position: absolute; inset: 0; background: rgba(62, 42, 30, .55); }
.cluster .plus b { position: relative; z-index: 1; font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--card-ink); }
.tile-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 24px 24px; }
.tile-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tile-title { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.tile-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}

.meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.meta-host { color: var(--ink); font-weight: 500; }
.meta-sep { width: 1px; height: 10px; background: rgba(62, 42, 30, .3); }
.meta-place { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.meta-place svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; }
.more[hidden] { display: none; }
.more-count { font-size: 12px; letter-spacing: .02em; color: var(--ink-soft); }

/* Pop-up */
.modal {
  position: fixed; inset: 0; z-index: 50; background: var(--scrim-lightbox);
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
}
.modal[hidden] { display: none; }
.modal-panel {
  position: relative; width: 100%; max-width: 1080px; max-height: 100%; overflow-y: auto;
  background: var(--bg); color: var(--ink); border-radius: 14px; padding: 48px;
}
.modal-panel:focus { outline: none; }
.modal-panel em { color: var(--ink-soft); }
.modal-close { position: absolute; top: 20px; right: 20px; }
.modal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin: 20px 0 32px; }
.modal-title { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1.05; letter-spacing: -.012em; padding-right: 48px; }
.modal-desc { margin: 0; max-width: 42ch; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.modal-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 180px; gap: 8px; }
.modal-photos > button {
  position: relative; overflow: hidden; border-radius: 8px; background: var(--bg-soft);
  padding: 0; border: 0; cursor: zoom-in;
}
.modal-photos > button:first-child { grid-column: span 2; grid-row: span 2; }
.modal-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.modal-photos > button:hover img { transform: scale(1.03); }

/* Full-size viewer, layered over the gallery */
.viewer {
  position: fixed; inset: 0; z-index: 60; background: rgba(62, 42, 30, .98);
  display: flex; align-items: center; justify-content: center; padding: 72px 88px;
}
.viewer[hidden] { display: none; }
.viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.viewer .icon-btn { position: absolute; background: transparent; border-color: rgba(242, 232, 217, .5); color: var(--card-ink); }
.viewer .icon-btn:hover { background: rgba(242, 232, 217, .1); }
.viewer .icon-btn:focus-visible { outline-color: var(--card-ink); }
.viewer-close { top: 20px; right: 20px; }
.viewer-prev { left: 24px; top: 50%; translate: 0 -50%; }
.viewer-next { right: 24px; top: 50%; translate: 0 -50%; }
.viewer-count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font-size: 11px; letter-spacing: .18em; color: var(--card-ink-mute); }

/* ---------- 5. Thought leaders ---------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px 24px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.portrait {
  width: 168px; height: 168px; border-radius: 50%; margin-bottom: 18px; overflow: hidden; background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 8px var(--bg), 0 0 0 9px var(--line-soft);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.15; }
.person-role { margin-bottom: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); max-width: 30ch; }
.person .linkedin {
  margin-top: auto; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink); position: relative;
}
.person .linkedin::after { content: ""; position: absolute; inset: -4px; } /* 44px touch target */
a.linkedin:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
span.linkedin { opacity: .45; } /* no profile URL yet */
.person .linkedin svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- 6. Clients ---------- */
/* Flex, not grid, so a short last row sits centred. Pick --per-row to divide the logo count evenly (10 = 5 x 2). */
.logo-wall { --per-row: 5; max-width: 1120px; margin: 0 auto; list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; }
.logo-wall li { flex: 0 0 calc((100% - (var(--per-row) - 1) * 32px) / var(--per-row)); height: 140px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .logo-wall { --per-row: 3; } }

/* ---------- 7. Membership: the Circle deck styles sit with the card stage below ---------- */
.lede strong { font-weight: 500; color: var(--ink); }
.photo-card p strong { font-weight: 500; color: var(--card-ink); } /* Inter Tight is loaded at 400 and 500, so 500 is the bold */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Card stage: values match the Circle sign-up page (frontend/src/styles/circle-apply.css) */
.card-stage {
  position: relative; flex: 0 1 320px; width: 100%; max-width: 320px; margin: 24px auto;
  aspect-ratio: 1200 / 1740; perspective: 1400px; perspective-origin: 50% 30%;
}
.card-3d {
  position: absolute; inset: 0;
  --tx: 0deg; --ty: 0deg; --px: 0deg; --py: 0deg; --lift: 0px;
  transform: translateY(var(--lift)) rotateX(calc(var(--ty) + var(--py))) rotateY(calc(var(--tx) + var(--px)));
  transform-style: preserve-3d; transition: transform .12s ease-out; will-change: transform;
}
.card-shadow {
  position: absolute; left: 8%; right: 8%; bottom: -8%; height: 30%;
  background: radial-gradient(ellipse at center, var(--shadow) 0%, transparent 65%); filter: blur(18px);
}
.card-face {
  position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--shadow), 0 6px 14px -6px var(--shadow);
}
.card-face img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.card-glare {
  position: absolute; inset: 0; border-radius: 20px; pointer-events: none; mix-blend-mode: screen; opacity: .7;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .16) 50%, transparent 68%);
}

/* ---------- The Circle deck (Home and Events; handoff 2026-11-28) ----------
   The member card in front, then the membership card and 1 card per benefit tucked behind it. Every card
   is the member card's size. site.js sets --edge (the visible strip of a tucked card) and data-layout:
   "row" beside the member card, or "stack" downward when the row would leave edges under 48px. */
.circle-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.circle-title { max-width: 760px; }
.circle-title .eyebrow { margin-bottom: 22px; }
.circle-title .h2 { line-height: 1.04; letter-spacing: -.015em; }
.circle-cta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; margin-bottom: 8px; }
/* "Own a venue or brand? Become a benefit partner": quiet, under the Apply button */
.circle-partner { margin: 0; font-size: 14px; color: var(--ink-soft); }
.circle-partner a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(62, 42, 30, .35); transition: text-decoration-color .2s ease; }
.circle-partner a:hover, .circle-partner a:focus-visible { text-decoration-color: currentColor; }
.eb-place { display: inline-flex; align-items: center; gap: 6px; }
.eb-place svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.deck { --card-w: 300px; --card-h: 435px; --card-r: 20px; --out-gap: 14px; --edge: 72px;
  display: flex; align-items: center; height: calc(var(--card-h) + 40px); }
.deck-cards { display: contents; }
.deck .card-stage { position: relative; z-index: 20; flex: 0 0 var(--card-w); width: var(--card-w); max-width: none; margin: 0; }
.deck .card-face, .deck .card-glare { border-radius: var(--card-r); }

.k {
  position: relative; flex: 0 0 var(--card-w); width: var(--card-w); height: var(--card-h);
  margin: 0 0 0 calc(var(--edge) - var(--card-w)); padding: 0; border: 0; border-radius: var(--card-r); overflow: hidden;
  cursor: pointer; font: inherit; text-align: left; color: var(--card-ink); background-size: cover; background-position: center;
  box-shadow: 14px 0 30px rgba(62, 42, 30, .3), 0 0 0 1px rgba(242, 232, 217, .16);
  transition: margin .65s cubic-bezier(.2, .7, .2, 1), transform .3s ease;
}
.k.on { margin-left: var(--out-gap); }
.k:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .k:not(.on):hover { transform: translateY(-12px); } }
.k-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62, 42, 30, .55) 0%, rgba(62, 42, 30, .45) 30%, rgba(62, 42, 30, .72) 60%, rgba(62, 42, 30, .96) 100%); }
.k-edge b, .k-name, .k-line { text-shadow: 0 1px 12px rgba(62, 42, 30, .55); } /* a soft walnut halo, so words hold on any photo */
/* The membership card matches the member card artwork (assets/circle-card.png), glare included. */
.k-m { background: #36190a; }
.k-m::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .7;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .16) 50%, transparent 68%); }

/* The tucked edge: the name set vertically, from the bottom */
.k-edge {
  position: absolute; top: 24px; bottom: 24px; right: 0; width: var(--edge);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; transition: opacity .25s ease;
}
.k-edge b { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 500; font-size: 22px; white-space: nowrap; }

/* The face, shown once the card is out */
.k-face {
  position: absolute; inset: 0; padding: 26px 24px; display: flex; flex-direction: column;
  opacity: 0; transition: opacity .2s ease; user-select: none; pointer-events: none;
}
.k.on .k-face { opacity: 1; transition: opacity .4s ease .3s; user-select: text; }
.k.on .k-edge { opacity: 0; }
.k-top { display: flex; justify-content: space-between; align-items: center; }
.k-brand { display: flex; align-items: center; }
.k-brand img { width: 132px; height: auto; opacity: .8; } /* the FLO100 CIRCLE logo, as on the member card */
.k-name { margin-top: auto; font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 1.05; }
.k-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }
.k-icon { flex: none; width: 22px; height: 22px; color: inherit; } /* the same colour as the line beside it */
.k-title { margin-top: 30px; font-family: var(--display); font-weight: 500; font-size: 31px; line-height: 1.08; }
.k-title em { color: var(--card-ink-mute); }
.k-points { margin-top: auto; display: block; }
.k-point { display: block; font-size: 14px; line-height: 1.45; color: var(--card-ink); text-wrap: balance; } /* no one-word last lines */
.k-point + .k-point { margin-top: 20px; }
.k-point small { display: block; margin-bottom: 7px; font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }

/* Stacked (phones and narrow screens): the same deck, downward, edges along the bottom */
.deck[data-layout="stack"] { flex-direction: column; height: auto; }
.deck[data-layout="stack"] .card-stage { flex: 0 0 var(--card-h); height: var(--card-h); }
/* Stacked, the card tilts but does not lift, or it would cover the edge below it. */
.deck[data-layout="stack"] .card-3d { transform: rotateX(calc(var(--ty) + var(--py))) rotateY(calc(var(--tx) + var(--px))); }
.deck[data-layout="stack"] .k {
  flex: 0 0 var(--card-h); margin: calc(var(--edge) - var(--card-h)) 0 0;
  box-shadow: 0 14px 30px rgba(62, 42, 30, .3), 0 0 0 1px rgba(242, 232, 217, .16);
  transition: margin .6s cubic-bezier(.2, .7, .2, 1);
}
.deck[data-layout="stack"] .k.on { margin-top: 12px; }
.deck[data-layout="stack"] .k:not(.on):hover { transform: none; }
.deck[data-layout="stack"] .k-edge { top: auto; left: 24px; right: 24px; bottom: 0; width: auto; height: var(--edge); flex-direction: row-reverse; }
.deck[data-layout="stack"] .k-edge b { writing-mode: horizontal-tb; transform: none; font-size: 21px; }
@media (max-width: 760px) {
  /* The eyebrow stacks: Flo100 Circle, then the line under it */
  .circle-title .eyebrow { flex-wrap: wrap; row-gap: 4px; } /* 2 gaps either side of the hidden dot: 8px in all */
  .circle-title .eb-sep { flex-basis: 100%; height: 0; overflow: hidden; }
  .circle-head { display: block; margin-bottom: 44px; }
  .circle-cta { align-items: stretch; margin: 28px 0 0; }
  .circle-head .btn { display: flex; width: 100%; }
  .circle-partner { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .k, .deck[data-layout="stack"] .k { transition: none; } .k:not(.on):hover { transform: none; } }

/* ---------- 8. Closing ---------- */
.closing { background: var(--card-bg); color: var(--card-ink); }
.closing-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 112px; padding-bottom: 112px; }
.closing-text { flex: 1 1 520px; max-width: 720px; }
.closing-text .eyebrow { margin-bottom: 22px; }
.closing-text .h2 { margin-bottom: 22px; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.015em; }
.closing-text .lede { max-width: 46ch; }

/* ---------- 9. Footer ---------- */
.footer { padding-top: 56px; padding-bottom: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-line { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--ink-soft); }
.footer-meta { font-size: 12px; letter-spacing: .02em; color: var(--ink-soft); text-decoration: none; padding: 12px 0; }
.footer-meta:hover { color: var(--ink); }
.footer-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 12px; letter-spacing: .02em; color: var(--ink-soft); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }

/* ==================== Shared: phone menu ==================== */
.menu {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto;
  background: var(--card-bg); color: var(--card-ink);
  display: flex; flex-direction: column; padding: 16px var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.menu-top .lockup-word { width: 118px; } /* same size as the phone header */
.menu-links { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid rgba(242, 232, 217, .22); }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid rgba(242, 232, 217, .22); color: var(--card-ink); text-decoration: none;
  font-family: var(--display); font-size: 36px; font-weight: 400; line-height: 1.1;
}
.menu-links a[aria-current="page"] { font-style: italic; color: var(--card-ink-mute); }
.menu-actions { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.menu-actions .btn { width: 100%; }

/* ==================== Shared: small pieces ==================== */
/* All cards share one shadow (tokens at the top). */
.stat-card, .case, .photo-card, .principle, .panel, .tile { box-shadow: var(--card-shadow); }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--ink-soft); }
.on-dark .num, .stat-top .num, .photo-card .num, .principle .num { color: var(--card-ink-mute); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start;
  color: inherit; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.cta-row { display: flex; justify-content: center; margin-top: 48px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .eyebrow, .section-head .eyebrow { margin-bottom: 18px; }
.h2-lg { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.015em; }
.tone-1 { background: var(--brown-1); }
.tone-2 { background: var(--ink-soft); }
.tone-3 { background: var(--brown-2); }
.tone-4 { background: var(--card-bg); }

/* ==================== Home and About: walnut hero ==================== */
/* The wood grain from the original flo100.com hero, used as is. */
.hero-walnut { min-height: 720px; }
.hero-walnut .hero-photo { background-image: url(assets/site/hero-walnut.webp); }
.hero-photo[data-parallax] { will-change: transform; } /* site.js moves it on scroll */
.hero-walnut .hero-body { padding-top: 72px; padding-bottom: 88px; }
.hero-walnut .hero-lede { max-width: 46ch; }
.hero-walnut .hero-title { max-width: 20ch; }
/* A headline with a .tint inside stays one colour; only the tinted letters take the muted tone
   (the "Flo" in "flow", the "not" in the closing line). */
em:has(.tint) { color: inherit; }
.tint { color: var(--ink-soft); }
.on-dark .tint { color: var(--card-ink-mute); }
.hero-about { min-height: 640px; }
.hero-about .hero-title { max-width: none; font-size: clamp(52px, 6.4vw, 92px); line-height: 1.1; } /* room between the two lines, so descenders never touch */
.hero-walnut .hero-lede { margin-top: 36px; }
.hero-walnut .hero-lede { max-width: 60ch; font-size: 20px; line-height: 1.55; } /* two sentences, each on its own line */
.hero-walnut .hero-lede .lede-quiet { color: var(--card-ink-mute); }
.hero-walnut .hero-lede strong { font-weight: 400; color: var(--card-ink); } /* colour does the work, not weight */

/* About hero: a Grape Escape table behind the walnut shade (operator's pick, 2026-11-28; grape-escape/10 was the other option). */
.hero-about .hero-photo { background-image: url(assets/events/grape-escape/03.webp); background-position: 50% 40%; }

/* Home hero: a real room (a speaker opening a roundtable) behind the walnut shade, like the Events hero. */
.hero-home .hero-photo { background-image: url(assets/site/roundtable-speaker.webp); background-position: 60% 35%; }
@media (max-width: 600px) {
  .hero-home .hero-photo { background-position: 52% 30%; }
  /* Phones: the doors only split attendees from companies, so they stay slim (no labels, smaller). */
  .hero-home .doors { margin-top: 40px; gap: 10px; }
  .hero-home .door { padding: 12px 12px 12px 18px; }
  .hero-home .door-label { display: none; }
  .hero-home .door-title { font-size: 19px; }
  .hero-home .door-arrow { width: 32px; height: 32px; }
}

/* 2 doors: the attendee door is filled, because most visitors arrive with an invitation. */
.doors { margin-top: 64px; max-width: 680px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.door {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 22px;
  border-radius: 14px; border: 1px solid rgba(242, 232, 217, .5); color: var(--card-ink); text-decoration: none;
}
.door-filled { background: var(--card-ink); border-color: var(--card-ink); color: var(--ink); }
.door-text { display: flex; flex-direction: column; gap: 6px; }
.door-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }
.door-filled .door-label { color: var(--ink-soft); }
.door-title { font-family: var(--display); font-size: 23px; font-weight: 500; line-height: 1.1; }
.door-arrow {
  flex: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(242, 232, 217, .5);
  display: flex; align-items: center; justify-content: center;
}
.door-filled .door-arrow { border-color: rgba(62, 42, 30, .3); }

/* ==================== Home ==================== */
/* Client wall: static on purpose. The moving strip is kept for attendee logos on the events page. */
.strip-clients { padding: 44px 0 40px; }
.strip-clients .eyebrow { margin-bottom: 22px; }
.logo-row { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 56px; }
.logo-row li { height: 80px; display: flex; align-items: center; justify-content: center; }
.logo-row img { object-fit: contain; mix-blend-mode: multiply; }

.statement { padding-top: 128px; padding-bottom: 32px; }
.statement-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.statement .eyebrow { display: inline-flex; margin-bottom: 26px; }
.h2-statement { max-width: 22ch; font-size: clamp(38px, 4.8vw, 72px); line-height: 1.04; letter-spacing: -.02em; }

/* Stat cards (Home "how it works", About "why now"): dark top panel, light body. */
.how { padding-top: 56px; padding-bottom: 120px; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.stat-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--bg-soft); }
.stat-top { height: 240px; color: var(--card-ink); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px 26px; }
.stat-top.is-checks { gap: 14px; }
.stat-top.is-funnel { gap: 12px; }
.stat-top:has(.bar-row.sm) { gap: 12px; }
.stat-top.has-slot { flex-direction: row; justify-content: stretch; }
.stat-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }
.bar-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 16px; }
.bar-fig { font-family: var(--display); font-style: italic; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.bar { display: flex; flex-direction: column; gap: 8px; }
.bar-fill { display: block; height: 10px; border-radius: 999px; background: var(--card-ink); }
.bar-cap { font-size: 12px; line-height: 1.3; }
.bar-cap .met { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-weight: 500; }
.bar-cap .met .ico-check { width: 13px; height: 13px; }
/* Two figures side by side, each with its caption directly underneath (as in the case studies). */
.fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 6px; }
.fig-pair > div { display: flex; flex-direction: column; gap: 10px; }
.fig-pair > div + div { padding-left: 24px; border-left: 1px solid rgba(242, 232, 217, .22); }
.fig-pair .bar-fig { font-size: 52px; white-space: nowrap; }
.fig-pair .bar-cap { font-size: 13px; line-height: 1.35; color: var(--card-ink); }
.stat-source { font-size: 10px; letter-spacing: .04em; color: var(--card-ink-mute); opacity: .8; }
.bar-row.mute .bar-fig { color: var(--card-ink-mute); }
.bar-row.mute .bar-fill { background: var(--card-ink-mute); }
.bar-row.sm { grid-template-columns: 84px minmax(0, 1fr); }
.bar-row.sm .bar-fig { font-size: 40px; }
.bar-row.sm .bar { gap: 6px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(242, 232, 217, .22); font-size: 14px; line-height: 1.3; }
.checks li:last-child { border-bottom: 1px solid rgba(242, 232, 217, .22); }
.ico-check { stroke-width: 2.2; }
.slot {
  flex: 1 1 auto; border: 1px dashed rgba(242, 232, 217, .4); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
}
.slot-text { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.2; }
.stat-body { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 12px; }
.stat-body h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.08; }
.stat-body p { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

/* Photo cards (Home services, About "what we're building"): photo, walnut fade, text at the bottom. */
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.photo-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.photo-card {
  position: relative; min-height: 620px; border-radius: 14px; overflow: hidden; background: var(--brown-2); color: var(--card-ink);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(62,42,30,.05) 0%, rgba(62,42,30,.45) 30%, rgba(62,42,30,.9) 52%, rgba(62,42,30,.97) 100%);
}
.photo-card-text { position: relative; z-index: 1; padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.photo-card h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 38px; line-height: 1.05; }
.photo-card p { margin: 0; max-width: 36ch; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.price-row { margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(242, 232, 217, .28); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-label, .card-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }
.price { font-family: var(--display); font-style: italic; font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.price small { font-family: var(--text); font-style: normal; font-size: 13px; letter-spacing: .04em; color: var(--card-ink-mute); }
.photo-card-lg { min-height: 480px; }
.photo-card-lg::after { background: linear-gradient(180deg, rgba(62,42,30,.25) 0%, rgba(62,42,30,.55) 45%, rgba(62,42,30,.94) 100%); }
.photo-card-lg .photo-card-text { padding: 36px 36px 38px; }
.photo-card-lg h3 { font-size: 44px; }
.photo-card-lg p { max-width: 38ch; font-size: 16px; }
.photo-card-lg .text-link { margin-top: 10px; color: var(--card-ink); }
.photo-card .card-label { color: var(--card-ink); font-size: 12px; font-weight: 500; text-shadow: 0 1px 8px rgba(62, 42, 30, .7); } /* cream with a soft shadow, so it reads over any photo */

/* "See what's included" link on each service card, and the pop-up it opens. */
.svc-more { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--card-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.photo-card:has(.svc-more) { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.photo-card:has(.svc-more):hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.svc-panel { max-width: 760px; }
.svc-panel .num { color: var(--ink-soft); }
.svc-panel .modal-title { margin-top: 6px; }
.svc-panel .modal-desc { max-width: 56ch; margin-top: 4px; }
.svc-dl { margin: 32px 0 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 1px solid var(--line); }
.svc-dl dt, .svc-dl dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-dl dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-top: 17px; }
.svc-dl dd { margin: 0; font-size: 15px; line-height: 1.55; }
.svc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-list li { position: relative; padding-left: 16px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--accent); }
.svc-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 32px; }
.svc-group { display: block; margin-bottom: 6px; font-family: var(--display); font-style: italic; font-size: 19px; color: var(--ink-soft); }
.svc-reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 40px; }
.svc-reasons li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.svc-reason-title { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.15; }
.svc-rule { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid rgba(242, 232, 217, .22); }
.svc-past { margin-top: 28px; }
.svc-price-note { font-size: 13px; color: var(--ink-soft); }
.svc-included { margin-top: 40px; }
.svc-series { margin-top: 32px; }
.svc-series .eyebrow { margin-bottom: 14px; }
.svc-series-panel { border-radius: 14px; background: var(--card-bg); color: var(--card-ink); padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 18px; }
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 40px; } /* as many columns as steps */
.svc-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.svc-steps li + li::before { content: "="; position: absolute; left: -28px; top: 6px; font-family: var(--display); font-size: 28px; color: var(--accent); }
.svc-step-fig { font-family: var(--display); font-style: italic; font-size: 44px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.svc-step-fig small { margin-right: 6px; font-size: 20px; letter-spacing: 0; color: var(--card-ink-mute); }
.svc-step-cap { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }
.svc-included .svc-dl { margin-top: 16px; }
.svc-foot { margin-top: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.svc-price { display: flex; flex-direction: column; gap: 8px; }
.svc-panel .price-label, .svc-panel .price small { color: var(--ink-soft); }

/* Case studies: each card leads with a different proof. */
.h2-narrow { max-width: 16ch; }
.case-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; border-radius: 14px; background: var(--bg); overflow: hidden; }
.case-photo { position: relative; height: 260px; overflow: hidden; background: var(--brown-1); }
.case-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { flex: 1 1 auto; padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 22px; }
.case-head { display: flex; flex-direction: column; gap: 8px; }
/* The format, on the photo: cream like the other tags, a little larger, with a soft shadow. */
.case-pill { position: absolute; top: 16px; left: 16px; padding: 8px 14px; background: var(--bg); color: var(--ink); font-size: 10px; box-shadow: 0 2px 8px rgba(62, 42, 30, .25); }
.case-meta, .case-cap { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.case-meta b { color: var(--ink); font-weight: 500; }
.case h3 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 500; line-height: 1.1; }
.case-proof { min-height: 96px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-lead { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.case-name { font-family: var(--display); font-style: italic; font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.case-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: center; }
.case-stats.wide-first { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.case-stats > div { display: flex; flex-direction: column; gap: 8px; }
.case-fig { font-family: var(--display); font-style: italic; font-size: 60px; line-height: 1; letter-spacing: -.02em; }
.case-dl { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; font-size: 15px; line-height: 1.5; }
.case-dl dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.case-dl dd { margin: 0; }

/* Stacked: one full-width card per case, photo on the left and the story on the right, so lines run long and
   the text stays short. Below 900px each card goes back to photo on top. */
@media (min-width: 901px) {
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  /* The photo sits inset on the left, a framed picture rather than a full bleed. */
  /* The photo matches the text's height, so no card ends in empty space. */
  .case { flex-direction: row; align-items: stretch; padding: 20px; }
  .case-photo { flex: 0 0 32%; height: auto; min-height: 380px; border-radius: 10px; }
  .case-body { padding: 16px 20px 18px 40px; gap: 28px; }
  .case h3 { font-size: 36px; }
  .case-dl { grid-template-columns: 120px minmax(0, 1fr); gap: 18px 24px; }
  .case-dl dd { max-width: 62ch; }
  /* The rules run the full width on every card; only the 2 figures stay close together. */
  .case-stats { grid-template-columns: repeat(2, minmax(0, 220px)); }
  .case-stats.wide-first { grid-template-columns: minmax(0, 280px) minmax(0, 220px); }
}


/* CN Tower band */
.cn-inner { display: flex; align-items: center; gap: 72px; flex-wrap: wrap; padding-top: 120px; padding-bottom: 120px; }
.cn-text { flex: 999 1 520px; min-width: 0; }
.cn-text .eyebrow { margin-bottom: 22px; }
.h2-cn { margin-bottom: 40px; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; }
.figures-row {
  margin: 0 0 32px; padding: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 32px;
  border-top: 1px solid rgba(242, 232, 217, .22); border-bottom: 1px solid rgba(242, 232, 217, .22);
}
/* Figures are dt (caption) then dd (number) in the markup, shown number first. */
.figure { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.figure dd { margin: 0; font-family: var(--display); font-style: italic; line-height: 1; letter-spacing: -.02em; }
.figure dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.figures-row dd { font-size: 72px; }
.figures-row dt { color: var(--card-ink-mute); }
.cn-copy { margin: 0 0 14px; max-width: 52ch; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.cn-quote { margin: 0; max-width: 52ch; font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--card-ink-mute); text-wrap: pretty; }
.cn-cta { margin-top: 36px; }
.collage { flex: 1 1 540px; max-width: 600px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, 190px); gap: 8px; }
.collage > div { position: relative; border-radius: 10px; overflow: hidden; background: var(--brown-2); }
.collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { grid-column: 1 / 3; grid-row: 1; }
.collage .c2 { grid-column: 3; grid-row: 1 / 3; }
.collage .c3 { grid-column: 1; grid-row: 2 / 4; }
.collage .c4 { grid-column: 2; grid-row: 2; }
.collage .c5 { grid-column: 2; grid-row: 3; }
.collage .c6 { grid-column: 3; grid-row: 3; }

/* Report: mock panels drawn in HTML, not images, so they stay sharp. */
/* The frame is the card's own colour, so it runs straight into the text block below: one seamless card,
   with the cream mock sitting inside it like a screen. */
.report-top { height: 300px; padding: 10px 10px 0; overflow: hidden; background: var(--bg-soft); }
.mock {
  height: 100%; background: var(--bg); border-radius: 10px 10px 0 0; padding: 16px 18px; color: var(--ink);
  display: flex; flex-direction: column; gap: 12px; font-size: 11px; line-height: 1.3;
}
.mock-plan-panel { gap: 10px; }
.mock-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; }
.mock-count { background: var(--bg-soft); border-radius: 8px; padding: 10px 8px; text-align: center; }
.mc-fig { font-family: var(--display); font-size: 28px; line-height: 1; }
.mock-counts.sm .mock-count { padding: 9px 8px; }
.mock-counts.sm .mc-fig { font-size: 26px; }
.mc-cap, .mock-label { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.mc-cap { margin-top: 5px; }
.mock-rows { display: flex; flex-direction: column; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(62, 42, 30, .12); }
.mock-row b, .mock-plan b, .mock-bar b { font-weight: 500; }
.mock-row span:not(.mock-tag), .mock-note { color: var(--ink-soft); }
.mock-tag { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.mock-bars { display: flex; flex-direction: column; gap: 8px; line-height: 1.2; }
.mock-bars .mock-label:not(:first-child) { margin-top: 4px; }
.mock-bar { display: grid; grid-template-columns: 104px minmax(0, 1fr) 30px; align-items: center; gap: 8px; }
.mock-bar b { text-align: right; }
.track { display: block; height: 6px; border-radius: 999px; background: rgba(62, 42, 30, .12); }
.track > span { display: block; height: 6px; border-radius: 999px; background: var(--accent); }
.mock-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock-plan-name { font-family: var(--display); font-size: 20px; font-weight: 500; line-height: 1; }
.mock-plan { background: var(--bg-soft); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.mock-plan > div { display: flex; justify-content: space-between; gap: 8px; }
.report-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.report-body h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.report-body p { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

/* Closing band, stacked: headline then button(s), left aligned. */
.closing-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; padding-top: 112px; padding-bottom: 120px; }
.closing-stack .closing-text { flex: none; max-width: 900px; }
.closing-stack .h2 { margin-bottom: 0; }

/* Circle strip: 1 line, directly above the footer, Home only. */
.circle-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.circle-strip .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.circle-strip p { margin: 0; font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.35; }

/* ==================== About ==================== */
.section-head.narrow { max-width: 760px; margin-bottom: 64px; }
#why .section-head.narrow { max-width: none; }
.pull { margin: 56px auto 0; max-width: 30ch; text-align: center; font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.25; text-wrap: balance; }
.answer .eyebrow { margin-bottom: 22px; }
.answer .h2 { max-width: none; }
.answer-lede { margin-top: 28px; max-width: 52ch; font-size: 18px; }
.phrases { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; border-top: 1px solid rgba(242, 232, 217, .24); }
.phrases li { padding-top: 24px; font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.2; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.principle { min-height: 260px; border-radius: 14px; color: var(--card-ink); padding: 28px 28px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.principle-text { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.principle-title { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.figures-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.figures-big { margin-top: 0; margin-bottom: 0; padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.figures-big dd { font-size: 84px; line-height: .95; }
.figures-big dt { font-size: 12px; color: var(--ink-soft); }
.founder { display: flex; align-items: center; gap: 72px; flex-wrap: wrap; padding-top: 112px; padding-bottom: 112px; }
.founder .portrait {
  flex: none; margin: 0; width: 360px; height: auto; aspect-ratio: 4 / 5; border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.portrait-initials {
  display: flex; align-items: center; justify-content: center; background: var(--brown-2);
  font-family: var(--display); font-style: italic; font-size: 44px; color: var(--card-ink);
}
.founder-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.founder-text .eyebrow { margin-bottom: 8px; }
.founder-name { margin: 0; font-family: var(--display); font-weight: 500; font-size: 56px; line-height: 1.04; }
.founder-role { font-size: 14px; letter-spacing: .04em; color: var(--ink-soft); }
.founder-facts { margin: 28px 0 22px; max-width: 620px; }
.founder-facts em { font-size: 19px; }
.founder-text p { margin: 10px 0 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.founder-text .text-link { margin-top: 6px; }

/* ---------- Contact: one walnut hero, the inbox set large ---------- */
.hero-contact { min-height: max(640px, 100svh); }
/* Contact: two guests talking at the wine tasting, behind the walnut shade (not on 404, which shares hero-contact). */
.hero-talk .hero-photo { background-image: url(assets/events/wine-tasting/01.webp); background-position: 70% 35%; }
.hero-contact .hero-body { margin-top: auto; margin-bottom: auto; }
.contact-email {
  display: inline-block; margin-top: 28px; font-family: var(--display); font-style: italic; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15;
  color: var(--card-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(242, 232, 217, .4);
  overflow-wrap: anywhere; font-variant-numeric: lining-nums; /* "100" at full height, as in the wordmark */
}
.contact-email:hover { text-decoration-color: currentColor; }
.hero-contact .hero-lede { margin-top: 20px; }
.contact-place { margin-top: 40px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--card-ink-mute); }

/* ---------- Privacy: walnut header band, then the policy as plain reading text ---------- */
.legal-top { background: var(--ink); color: var(--card-ink); }
.legal { max-width: 760px; padding-top: 88px; padding-bottom: 112px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.legal p, .legal li { white-space: pre-wrap; } /* as on the old site, so spacing in the text shows exactly as written */
.legal p { margin: 0 0 16px; }
.legal h1 { margin: 0 0 8px; text-align: center; font-family: var(--display); font-weight: 500; font-size: 48px; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums; } /* "100" at cap height, not old-style figures */
.legal h1 + p, .legal h1 + p + p { text-align: center; }
.legal h1 + p + p { margin-bottom: 56px; }
.legal p:has(> strong:only-child) { margin-top: 40px; color: var(--ink); letter-spacing: .04em; }
.legal h1 + p:has(> strong:only-child) { margin-top: 0; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li p { margin: 0; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal a:hover { text-decoration-color: currentColor; }

/* ---------- Cookie banner (consent.js): a thin walnut strip along the bottom, until a choice is made ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap;
  padding: 10px 24px; padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: var(--ink); color: var(--card-ink); border-top: 1px solid rgba(240, 230, 214, .14);
}
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--card-ink); }
.cookie-banner a { color: var(--card-ink); text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }
@media (max-width: 600px) {
  .cookie-banner { flex-wrap: nowrap; gap: 12px; padding: 8px 12px; padding-bottom: max(8px, env(safe-area-inset-bottom)); justify-content: space-between; }
  .cookie-banner p { font-size: 12px; }
  .cookie-actions { flex-direction: column; gap: 6px; }
  .cookie-actions .btn-sm { height: 30px; padding: 0 14px; font-size: 12px; }
}

/* ==================== Tablets and phones: the menu takes over the nav ==================== */
@media (max-width: 900px) {
  .nav > a:not(.btn) { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { gap: 0 10px; flex-wrap: nowrap; }
  .topbar { flex-wrap: nowrap; }
}

/* ---------- Scroll reveal (CSS only; unsupported browsers just show content) ---------- */
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise cubic-bezier(.25, .6, .3, 1) both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .reveal-2 { animation-range: entry 8% cover 52%; }
    .reveal-3 { animation-range: entry 16% cover 58%; }
  }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding-top: 80px; padding-bottom: 88px; }

  .topbar { padding-top: 16px; padding-bottom: 16px; gap: 8px 24px; }
  .topbar { flex-wrap: nowrap; }
  .topbar .lockup-word { width: 118px; }
  .nav { gap: 0 16px; flex-wrap: nowrap; }
  .nav > a { white-space: nowrap; }
  .nav .btn-sm { padding: 0 16px; }
  .hero-body { padding-bottom: 48px; }
  .panel { height: 460px; }
  .cluster { grid-template-rows: 130px 130px; }
  .tile-title { font-size: 24px; }
  .modal { padding: 0; }
  .modal-panel { border-radius: 0; padding: 72px 16px 24px; }
  .modal-title { font-size: 36px; padding-right: 0; }
  .modal-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .viewer { padding: 72px 0; }
  .viewer-img { border-radius: 0; }
  .viewer-prev, .viewer-next { top: auto; bottom: 12px; translate: none; }
  .viewer-count { bottom: 26px; }
  .closing-inner { padding-top: 80px; padding-bottom: 80px; }
  .logo-wall { --per-row: 2; gap: 8px 24px; }
  .logo-wall li { flex-basis: calc((100% - 24px) / 2); height: 104px; }
  .logo-wall img { max-width: 100%; }

  .hero-walnut { min-height: 0; }
  .hero-walnut .hero-body { padding-top: 48px; padding-bottom: 56px; }
  .hero-walnut .hero-lede { font-size: 18px; }
  .doors { margin-top: 44px; }
  .door { padding: 14px 16px 14px 20px; }
  .door-title { font-size: 21px; }
  .strip-clients { padding: 32px 0 28px; }
  .logo-row { gap: 4px 32px; }
  .logo-row li { height: 64px; }
  .statement { padding-top: 80px; }
  .how { padding-top: 40px; padding-bottom: 88px; }
  .photo-card { min-height: 540px; }
  .photo-card-text, .photo-card-lg .photo-card-text { padding: 28px 24px; }
  .photo-card-lg { min-height: 440px; }
  .photo-card-lg h3 { font-size: 38px; }
  .head-row { margin-bottom: 40px; }
  .case-name { font-size: 40px; }
  .case-fig { font-size: 52px; }
  .cn-inner { gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .collage { grid-template-rows: repeat(3, 120px); gap: 6px; }
  .report-top { height: auto; padding: 10px 10px 0; }
  .mock { height: auto; padding: 14px 14px 18px; }
  .mock-bar { grid-template-columns: 96px minmax(0, 1fr) 30px; }
  .closing-stack { padding-top: 80px; padding-bottom: 88px; }
  .pull { font-size: 26px; }
  .phrases li { padding-bottom: 8px; }
  .figures-big { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
  .figures-big dd { font-size: 68px; }
  .founder { gap: 36px; padding-top: 72px; padding-bottom: 72px; }
  .founder .portrait { width: min(100%, 320px); }
  .founder-name { font-size: 42px; }
  .circle-strip p { font-size: 18px; }
  .svc-dl { grid-template-columns: 1fr; }
  .svc-steps { grid-template-columns: 1fr 1fr; grid-auto-flow: row; row-gap: 22px; }
  .svc-steps li + li::before { display: none; }
  .svc-step-fig { font-size: 38px; }
  .svc-dl dt { padding-bottom: 0; border-bottom: 0; }
  .svc-dl dd { padding-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob, .marquee-track { animation: none; }
  .tile:hover, .lift:hover, .photo-card:hover { transform: none; }
  .card-3d { transition: none; transform: none; }
}


/* Buttons in capitals (operator, 2026-11-28); the Home hero doors use the button face too. */
.btn { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.door-title, .hero-home .door-title { font-family: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; } /* same face as the other buttons */
.soft { color: var(--ink-soft); } /* a word in the muted headline colour without the italic (Home: "changes") */
.on-dark .soft { color: var(--card-ink-mute); }
em.same { color: inherit; } /* italic only, in the headline colour (Home closing: "changes") */
