/* ArtsGroup — WestTech white + liquid glass.
   Same system as the Local Artist Registry and ShowUpPay: glass panels, soft blur, lift on hover,
   pill buttons, one-open glass accordions, and a single type and spacing scale. */
:root {
  --bg: #f6f6f2;
  --ink: #121212;
  --muted: #4d4d49;
  --line: rgba(18, 18, 18, .10);
  --accent: #c8102e;
  --accent-hover: #a90d26;
  --glass: rgba(255, 255, 255, .68);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-edge: rgba(255, 255, 255, .88);
  --glass-shadow: 0 14px 36px rgba(20, 33, 43, .12);
  --lift-shadow: 0 22px 48px rgba(20, 33, 43, .18);
  --blur: blur(18px) saturate(1.5);
  --r-card: 20px;
  --r-sm: 14px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --head: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-sm: 14px; --t-base: 17px; --t-lead: clamp(18px, 1.6vw, 21px);
  --t-h3: clamp(20px, 1.8vw, 22px); --t-h2: clamp(30px, 4.2vw, 46px); --t-h1: clamp(40px, 6.6vw, 76px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 20px); }
body {
  margin: 0; color: var(--ink); background-color: var(--bg); overflow-x: clip;
  font: 400 var(--t-base)/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 32rem at 4% 6%, rgba(200, 16, 46, .10), transparent 70%),
    radial-gradient(38rem 32rem at 96% 24%, rgba(80, 140, 255, .12), transparent 70%),
    radial-gradient(46rem 34rem at 40% 104%, rgba(200, 16, 46, .07), transparent 70%),
    linear-gradient(180deg, #fbfbf8, #f1f1ec);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 10px; }

/* Layout */
.page { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 14px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p { color: var(--muted); }
.stack { display: grid; gap: 16px; align-content: start; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.15fr .85fr; } .split.top { align-items: start; } }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Glass */
.glass {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge); border-radius: var(--r-card);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-edge);
}
.pad { padding: clamp(22px, 3.2vw, 40px); }
.lift { transition: transform .3s var(--ease), box-shadow .3s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--lift-shadow), inset 0 1px 0 var(--glass-edge); }

/* Buttons (pill, with lift) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(200, 16, 46, .24);
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 16, 46, .30); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: rgba(255, 255, 255, .66); color: var(--ink); border-color: var(--glass-edge); box-shadow: 0 8px 20px rgba(20, 33, 43, .08); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn.ghost:hover { background: rgba(255, 255, 255, .92); box-shadow: 0 14px 28px rgba(20, 33, 43, .14); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.textlink { font-weight: 700; color: var(--accent); text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Header: logo is single-line horizontal only. Nav is instant, no fades. */
.bar {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-edge); box-shadow: 0 6px 24px rgba(20, 33, 43, .06);
}
.bar .page { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head); }
.logo { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 650; white-space: nowrap; }
.nav a:hover { background: rgba(18, 18, 18, .06); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a.btn { display: inline-flex; margin-left: 8px; color: #fff; padding: 0 20px; min-height: 42px; }
.nav .btn:hover { background: var(--accent-hover); }
.burger { display: none; }
@media (max-width: 960px) {
  .burger { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; }
  .navwrap { position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 16px; display: none; }
  .navwrap.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-edge); border-radius: var(--r-card); box-shadow: var(--glass-shadow); }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .nav a.btn { margin: 8px 0 0; min-height: 50px; }
}

/* Hero */
.hero { padding-top: clamp(16px, 3vw, 32px); }
.hero-frame { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(520px, 78vh, 760px); display: grid; align-items: end; box-shadow: var(--glass-shadow); background: #222; }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.28) 100%); pointer-events: none; }
.hero-card { position: relative; z-index: 1; margin: clamp(12px, 3vw, 36px); max-width: 680px; display: grid; gap: 18px; background: rgba(255, 255, 255, .78); }
.hero-card .lead { color: #333; }
.hero.short .hero-frame { min-height: clamp(400px, 58vh, 580px); }
.hero.short h1 { font-size: clamp(36px, 5.6vw, 64px); }

/* Media */
.photo { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); background: #e8e8e3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.r-43 { aspect-ratio: 4 / 3; } .r-169 { aspect-ratio: 16 / 9; } .r-1 { aspect-ratio: 1; } .r-45 { aspect-ratio: 4 / 5; } .r-32 { aspect-ratio: 3 / 2; }
.mosaic { display: grid; gap: clamp(10px, 1.4vw, 16px); grid-template-columns: repeat(2, 1fr); }
.mosaic .photo { aspect-ratio: 1; }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); } .mosaic .big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }

/* Cards */
.card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; height: 100%; }
.card .photo { border-radius: 0; border: 0; box-shadow: none; }
.card .body { display: grid; gap: 10px; padding: clamp(20px, 2.4vw, 28px); align-content: start; flex: 1; }
.card .body p { color: var(--muted); }
.card .more { margin-top: 6px; font-weight: 700; color: var(--accent); }
a.card:hover h3 { color: var(--accent); }
.pillar { display: grid; gap: 10px; padding: clamp(22px, 2.6vw, 30px); align-content: start; }
.pillar .num { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.pillar p { color: var(--muted); }

/* Proof */
.stats { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.stat { display: grid; gap: 8px; padding: clamp(24px, 3vw, 34px); align-content: start; }
.stat b { font-size: clamp(48px, 6vw, 68px); line-height: 1; letter-spacing: -0.04em; font-weight: 850; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat strong { font-size: 18px; }
.stat p { color: var(--muted); font-size: 15.5px; }
.logos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.logos li { display: grid; place-items: center; min-height: 104px; padding: 16px 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .82); border: 1px solid var(--glass-edge); box-shadow: 0 6px 18px rgba(20, 33, 43, .06); }
.logos img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.quote { display: grid; gap: 20px; margin: 0; align-content: center; }
.quote p { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.quote .by { display: flex; align-items: center; gap: 14px; }
.quote .by img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; border: 2px solid #fff; box-shadow: var(--glass-shadow); }
.quote cite { font-style: normal; font-weight: 700; display: grid; } .quote cite span { font-weight: 500; color: var(--muted); font-size: 15px; }

/* Lists */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 99px; background: var(--accent); }
.ticks.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); column-gap: 24px; }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fact { padding: 18px 20px; display: grid; gap: 4px; }
.fact b { font-size: 26px; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 15px; }

/* Accordion: one open at a time (shared name), glass + lift, same as ShowUpPay. */
.acc { display: grid; gap: 12px; }
.acc details { padding: 0 clamp(18px, 2.4vw, 26px); transition: transform .3s var(--ease), box-shadow .3s ease; }
.acc details:hover, .acc details[open] { transform: translateY(-3px) scale(1.005); box-shadow: 0 18px 40px rgba(20, 33, 43, .16), inset 0 1px 0 var(--glass-edge); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: rgba(200, 16, 46, .08); color: var(--accent); font-size: 20px; font-weight: 600; line-height: 1; }
.acc details[open] summary::after { content: "\2212"; }
.acc .inner { padding-bottom: 22px; display: grid; gap: 14px; }
.acc .inner p { color: var(--muted); }
.acc details::details-content { transition: content-visibility .3s allow-discrete, height .3s ease; height: 0; overflow: clip; }
.acc details[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* Table */
.tablewrap { overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* Studios */
.studio { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 14px; }
.studio .photo { border-radius: 12px; aspect-ratio: 1; box-shadow: none; }
.studio h3 { font-size: 18px; }
.studio p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.studio .row { margin-top: 10px; }

/* CTA band */
.cta { display: grid; gap: 20px; justify-items: center; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(22px, 4vw, 48px); }
.cta .lead { max-width: 56ch; }
.contactlist { display: grid; gap: 12px; }
.contactlist a { display: grid; gap: 2px; padding: 18px 22px; text-decoration: none; }
.contactlist span { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contactlist b { font-size: 18px; overflow-wrap: anywhere; }

.note { border: 1.5px dashed rgba(200, 16, 46, .45); background: rgba(255, 255, 255, .6); border-radius: var(--r-sm); padding: 16px 20px; color: var(--muted); font-size: 15px; }
.note b { color: var(--accent); }
.embed { width: 100%; border: 0; display: block; border-radius: 14px; background: #fff; }

/* Form flows only: liquid glass fade-in. Regular pages render instantly. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.flow > * { animation: rise .7s var(--ease) both; }
.flow > :nth-child(2) { animation-delay: .1s; } .flow > :nth-child(3) { animation-delay: .2s; } .flow > :nth-child(4) { animation-delay: .3s; }

/* Stories */
.post { display: grid; gap: 18px; }
.post p { font-size: 18px; color: #2e2e2b; }
.post .photo { margin-block: 8px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 600; }

/* Footer */
.foot { padding: var(--section) 0 32px; }
.foot .glass { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot .glass { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--accent); }
.foot .logo img { height: 34px; }
.foot .about { display: grid; gap: 14px; align-content: start; }
.foot .about p { color: var(--muted); font-size: 15px; max-width: 42ch; }
.legal { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.preview-flag { position: fixed; right: 12px; bottom: 12px; z-index: 39; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lift, .btn, .acc details { transition: none; }
  .lift:hover, .btn:hover, .acc details:hover, .acc details[open] { transform: none; }
  .flow > * { animation: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .bar, .nav, .hero-card { background: rgba(255, 255, 255, .95); }
}

/* Form fields (form flows) */
.field { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 13px 14px; border-radius: 12px;
  border: 1px solid rgba(18, 18, 18, .14); background: rgba(255, 255, 255, .78); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200, 16, 46, .14); }
.field textarea { resize: vertical; min-height: 140px; }
.err { color: var(--accent); font-weight: 700; }

/* Hero tuning: keep the people in the photo visible. */
.hero-card { max-width: 580px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
@media (min-width: 900px) { .hero-card.right { justify-self: end; } }
.mosaic .big img { min-height: 100%; }
