:root {
  --bg: #FAFAF8;
  --surface: #ECEAE4;
  --surface-2: #F2F0EB;
  --text: #151515;
  --muted: #6B6862;
  --primary: #0C0C0C;
  --secondary: #3D3A36;
  --accent: #8A6A4B;
  --border: #E1DED7;
  --border-strong: #C9C5BC;
  --focus: #8A6A4B;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --col: 1fr;
  --max: 1480px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--bg); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Typography utilities ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.sans { font-family: var(--sans); }
.mono { font-family: var(--mono); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot { display:inline-block; width:6px; height:6px; background: var(--accent); border-radius: 50%; margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }

.meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.credit {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
  font-style: italic;
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.015em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.01em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; }
.lede { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.4vw, 26px); line-height: 1.35; color: var(--secondary); }

.body { font-size: 15px; line-height: 1.65; color: var(--secondary); }
.body p { margin: 0 0 1em; }

hr.rule { border: 0; height: 1px; background: var(--border); margin: 0; }
hr.rule-strong { border: 0; height: 1px; background: var(--text); margin: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-tight { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

section { position: relative; }

/* ---------- Header / Nav ---------- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--gutter);
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
  background: var(--bg);
}
.top-bar .links { display:flex; gap: 24px; align-items: center; }
.top-bar .links a:hover { color: var(--accent); }
.locale {
  display:inline-flex; gap: 10px; align-items:center;
}
.locale button {
  background: none; border: 0; padding: 0; color: var(--muted);
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.locale button.active { color: var(--primary); }
.locale .sep { color: var(--border-strong); }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(4px);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter);
  gap: 24px;
}
.nav .brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.nav .brand .dot { color: var(--accent); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; justify-content: center; }
.nav li a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav li a.active { color: var(--primary); }
.nav li a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.nav li a:hover { color: var(--primary); }
.nav .right { justify-self: end; display: flex; gap: 18px; align-items: center; }
.nav .right .enq {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 2px;
}
.nav .right .enq:hover { color: var(--accent); border-color: var(--accent); }
.nav .right .search { color: var(--muted); }

/* ---------- Buttons / Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--primary); color: var(--bg);
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 0;
  transition: background .2s ease;
}
.btn:hover { background: var(--accent); }
.btn-ghost {
  background: transparent; color: var(--primary);
  border: 1px solid var(--primary);
  padding: 13px 22px;
}
.btn-ghost:hover { background: var(--primary); color: var(--bg); }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0; background: transparent; border: 0;
  color: var(--primary);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.btn-arrow .ln {
  display: inline-block; width: 32px; height: 1px; background: currentColor;
  transition: width .25s ease;
}
.btn-arrow:hover { color: var(--accent); }
.btn-arrow:hover .ln { width: 48px; }

.link-u {
  position: relative; color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: color .2s ease;
}
.link-u:hover { color: var(--accent); }
.link-bronze { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- Image placeholders / wrappers ---------- */
.img-wrap {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}
.img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.img-wrap.zoom:hover img { transform: scale(1.03); }
.img-wrap .credit-overlay {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 10px; color: var(--bg); opacity: .85;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  letter-spacing: .02em;
}

.aspect-4x3 { aspect-ratio: 4 / 3; }
.aspect-3x4 { aspect-ratio: 3 / 4; }
.aspect-1x1 { aspect-ratio: 1 / 1; }
.aspect-16x9 { aspect-ratio: 16 / 9; }
.aspect-21x9 { aspect-ratio: 21 / 9; }
.aspect-5x7 { aspect-ratio: 5 / 7; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex; gap: 48px;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--secondary);
}
.marquee-track .dot { color: var(--accent); margin: 0 8px; font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.ex-card { cursor: pointer; display: block; }
.ex-card .img-wrap { margin-bottom: 16px; }
.ex-card .title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 4px;
  color: var(--primary);
}
.ex-card .title em { font-style: italic; font-weight: 400; }
.ex-card .who { color: var(--secondary); font-size: 14px; }
.ex-card .dates { color: var(--muted); font-size: 12px; font-family: var(--mono); margin-top: 6px; letter-spacing: 0.02em; }
.ex-card:hover .title { color: var(--accent); }

/* ---------- Editorial list row ---------- */
.row-list { border-top: 1px solid var(--border); }
.row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 200px 120px 40px;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s ease;
}
.row:hover { background: var(--surface-2); }
.row .num { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.row .title-cell { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; color: var(--primary); }
.row .title-cell em { font-style: italic; }
.row .who { color: var(--secondary); font-size: 14px; }
.row .when { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.row .where { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); }
.row .arrow { color: var(--muted); }
.row:hover .arrow { color: var(--accent); }
.row:hover .title-cell { color: var(--accent); }

/* ---------- Grid helpers ---------- */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.g6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 60px 1.4fr 200px 40px; }
  .row .who, .row .where { display: none; }
}

/* ---------- Section spacing ---------- */
.s-pad { padding: 100px 0; }
.s-pad-sm { padding: 60px 0; }
.s-pad-lg { padding: 140px 0; }

/* ---------- Section header ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.sec-head .title { margin: 0; }
.sec-head .meta-right { justify-self: end; }
@media (max-width: 700px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .meta-right { justify-self: start; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: var(--bg);
  padding: 80px 0 28px;
}
.footer .wrap { color: var(--bg); }
.footer h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,250,248,.5);
  margin: 0 0 20px;
}
.footer a { color: var(--bg); }
.footer a:hover { color: var(--accent); }
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer .brand-lg {
  font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: 0.04em;
}
.footer .sub-line {
  margin-top: 16px;
  font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(250,250,248,.65);
  max-width: 320px; line-height: 1.4;
}
.footer .addr { font-size: 13px; line-height: 1.65; color: rgba(250,250,248,.75); }
.footer .addr strong { color: var(--bg); font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; }
.footer .legal {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(250,250,248,.12);
  font-family: var(--mono); font-size: 11px; color: rgba(250,250,248,.5);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.footer .legal a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .footer .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mailing list inline ---------- */
.ml {
  display: flex; gap: 0; border-bottom: 1px solid rgba(250,250,248,.4);
  max-width: 360px;
}
.ml input {
  background: transparent; color: var(--bg);
  border: 0; padding: 10px 0; flex: 1;
  font-family: var(--sans); font-size: 14px;
  outline: none;
}
.ml input::placeholder { color: rgba(250,250,248,.45); }
.ml button {
  background: transparent; color: var(--bg); border: 0;
  padding: 10px 0 10px 16px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.ml button:hover { color: var(--accent); }

/* ---------- Hero (Home) ---------- */
.hero {
  padding: 48px 0 80px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: end;
}
.hero .img-wrap { aspect-ratio: 3 / 4; }
.hero h1 { margin: 0; }
.hero .curator { margin-top: 24px; }
.hero-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta .label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero-meta .val { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--primary); }
.hero-meta .val.mono { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Two-city block ---------- */
.cities {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.city {
  padding: 60px 48px;
  border-left: 1px solid var(--border);
  position: relative;
}
.city:first-child { border-left: 0; }
.city .img-wrap { aspect-ratio: 16/10; margin-bottom: 32px; }
.city .name {
  font-family: var(--serif); font-size: clamp(40px, 4vw, 56px);
  line-height: 1; margin: 0 0 8px; color: var(--primary);
}
.city .since { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.city .addr { margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--secondary); max-width: 340px; }
.city .hours {
  margin-top: 18px;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 18px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  letter-spacing: 0.04em;
}
.city .hours .h-day { color: var(--primary); }
.city .actions { margin-top: 28px; display: flex; gap: 18px; }
@media (max-width: 900px) {
  .cities { grid-template-columns: 1fr; }
  .city { border-left: 0; border-top: 1px solid var(--border); padding: 40px 24px; }
  .city:first-child { border-top: 0; }
}

/* ---------- Artists strip ---------- */
.artist-strip {
  display: flex; flex-wrap: wrap; gap: 0 24px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.4;
  color: var(--primary);
}
.artist-strip .a { padding: 4px 0; position: relative; cursor: pointer; }
.artist-strip .a:hover { color: var(--accent); }
.artist-strip .a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
}

/* ---------- Tag / pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--secondary);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pill.dark { border-color: var(--primary); color: var(--primary); }
.pill.live { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.pill.live .dot { background: #6ECF8E; }

/* ---------- Press list ---------- */
.press-row {
  display: grid; grid-template-columns: 160px 1.4fr 1fr 80px;
  gap: 32px; padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.press-row .pub { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--primary); }
.press-row .head { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--primary); }
.press-row .date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.press-row .arr { justify-self: end; color: var(--muted); }
.press-row:hover .head { color: var(--accent); }
.press-row:hover .arr { color: var(--accent); }
@media (max-width: 800px) {
  .press-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .press-row .arr { display: none; }
}

/* ---------- Az index ---------- */
.az {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.az button {
  width: 32px; height: 32px;
  background: transparent; border: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted);
  border-radius: 0;
}
.az button:hover { color: var(--primary); }
.az button.active { color: var(--bg); background: var(--primary); }
.az button.disabled { color: var(--border-strong); pointer-events: none; }

.artist-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
}
.artist-grid .a-card {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 16px; align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.artist-grid .a-card:hover .name { color: var(--accent); }
.artist-grid .a-card .thumb { width: 64px; height: 80px; background: var(--surface); }
.artist-grid .a-card .thumb.placeholder {
  background:
    repeating-linear-gradient(135deg, var(--surface) 0 6px, var(--surface-2) 6px 12px);
}
.artist-grid .a-card .name { font-family: var(--serif); font-size: 20px; line-height: 1.1; color: var(--primary); margin: 0 0 2px; }
.artist-grid .a-card .meta-row { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 900px) { .artist-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .artist-grid { grid-template-columns: 1fr; } }

/* ---------- Publication card ---------- */
.pub-card { cursor: pointer; }
.pub-card .img-wrap { aspect-ratio: 5/7; background: #1a1916; margin-bottom: 14px; }
.pub-card .pub-cover {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
  background: #1a1916; color: var(--bg);
  position: relative;
}
.pub-card .pub-cover.cover-bronze { background: #6a4a30; }
.pub-card .pub-cover.cover-ivory { background: var(--surface); color: var(--primary); }
.pub-card .pub-cover.cover-slate { background: #2a2d33; }
.pub-card .pub-cover .pc-title { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.15; }
.pub-card .pub-cover .pc-artist { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.pub-card .pub-cover .pc-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; opacity: 0.7; }
.pub-card .pub-cover .pc-rule { width: 36px; height: 1px; background: currentColor; opacity: 0.6; margin: 16px 0; }
.pub-card .pc-foot { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.pub-card:hover .pc-title-link { color: var(--accent); }

/* ---------- Detail Page ---------- */
.detail-hero { padding: 32px 0 56px; }
.detail-hero .img-wrap { aspect-ratio: 21/9; }
.detail-head {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 64px; padding: 56px 0; border-bottom: 1px solid var(--border);
}
.detail-head h1 { margin: 0 0 16px; }
.detail-head .deck { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--secondary); line-height: 1.3; max-width: 720px; }
.detail-side { font-size: 13px; line-height: 1.7; color: var(--secondary); }
.detail-side .row-mini { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.detail-side .row-mini:first-child { border-top: 0; }
.detail-side .row-mini .l { color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.detail-side .row-mini .v { color: var(--primary); }

@media (max-width: 900px) {
  .detail-head { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
}

/* ---------- Curatorial body (essay) ---------- */
.essay {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--secondary);
}
.essay p { margin: 0 0 1.2em; }
.essay p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 96px;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  font-weight: 400;
  color: var(--primary);
}
.essay .pull {
  font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.3;
  color: var(--primary);
  padding: 24px 0; margin: 32px 0;
  border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent);
  text-align: center;
}

/* ---------- Install views grid ---------- */
.install-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.ig-1 { grid-column: span 8; aspect-ratio: 3/2; }
.ig-2 { grid-column: span 4; aspect-ratio: 3/4; }
.ig-3 { grid-column: span 4; aspect-ratio: 3/4; }
.ig-4 { grid-column: span 8; aspect-ratio: 3/2; }
.ig-5 { grid-column: span 12; aspect-ratio: 21/9; }
.ig-6 { grid-column: span 6; aspect-ratio: 4/3; }
.ig-7 { grid-column: span 6; aspect-ratio: 4/3; }
@media (max-width: 900px) {
  .install-grid { grid-template-columns: 1fr; }
  .ig-1, .ig-2, .ig-3, .ig-4, .ig-5, .ig-6, .ig-7 { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; max-width: 540px; }
.form .field { display: grid; gap: 6px; }
.form label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  font: inherit;
  font-family: var(--sans);
  color: var(--primary);
  outline: none;
  border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus { border-bottom-color: var(--accent); }
.form textarea { resize: vertical; min-height: 120px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); }
.form .submit { margin-top: 12px; }
.form .note { font-size: 11px; color: var(--muted); }
@media (max-width: 700px) { .form .row2 { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tabs button {
  background: transparent; border: 0; padding: 12px 0;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
}
.tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs button:hover { color: var(--primary); }
.tabs .count { color: var(--accent); margin-left: 6px; font-size: 10px; }

/* ---------- Misc ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* small icon */
.ic { width: 14px; height: 14px; display: inline-block; vertical-align: middle; }

/* Fade in on route change */
.fade { animation: fade .4s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Hide scrollbars for marquee */
.marquee::-webkit-scrollbar { display: none; }

/* ===== Tweak: Accent theme override ===== */
body[data-accent="bronze"] { --accent: #8A6A4B; --focus: #8A6A4B; }
body[data-accent="ink"] { --accent: #294056; --focus: #294056; }
body[data-accent="claret"] { --accent: #7B3640; --focus: #7B3640; }
body[data-accent="moss"] { --accent: #5C6A45; --focus: #5C6A45; }

/* ===== Tweak: Type pair override ===== */
body[data-type="cormorant-hanken"] { --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Hanken Grotesk', Arial, sans-serif; }
body[data-type="eb-jakarta"] { --serif: 'EB Garamond', Georgia, serif; --sans: 'Plus Jakarta Sans', Arial, sans-serif; }
body[data-type="canela-soehne"] { --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Manrope', Arial, sans-serif; }

/* ===== Tweak: Density ===== */
body[data-density="loose"] .s-pad { padding: 140px 0; }
body[data-density="loose"] .s-pad-lg { padding: 180px 0; }
body[data-density="tight"] .s-pad { padding: 70px 0; }
body[data-density="tight"] .s-pad-lg { padding: 100px 0; }
