/* ===================================================================
   Spinanga Casino — design-bright.css
   Tokens: TYPO-10 · SPACE-02 · CONT-07 · BP-10 · GEO-08 · MOTION-04
   =================================================================== */

:root {
	--app-container-padding-tablet: 24px;
	/* colors (final, ±2% shifted) */
	--app-brand-color: #001b2e;
	--app-accent: #00fdc1;
	--app-highlight-active: #00d09e;
	--app-canvas: #002231;
	--app-surface-raised: #04313f;
	--app-gradient-from: #01e2db;
	--app-gradient-to: #ffe101;
	--app-ink: #ffffff;
	--app-muted: #c1bfbf;
	--app-alert-bg: #dc2626;

	/* fonts */
	--app-display-font: 'Inter', 'Rubik', system-ui, sans-serif;
	--app-body-font: 'Oswald', 'Fira Sans Condensed', system-ui, sans-serif;

	/* TYPO-10 */
	--app-text-h1: 60px;
	--app-size-h2: 34px;
	--app-type-h3: 24px;
	--app-fs-h4: 19px;
	--app-text-h5: 16px;
	--app-size-h6: 14px;
	--app-fs-body: 16px;
	--app-text-sm: 13px;
	--app-fs-micro: 10px;
	--app-line-tight: 1.1;
	--app-leading-normal: 1.5;
	--app-leading-loose: 1.65;
	--app-tracking-tight: -0.02em;
	--app-ls-normal: 0;
	--app-ls-wide: 0.06em;
	--app-fw-normal: 400;
	--app-font-medium: 600;
	--app-weight-bold: 800;

	/* SPACE-02 (8px modular) */
	--app-gap-2xs: 8px;
	--app-space-xs: 12px;
	--app-gap-sm: 16px;
	--app-space-md: 24px;
	--app-space-lg: 32px;
	--app-gap-xl: 48px;
	--app-gap-2xl: 72px;
	--app-gutter-3xl: 112px;

	/* CONT-07 */
	--app-max-width: 1200px;
	--app-measure: 680px;
	--app-inset-desktop: 48px;
	--app-gutter-mobile: 16px;

	/* GEO-08 (soft top, sharp bottom) */
	--app-radius-xs: 2px 2px 0 0;
	--app-corner-sm: 6px 6px 0 0;
	--app-rounded-md: 12px 12px 0 0;
	--app-radius-lg: 20px 20px 0 0;
	--app-round-full: 9999px;
	--app-circle: 50%;
	--app-shade-sm: 0 2px 4px rgba(0, 0, 0, 0.24);
	--app-depth-md: 0 4px 12px rgba(0, 0, 0, 0.32);
	--app-depth-lg: 0 10px 28px rgba(0, 0, 0, 0.42);

	/* MOTION-04 (sharp snappy) */
	--app-transition-fast: 80ms;
	--app-duration-base: 120ms;
	--app-duration-slow: 180ms;
	--app-ease-out: cubic-bezier(0.5, 0, 0.5, 1);

	--app-header-h: 120px;
	--app-header-h-mobile: 80px;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--app-canvas);
	color: var(--app-ink);
	font-family: var(--app-body-font);
	font-size: var(--app-fs-body);
	font-weight: var(--app-fw-normal);
	line-height: var(--app-leading-normal);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; }
h1 { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-text-h1); letter-spacing: var(--app-tracking-tight); line-height: var(--app-line-tight); text-transform: uppercase; }
h2 { font-family: var(--app-display-font); font-weight: var(--app-font-medium); font-size: var(--app-size-h2); line-height: var(--app-line-tight); }
h3 { font-family: var(--app-body-font); font-weight: var(--app-font-medium); font-size: var(--app-type-h3); }
h4 { font-family: var(--app-body-font); font-weight: var(--app-font-medium); font-size: var(--app-fs-h4); }
p { margin: 0 0 var(--app-space-md); }
strong { font-weight: var(--app-weight-bold); }

/* ---- a11y ---- */
.skip-link {
	position: absolute;
	left: var(--app-space-md);
	top: -200px;
	z-index: 200;
	background: var(--app-accent);
	color: var(--app-brand-color);
	padding: var(--app-gap-2xs) var(--app-space-md);
	border-radius: var(--app-corner-sm);
	font-family: var(--app-display-font);
	font-weight: var(--app-weight-bold);
	text-decoration: none;
}
.skip-link:not(:focus) { top: -200px !important; }
.skip-link:focus { top: var(--app-space-md); }

.main { display: block; }

@media (prefers-reduced-motion: reduce) {
	* { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* shared inner width — single section width (CONT-07) */
.atrium-inner, .pavilion-inner, .pillar-inner, .portico-inner, .lattice-inner,
.lozenge-inner, .glyph-inner, .court-inner, .antechamber-inner, .gallery-inner,
.tile-inner, .tile-articles-inner, .hutch-inner, .column-inner, .kiosk-inner,
.pagemedia-inner, .cresset-inner, .bay-inner {
	max-width: calc(var(--app-max-width) + 2 * var(--app-inset-desktop));
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--app-inset-desktop);
}
/* prose keeps a readable text measure via its blocks (not the -inner wrapper) */
.bay-inner > h2, .bay-inner > p, .bay-inner > ul { max-width: var(--app-measure); }

/* section vertical rhythm (SPACE-02, no inter-section margins) */
.pillar, .portico, .lattice, .lozenge, .glyph, .antechamber, .bay, .cresset,
.gallery, .tile, .tile-articles, .hutch, .kiosk, .pagemedia {
	padding-block: var(--app-gap-2xl);
}

/* =================== HEADER — HEAD-13 + STICKY-03 + NAV-02 =========== */
.atrium {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--app-canvas);
	transition: background var(--app-duration-base) var(--app-ease-out), backdrop-filter var(--app-duration-base) var(--app-ease-out);
}
.atrium.is-blurred {
	background: rgba(0, 34, 49, 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.atrium-inner {
	min-height: var(--app-header-h);
	display: flex;
	align-items: center;
	gap: var(--app-space-md);
}
.atrium-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.atrium-logo-img { height: 96px; width: auto; flex-shrink: 0; }
.atrium-nav { margin-left: auto; }
.atrium-nav-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--app-space-md);
	list-style: none;
	margin: 0;
	padding: 0;
}
.atrium-nav-item { position: relative; }
.atrium-nav-item--more { position: relative; }
.atrium-link {
	font-family: var(--app-body-font);
	font-weight: var(--app-font-medium);
	font-size: var(--app-text-sm);
	letter-spacing: var(--app-ls-wide);
	text-transform: uppercase;
	color: var(--app-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--app-transition-fast) var(--app-ease-out);
}
.atrium-link:hover, .atrium-link:focus-visible { color: var(--app-accent); }
body[data-current='/'] .atrium-link[data-nav='/'],
.atrium-link[aria-current='page'] { color: var(--app-accent); }
.atrium-more-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--app-gap-2xs);
	background: transparent;
	border: 0;
	cursor: pointer;
	color: var(--app-ink);
	font-family: var(--app-body-font);
	font-weight: var(--app-font-medium);
	font-size: var(--app-text-sm);
	letter-spacing: var(--app-ls-wide);
	text-transform: uppercase;
	padding: 0;
}
.atrium-more-toggle:hover, .atrium-more-toggle:focus-visible { color: var(--app-accent); }
.atrium-more-chevron { transition: transform var(--app-transition-fast) var(--app-ease-out); }
.atrium-more-toggle[aria-expanded='true'] .atrium-more-chevron { transform: rotate(180deg); }
.atrium-more-menu {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	margin: 0;
	padding: var(--app-gap-2xs) 0;
	list-style: none;
	min-width: 210px;
	background: var(--app-surface-raised);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--app-rounded-md);
	box-shadow: var(--app-depth-md);
	z-index: 110;
}
.atrium-more-menu[hidden] { display: none; }
.atrium-more-menu.is-open { display: block; }
.atrium-more-link {
	display: block;
	padding: var(--app-space-xs) var(--app-space-md);
	color: var(--app-ink);
	text-decoration: none;
	white-space: nowrap;
	font-family: var(--app-body-font);
	font-weight: var(--app-font-medium);
	font-size: var(--app-text-sm);
	letter-spacing: var(--app-ls-wide);
	text-transform: uppercase;
	transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out);
}
.atrium-more-link:hover, .atrium-more-link:focus-visible { background: rgba(255, 255, 255, 0.06); color: var(--app-accent); }
.atrium-toggle {
	display: none;
	margin-left: auto !important;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: var(--app-gap-2xs);
}
.atrium-toggle-bar { display: block; width: 26px; height: 3px; background: var(--app-ink); }
.atrium-drawer { display: none; }
.atrium-drawer-list { list-style: none; margin: 0; padding: var(--app-gap-sm) var(--app-gutter-mobile) var(--app-space-lg); }
.atrium-drawer-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.atrium-drawer-link {
	display: block;
	padding: var(--app-gap-sm) 0;
	color: var(--app-ink);
	text-decoration: none;
	font-family: var(--app-body-font);
	font-weight: var(--app-font-medium);
	font-size: var(--app-text-h5);
	letter-spacing: var(--app-ls-wide);
	text-transform: uppercase;
}
.atrium-drawer-link[aria-current='page'] { color: var(--app-accent); }

/* =================== HERO — HERO-09 Two-Column Card Stack =========== */
.pillar { padding-block: var(--app-gap-2xl); }
.pillar-inner {
	display: grid;
	grid-template-columns: 60% 40%;
	gap: var(--app-gap-2xl);
	align-items: center;
}
.pillar-content { padding-block: var(--app-gap-xl); }
.pillar-title { margin-bottom: var(--app-space-md); }
.pillar-subtitle {
	max-width: 540px;
	font-size: var(--app-text-h5);
	line-height: var(--app-leading-normal);
	color: var(--app-muted);
	margin-bottom: var(--app-space-lg);
}
.pillar-cta, .kiosk-btn, .court-button, .mosaic-button, .gallery-submit, .promenade-button {
	font-family: var(--app-display-font);
	font-weight: var(--app-weight-bold);
	text-transform: uppercase;
	letter-spacing: var(--app-ls-wide);
	text-decoration: none;
	cursor: pointer;
	border: 0;
}
.pillar-cta {
	display: inline-flex;
	align-items: center;
	padding: var(--app-gap-sm) var(--app-gap-xl);
	background: var(--app-accent);
	color: var(--app-brand-color);
	border-radius: var(--app-corner-sm);
	font-size: var(--app-text-h5);
	transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out);
}
.pillar-cta:hover, .pillar-cta:focus-visible { background: var(--app-highlight-active); color: var(--app-brand-color); }
.pillar-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--app-space-md); }
.pillar-feature {
	display: flex;
	align-items: center;
	gap: var(--app-space-md);
	padding: var(--app-space-md);
	background: var(--app-surface-raised);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--app-rounded-md);
}
.pillar-feature-num { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-type-h3); color: var(--app-accent); flex-shrink: 0; }
.pillar-feature-title { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-fs-body); line-height: var(--app-line-tight); }

/* =================== BREADCRUMBS — BREAD-05 Slashed Display ========= */
.column { padding-block: var(--app-space-md); }
.column-list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.column-item {
	font-family: var(--app-display-font);
	font-weight: var(--app-weight-bold);
	font-size: var(--app-text-h5);
	text-transform: uppercase;
	letter-spacing: var(--app-tracking-tight);
	color: var(--app-ink);
}
.column-link { color: var(--app-muted); text-decoration: none; transition: color var(--app-transition-fast) var(--app-ease-out); }
.column-link:hover, .column-link:focus-visible { color: var(--app-accent); }
.column-sep { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-text-h5); color: var(--app-accent); margin-inline: var(--app-space-xs); }

/* =================== PAGE-HEADER — PHEAD-07 Number + Title ========== */
.portico-inner { display: grid; grid-template-columns: 120px 1fr; gap: var(--app-space-lg); align-items: start; }
.portico-number { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: calc(var(--app-text-h1) * 1.4); line-height: 1; color: var(--app-accent); }
.portico-body { min-width: 0; }
.portico-title { max-width: 920px; }
.portico-description { max-width: 720px; margin-top: var(--app-space-md); font-size: var(--app-text-h5); line-height: var(--app-leading-normal); color: var(--app-muted); }

/* =================== INLINE-CTA — INLINE-CTA-05 Quote Banner ======== */
.kiosk { background: var(--app-surface-raised); }
.kiosk-inner { text-align: center; }
.kiosk-quote {
	max-width: 720px;
	margin: 0 auto var(--app-space-md);
	font-family: var(--app-display-font);
	font-style: italic;
	font-size: var(--app-type-h3);
	color: var(--app-ink);
	line-height: var(--app-leading-normal);
}
.kiosk-btn {
	display: inline-flex;
	align-items: center;
	padding: var(--app-space-xs) var(--app-gap-xl);
	background: transparent;
	border: 2px solid var(--app-accent);
	color: var(--app-accent);
	border-radius: var(--app-corner-sm);
	font-size: var(--app-text-h5);
	transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out);
}
.kiosk-btn:hover, .kiosk-btn:focus-visible { background: var(--app-accent); color: var(--app-canvas); }

/* =================== PROSE — PROSE-07 Numbered Section Headers ====== */
.bay-inner { counter-reset: section; }
.bay-inner h2 {
	margin: var(--app-gap-xl) 0 var(--app-space-md);
	font-family: var(--app-display-font);
	font-weight: var(--app-weight-bold);
	font-size: var(--app-size-h2);
	line-height: var(--app-line-tight);
}
.bay-inner h2::before {
	counter-increment: section;
	content: counter(section, decimal-leading-zero) ". ";
	color: var(--app-accent);
	font-family: var(--app-display-font);
	font-weight: var(--app-weight-bold);
	margin-right: var(--app-gap-2xs);
}
.bay-inner h2:first-child { margin-top: 0; }
.bay-inner p { font-size: var(--app-fs-body); line-height: var(--app-leading-loose); margin-bottom: var(--app-space-md); }
.bay-list { margin: 0 0 var(--app-space-md); padding-left: var(--app-space-lg); }
.bay-list li { margin-bottom: var(--app-gap-2xs); line-height: var(--app-leading-loose); }
.bay-link {
	color: var(--app-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: text-decoration-thickness var(--app-transition-fast) var(--app-ease-out);
}
.bay-link:hover, .bay-link:focus-visible { text-decoration-thickness: 2px; color: var(--app-accent); }

/* =================== ITEMS-GRID — GRID-03 Asymmetric Widths ========= */
.lattice-heading { margin-bottom: var(--app-space-lg); font-family: var(--app-display-font); font-weight: var(--app-weight-bold); }
.lattice-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 3fr 2fr; gap: var(--app-space-lg); }
.lattice-item:nth-child(4n+3) { grid-column: 1; }
.lattice-list { grid-auto-flow: row; }
.lattice-item {
	padding: var(--app-space-lg);
	background: var(--app-surface-raised);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--app-rounded-md);
}
.lattice-item-title { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-fs-h4); margin-bottom: var(--app-space-xs); }
.lattice-item-text { font-size: var(--app-fs-body); line-height: var(--app-leading-normal); color: var(--app-muted); margin: 0; }

/* =================== REVIEWS — REV-10 Minimal Underlined ============ */
.glyph-heading { margin-bottom: var(--app-space-lg); font-family: var(--app-display-font); font-weight: var(--app-weight-bold); }
.glyph-item { padding-block: var(--app-space-md); border-bottom: 1px dotted rgba(255, 255, 255, 0.2); }
.glyph-item:last-child { border-bottom: 0; }
.glyph-item-header { display: flex; align-items: baseline; gap: var(--app-gap-sm); margin-bottom: var(--app-gap-2xs); }
.glyph-author { font-size: var(--app-fs-body); font-weight: var(--app-font-medium); }
.glyph-rating { font-size: var(--app-text-sm); color: var(--app-accent); }
.glyph-text { font-size: var(--app-fs-body); line-height: var(--app-leading-loose); color: var(--app-ink); margin: 0; }

/* =================== FAQ — FAQ-08 Bordered Box + Indicator Bar ====== */
.lozenge-heading { margin-bottom: var(--app-space-lg); font-family: var(--app-display-font); font-weight: var(--app-weight-bold); }
.lozenge-list {
	margin: 0;
	background: rgba(0, 27, 46, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--app-radius-lg);
	padding: var(--app-gap-xl);
}
.lozenge-item { position: relative; padding-left: var(--app-space-md); box-shadow: inset 4px 0 0 var(--app-accent); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.lozenge-item:last-child { border-bottom: 0; }
.lozenge-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--app-space-md);
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	padding: var(--app-space-md) 0;
	color: var(--app-ink);
	font-family: var(--app-body-font);
	font-weight: var(--app-weight-bold);
	font-size: var(--app-text-h5);
	transition: color var(--app-transition-fast) var(--app-ease-out);
}
.lozenge-question:hover, .lozenge-question:focus-visible { color: var(--app-accent); }
.lozenge-question-text { flex: 1; }
.lozenge-icon { flex-shrink: 0; font-size: var(--app-type-h3); color: var(--app-accent); line-height: 1; transition: transform var(--app-transition-fast) var(--app-ease-out); }
.lozenge-question[aria-expanded='true'] .lozenge-icon { transform: rotate(45deg); }
.lozenge-answer { padding: 0 0 var(--app-space-md); }
.lozenge-answer[hidden] { display: none; }
.lozenge-answer p { font-size: var(--app-fs-body); line-height: var(--app-leading-loose); color: var(--app-muted); margin: 0; }

/* =================== DATA-TABLE — TABLE-06 Editorial + Caption ====== */
.antechamber-scroll { overflow-x: auto; }
.antechamber-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.antechamber-caption { font-family: var(--app-display-font); font-style: italic; font-size: var(--app-fs-h4); color: var(--app-muted); text-align: center; padding-bottom: var(--app-space-md); }
.antechamber-table th[scope='col'] { text-align: left; font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-text-sm); text-transform: uppercase; letter-spacing: var(--app-ls-wide); color: var(--app-ink); padding-block: var(--app-space-md); border-bottom: 2px solid var(--app-accent); }
.antechamber-table td, .antechamber-table th[scope='row'] { padding: var(--app-space-md); font-size: var(--app-fs-body); border-bottom: 1px solid rgba(255, 255, 255, 0.06); text-align: left; }
.antechamber-table th[scope='row'] { color: var(--app-ink); font-weight: var(--app-font-medium); }
.antechamber-table td { color: var(--app-muted); }
.antechamber-table tbody tr:last-child td, .antechamber-table tbody tr:last-child th { border-bottom: 0; }

/* =================== CTA-BLOCK — CTA-08 Inverted Dark Block ========= */
.court { background: linear-gradient(135deg, #003043, var(--app-brand-color)); padding-block: var(--app-gap-2xl); }
.court-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--app-space-lg); }
.court-text { display: block; }
.court-title { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-text-h1); text-transform: uppercase; letter-spacing: var(--app-tracking-tight); color: var(--app-ink); line-height: var(--app-line-tight); }
.court-description { max-width: 640px; font-size: var(--app-text-h5); line-height: var(--app-leading-normal); color: rgba(255, 255, 255, 0.78); margin: 0; }
.court-button {
	display: inline-flex;
	align-items: center;
	height: 64px;
	padding-inline: var(--app-gap-2xl);
	background: var(--app-accent);
	color: var(--app-brand-color);
	border-radius: var(--app-corner-sm);
	font-size: var(--app-text-h5);
	transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out);
}
.court-button:hover, .court-button:focus-visible { background: var(--app-highlight-active); color: var(--app-brand-color); }

/* =================== PAGE MEDIA (per-page images) ================== */
.pagemedia-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--app-space-lg); }
.pagefig { margin: 0; }
.pagefig-img { width: 100%; height: auto; border-radius: var(--app-rounded-md); }

/* =================== LEGAL — LEGAL-07 Magazine Editorial =========== */
.cresset-eyebrow { display: block; font-size: var(--app-fs-micro); text-transform: uppercase; letter-spacing: var(--app-ls-wide); color: var(--app-accent); margin-bottom: var(--app-gap-sm); }
.cresset-intro { font-family: var(--app-display-font); font-style: italic; font-size: var(--app-fs-h4); line-height: var(--app-leading-normal); color: var(--app-ink); margin-bottom: var(--app-gap-xl); }
.cresset-section { margin-bottom: var(--app-gap-xl); }
.cresset-h3 { font-family: var(--app-display-font); font-style: italic; font-size: var(--app-type-h3); margin-bottom: var(--app-gap-sm); }
.cresset-divider { width: 80px; height: 3px; border: 0; background: var(--app-accent); margin: 0 0 var(--app-space-md); }
.cresset-section p:first-of-type::first-letter { font-size: 3em; float: left; line-height: 0.8; padding-right: var(--app-gap-2xs); color: var(--app-accent); font-family: var(--app-display-font); font-weight: var(--app-weight-bold); }
.cresset-section p { line-height: var(--app-leading-loose); }
.cresset-contacts { margin: 0; padding-left: var(--app-space-lg); }
.cresset-contacts li { margin-bottom: var(--app-space-xs); line-height: var(--app-leading-normal); }
.cresset-disclaimer { border-left: 4px solid var(--app-accent); background: var(--app-surface-raised); padding: var(--app-space-md); font-size: var(--app-text-sm); color: var(--app-muted); }

/* =================== CONTACT FORM — FORM-04 base (3 fields) ========= */
.gallery-intro { max-width: var(--app-measure); margin-bottom: var(--app-space-lg); color: var(--app-muted); line-height: var(--app-leading-normal); }
.gallery-form { max-width: 640px; }
.gallery-field { margin-bottom: var(--app-space-md); }
.gallery-label { display: block; margin-bottom: var(--app-gap-2xs); font-size: var(--app-text-sm); text-transform: uppercase; letter-spacing: var(--app-ls-wide); color: var(--app-muted); }
.gallery-input {
	width: 100%;
	min-height: 48px;
	padding: var(--app-space-xs) var(--app-gap-sm);
	background: var(--app-surface-raised);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--app-corner-sm);
	color: var(--app-ink);
	font-family: var(--app-body-font);
	font-size: var(--app-fs-body);
}
.gallery-textarea { min-height: 120px; resize: vertical; }
.gallery-input:focus { outline: none; border-color: var(--app-accent); }
.gallery-submit {
	margin-top: var(--app-gap-sm);
	min-height: 48px;
	padding-inline: var(--app-gap-xl);
	background: var(--app-accent);
	color: var(--app-brand-color);
	border-radius: var(--app-corner-sm);
	font-size: var(--app-text-h5);
	transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out);
}
.gallery-submit:hover, .gallery-submit:focus-visible { background: var(--app-highlight-active); color: var(--app-brand-color); }
.gallery-success { margin-top: var(--app-space-md); padding: var(--app-space-md); background: var(--app-surface-raised); border-left: 4px solid var(--app-accent); color: var(--app-ink); }
.gallery-success[hidden] { display: none; }

/* =================== AUTHOR-CARD — AUTH-07 Quote-Style ============= */
.tile-card {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: var(--app-space-lg);
	align-items: start;
	background: var(--app-surface-raised);
	padding: var(--app-gap-xl);
	border-radius: var(--app-rounded-md);
	border-left: 4px solid var(--app-accent);
}
.tile-portrait {
	width: 100px; height: 100px;
	border-radius: var(--app-circle);
	object-fit: cover;
	object-position: center 20%;
	background: var(--app-surface-raised);
	border: 3px solid var(--app-surface-raised);
	box-sizing: content-box;
}
.tile-body { min-width: 0; }
.tile-quote-mark { display: block; font-family: var(--app-display-font); font-size: var(--app-text-h1); line-height: 0.6; color: var(--app-accent); }
.tile-bio { font-style: italic; font-size: var(--app-text-h5); line-height: var(--app-leading-normal); color: var(--app-ink); margin: var(--app-gap-sm) 0; }
.tile-attr { font-size: var(--app-text-sm); letter-spacing: var(--app-ls-wide); color: var(--app-muted); margin: 0; }
.tile-articles-heading { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-fs-h4); margin-bottom: var(--app-space-md); }
.tile-articles-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--app-space-xs); }
.tile-articles-item { font-size: var(--app-fs-body); line-height: var(--app-leading-normal); }
.tile-articles-link { color: var(--app-accent); text-decoration: underline; text-underline-offset: 3px; transition: color var(--app-transition-fast) var(--app-ease-out); }
.tile-articles-link:hover, .tile-articles-link:focus-visible { color: var(--app-highlight-active); }

/* =================== AUTHOR-BYLINE — BYLINE-07 Expertise Tags ====== */
.hutch-card { padding: var(--app-space-lg); background: var(--app-surface-raised); border-radius: var(--app-rounded-md); box-shadow: var(--app-shade-sm); }
.hutch-header { display: flex; align-items: center; gap: var(--app-gap-sm); margin-bottom: var(--app-space-md); }
.hutch-portrait {
	width: 72px; height: 72px;
	border-radius: var(--app-circle);
	object-fit: cover;
	object-position: center 20%;
	background: var(--app-surface-raised);
	border: 2px solid var(--app-surface-raised);
	box-sizing: content-box;
	flex-shrink: 0;
}
.hutch-id { min-width: 0; }
.hutch-name { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-fs-h4); }
.hutch-name-link { color: var(--app-ink); text-decoration: none; }
.hutch-name-link:hover, .hutch-name-link:focus-visible { color: var(--app-accent); }
.hutch-role { font-size: var(--app-text-sm); color: var(--app-muted); margin: var(--app-gap-2xs) 0 0; }
.hutch-bio { font-size: var(--app-fs-body); line-height: var(--app-leading-loose); color: var(--app-muted); margin-bottom: var(--app-space-md); }
.hutch-expertise { display: flex; flex-wrap: wrap; gap: var(--app-space-xs); margin-bottom: var(--app-space-md); }
.hutch-tag { padding: var(--app-gap-2xs) var(--app-gap-sm); background: var(--app-brand-color); border-radius: var(--app-round-full); font-size: var(--app-fs-micro); text-transform: uppercase; letter-spacing: var(--app-ls-wide); color: var(--app-ink); }
.hutch-link { color: var(--app-accent); text-decoration: underline; text-underline-offset: 3px; font-weight: var(--app-font-medium); transition: color var(--app-transition-fast) var(--app-ease-out); }
.hutch-link:hover, .hutch-link:focus-visible { color: var(--app-highlight-active); }

/* =================== FOOTER — FOOT-02 Two-Row Brand + Nav ========== */
.pavilion { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: var(--app-gap-xl); }
.pavilion-row { width: 100%; }
.pavilion-row--top { display: flex; align-items: center; justify-content: space-between; gap: var(--app-space-lg); }
.pavilion-logo { flex-shrink: 0; display: inline-flex; }
.pavilion-nav { flex: 1; }
.pavilion-logo-img { height: 72px; width: auto; }
.pavilion-nav-list { display: flex; flex-wrap: wrap; gap: var(--app-space-md); list-style: none; margin: 0; padding: 0; }
.pavilion-link { color: var(--app-muted); text-decoration: none; font-size: var(--app-text-sm); text-transform: uppercase; letter-spacing: var(--app-ls-wide); transition: color var(--app-transition-fast) var(--app-ease-out); }
.pavilion-link:hover, .pavilion-link:focus-visible { color: var(--app-ink); }
.pavilion-row--bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--app-space-md); margin-top: var(--app-space-md); padding-top: var(--app-space-md); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pavilion-legal { flex-shrink: 0; }
.pavilion-copyright { font-size: var(--app-fs-micro); text-transform: uppercase; letter-spacing: var(--app-ls-wide); color: var(--app-muted); }
.pavilion-legal-list { display: flex; flex-wrap: wrap; gap: var(--app-gap-sm); list-style: none; margin: 0; padding: 0; }
.pavilion-legal-link { color: var(--app-muted); text-decoration: none; font-size: var(--app-fs-micro); text-transform: uppercase; letter-spacing: var(--app-ls-wide); transition: color var(--app-transition-fast) var(--app-ease-out); }
.pavilion-legal-link:hover, .pavilion-legal-link:focus-visible { color: var(--app-ink); }

/* =================== COOKIE — COOK-03 Corner Card ================== */
.promenade {
	position: fixed;
	right: var(--app-space-md);
	bottom: var(--app-space-md);
	max-width: 360px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: var(--app-space-md);
	padding: var(--app-space-lg);
	background: var(--app-surface-raised);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--app-radius-lg);
	box-shadow: var(--app-depth-lg);
}
.promenade[hidden] { display: none; }
.promenade-title { font-family: var(--app-display-font); font-weight: var(--app-weight-bold); font-size: var(--app-text-h5); text-transform: uppercase; letter-spacing: var(--app-ls-wide); color: var(--app-accent); }
.promenade-message { font-size: var(--app-text-sm); line-height: var(--app-leading-normal); color: var(--app-muted); margin: 0; }
.promenade-actions { display: flex; gap: var(--app-gap-sm); }
.promenade-button { flex: 1; min-height: 40px; border-radius: var(--app-corner-sm); font-size: var(--app-text-sm); transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out); }
.promenade-button--app-accept { background: var(--app-accent); color: var(--app-brand-color); }
.promenade-button--app-accept:hover, .promenade-button--app-accept:focus-visible { background: var(--app-highlight-active); color: var(--app-brand-color); }
.promenade-button--app-decline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.24); color: var(--app-ink); }
.promenade-button--app-decline:hover, .promenade-button--app-decline:focus-visible { background: rgba(255, 255, 255, 0.08); color: var(--app-ink); }

/* =================== ERROR — ERR-04 Full-Bleed Atmospheric ========= */
.mosaic {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: var(--app-gap-2xl);
	background: url('/photo-warm/marquee-24.webp') center / cover no-repeat, var(--app-brand-color);
	overflow: hidden;
}
.mosaic-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 30, 0.55), rgba(0, 10, 16, 0.85)); }
.mosaic-content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin-inline: auto;
	padding-inline: var(--app-inset-desktop);
	text-align: center;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}
.mosaic-title { color: #ffffff; margin-bottom: var(--app-space-md); }
.mosaic-text { color: rgba(255, 255, 255, 0.9); font-size: var(--app-text-h5); line-height: var(--app-leading-normal); margin-bottom: var(--app-space-lg); }
.mosaic-button {
	display: inline-flex;
	align-items: center;
	padding: var(--app-gap-sm) var(--app-gap-xl);
	background: var(--app-accent);
	color: var(--app-brand-color);
	border-radius: var(--app-corner-sm);
	font-size: var(--app-text-h5);
	transition: background var(--app-transition-fast) var(--app-ease-out), color var(--app-transition-fast) var(--app-ease-out);
}
.mosaic-button:hover, .mosaic-button:focus-visible { background: var(--app-highlight-active); color: var(--app-brand-color); }

/* =================== RESPONSIVE (BP-10, desktop-first) ============= */
@media (max-width: 1136px) {
	:root { --app-text-h1: 48px; }
	.atrium-inner, .pavilion-inner, .pillar-inner, .portico-inner, .lattice-inner,
	.lozenge-inner, .glyph-inner, .court-inner, .antechamber-inner, .gallery-inner,
	.tile-inner, .tile-articles-inner, .hutch-inner, .column-inner, .kiosk-inner,
	.pagemedia-inner { padding-inline: var(--app-container-padding-tablet, 24px); }
	.bay-inner, .cresset-inner { padding-inline: 24px; }
}

@media (max-width: 832px) {
	:root { --app-text-h1: 36px; --app-size-h2: 26px; --app-type-h3: 20px; --app-fs-h4: 17px; --app-fs-body: 15px; --app-text-sm: 12px; --app-header-h: var(--app-header-h-mobile); }
	.atrium-inner { min-height: var(--app-header-h-mobile); }
	.atrium-logo-img { height: 68px; }
	.atrium-nav { display: none; }
	.atrium-toggle { display: flex; }
	.atrium-drawer.is-open { display: block; background: var(--app-canvas); border-top: 1px solid rgba(255, 255, 255, 0.08); }
	.pillar { padding-block: var(--app-gap-2xl); }
	.pillar-inner { grid-template-columns: 1fr; gap: var(--app-gap-xl); }
	.portico-inner { grid-template-columns: 1fr; gap: var(--app-gap-sm); }
	.portico-number { font-size: var(--app-text-h1); }
	.lattice-list { grid-template-columns: 1fr; }
	.pagemedia-inner { grid-template-columns: 1fr; }
	.pavilion-row--top { flex-direction: column; align-items: flex-start; gap: var(--app-space-md); }
	.pavilion-row--bottom { flex-direction: column; align-items: flex-start; }
	.court-title { font-size: var(--app-size-h2); }
	.tile-card { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	.promenade {
		right: var(--app-space-md);
		left: var(--app-space-md);
		max-width: none;
		width: auto;
	}
	.promenade-actions { flex-direction: row; }
}

@media (max-width: 488px) {
	.atrium-logo-img { height: 60px; }
	.lozenge-list { padding: var(--app-space-md); }
	.glyph-item-header { flex-wrap: wrap; gap: var(--app-gap-2xs); }
}
