/* BEVY CAFE 03-3 · v0.1 */
@font-face {
  font-family: Nunito;
  src: url("/assets/bevy/nunito-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  /* HOME v15 | Values extracted from the active cascade */
  --home-ink: #361546;
  --home-plum: #4c205f;
  --home-white: #fff5fb;
  --home-title: #421b53;
  --home-title-shadow: #381648;
  --home-nav-current: #ff9cdb;
  --home-action-hover: #782e87;
  --home-panel: #fff5fb96;
  --home-panel-rule: #d3a7ce;
  --home-title-rule: #3d14554a;
  --home-pattern-mark: #ffffff72;
  --home-focus: #341843;
  --home-focus-dark: #ffc3ec;
  --home-news-paper: #fff3fc;
  --home-news-meta: #73406e;
  --home-photo-mat: #fff0fc;
  --home-backdrop: #230d2dd9;
  --home-photo-dark: #24112f;

  --home-about-base: #f8dff1;
  --home-about-stripe: #edc5e1;
  --home-about-dot: #f3c7e5;
  --home-news-base: #a66bd0;
  --home-news-stripe: #bf92e5;
  --home-news-dot: #9956c5;
  --home-members-base: #f39dd5;
  --home-members-stripe: #ffd1ec;
  --home-members-dot: #e875b8;
  --home-guidelines-base: #e8c8f4;
  --home-guidelines-stripe: #e5c6ef;
  --home-guidelines-dot: #d7a9ed;
  --home-media-base: #de9cd0;
  --home-media-stripe: #f4c8e5;
  --home-media-dot: #cb82bc;
  --home-portrait-lilac: #b999ec;
  --home-portrait-pink: #e66caf;

  --home-font-latin: Nunito, Arial, sans-serif;
  --home-font-body: "BIZ UDPGothic", "Yu Gothic", Meiryo, sans-serif;
  --home-font-display: "Zen Maru Gothic", var(--home-font-body);
  --home-weight-latin: 800;
  --home-weight-display: 900;
  --home-title-size: clamp(2rem, 6.25vw, 5.6rem);
  --home-title-size-small: clamp(1.625rem, 8.5vw, 2.9rem);
  --home-title-leading: .99;
  --home-title-tracking: -.015em;
  --home-title-stroke: clamp(1px, .023em, 2px);
  --home-label-size: clamp(.72rem, 1.27vw, 1.13rem);
  --home-label-size-small: clamp(.9375rem, 3.8vw, 1.0625rem);
  --home-body-size: clamp(1.03rem, .98rem + .16vw, 1.1rem);
  --home-body-leading: 1.75;
  --home-about-title: clamp(2.125rem, 1.25rem + 1.8vw, 3rem);
  --home-about-title-small: clamp(1.625rem, 7vw, 2.125rem);
  --home-edge: clamp(22px, 6.1vw, 88px);
  --home-edge-wide: clamp(44px, 5.2vw, 76px);
  --home-band-top: clamp(27px, 3.85vw, 55px);
  --home-band-bottom: clamp(30px, 4.1vw, 59px);
  --home-heading-gap: 24px;
  --home-heading-gap-small: 20px;
  --home-radius-panel: 8px;
  --home-radius-card: 9px;
  --home-radius-dialog: 11px;
  --home-header-height: 77px;
  --home-header-height-small: 62px;
  --home-action-height: 43px;
  --home-action-height-small: 39px;
  --home-rail-control: 44px;
  --home-rail-control-small: 42px;
  --home-dialog-control: 40px;
  --home-dialog-max: 1100px;
  --home-photo-ratio: 16 / 9;
  --home-portrait-ratio: 1 / 1.52;
  --home-photo-frame: 6px;
  --home-portrait-inset-block: 5.8%;
  --home-portrait-inset-inline: 4.5%;
  --home-pattern-pitch: 20px;
  --home-pattern-width: 5px;
  --home-pattern-angle: 68deg;
  --home-pattern-angle-flipped: 112deg;
  --home-wave-height: 14px;
  --home-wave-pitch: 36px;
  --home-image-zoom: 1.10;
  --home-card-zoom: 1.015;
  --home-zoom-duration: 270ms;
  --home-zoom-ease: cubic-bezier(.25, .65, .3, 1);
  --home-member-label-duration: 220ms;
  --home-photo-interval: 5000ms;
  --home-photo-fade: 1000ms;

  /* 03-3 | Semantic aliases and provisional site-wide additions */
  --color-text: var(--home-ink);
  --color-brand: var(--home-plum);
  --color-on-brand: var(--home-white);
  --color-accent: var(--home-nav-current);
  --color-paper: var(--home-white);
  --color-action-hover: var(--home-action-hover);
  --color-link: var(--home-plum);
  --color-focus: var(--home-focus);
  --color-focus-on-brand: var(--home-focus-dark);
  --color-panel: var(--home-panel);
  --color-rule: var(--home-panel-rule);
  --color-muted: #6b476e;
  --color-control-border: #87598a;
  --color-plain: #fff;

  --font-body: var(--home-font-body);
  --font-display: var(--home-font-display);
  --font-latin: var(--home-font-latin);
  --text-page: clamp(1.625rem, 7vw, 2.125rem);
  --text-section: clamp(1.375rem, 2.4vw, 2rem);
  --text-subheading: 1.125rem;
  --text-body: 1rem;
  --text-label: .875rem;
  --text-meta: .8125rem;
  --leading-heading: 1.35;
  --leading-body: 1.75;
  --leading-meta: 1.5;
  --tracking-body: 0em;
  --tracking-label: .02em;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --gutter: clamp(16px, 3vw, 48px);
  --content-max: 1280px;
  --reading-max: 42rem;
  --grid-columns: 12;
  --grid-gap: 24px;
  --section-gap: 80px;
  --target-size: 44px;
  --line-width: 1px;
  --focus-width: 3px;
  --focus-offset: 3px;
  --radius-panel: var(--home-radius-panel);
  --radius-dialog: var(--home-radius-dialog);
  --photo-ratio: var(--home-photo-ratio);
  --portrait-ratio: var(--home-portrait-ratio);
  --motion-ui: 160ms;
  --motion-media: var(--home-zoom-duration);
  --motion-ease: var(--home-zoom-ease);
}

/* Viewport conditions are literal CSS queries for cross-browser support. */
@media (max-width: 980px) {
  :root {
    --grid-columns: 8;
    --grid-gap: 20px;
    --section-gap: 64px;
  }
}
@media (max-width: 620px) {
  :root {
    --grid-columns: 4;
    --grid-gap: 12px;
    --section-gap: 48px;
  }
}

[data-theme="about"] {
  --theme-base: var(--home-about-base);
  --theme-stripe: var(--home-about-stripe);
  --theme-dot: var(--home-about-dot);
}
[data-theme="news"] {
  --theme-base: var(--home-news-base);
  --theme-stripe: var(--home-news-stripe);
  --theme-dot: var(--home-news-dot);
  --theme-angle: var(--home-pattern-angle-flipped);
}
[data-theme="members"] {
  --theme-base: var(--home-members-base);
  --theme-stripe: var(--home-members-stripe);
  --theme-dot: var(--home-members-dot);
}
[data-theme="guidelines"] {
  --theme-base: var(--home-guidelines-base);
  --theme-stripe: var(--home-guidelines-stripe);
  --theme-dot: var(--home-guidelines-dot);
  --theme-angle: var(--home-pattern-angle-flipped);
}
[data-theme="media"] {
  --theme-base: var(--home-media-base);
  --theme-stripe: var(--home-media-stripe);
  --theme-dot: var(--home-media-dot);
}
