:root {
  --zeo-background: var(--wp--preset--color--background, #fff);
  --zeo-surface-light: var(--wp--preset--color--surface-light, #f4f3f1);
  --zeo-surface-dark: var(--wp--preset--color--surface-dark, #333232);
  --zeo-text: var(--wp--preset--color--text, #333232);
  --zeo-muted: var(--wp--preset--color--muted, #666565);
  --zeo-primary: var(--wp--preset--color--primary, #333232);
  --zeo-secondary: var(--wp--preset--color--secondary, #8a8177);
  --zeo-accent: var(--wp--preset--color--accent, #a67c52);
  --zeo-border: var(--wp--preset--color--border, #ababab);
  --zeo-overlay: var(--wp--preset--color--media-overlay, #181817);
  --zeo-display-font: var(--wp--preset--font-family--display, 'Cormorant Garamond', Georgia, serif);
  --zeo-body-font: var(--wp--preset--font-family--sans, 'Avenir Next', Arial, sans-serif);
  --zeo-nav-font: var(--zeo-body-font);
  --zeo-button-font: var(--zeo-body-font);
  --zeo-header-height: 124px;
  --zeo-page-gutter: clamp(22px, 4.45vw, 72px);
  --zeo-section-space: clamp(72px, 10vw, 160px);
  --zeo-transition: 600ms cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--zeo-background); color: var(--zeo-text); font-family: var(--zeo-body-font); }
body.admin-bar .zeo-site-header { top: 32px; }
img, video { max-width: 100%; height: auto; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.zeo-site-main { min-height: 60vh; }
.zeo-section { padding-top: var(--zeo-section-space); padding-bottom: var(--zeo-section-space); }
.zeo-kicker { font-family: var(--zeo-nav-font); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.zeo-display { font-family: var(--zeo-display-font); font-weight: 400; letter-spacing: -.025em; line-height: .98; }

.zeo-site-header {
  position: relative;
  z-index: 100;
  min-height: var(--zeo-header-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--zeo-background) 94%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--zeo-border) 38%, transparent);
  backdrop-filter: blur(12px);
}
.zeo-sticky-header .zeo-site-header { position: sticky; top: 0; }
.zeo-header-inner { width: 100%; }
.zeo-brand-mark { font-family: var(--zeo-display-font); font-size: clamp(26px, 2.5vw, 38px); letter-spacing: .08em; }
.zeo-site-header .wp-block-navigation-item__content { transition: opacity 180ms ease, color 180ms ease; }
.zeo-site-header .wp-block-navigation-item__content:hover { opacity: .58; }
.wp-block-navigation__submenu-container { min-width: 260px !important; padding: 18px !important; border: 0 !important; box-shadow: 0 20px 50px rgba(0,0,0,.12); }

.zeo-hero {
  min-height: min(720px, calc(100vh - var(--zeo-header-height)));
  position: relative;
  overflow: hidden;
}
.zeo-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.46)) !important; }
.zeo-hero-title { color: #fff !important; font-family: var(--zeo-display-font); font-size: clamp(58px, 9vw, 130px); line-height: .86; font-weight: 400; letter-spacing: -.045em; }
.zeo-hero-subtitle { color: #fff !important; font-size: clamp(12px, 1.1vw, 16px); letter-spacing: .12em; text-transform: uppercase; }

.zeo-feature-cover { min-height: min(760px, 78vw); overflow: hidden; }
.zeo-feature-cover img { transition: transform 1.2s cubic-bezier(.2,.72,.2,1); }
.zeo-feature-cover:hover img { transform: scale(1.035); }
.zeo-feature-cover .wp-block-cover__inner-container { height: 100%; display: flex; align-items: flex-end; }
.zeo-feature-copy { width: min(560px, 86vw); padding: clamp(24px, 4vw, 64px); }
.zeo-feature-copy h2, .zeo-feature-copy h3 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.zeo-feature-copy, .zeo-feature-copy a { color: #fff !important; }
.zeo-text-link { display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.zeo-dark-section { background: var(--zeo-surface-dark); color: var(--zeo-background) !important; }
.zeo-dark-section :where(h1,h2,h3,h4,h5,h6,p,a,cite,span) { color: var(--zeo-background) !important; }
.zeo-editorial-card { height: 100%; }
.zeo-editorial-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: saturate(.82); transition: filter 400ms ease, transform 700ms ease; }
.zeo-editorial-card:hover img { filter: saturate(1); transform: scale(1.02); }
.zeo-portrait img { filter: grayscale(1); transition: filter 450ms ease; }
.zeo-portrait:hover img { filter: grayscale(0); }
.zeo-office-grid { border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.zeo-office-grid > * { padding-top: 30px; }

.zeo-reveal { opacity: 1; transform: none; }
.zeo-reveal.is-visible { animation: zeo-reveal-in 900ms cubic-bezier(.22,.61,.36,1) both; }
@keyframes zeo-reveal-in { from { opacity: .72; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.zeo-carousel { position: relative; overflow: hidden; color: #fff; background: #151515; }
.zeo-carousel__viewport { position: relative; min-height: clamp(520px, 58vw, 820px); }
.zeo-carousel__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 900ms; }
.zeo-carousel__slide.is-active { opacity: 1; visibility: visible; }
.zeo-carousel__slide img, .zeo-carousel__slide video { width: 100%; height: 100%; object-fit: cover; }
.zeo-carousel__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.68)); }
.zeo-carousel__caption { position: absolute; z-index: 2; left: var(--zeo-page-gutter); right: var(--zeo-page-gutter); bottom: clamp(44px, 7vw, 96px); max-width: 650px; }
.zeo-carousel__caption h2 { margin: 0 0 10px; font-family: var(--zeo-display-font); font-size: clamp(48px, 7vw, 96px); line-height: .9; font-weight: 400; }
.zeo-carousel__controls { position: absolute; z-index: 3; inset: 50% var(--zeo-page-gutter) auto; display: flex; justify-content: space-between; pointer-events: none; }
.zeo-carousel__button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.2); backdrop-filter: blur(8px); cursor: pointer; pointer-events: auto; }
.zeo-carousel__dots { position: absolute; z-index: 3; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.zeo-carousel__dot { width: 24px; height: 2px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.zeo-carousel__dot.is-active { background: #fff; }

.zeo-dynamic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.zeo-dynamic-card__media { display: block; overflow: hidden; }
.zeo-dynamic-card__media img { width: 100%; aspect-ratio: var(--zeo-card-ratio, 4/5); object-fit: cover; transition: transform 800ms ease; }
.zeo-dynamic-card:hover img { transform: scale(1.035); }
.zeo-dynamic-card__title { font-family: var(--zeo-display-font); font-size: clamp(24px, 2.4vw, 38px); margin: 18px 0 6px; }
.zeo-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.zeo-filter button { border: 1px solid var(--zeo-border); background: transparent; color: inherit; padding: 10px 16px; font: 500 12px/1 var(--zeo-nav-font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.zeo-filter button.is-active, .zeo-filter button:hover { background: var(--zeo-primary); color: var(--zeo-background); border-color: var(--zeo-primary); }

.zeo-longform { font-family: var(--zeo-display-font); font-size: clamp(20px, 2vw, 29px); line-height: 1.45; }
.zeo-longform p { margin-block: 1.4em; }
.zeo-longform .wp-block-image { margin-block: clamp(50px, 8vw, 120px); }
.zeo-footer { padding-top: clamp(70px, 9vw, 130px); padding-bottom: 40px; }

@media (max-width: 1024px) {
  :root { --zeo-header-height: 92px; --zeo-page-gutter: 32px; }
  .zeo-dynamic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zeo-desktop-only { display: none !important; }
}

@media (max-width: 767px) {
  :root { --zeo-header-height: 76px; --zeo-page-gutter: 20px; --zeo-section-space: 76px; }
  body.admin-bar .zeo-site-header { top: 46px; }
  .zeo-site-header { min-height: var(--zeo-header-height); }
  .zeo-header-inner { flex-wrap: nowrap !important; }
  .zeo-hero { min-height: 640px; }
  .zeo-hero-title { font-size: clamp(52px, 19vw, 78px); }
  .zeo-feature-cover { min-height: 620px; }
  .zeo-feature-copy { padding: 26px 0; }
  .zeo-carousel__viewport { min-height: 610px; }
  .zeo-carousel__caption h2 { font-size: 54px; }
  .zeo-carousel__controls { inset-inline: 14px; }
  .zeo-dynamic-grid { grid-template-columns: 1fr; }
  .zeo-mobile-stack { flex-direction: column !important; }
  .zeo-tablet-up { display: none !important; }
  .zeo-office-grid { gap: 42px !important; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; background: var(--zeo-surface-dark) !important; color: var(--zeo-background) !important; }
}

@media (min-width: 768px) {
  .zeo-mobile-only { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .zeo-reveal { opacity: 1; transform: none; }
}
