/* CREVOX Art: readable editorial type and a cohesive brand lockup. */
:root {
  --red: #b83223; --red-bright: #d43b28; --paper: #f8f7f2;
  --white: #fffefa; --ink: #242620; --muted: #5e6057;
}
.brand, .help-wordmark, .owner-brand, .footer-wordmark {
  font-family: var(--sans); font-weight: 600; letter-spacing: .01em; line-height: 1.1;
}
.brand { gap: 12px; flex-shrink: 0; }
.brand > .brand-copy {
  display: grid; grid-template-columns: max-content; align-content: center;
  gap: 0; white-space: nowrap; line-height: 1;
}
.brand .brand-name {
  display: block; margin: 0; font: 600 28px/1.05 var(--sans); letter-spacing: .01em;
}
.brand .brand-caption {
  display: block; margin: 0; font: 400 14.5px/1.15 var(--sans);
  letter-spacing: normal; word-spacing: normal; text-align: left;
}
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.owner-brand > span {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; line-height: 1.4; margin-top: 6px;
}
.site-header {
  height: 96px; padding-inline: max(56px, calc((100% - 1320px) / 2)); gap: 28px;
}
.public-nav { gap: clamp(20px, 2vw, 30px); font-size: 16px; font-weight: 600; line-height: 1.4; }
.public-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.site-header .header-enter, .help-header > .button {
  white-space: nowrap; font-size: 15px; font-weight: 600;
  min-height: 48px; padding: 13px 20px; gap: 18px;
}
.hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-copy { min-width: 0; }
.hero h1.exhibition-title {
  font-size: clamp(52px, 5.3vw, 84px); font-weight: 500;
  line-height: 1.1; letter-spacing: -.035em; margin-block: 24px 26px;
}
.hero-description { max-width: 48ch; font-size: 18px; line-height: 1.65; color: var(--muted); }
.hero-actions > .button, .hero-actions > .text-link { font-size: 16px; font-weight: 600; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.hero-note { font-size: 14px; }
.hero-art figcaption { font-size: 12px; line-height: 1.5; }
.about-section h2, .feature-heading h2, .closing-section h2 {
  font-size: clamp(42px, 4.3vw, 66px); font-weight: 500;
  line-height: 1.12; letter-spacing: -.025em;
}
.organizer-layout > * { min-width: 0; }
.organizer-layout h2 {
  font-size: clamp(40px, 5vw, 70px); font-weight: 500;
  line-height: 1.12; letter-spacing: -.025em;
}
.about-bottom > p, .feature-heading > p:last-child, .feature-card > p,
.organizer-intro, .public-copy, .public-topic-lead, .help-summary,
.help-entry ol, .help-hero > p:last-child, .help-outro > p {
  font-size: 17px; line-height: 1.7;
}
.public-topic-hero h1, .help-hero h1 {
  font-size: clamp(48px, 5.3vw, 80px); line-height: 1.1; letter-spacing: -.03em;
}
.public-footer nav, .public-footer .footer-tagline { font-size: 15px; line-height: 1.6; }
.art-frame { background: #ebe6d8; }
.manifesto-strip { color: var(--white); }
.public-mobile-menu nav a {
  text-decoration: none; border-bottom: 1px solid var(--line); transition: background .15s;
}
.public-mobile-menu nav a:hover, .public-mobile-menu nav a:focus-visible { background: #ece9df; }
.public-mobile-menu summary { border: 1px solid var(--line); border-radius: 4px; }
.public-mobile-menu[open] summary { background: var(--ink); color: var(--paper); }

@media (max-width: 1150px) and (min-width: 1025px) {
  .site-header { padding-inline: 36px; gap: 24px; }
  .public-nav { gap: 20px; font-size: 15px; }
}
@media (max-width: 1024px) {
  .site-header, body.public-page .site-header, body.help-page .site-header,
  body[data-mode="welcome"] .site-header, body[data-mode="auth"] .site-header {
    height: 84px; padding-inline: 24px; gap: 12px;
  }
  .public-nav { display: none; }
  .site-header .header-enter, .help-header > .button { display: none; }
  .public-mobile-menu { display: block; position: static; flex: none; margin-left: auto; }
  body[data-mode="studio"] .public-mobile-menu { display: none; }
  .public-mobile-menu summary {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 8px;
    font-size: 14px; font-weight: 600; cursor: pointer; list-style: none;
  }
  .public-mobile-menu summary::-webkit-details-marker { display: none; }
  .public-mobile-menu nav {
    inset: calc(100% + 8px) 24px auto; min-width: 0; padding: 12px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px;
    background: var(--white); box-shadow: 0 12px 28px #24262012; border-radius: 4px;
  }
  .public-mobile-menu nav a {
    display: flex; align-items: center; min-height: 52px; padding: 12px 8px;
    font-size: 16px; font-weight: 500;
  }
  .public-mobile-menu nav > .mobile-studio-link {
    grid-column: 1 / -1; justify-content: space-between; padding-inline: 16px;
    background: var(--ink); color: var(--paper); border-color: var(--ink);
    font-weight: 600; border-radius: 2px;
  }
  .public-mobile-menu nav > .mobile-studio-link:hover,
  .public-mobile-menu nav > .mobile-studio-link:focus-visible { background: #414139; }
  .site-header:has(.public-mobile-menu[open]) { margin-bottom: 264px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; gap: 36px; }
  .hero h1.exhibition-title { font-size: clamp(48px, 6.8vw, 68px); }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 24px; }
  .hero-art { width: 100%; }
  .hero-art .art-frame { min-height: 0; max-height: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) {
  .site-header, body.public-page .site-header, body.help-page .site-header,
  body[data-mode="welcome"] .site-header, body[data-mode="auth"] .site-header {
    height: 80px; padding-inline: 20px; gap: 10px;
  }
  .brand, body.public-page .brand, body[data-mode="welcome"] .brand,
  body[data-mode="auth"] .brand { gap: 10px; }
  .brand-mark, body.public-page .brand-mark { width: 36px; height: 36px; }
  .brand > .brand-copy { gap: 0; }
  .brand .brand-name { font-size: 24px; }
  .brand .brand-caption { font-size: 12.5px; }
  .site-header .header-enter, .help-header > .button {
    min-height: 44px !important; padding: 11px 12px !important;
    font-size: 13px !important; gap: 8px !important;
  }
  .site-header .header-enter span { font-size: 18px; }
  .public-mobile-menu summary { font-size: 13px; padding-inline: 6px; }
  .public-mobile-menu nav { left: 20px; right: 20px; }
  .hero { padding-top: 36px; gap: 32px; }
  .hero h1.exhibition-title {
    font-size: clamp(36px, 10.6vw, 56px); line-height: 1.15; margin-block: 20px 24px;
  }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 12px 20px; margin-top: 24px; }
  .hero-actions > .button { min-height: 52px; padding: 16px 18px; }
  .hero-art .art-frame { aspect-ratio: 4 / 4.7; }
  .hero-art figcaption { flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 380px) {
  .site-header, body.public-page .site-header, body.help-page .site-header,
  body[data-mode="welcome"] .site-header, body[data-mode="auth"] .site-header {
    padding-inline: 12px; gap: 8px;
  }
  .brand, body.public-page .brand, body[data-mode="welcome"] .brand,
  body[data-mode="auth"] .brand { gap: 8px; }
  .brand-mark, body.public-page .brand-mark { width: 36px; height: 36px; }
  .brand .brand-name { font-size: 24px; }
  .brand .brand-caption { font-size: 12.5px; }
  .site-header .header-enter, .help-header > .button {
    padding-inline: 10px !important; font-size: 12px !important;
  }
  .site-header .header-enter span[aria-hidden] { display: none; }
  .public-mobile-menu nav { left: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-mobile-menu nav a { transition: none; }
}
.founder-bio { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.founder-bio .button { margin-top: 16px; white-space: normal; line-height: 1.5; }
.founder-portrait { transform: none; max-width: 380px; justify-self: end; }
.founder-portrait img { border-radius: 4px; }
@media (max-width: 800px) {
  .founder-portrait { justify-self: start; width: min(100%, 340px); }
}


/* A generous, stacked signature closes every page. */
.footer-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-mark { display: block; width: 80px; height: 80px; object-fit: contain; }
.footer-wordmark > .footer-brand-name { color: var(--ink); font: inherit; margin: 0; letter-spacing: inherit; }
.owner-footer .footer-tagline { margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 450; }
@media (max-width: 600px) { .footer-mark { width: 72px; height: 72px; } .footer-wordmark { gap: 14px; } }

/* One brand tagline, followed by optional descriptive support. */
.footer-brand-tagline { margin-top: 12px; color: var(--ink); font: 400 14.5px/1.3 var(--sans); letter-spacing: normal; word-spacing: normal; }
.public-footer .footer-tagline, .owner-footer .footer-tagline { margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--muted); }

/* Approved photographic signature preserves the supplied lettering exactly. */
.brand { gap: 13px; }
.brand .brand-mark { width: 40px; height: 50px; }
.brand > .brand-copy { display: block; position: relative; }
.brand .brand-name {
  display: block; width: 138px; height: 40px; font-size: 0;
  background: url('/static/assets/crevox-art-signature.jpg') 51.05% 69.91% / 164.04% 853.33% no-repeat;
  mix-blend-mode: multiply;
}
.brand .brand-caption {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.footer-brand { text-align: center; }
.footer-wordmark { align-items: center; gap: 16px; }
.footer-wordmark .footer-mark { width: 120px; height: 142px; }
.footer-wordmark > .footer-brand-name {
  display: block; width: 190px; height: 55px; font-size: 0;
  background: url('/static/assets/crevox-art-signature.jpg') 51.05% 69.91% / 164.04% 853.33% no-repeat;
  mix-blend-mode: multiply;
}
.footer-brand-tagline { margin-top: 30px; }
.public-footer { align-items: center; padding-block: 80px 28px; }
.site-header .brand-name, body.public-page .brand .brand-name { font-size: 0; }
@media (max-width: 760px) {
  .brand .brand-mark { width: 40px; height: 50px; }
  .brand .brand-name { width: 116px; height: 34px; }
}
