/* Hallmark · shape: photographic (draw 91b5e7, swapped from Split Studio: the brand is photographic) · genre: editorial · theme: brand · redesign: full
 * paper: oklch(23% 0.02 154) · accent: oklch(80% 0.125 86) · display: Cormorant Garamond 600 · body: Archivo 400/600 · hero: Poster (/), Ledge (inner pages) · nav: edge-aligned (swapped from floating pill: editorial) · footer: index columns · signature: the Trackman room, full-bleed, first screen
 * axes: dark/high-contrast-serif/warm · posture: committed (the club green carries the surface, the gold stays a signal) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, six pages share one system, so each page varies its hero picture and its middle compositions */
/* Hallmark · brand: Clubhouse Edina (spec 2026-11-17) · copy: tightened only where a gate names it (em dashes, tracked capitals, a doubled sentence), every change listed in the handoff */
/* Hallmark · waive 46a · the figures (50+, 20+, 1000+, 4, 5.0 from 16 reviews) and the six reviews are the owner's, carried over from the live site as found */
/* Hallmark · waive 28b · the Edina drone clip has no still of its own; it plays muted with visible controls */
/* Hallmark · answered 23 · gold on the four figures is the accent's one display use per page */
/* Hallmark · waive 37 · Archivo replaces Inter as the body face (Inter is a named default); both were already loaded on the live site */

:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400;

  /* the club green, from the live site (#162019, #1B2820) */
  --color-paper: oklch(23% 0.02 154);
  --color-paper-2: oklch(26.5% 0.023 156);
  --color-paper-3: oklch(30% 0.025 156);
  /* cream, the live site's main text colour (#EDE6D8), used as ink and as the light band */
  --color-ink: oklch(92.7% 0.02 85);
  --color-ink-2: oklch(84% 0.015 95);
  --color-muted: oklch(72% 0.03 90);
  --color-rule: oklch(40% 0.03 120);
  /* gold (#DCB455), a signal */
  --color-accent: oklch(80% 0.125 86);
  --color-accent-ink: oklch(23% 0.02 154);
  --color-focus: oklch(83% 0.15 86);
  /* the cream band and its ink */
  --color-cream: oklch(92.7% 0.02 85);
  --color-cream-2: oklch(89% 0.022 85);
  --color-cream-ink: oklch(24% 0.022 154);
  --color-cream-muted: oklch(42% 0.025 120);
  --color-cream-rule: oklch(78% 0.03 85);
  --color-gold-deep: oklch(52% 0.09 80);
  --color-plan-floor: oklch(94.5% 0.018 85);
  --color-plan-room: oklch(98.5% 0.006 85);
  --color-plan-conference: oklch(89% 0.07 88);
  --color-plan-sage: oklch(87% 0.03 150);
  --color-plan-fixed: oklch(89.5% 0.014 85);
  --color-scrim: oklch(18% 0.02 154 / 0.92);
  --color-scrim-soft: oklch(18% 0.02 154 / 0.15);

  --font-display: "Cormorant Garamond", Georgia, ui-serif, serif;
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --display-weight: 600;
  --radius-card: 2px; --rule-hair: 1px;
  --tracking-display: -0.015em;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); background: var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.04; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: var(--color-ink); }
h1 { max-width: 16ch; font-size: var(--text-display); }
h2 { max-width: 22ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; color: var(--color-ink-2); }
.is-layout-flow > * + *, .is-layout-constrained > * + * { margin-block-start: 0; }

/* every section: the outer group owns paper and padding, the container is padding-inline */
.ce-section {
  padding-block: var(--section-gap);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl);
  align-items: start;
}
.ce-section > * { grid-column: 1 / -1; }
.ce-gap-s { padding-block: var(--section-gap-s); }
.ce-gap-l { padding-block: var(--section-gap-l); }
.ce-head { display: grid; gap: var(--space-lg); align-content: start; }
.ce-head > * { margin: 0 !important; }

/* the cream band */
.ce-cream { background: var(--color-cream); color: var(--color-cream-ink); }
.ce-cream h1, .ce-cream h2, .ce-cream h3 { color: var(--color-cream-ink); }
.ce-cream .lead, .ce-cream p { color: var(--color-cream-ink); }
.ce-cream .ce-muted, .ce-cream figcaption, .ce-cream cite { color: var(--color-cream-muted); }
.ce-cream a { color: var(--color-cream-ink); }
.ce-cream .ce-link { color: var(--color-gold-deep); }
.ce-raised { background: var(--color-paper-2); }
.ce-muted { color: var(--color-muted); }

/* links and buttons: one filled primary per page */
.ce-link a, a.ce-link { color: var(--color-accent); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.ce-link a:hover, a.ce-link:hover { text-decoration-color: currentColor; }
.ce-cream .ce-link a, .ce-cream a.ce-link { color: var(--color-gold-deep); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg);
  background: var(--color-accent); color: var(--color-accent-ink); border: 1px solid var(--color-accent); border-radius: var(--radius-card);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.wp-block-button__link:hover { background: var(--color-focus); border-color: var(--color-focus); }
.wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.ce-cream .wp-block-button.is-style-outline .wp-block-button__link { color: var(--color-cream-ink); border-color: var(--color-cream-rule); }

/* nav: one line, edge-aligned */
.ce-nav { position: relative; background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.ce-nav-inner { min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.ce-wordmark { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.04; white-space: nowrap; }
.ce-wordmark a { text-decoration: none; color: var(--color-ink); }
.ce-nav .wp-block-navigation { gap: var(--space-lg); font-size: var(--text-sm); }
.ce-nav .wp-block-navigation-item__content { color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-xs); transition: color var(--dur-short) var(--ease-out); }
.ce-nav .wp-block-navigation-item__content:hover, .ce-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--color-accent); }
.ce-nav .wp-block-buttons .wp-block-button__link { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.ce-nav .wp-block-buttons .wp-block-button__link:hover { border-color: var(--color-accent); color: var(--color-accent); }
.ce-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--color-paper); color: var(--color-ink); padding: var(--space-xl) var(--gutter); }
.ce-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: var(--text-lg); }
.ce-nav .wp-block-navigation__responsive-container-open, .ce-nav .wp-block-navigation__responsive-container-close { color: var(--color-ink); }
.ce-nav-end { display: flex; align-items: center; gap: var(--space-lg); }

/* hero, Poster: the photograph full-bleed, the plate at its base */
.ce-hero { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end;
  min-height: calc(100svh - var(--nav-h)); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-block: var(--space-2xl); isolation: isolate; }
.ce-hero > .wp-block-image { position: absolute; inset: 0; z-index: -1; margin: 0; grid-column: auto; grid-row: auto; }
.ce-hero > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ce-hero > .wp-block-image figcaption { position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); top: var(--space-lg); margin: 0; padding: var(--space-2xs) var(--space-sm); background: var(--color-paper); color: var(--color-ink-2); font-size: var(--text-sm); border-radius: var(--radius-card); }
.ce-plate { grid-column: 1 / span 6; background: var(--color-paper); padding: var(--space-xl); border-radius: var(--radius-card); display: grid; gap: var(--space-lg); }
.ce-plate > * { margin: 0 !important; }
.ce-plate h1 { font-size: var(--text-display); max-width: 12ch; }
.ce-plate .ce-note { font-size: var(--text-sm); color: var(--color-ink-2); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.ce-plate .ce-note a { color: var(--color-accent); font-weight: 600; }
.ce-hero-video { position: absolute; inset: 0; z-index: -1; margin: 0; }
.ce-hero-video video { width: 100%; height: 100%; object-fit: cover; }

/* inner page hero, Ledge: a tall photograph above, the head resting at its base */
.ce-ledge { padding-top: var(--space-3xl); padding-bottom: 0; row-gap: var(--space-xl); }
.ce-ledge .ce-head { grid-column: 1 / span 8; }
.ce-ledge .ce-head h1 { max-width: 14ch; }
.ce-ledge > .wp-block-image { grid-column: 1 / -1; }
.ce-ledge > .wp-block-image img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-card); }
.ce-ledge > .wp-block-image figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.ce-ledge .ce-status { grid-column: 9 / span 4; align-self: end; font-size: var(--text-sm); color: var(--color-ink-2); border-top: 1px solid var(--color-rule); padding-top: var(--space-md); }
.ce-status a { color: var(--color-accent); font-weight: 600; }

/* split: text beside a photograph */
.ce-split > .ce-head { grid-column: 1 / span 5; align-self: center; }
.ce-split > .wp-block-image { grid-column: 7 / -1; align-self: center; }
.ce-split.ce-flip > .ce-head { grid-column: 8 / -1; grid-row: 1; }
.ce-split.ce-flip > .wp-block-image { grid-column: 1 / span 6; grid-row: 1; }
.ce-split > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
.ce-split > .wp-block-image figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.ce-split .ce-body { display: grid; gap: var(--space-md); color: var(--color-ink-2); }

/* figures: real numbers across, parted by vertical hairlines */
.ce-figures-head { grid-column: 1 / span 6; }
.ce-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.ce-figures > li { display: grid; gap: var(--space-xs); padding-inline: var(--space-lg); border-left: 1px solid var(--color-rule); align-content: start; }
.ce-figures > li:first-child { padding-left: 0; border-left: 0; }
.ce-figures strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-display-s); line-height: 1; font-variant-numeric: tabular-nums; color: var(--color-accent); }
.ce-figures .ce-fig-label { font-weight: 600; color: var(--color-ink); }
.ce-figures .ce-fig-line { color: var(--color-muted); font-size: var(--text-sm); }
.ce-cream .ce-figures > li { border-color: var(--color-cream-rule); }
.ce-cream .ce-figures strong { color: var(--color-gold-deep); }
.ce-cream .ce-figures .ce-fig-label { color: var(--color-cream-ink); }
.ce-cream .ce-figures .ce-fig-line { color: var(--color-cream-muted); }

/* statement: one sentence, large */
.ce-statement > .ce-head { grid-column: 1 / span 10; }
.ce-statement h2 { font-size: var(--text-display); max-width: 18ch; }
.ce-statement .lead { max-width: 58ch; }

/* bento: four tiles, one lead */
.ce-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); grid-auto-rows: minmax(300px, auto); }
.ce-tile { position: relative; display: grid; align-content: end; gap: var(--space-xs); padding: var(--space-xl); border-radius: var(--radius-card); overflow: hidden; isolation: isolate; background: var(--color-paper-2); min-height: 300px; }
.ce-tile > * { margin: 0 !important; }
.ce-tile > .wp-block-image { position: absolute; inset: 0; z-index: -1; }
.ce-tile > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ce-tile > .wp-block-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--color-scrim), var(--color-scrim-soft) 65%); }
.ce-tile h3 { font-size: var(--text-xl); color: var(--color-cream); }
.ce-tile p { color: var(--color-cream); max-width: 34ch; }
.ce-tile .ce-num { font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.ce-tile:nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
.ce-tile:nth-child(2) { grid-column: 8 / -1; }
.ce-tile:nth-child(3) { grid-column: 8 / -1; }
.ce-tile:nth-child(4) { grid-column: 1 / -1; min-height: 220px; background: var(--color-paper-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.ce-tile:nth-child(4) p { max-width: 52ch; }

/* reviews: quotes in rows of three, hairline tops */
.ce-reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-lg); }
.ce-reviews-head > * { margin: 0 !important; }
.ce-rating { font-size: var(--text-sm); color: var(--color-muted); }
.ce-rating strong { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-gold-deep); font-weight: 600; margin-right: var(--space-xs); font-variant-numeric: tabular-nums; }
.ce-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.ce-quotes .wp-block-quote { margin: 0; padding: var(--space-lg) 0 0; border: 0; border-top: 1px solid var(--color-cream-rule); display: grid; gap: var(--space-md); grid-template-rows: 1fr auto; }
.ce-quotes .wp-block-quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3; font-weight: 500; text-indent: -0.4em; }
.ce-quotes .wp-block-quote cite { font-style: normal; font-size: var(--text-sm); font-weight: 600; }
.ce-section:not(.ce-cream) .ce-quotes .wp-block-quote { border-top-color: var(--color-rule); }
.ce-section:not(.ce-cream) .ce-rating strong { color: var(--color-accent); }

/* rows: a head beside a list of rows (FAQ, tiers, steps) */
.ce-rows > .ce-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.ce-rows > .ce-list { grid-column: 6 / -1; }
.ce-list { display: grid; }
.ce-list > * { margin: 0 !important; }
.ce-list .wp-block-details { border-top: 1px solid var(--color-rule); padding-block: var(--space-lg); }
.ce-list .wp-block-details:last-child { border-bottom: 1px solid var(--color-rule); }
.ce-list .wp-block-details summary { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-lg); align-items: baseline; }
.ce-list .wp-block-details summary::-webkit-details-marker { display: none; }
.ce-list .wp-block-details summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); flex-shrink: 0; }
.ce-list .wp-block-details[open] summary::after { transform: rotate(45deg); }
.ce-list .wp-block-details summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.ce-list .wp-block-details > p { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 62ch; }
.ce-cream .ce-list .wp-block-details { border-color: var(--color-cream-rule); }
.ce-cream .ce-list .wp-block-details > p { color: var(--color-cream-ink); }
.ce-cream .ce-list .wp-block-details summary::after { color: var(--color-gold-deep); }

/* an ordered list as rows (uses, first week) */
.ce-ol { counter-reset: ce; list-style: none; margin: 0; padding: 0; display: grid; }
.ce-ol > li { counter-increment: ce; display: grid; grid-template-columns: var(--space-2xl) minmax(0, 1fr); column-gap: var(--space-lg); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.ce-ol > li:last-child { border-bottom: 1px solid var(--color-rule); }
.ce-ol > li::before { content: counter(ce, upper-roman); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--color-accent); }
.ce-ol > li strong { display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-2xs); }
.ce-cream .ce-ol > li { border-color: var(--color-cream-rule); }
.ce-cream .ce-ol > li::before { color: var(--color-gold-deep); }

/* tiers: three plans as columns of rows */
.ce-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.ce-tier { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-md); padding-top: var(--space-lg); border-top: 2px solid var(--color-rule); }
.ce-tier > * { margin: 0 !important; }
.ce-tier.is-featured { border-top-color: var(--color-accent); }
.ce-tier h3 { font-size: var(--text-3xl); }
.ce-tier .ce-tier-tag { font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; }
.ce-tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.ce-tier ul li { padding-left: var(--space-lg); position: relative; }
.ce-tier ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1px; background: var(--color-accent); }

/* close: the invitation, a quote and the action beside the glass */
.ce-close > .ce-head { grid-column: 1 / span 6; align-self: center; }
.ce-close > .wp-block-image { grid-column: 8 / -1; }
.ce-close > .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); }
.ce-close .wp-block-quote { margin: 0; padding: 0 0 0 var(--space-lg); border-left: 1px solid var(--color-accent); display: grid; gap: var(--space-sm); }
.ce-close .wp-block-quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; font-weight: 500; color: var(--color-ink); }
.ce-close .wp-block-quote cite { font-style: normal; font-size: var(--text-sm); color: var(--color-muted); }

/* contact details as a definition table */
.ce-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.ce-details > .wp-block-group { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: 1px solid var(--color-cream-rule); align-content: start; }
.ce-details > .wp-block-group > * { margin: 0 !important; }
.ce-details h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; }
.ce-details p { font-size: var(--text-lg); }

/* video band */
.ce-video { padding: 0; display: block; position: relative; }
.ce-video video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.ce-video figcaption { padding: var(--space-xs) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); font-size: var(--text-sm); color: var(--color-muted); }

/* footer: index columns */
.ce-footer { padding-block: var(--space-3xl) var(--space-xl); border-top: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-ink); }
.ce-footer-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.ce-footer-cols > * { margin: 0 !important; }
.ce-footer-brand { grid-column: 1 / span 4; display: grid; gap: var(--space-md); align-content: start; }
.ce-footer-brand > * { margin: 0 !important; }
.ce-footer-brand img { width: 72px; height: 72px; border-radius: var(--radius-card); }
.ce-footer-col { grid-column: span 2; display: grid; gap: var(--space-xs); align-content: start; }
.ce-footer-col > * { margin: 0 !important; }
.ce-footer-col h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--color-muted); max-width: none; margin-bottom: var(--space-xs) !important; }
.ce-footer-col a, .ce-footer-legal a { color: var(--color-ink-2); text-decoration: none; }
.ce-footer-col a:hover, .ce-footer-legal a:hover { color: var(--color-accent); text-decoration: underline; }
.ce-footer-legal { margin-top: var(--space-3xl) !important; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: space-between; font-size: var(--text-sm); color: var(--color-muted); }
.ce-footer-legal > * { margin: 0 !important; }

/* community: the industries as a set of large words */
.ce-industries { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.ce-industries li { font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); line-height: 1.15; color: var(--color-cream-ink); }
.ce-industries li:nth-child(even) { color: var(--color-gold-deep); }

/* about: the aside beside the location copy */
.ce-split > .ce-aside { grid-column: 8 / -1; align-self: center; padding-left: var(--space-xl); border-left: 1px solid var(--color-cream-rule); }

/* the fourth tile: text and its link */
.ce-tile-text { display: grid; gap: var(--space-xs); }
.ce-tile-text > * { margin: 0 !important; }
.ce-tile .ce-link a { color: var(--color-accent); }

/* contact: the opening section */
.ce-ledge-contact { padding-top: var(--space-3xl); }
.ce-ledge-contact h1 { max-width: 12ch; }

/* footer edges */
.ce-section-pad { padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }

/* nav: the links go behind the menu button below 75rem */
@media (max-width: 75rem) {
  .ce-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .ce-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
}
@media (max-width: 60rem) {
  .ce-split > .ce-aside { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: var(--space-lg); border-top: 1px solid var(--color-cream-rule); }
  .ce-industries li { font-size: var(--text-2xl); }
}

/* v2 directions: wider canvas, poster hero, scroll story, Suite 600 map, membership picker */

.ce-v2 .ce-section { padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }

/* poster hero: full-bleed photograph, big type low and left over a scrim */
.ce-v2-hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--nav-h)); display: grid; align-content: end; padding-block: var(--space-3xl); }
.ce-v2-hero > .wp-block-image { position: absolute; inset: 0; z-index: -2; margin: 0; grid-column: auto; grid-row: auto; }
.ce-v2-hero > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ce-v2-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--color-scrim) 0%, var(--color-scrim-soft) 55%, transparent 80%); }
.ce-v2-hero .ce-head { grid-column: 1 / span 9; }
.ce-v2-hero h1 { font-size: clamp(3.25rem, 7.5vw, 9rem); line-height: 0.95; max-width: 14ch; color: var(--color-cream); }
.ce-v2-hero .lead { color: var(--color-cream); max-width: 46ch; }

/* scroll story: a photograph held while the day scrolls past */
.ce-v2-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); padding-block: var(--section-gap); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.ce-v2-story-head { grid-column: 1 / -1; margin-bottom: var(--space-2xl); display: grid; gap: var(--space-lg); }
.ce-v2-story-media { grid-column: 1 / span 7; position: sticky; top: calc(var(--nav-h) + var(--space-xl)); height: calc(100svh - var(--nav-h) - var(--space-3xl)); border-radius: var(--radius-card); overflow: hidden; }
.ce-v2-story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: scale(1.04); transition: opacity var(--dur-long) var(--ease-out), transform 1.2s var(--ease-out); }
.ce-v2-story-media img.is-on { opacity: 1; transform: none; }
.ce-v2-clock { position: absolute; left: var(--space-xl); bottom: var(--space-xl); z-index: 2; background: var(--color-paper); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-card); font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--color-accent); }
.ce-v2-steps { grid-column: 9 / -1; list-style: none; margin: 0; padding: 0; }
.ce-v2-steps > li { min-height: 70svh; display: grid; align-content: center; gap: var(--space-md); opacity: 0.35; transition: opacity var(--dur-long) var(--ease-out); }
.ce-v2-steps > li.is-on { opacity: 1; }
.ce-v2-steps .ce-v2-time { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.ce-v2-steps h3 { font-size: var(--text-section); }
.ce-v2-steps p { color: var(--color-ink-2); max-width: 40ch; }
.ce-v2-steps img { display: none; }

/* membership picker */
.ce-v2-pick { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); padding-block: var(--section-gap); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); background: var(--color-cream); color: var(--color-cream-ink); }
.ce-v2-pick-q { grid-column: 1 / span 6; display: grid; gap: var(--space-xl); align-content: start; }
.ce-v2-pick h2 { color: var(--color-cream-ink); }
.ce-v2-pick fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.ce-v2-pick legend { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); margin-bottom: var(--space-sm); padding: 0; }
.ce-v2-opts { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.ce-v2-opts button { min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-cream-rule); border-radius: var(--radius-card); background: transparent; color: var(--color-cream-ink); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.ce-v2-opts button:hover { border-color: var(--color-gold-deep); }
.ce-v2-opts button[aria-pressed="true"] { background: var(--color-cream-ink); border-color: var(--color-cream-ink); color: var(--color-cream); }
.ce-v2-opts button:focus-visible { outline: 2px solid var(--color-gold-deep); outline-offset: 3px; }
.ce-v2-result { grid-column: 8 / -1; align-self: start; background: var(--color-paper); color: var(--color-ink); padding: var(--space-xl); border-radius: var(--radius-card); display: grid; gap: var(--space-md); min-height: 100%; }
.ce-v2-result > * { margin: 0; }
.ce-v2-result .ce-v2-tier { font-family: var(--font-display); font-weight: 600; font-size: var(--text-display-s); line-height: 1; color: var(--color-ink); transition: opacity var(--dur-short) var(--ease-out); }
.ce-v2-result .ce-v2-label { font-size: var(--text-sm); color: var(--color-muted); }
.ce-v2-result ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.ce-v2-result ul li { padding-left: var(--space-lg); position: relative; }
.ce-v2-result ul li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 1px; background: var(--color-accent); }
.ce-v2-result .wp-block-button__link { justify-self: start; }

/* Suite 600 map */
.ce-v2-map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); padding-block: var(--section-gap); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.ce-v2-map-head { grid-column: 1 / -1; display: grid; gap: var(--space-lg); }
.ce-v2-plan { grid-column: 1 / span 7; margin: 0; display: grid; gap: var(--space-xs); }
.ce-v2-plan svg { width: 100%; height: auto; display: block; }
.ce-v2-plan .room rect { fill: var(--color-paper-2); stroke: var(--color-rule); stroke-width: 2; transition: fill var(--dur-short) var(--ease-out), stroke var(--dur-short) var(--ease-out); }
.ce-v2-plan .room text { fill: var(--color-ink-2); font-family: var(--font-body); font-size: 15px; font-weight: 600; pointer-events: none; }
.ce-v2-plan .room { cursor: pointer; outline: none; }
.ce-v2-plan .room:hover rect, .ce-v2-plan .room.is-on rect { fill: var(--color-paper-3); stroke: var(--color-accent); }
.ce-v2-plan .room.is-on text { fill: var(--color-accent); }
.ce-v2-plan .room:focus-visible rect { stroke: var(--color-focus); stroke-width: 4; }
.ce-v2-plan .wall { fill: none; stroke: var(--color-muted); stroke-width: 3; }
.ce-v2-plan figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.ce-v2-room { grid-column: 9 / -1; align-self: start; position: sticky; top: calc(var(--nav-h) + var(--space-xl)); display: grid; gap: var(--space-md); }
.ce-v2-room > * { margin: 0; }
.ce-v2-room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); transition: opacity var(--dur-short) var(--ease-out); }
.ce-v2-room h3 { font-size: var(--text-section); }
.ce-v2-room p { color: var(--color-ink-2); }
.ce-v2-room .ce-v2-label { font-size: var(--text-sm); color: var(--color-accent); font-weight: 600; }

@media (max-width: 60rem) {
  .ce-v2-hero .ce-head { grid-column: 1 / -1; }
  .ce-v2-story-media { display: none; }
  .ce-v2-steps { grid-column: 1 / -1; display: grid; gap: var(--space-2xl); }
  .ce-v2-steps > li { min-height: 0; opacity: 1; }
  .ce-v2-steps img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
  .ce-v2-pick-q, .ce-v2-result, .ce-v2-plan, .ce-v2-room { grid-column: 1 / -1; }
  .ce-v2-room { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .ce-v2-story-media img, .ce-v2-steps > li { transition: none; transform: none; }
}
/* room chips above the map sit on the dark paper */
.ce-v2-chips { margin-top: var(--space-sm); }
.ce-v2-chips button { color: var(--color-ink); border-color: var(--color-rule); }
.ce-v2-chips button:hover { border-color: var(--color-accent); }
.ce-v2-chips button[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.ce-v2-chips button:focus-visible { outline-color: var(--color-focus); }
.ce-v2-map-head h1 { font-size: clamp(2.75rem, 5vw, 6rem); max-width: 18ch; }
.ce-v2-room img[hidden] { display: none; }
.ce-v2-plan .room.zone text { fill: var(--color-ink-2); }
.ce-v2-plan .room.zone:hover rect, .ce-v2-plan .room.zone.is-on rect { fill: color-mix(in oklab, var(--color-accent) 12%, transparent); stroke: var(--color-accent); stroke-dasharray: 8 6; }
.ce-v2-plan .room text { font-family: var(--font-display); }
.ce-v2-pick .lead, .ce-v2-pick legend { color: var(--color-cream-ink); }
/* the map in the printed plan's own colours */
.ce-v2-plan { grid-column: 1 / span 8; }
.ce-v2-room { grid-column: 9 / -1; }
.ce-v2-plan svg { background: var(--color-cream); border-radius: var(--radius-card); padding: 2%; }
.ce-v2-plan .floor { fill: var(--color-plan-floor); stroke: var(--color-cream-ink); stroke-width: 10; }
.ce-v2-plan .room rect { fill: var(--color-plan-room); stroke: var(--color-cream-ink); stroke-width: 3; }
.ce-v2-plan .room[data-area="conference"] rect { fill: var(--color-plan-conference); }
.ce-v2-plan .room[data-area="trackman"] rect, .ce-v2-plan .room[data-area="calls"] rect { fill: var(--color-plan-sage); }
.ce-v2-plan .room[data-area="coffee"] rect, .ce-v2-plan .fixed rect { fill: var(--color-plan-fixed); stroke: var(--color-cream-ink); stroke-width: 3; }
.ce-v2-plan .room.zone rect { fill: transparent; stroke: transparent; }
.ce-v2-plan text { fill: var(--color-cream-ink); font-family: var(--font-display); font-weight: 600; }
.ce-v2-plan .room text.t2, .ce-v2-plan .fixed text.t2, .ce-v2-plan > svg > text.t2 { font-family: var(--font-body); font-weight: 600; font-size: 20px; fill: var(--color-cream-muted); }
.ce-v2-plan .room.zone text.t2 { fill: var(--color-gold-deep); }
.ce-v2-plan .room:hover rect, .ce-v2-plan .room.is-on rect { fill: var(--color-accent); stroke: var(--color-cream-ink); }
.ce-v2-plan .room.zone:hover rect, .ce-v2-plan .room.zone.is-on rect { fill: color-mix(in oklab, var(--color-accent) 35%, transparent); stroke: var(--color-gold-deep); stroke-dasharray: 10 8; }
.ce-v2-plan .room.is-on text, .ce-v2-plan .room:hover text { fill: var(--color-cream-ink); }
.ce-v2-plan figcaption { color: var(--color-muted); }
@media (max-width: 60rem) { .ce-v2-plan, .ce-v2-room { grid-column: 1 / -1; } }
.ce-v2-plan .room text, .ce-v2-plan .room.zone text.t1 { fill: var(--color-cream-ink); }
/* 1.1: wider canvas on big screens, site-wide */
@media (min-width: 112rem) { :root { --container: 1760px; --gutter: 96px; } .lead { font-size: 1.5rem; } }

/* 1.1: short clips */
.ce-v2-hero > .ce-v2-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; grid-column: auto; grid-row: auto; }
.ce-v2-hero .ce-note { font-size: var(--text-sm); color: var(--color-cream); max-width: 52ch; }
.ce-v2-hero .ce-note a { color: var(--color-accent); font-weight: 600; }
.ce-v2-pause { position: absolute; right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); bottom: var(--space-xl); min-height: 40px; padding: 0 var(--space-md); border: 1px solid var(--color-cream); border-radius: var(--radius-card); background: var(--color-scrim); color: var(--color-cream); font: 600 var(--text-sm) var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.ce-v2-pause:hover { background: var(--color-paper); }
.ce-v2-pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.ce-v2-story-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: scale(1.04); transition: opacity var(--dur-long) var(--ease-out), transform 1.2s var(--ease-out); }
.ce-v2-story-media video.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ce-v2-pause { display: none; } .ce-v2-story-media video { transition: none; transform: none; } }
@media (max-width: 40rem) { .ce-v2-pause { bottom: var(--space-md); } }

/* the story hides the steps that are not on screen only once its script is running */
[data-story].is-live .ce-v2-story-media > :not(.is-on):not(.ce-v2-clock) { opacity: 0; transform: scale(1.04); }
button:disabled, .wp-block-button__link[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* one reveal: the hero plate settles once */
@media (prefers-reduced-motion: no-preference) {
  .ce-plate { animation: ce-settle 0.6s var(--ease-out) both; }
  @keyframes ce-settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 75rem) {
  .ce-nav .wp-block-navigation { gap: var(--space-md); }
}
@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; --nav-h: 64px; }
  .ce-plate { grid-column: 1 / -1; padding: var(--space-lg); }
  .ce-split > .ce-head, .ce-split > .wp-block-image, .ce-split.ce-flip > .ce-head, .ce-split.ce-flip > .wp-block-image,
  .ce-close > .ce-head, .ce-close > .wp-block-image, .ce-rows > .ce-head, .ce-rows > .ce-list,
  .ce-ledge .ce-head, .ce-ledge .ce-status, .ce-statement > .ce-head, .ce-figures-head { grid-column: 1 / -1; grid-row: auto; }
  .ce-rows > .ce-head { position: static; }
  .ce-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .ce-figures > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ce-quotes, .ce-tiers { grid-template-columns: minmax(0, 1fr); }
  .ce-bento { grid-template-columns: minmax(0, 1fr); }
  .ce-tile:nth-child(n) { grid-column: 1 / -1; grid-row: auto; }
  .ce-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ce-footer-brand { grid-column: 1 / -1; }
  .ce-footer-col { grid-column: span 6; }
  .ce-ledge > .wp-block-image img { aspect-ratio: 4 / 3; }
  .ce-close > .wp-block-image img { aspect-ratio: 4 / 3; }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; }
  .ce-hero { min-height: calc(92svh - var(--nav-h)); padding-block: var(--space-lg); }
  .ce-hero > .wp-block-image figcaption { display: none; }
  .ce-details { grid-template-columns: minmax(0, 1fr); }
  .ce-wordmark { font-size: 1.125rem; }
  .ce-nav-end .wp-block-buttons { display: none; }
}
/* fixes after the first stage render */
.ce-ol > li { display: block; position: relative; padding-left: calc(var(--space-2xl) + var(--space-lg)); }
.ce-ol > li::before { position: absolute; left: 0; top: var(--space-lg); }
.ce-head .wp-block-quote { margin: 0; padding: 0 0 0 var(--space-lg); border: 0; border-left: 1px solid var(--color-accent); display: grid; gap: var(--space-sm); }
.ce-head .wp-block-quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; font-weight: 500; color: var(--color-ink); }
.ce-head .wp-block-quote cite { font-style: normal; font-size: var(--text-sm); color: var(--color-muted); }
/* fixes, round two: no gaps between header, main and footer; the header wrapper sticks */
.wp-site-blocks > * { margin-block-start: 0 !important; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: var(--z-sticky-nav); }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
