/* ============================================================
   Maine Artists — New Design System (v2)
   Cormorant Garamond + Onest  |  paper / teal / violet / coral
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Onest:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --ma-teal:        #1D4E4D;
  --ma-teal-mid:    #2F6F6D;
  --ma-teal-wash:   #E8EFEE;
  --ma-violet:      #7C3AED;
  --ma-violet-wash: #EFE9FB;
  --ma-coral:       #F9635E;
  --ma-coral-wash:  #FDE8E6;

  --ma-paper:       #FAF7F2;
  --ma-paper-deep:  #F1ECE2;
  --ma-paper-edge:  #E5DFD2;
  --ma-ink:         #1A1F1F;
  --ma-ink-soft:    #38423F;
  --ma-ink-mute:    #6E7572;

  --ma-display: 'Cormorant Garamond', Georgia, serif;
  --ma-body:    'Onest', system-ui, -apple-system, sans-serif;

  --ma-shadow-paper: 0 1px 0 rgba(26,31,31,.04), 0 8px 24px -12px rgba(26,31,31,.18);
  --ma-shadow-lift:  0 2px 0 rgba(26,31,31,.05), 0 18px 40px -16px rgba(26,31,31,.28);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ma-body);
  font-size: 16px;
  color: var(--ma-ink-soft);
  background: var(--ma-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ma-coral); color: var(--ma-paper); }

/* ---- Typography ---- */
.ma-kicker {
  font-family: var(--ma-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ma-teal);
}
.ma-display { font-family: var(--ma-display); font-weight: 500; color: var(--ma-ink); }
.ma-italic  { font-style: italic; font-weight: 400; }

/* ---- Buttons ---- */
.ma-btn {
  font-family: var(--ma-body);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease;
  white-space: nowrap;
}
.ma-btn-primary { background: var(--ma-teal); color: var(--ma-paper); }
.ma-btn-primary:hover { background: var(--ma-ink); }
.ma-btn-ghost {
  background: transparent;
  color: var(--ma-teal);
  border: 1.5px solid var(--ma-teal);
}
.ma-btn-ghost:hover { background: var(--ma-teal); color: var(--ma-paper); }
.ma-btn-coral { background: var(--ma-coral); color: var(--ma-paper); }
.ma-btn-coral:hover { background: #d64540; }
.ma-btn-white { background: var(--ma-paper); color: var(--ma-ink); }
.ma-btn-white:hover { background: var(--ma-paper-deep); }
.ma-btn-login {
  background: transparent;
  color: var(--ma-violet);
  border: 1.5px solid var(--ma-violet);
  font-size: 13px;
  padding: 8px 18px;
}
.ma-btn-login:hover { background: var(--ma-violet-wash); }
/* Login button on dark MAC nav */
[data-site="mac"] .ma-btn-login {
  color: #9AD2CB;
  border-color: rgba(154,210,203,.3);
}
[data-site="mac"] .ma-btn-login:hover {
  color: #9AD2CB;
  border-color: rgba(154,210,203,.6);
  background: rgba(154,210,203,.08);
}
/* Tighter gap + login separator for MAC nav */
[data-site="mac"] .ma-nav-links { gap: 22px; }
[data-site="mac"] .ma-nav-login-sep {
  width: 1px; height: 18px;
  background: rgba(250,247,242,.15);
  flex-shrink: 0;
}

/* ---- Layout helpers ---- */
.ma-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.ma-container-wide { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ---- Grain overlay (reuse from old design) ---- */
.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.12  0 0 0 0 0.12  0 0 0 0.45 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.35'/></svg>");
  mix-blend-mode: multiply;
  opacity: .35;
}
.grain-light::after { opacity: .18; }

/* ===================================================================
   NAV
   =================================================================== */
.ma-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ma-paper-edge);
}
.ma-nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.ma-nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--ma-display);
  font-size: 20px;
  color: var(--ma-ink);
  font-weight: 500;
  letter-spacing: -.01em;
}
.ma-nav-brand img { height: 36px; width: auto; }
.ma-nav-links {
  display: flex; align-items: center; gap: 30px;
}
.ma-nav-link {
  font-family: var(--ma-body); font-size: 14px; font-weight: 500;
  color: var(--ma-ink); text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 120ms, border-color 120ms;
}
.ma-nav-link:hover, .ma-nav-link.active {
  color: var(--ma-teal);
  border-bottom-color: var(--ma-teal);
}

/* Shop dropdown (MAC) */
.ma-nav-shop { position: relative; display: inline-flex; align-items: center; }
/* Invisible bridge fills the gap between the trigger and dropdown so
   moving the mouse downward doesn't break the :hover state. */
.ma-nav-shop::after {
  content: ''; position: absolute; top: 100%; left: -12px; right: -12px; height: 16px;
}
.ma-nav-shop-trigger { display: inline-flex; align-items: center; gap: 5px; }
.ma-nav-shop-caret { transition: transform .15s ease; }
.ma-nav-shop-toggle { display: none; background: none; border: none; }
.ma-nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px; background: var(--ma-paper);
  border: 1px solid var(--ma-paper-edge); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(26,31,31,.18);
  padding: 8px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .14s ease, transform .14s ease; z-index: 60;
}
.ma-nav-shop:hover .ma-nav-dropdown,
.ma-nav-shop:focus-within .ma-nav-dropdown,
.ma-nav-shop.open .ma-nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px);
}
.ma-nav-shop:hover .ma-nav-shop-caret,
.ma-nav-shop.open .ma-nav-shop-caret { transform: rotate(180deg); }
.ma-nav-dd-link {
  font-family: var(--ma-body); font-size: 14px; color: var(--ma-ink-soft);
  text-decoration: none; padding: 9px 12px; border-radius: 8px; white-space: nowrap;
  border-bottom: none;
}
.ma-nav-dd-link:hover { background: var(--ma-violet-wash); color: var(--ma-violet); }
.ma-nav-dd-all {
  color: var(--ma-violet); font-weight: 600;
  border-top: 1px solid var(--ma-paper-edge); margin-top: 4px; padding-top: 11px;
}
/* Mobile hamburger (kept from old nav pattern) */
.nav-toggle-input { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ma-ink); transition: transform .2s, opacity .2s; }

/* ===================================================================
   HERO — Gallery Wall
   =================================================================== */
.ma-hero {
  position: relative;
  overflow: hidden;
  background: var(--ma-paper);
  padding: 56px 0 80px;
}
.ma-hero-teal-wash {
  position: absolute;
  top: 200px; right: 0;
  width: 60%; height: 600px;
  background: var(--ma-teal-wash);
  z-index: 0;
}
.ma-hero-grid {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.ma-hero-left { padding-top: 40px; }
.ma-hero-logo { margin-bottom: 28px; }
.ma-hero-h1 {
  font-family: var(--ma-display);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 128px);
  line-height: .92;
  letter-spacing: -.025em;
  color: var(--ma-ink);
  margin: 20px 0 0;
}
.ma-hero-h1 em { font-style: italic; font-weight: 400; color: var(--ma-teal); }
.ma-hero-figures {
  margin-top: 28px; margin-bottom: 24px;
  display: flex; align-items: flex-end; gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--ma-paper-edge);
}
.ma-hero-figures img { height: 60px; width: auto; }
.ma-hero-lead {
  font-family: var(--ma-body); font-size: 18px; line-height: 1.55;
  color: var(--ma-ink-soft); max-width: 460px; margin: 0;
}
.ma-hero-ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Gallery wall */
.ma-hero-wall {
  position: relative;
  height: 620px;
  min-width: 660px;
}
.ma-wall-frame {
  position: absolute;
  background: var(--ma-paper);
  padding: 8px;
  box-shadow: 0 1px 0 rgba(26,31,31,.04), 0 12px 32px -14px rgba(26,31,31,.32);
  border: 1px solid var(--ma-paper-edge);
  overflow: hidden;
}
.ma-wall-frame-inner {
  width: 100%; height: 100%; overflow: hidden; position: relative;
}
.ma-wall-frame-inner img {
  width: 100%; height: 100%; object-fit: cover;
}
.ma-wall-caption {
  position: absolute; bottom: -24px; right: 12px;
  font-family: var(--ma-body); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ma-ink-mute);
}

/* ===================================================================
   FEATURED MAKER
   =================================================================== */
.ma-featured {
  padding: 110px 0;
  background: var(--ma-paper-deep);
  position: relative;
}
.ma-featured-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
}
.ma-featured-h2 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.0; letter-spacing: -.02em;
  color: var(--ma-ink); margin: 12px 0 0;
}
.ma-featured-h2 em { font-style: italic; font-weight: 400; color: var(--ma-teal); }
.ma-featured-link {
  font-family: var(--ma-body); font-size: 14px; font-weight: 500;
  color: var(--ma-teal); text-decoration: none;
  border-bottom: 1.5px solid var(--ma-teal); padding-bottom: 2px;
}
.ma-featured-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 56px; align-items: stretch;
}
.ma-featured-photo {
  position: relative; min-height: 420px;
  background: var(--ma-paper);
  border: 1px solid var(--ma-paper-edge);
  overflow: hidden;
}
.ma-featured-photo img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.ma-featured-figure {
  position: absolute; bottom: -20px; left: -20px;
}
.ma-featured-figure img { height: 120px; width: auto; }
.ma-featured-body {
  display: flex; flex-direction: column;
  justify-content: space-between; padding-top: 8px;
}
.ma-featured-lead {
  font-family: var(--ma-body); font-size: 18px; line-height: 1.55;
  color: var(--ma-ink-soft); margin: 0;
}
.ma-featured-quote {
  margin: 32px 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--ma-violet);
}
.ma-featured-quote p {
  font-family: var(--ma-display); font-style: italic;
  font-size: 22px; line-height: 1.35; font-weight: 400;
  color: var(--ma-ink); margin: 0; letter-spacing: -.005em;
}
.ma-featured-meta {
  margin-top: 24px;
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--ma-paper-edge);
}
.ma-featured-meta-item { min-width: 100px; }
.ma-featured-meta-key {
  font-family: var(--ma-body); font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ma-ink-mute);
}
.ma-featured-meta-val {
  font-family: var(--ma-body); font-size: 14px; color: var(--ma-ink); margin-top: 3px;
}

/* ===================================================================
   BROWSE BY MEDIUM
   =================================================================== */
.ma-browse {
  padding: 110px 0;
  background: var(--ma-paper);
}
.ma-browse-h2 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.0; letter-spacing: -.02em;
  color: var(--ma-ink); margin: 12px 0 0;
}
.ma-browse-h2 em { font-style: italic; font-weight: 400; color: var(--ma-teal); }
.ma-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 32px 0 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ma-paper-edge);
}
.ma-chip {
  font-family: var(--ma-body); font-size: 14px; font-weight: 500;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--ma-paper-edge);
  background: transparent; color: var(--ma-ink);
  cursor: pointer; transition: background 120ms, color 120ms, border-color 120ms;
}
.ma-chip:hover { border-color: var(--ma-teal); color: var(--ma-teal); }
.ma-chip.active {
  background: var(--ma-teal); color: var(--ma-paper);
  border-color: var(--ma-teal);
}
.ma-browse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.ma-browse-card {
  text-decoration: none;
  background: var(--ma-paper);
  border: 1px solid var(--ma-paper-edge);
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.ma-browse-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ma-shadow-paper);
}
.ma-browse-card[data-hidden] { display: none; }
.ma-browse-card-art {
  aspect-ratio: 4 / 5;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--ma-paper-edge);
}
.ma-browse-card-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ma-browse-card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ma-browse-card-body { padding: 18px 16px 20px; }
.ma-browse-card-medium {
  font-family: var(--ma-body); font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
}
.ma-browse-card-name {
  font-family: var(--ma-display); font-size: 22px; font-weight: 500;
  color: var(--ma-ink); letter-spacing: -.01em;
  margin-top: 8px; line-height: 1.15;
}
.ma-browse-card-meta {
  font-family: var(--ma-body); font-size: 13px; color: var(--ma-ink-mute); margin-top: 6px;
}
.ma-browse-more { margin-top: 44px; text-align: center; }

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.ma-about-section {
  padding: 110px 0;
  background: var(--ma-paper);
  position: relative;
}
.ma-about-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; text-align: center; }
.ma-about-h2 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: .96; letter-spacing: -.025em;
  color: var(--ma-ink); margin: 20px 0 0;
}
.ma-about-h2 em { font-style: italic; font-weight: 400; color: var(--ma-teal); }
.ma-about-figures {
  margin: 44px 0;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 10px;
}
.ma-about-figures img { height: 160px; width: auto; }
.ma-about-lead {
  font-family: var(--ma-body); font-size: 18px; line-height: 1.6;
  color: var(--ma-ink-soft); max-width: 680px; margin: 0 auto;
}
.ma-stats {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding-top: 40px; border-top: 1px solid var(--ma-paper-edge);
}
.ma-stat-num {
  font-family: var(--ma-display); font-weight: 500; font-size: 72px;
  line-height: 1; letter-spacing: -.04em; color: var(--ma-teal);
}
.ma-stat-label {
  font-family: var(--ma-body); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ma-ink-mute); margin-top: 10px;
}

/* ===================================================================
   JOIN CTA
   =================================================================== */
.ma-join {
  background: var(--ma-teal); color: var(--ma-paper);
  padding: 110px 0; position: relative; overflow: hidden;
}
.ma-join-figure {
  position: absolute; right: 80px; top: 40px; opacity: .85; pointer-events: none;
}
.ma-join-figure img { height: 280px; width: auto; }
.ma-join-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.ma-join-content { max-width: 680px; }
.ma-join-h2 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(44px, 6vw, 96px);
  line-height: .96; letter-spacing: -.025em;
  color: var(--ma-paper); margin: 18px 0 0;
}
.ma-join-h2 em { font-style: italic; font-weight: 400; opacity: .85; }
.ma-join-lead {
  font-family: var(--ma-body); font-size: 18px; line-height: 1.6;
  color: rgba(250,247,242,.78); max-width: 520px; margin: 24px 0 0;
}
.ma-join-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.ma-join-sub {
  font-family: var(--ma-body); font-size: 13px;
  color: rgba(250,247,242,.55); margin-top: 16px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.ma-footer {
  background: var(--ma-ink); color: #c4c9c7;
  padding-top: 72px; padding-bottom: 32px;
  position: relative;
}
.ma-footer-wave {
  position: absolute; top: -1px; left: 0;
  width: 100%; height: 48px; display: block;
}
.ma-footer-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 16px 32px 0;
}
.ma-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; align-items: start;
}
.ma-footer-brand-name {
  font-family: var(--ma-display); font-size: 28px; font-weight: 500;
  color: var(--ma-coral); line-height: 1.05; letter-spacing: -.01em; margin: 0;
}
.ma-footer-brand-desc {
  font-family: var(--ma-body); font-size: 14px; line-height: 1.6;
  color: #9098a0; max-width: 300px; margin: 16px 0 0;
}
.ma-footer-tagline {
  font-family: var(--ma-body); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ma-coral); margin-top: 20px;
}
.ma-footer-col-title {
  font-family: var(--ma-body); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ma-paper); margin-bottom: 14px;
}
.ma-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ma-footer-col li { margin-bottom: 9px; }
.ma-footer-col a {
  font-family: var(--ma-body); font-size: 14px;
  color: #c4c9c7; text-decoration: none;
}
.ma-footer-col a:hover { color: var(--ma-paper); }
.ma-footer-meta {
  margin-top: 64px; padding-top: 20px;
  border-top: 1px solid rgba(196,201,199,.14);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ma-body); font-size: 12px; color: #6e7572;
  flex-wrap: wrap; gap: 12px;
}
.ma-footer-meta a { color: #9098a0; text-decoration: none; }
.ma-footer-meta a:hover { color: var(--ma-paper); }
.ma-footer-meta-links { display: flex; gap: 20px; }

/* ===================================================================
   ARTISTS INDEX — new design
   =================================================================== */
.ma-artists-header {
  padding: 56px 0 40px;
  background: var(--ma-paper);
  border-bottom: 1px solid var(--ma-paper-edge);
}
.ma-artists-header-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
}
.ma-artists-h1 {
  font-family: var(--ma-display); font-weight: 400;
  font-size: clamp(52px, 7vw, 112px);
  line-height: .92; letter-spacing: -.025em;
  margin: 0; color: var(--ma-ink);
}
.ma-artists-h1 em { font-style: italic; color: var(--ma-violet); font-weight: 400; }
.ma-artists-handnote {
  font-family: Georgia, serif; font-style: italic;
  color: var(--ma-coral); font-size: 22px;
  max-width: 260px; padding-bottom: 8px;
}
/* Category filter strip -- single horizontal-scroll row, all viewports */
.ma-cat-strip-section {
  background: var(--ma-paper);
  border-bottom: 1px solid var(--ma-paper-edge);
  padding: 22px 0;
}
.ma-cat-strip-wrap { display: flex; align-items: center; gap: 16px; }
.ma-filter-label {
  font-family: var(--ma-body); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ma-ink-mute);
  flex-shrink: 0;
}
.ma-cat-strip-track {
  flex: 1; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}
.ma-cat-strip-track::-webkit-scrollbar { display: none; }
.ma-cat-strip {
  display: flex; align-items: center; gap: 8px;
  padding: 2px 22px; width: max-content;
}
.ma-artists-chips .ma-chip {
  min-height: 44px; display: inline-flex; align-items: center;
  white-space: nowrap; scroll-snap-align: center;
}
.ma-artists-chips .ma-chip:hover {
  border-color: var(--ma-violet); color: var(--ma-violet);
}
.ma-artists-chips .ma-chip.active,
.ma-artists-chips .ma-chip.active:hover {
  background: var(--ma-violet); border-color: var(--ma-violet);
  color: var(--ma-paper);
}

/* Maker grid -- browsable card directory */
.ma-makers-section { padding: 44px 0 88px; background: var(--ma-paper); }
.ma-makers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 24px;
}
.ma-maker-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--ma-paper);
  border: 1px solid var(--ma-paper-edge);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.ma-maker-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ma-shadow-paper);
}
.ma-maker-card-art {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid var(--ma-paper-edge);
  background: var(--ma-paper-deep);
}
.ma-maker-card-art img,
.ma-maker-card-art svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 320ms ease;
}
.ma-maker-card:hover .ma-maker-card-art img,
.ma-maker-card:hover .ma-maker-card-art svg { transform: scale(1.04); }
.ma-maker-card-body {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 5px; flex: 1;
}
.ma-maker-card-cat {
  font-family: var(--ma-body); font-size: 10px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ma-violet);
}
.ma-maker-card-name {
  font-family: var(--ma-display); font-weight: 400;
  font-size: 25px; line-height: 1.08; letter-spacing: -.015em;
  color: var(--ma-ink);
}
.ma-maker-card-loc {
  font-family: var(--ma-body); font-size: 12px; color: var(--ma-coral);
  letter-spacing: .05em; text-transform: uppercase;
}
.ma-maker-card-shop {
  font-family: var(--ma-body); font-size: 13px; font-weight: 600;
  color: var(--ma-teal); margin-top: auto; padding-top: 10px;
  transition: transform 140ms ease;
}
.ma-maker-card:hover .ma-maker-card-shop { transform: translateX(3px); }
/* Anchor jumps land below the sticky nav */
.ma-maker-card { scroll-margin-top: 88px; }

/* Region filter strip stacks directly under the category strip */
.ma-region-strip { padding-top: 6px; }

/* A-Z jump bar -- TMA directory */
.ma-az-bar {
  display: flex; flex-wrap: wrap; gap: 2px;
  margin: 0 0 26px; padding-bottom: 18px;
  border-bottom: 1px solid var(--ma-paper-edge);
}
.ma-az-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; min-height: 34px; padding: 0 4px;
  font-family: var(--ma-body); font-size: 13px; font-weight: 600;
  text-decoration: none; border-radius: 6px; color: var(--ma-violet);
  transition: background 120ms ease;
}
.ma-az-link:hover { background: var(--ma-violet-wash); }
.ma-az-off { color: var(--ma-paper-edge); pointer-events: none; }

@media (max-width: 768px) {
  .ma-cat-strip-section { padding: 16px 0; }
  .ma-makers-section { padding: 28px 0 64px; }
  .ma-makers-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ma-maker-card-name { font-size: 21px; }
  .ma-maker-card-body { padding: 13px 13px 15px; }
  .ma-az-link { min-width: 30px; min-height: 32px; font-size: 12px; }
}
@media (max-width: 380px) {
  .ma-makers-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   ARTIST DETAIL
   =================================================================== */
.ma-detail { padding: 64px 0; }
.ma-detail-hero {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 56px; align-items: start;
}
.ma-detail-photo {
  aspect-ratio: 3 / 4; overflow: hidden; position: relative;
  border: 1px solid var(--ma-paper-edge);
  box-shadow: var(--ma-shadow-lift);
}
.ma-detail-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ma-detail-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; position: absolute; inset: 0;
  font-family: var(--ma-display); font-size: 96px; color: var(--ma-violet);
  background: var(--ma-violet-wash);
}
.ma-detail-eyebrow {
  font-family: var(--ma-body); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ma-ink-mute);
}
.ma-detail-name {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.0;
  letter-spacing: -.02em; color: var(--ma-ink); margin: 8px 0;
}
.ma-detail-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ma-detail-pill {
  font-family: var(--ma-body); font-size: 13px;
  padding: 6px 16px; border-radius: 999px;
  background: var(--ma-paper-deep); color: var(--ma-ink-soft);
  border: 1px solid var(--ma-paper-edge);
}
.ma-detail-pill-accent { background: var(--ma-violet-wash); color: var(--ma-violet); border-color: var(--ma-violet-wash); }
.ma-detail-quote {
  font-family: var(--ma-display); font-style: italic;
  font-size: 22px; line-height: 1.4; color: var(--ma-teal);
  margin-bottom: 18px;
}
.ma-detail-bio {
  font-family: var(--ma-body); font-size: 17px; line-height: 1.65; color: var(--ma-ink-soft);
}
.ma-products-head { margin: 56px 0 24px; }
.ma-products-head h2 {
  font-family: var(--ma-display); font-size: 36px; font-weight: 500;
  color: var(--ma-ink); margin: 0;
}
.ma-product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px;
}
.ma-product-card {
  border: 1px solid var(--ma-paper-edge);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.ma-product-card:hover {
  transform: translateY(-2px); box-shadow: var(--ma-shadow-paper);
}
.ma-product-card a { text-decoration: none; display: block; color: inherit; }
.ma-product-art { aspect-ratio: 1; overflow: hidden; }
.ma-product-art img { width: 100%; height: 100%; object-fit: cover; }
.ma-product-body { padding: 14px; }
.ma-product-title { font-family: var(--ma-display); font-size: 18px; color: var(--ma-ink); font-weight: 500; }
.ma-product-price {
  font-family: var(--ma-body); font-size: 14px; color: var(--ma-ink-mute); margin-top: 4px;
}
.ma-product-action {
  font-family: var(--ma-body); font-size: 13px; font-weight: 500; color: var(--ma-teal);
  margin-top: 6px;
}
.ma-product-soldout { color: var(--ma-ink-mute); font-family: var(--ma-body); font-size: 13px; margin-top: 6px; }

/* ===================================================================
   COMING SOON
   =================================================================== */
.ma-coming-soon {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 32px;
  background: var(--ma-paper);
}
.ma-cs-inner { max-width: 560px; }
.ma-cs-kicker {
  font-family: var(--ma-body); font-size: 11px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ma-teal);
}
.ma-cs-h1 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .96; letter-spacing: -.02em;
  color: var(--ma-ink); margin: 20px 0 0;
}
.ma-cs-h1 em { font-style: italic; font-weight: 400; color: var(--ma-teal); }
.ma-cs-accent {
  font-family: var(--ma-body); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ma-coral); margin-top: 24px;
}
.ma-cs-locs {
  font-family: var(--ma-body); font-size: 14px; color: var(--ma-ink-mute);
  margin-top: 10px; letter-spacing: .04em;
}
.ma-cs-figures {
  margin-top: 44px; display: flex; align-items: flex-end;
  justify-content: center; gap: 6px;
}
.ma-cs-figures img { height: 80px; width: auto; }

/* ===================================================================
   SKIP LINK + misc
   =================================================================== */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ma-teal); color: var(--ma-paper);
  padding: 8px 16px; border-radius: 4px;
  font-family: var(--ma-body); font-size: 14px; text-decoration: none; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1180px) {
  .ma-hero-grid { grid-template-columns: 1fr !important; }
  .ma-hero-wall { display: none; }
  .ma-featured-grid { grid-template-columns: 1fr; }
  .ma-browse-grid { grid-template-columns: repeat(2, 1fr); }
  .ma-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ma-detail-hero { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ma-nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-toggle-input:checked ~ header .ma-nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ma-paper); padding: 16px 24px 24px;
    border-bottom: 1px solid var(--ma-paper-edge);
  }
  /* Shop dropdown collapses inline within the mobile menu */
  .ma-nav-shop { display: block; width: 100%; }
  .ma-nav-shop-trigger { display: inline-flex; }
  .ma-nav-shop-toggle {
    display: block; position: absolute; right: 24px;
    width: 32px; height: 32px; cursor: pointer; margin-top: -28px;
  }
  .ma-nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: 4px 0 4px 12px;
    min-width: 0; display: none;
  }
  .ma-nav-shop.open .ma-nav-dropdown { display: flex; }
  .ma-hero { padding: 32px 0 56px; }
  .ma-hero-h1 { font-size: clamp(44px, 12vw, 72px); }
  .ma-featured { padding: 64px 0; }
  .ma-browse { padding: 64px 0; }
  .ma-browse-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ma-about-section { padding: 72px 0; }
  .ma-about-figures img { height: 100px; }
  .ma-stats { grid-template-columns: 1fr 1fr; }
  .ma-join { padding: 72px 0; }
  .ma-join-figure { display: none; }
  .ma-footer-grid { grid-template-columns: 1fr; }
  .ma-container-wide { padding: 0 16px; }
  .ma-nav-inner { padding: 12px 16px; }
}

/* ===================================================================
   MAC (Maine Artist Collective) — site-specific components
   =================================================================== */

/* MAC hero */
.mac-hero {
  background: var(--ma-ink); color: var(--ma-paper);
  padding: 72px 0 80px; position: relative; overflow: hidden;
}
.mac-hero-inner { position: relative; z-index: 2; }
.mac-hero-kicker {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--ma-body); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ma-coral);
  margin-bottom: 48px;
}
.mac-hero-kicker-rule { flex: 0 0 40px; height: 1px; background: currentColor; opacity: .4; }
.mac-hero-heading-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.mac-hero-logo { margin-bottom: 28px; }
.mac-hero-h1 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(64px, 10vw, 112px);
  line-height: .92; letter-spacing: -.025em; color: var(--ma-paper);
  margin: 0 0 32px;
}
.mac-hero-h1 em { font-style: italic; font-weight: 400; color: var(--ma-coral); }
.mac-hero-sub-text p {
  font-family: var(--ma-body); font-size: 18px; line-height: 1.55;
  color: rgba(250,247,242,.72); margin: 0 0 28px;
}
.mac-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.mac-btn-ghost-light {
  font-family: var(--ma-body); font-weight: 500; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  background: transparent; color: var(--ma-paper);
  border: 1.5px solid rgba(250,247,242,.4);
  text-decoration: none; display: inline-flex; align-items: center;
  transition: border-color 140ms, background 140ms;
}
.mac-btn-ghost-light:hover { border-color: var(--ma-paper); background: rgba(250,247,242,.08); }
.mac-hero-tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  align-self: center;
}
.mac-hero-tile {
  text-decoration: none; color: var(--ma-paper);
  display: flex; flex-direction: column;
}
.mac-hero-tile-art {
  aspect-ratio: 1; position: relative; overflow: hidden;
  border-radius: 4px;
}
.mac-hero-tile-name {
  font-family: var(--ma-body); font-size: 10px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  margin-top: 6px; opacity: .6; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* MAC shop CTA strip */
.mac-shop-strip {
  background: var(--ma-violet); color: var(--ma-paper);
  padding: 56px 0;
}
.mac-shop-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.mac-shop-strip-h2 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05;
  letter-spacing: -.02em; margin: 10px 0 0;
}
.mac-shop-strip-h2 em { font-style: italic; font-weight: 400; color: var(--ma-coral); }

/* MAC shop page */
.mac-shop-header { padding: 72px 0 48px; background: var(--ma-paper); }
.mac-shop-h1 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(44px, 6vw, 80px); line-height: .96;
  letter-spacing: -.025em; color: var(--ma-ink); margin: 12px 0 36px;
}
.mac-shop-h1 em { font-style: italic; font-weight: 400; color: var(--ma-violet); }
.mac-shop-filter { margin-top: 24px; }
.mac-shop-grid-section { padding: 40px 0 80px; background: var(--ma-paper); }
.mac-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.mac-shop-card { display: flex; flex-direction: column; }
.mac-shop-card-img-link { display: block; text-decoration: none; }
.mac-shop-card-art {
  aspect-ratio: 1; position: relative; overflow: hidden;
  border-radius: 4px; background: var(--ma-paper-deep);
  border: 1px solid var(--ma-paper-edge);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.mac-shop-card-art:hover {
  transform: translateY(-2px); box-shadow: var(--ma-shadow-lift);
}
.mac-shop-card-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mac-shop-card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mac-shop-card-body { padding: 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.mac-shop-card-vendor {
  font-family: var(--ma-body); font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ma-violet);
}
.mac-shop-card-title {
  font-family: var(--ma-display); font-size: 20px; font-weight: 500;
  color: var(--ma-ink); line-height: 1.15; letter-spacing: -.01em;
}
.mac-shop-card-price {
  font-family: var(--ma-body); font-size: 15px; font-weight: 600; color: var(--ma-coral);
}
.mac-shop-card-btn { margin-top: 10px; font-size: 13px; padding: 8px 18px; }
.mac-shop-empty {
  text-align: center; padding: 80px 0;
  font-family: var(--ma-body); font-size: 17px; color: var(--ma-ink-mute);
}

/* MAC artist detail — products-first */
.mac-detail-header {
  padding: 60px 0 48px; background: var(--ma-paper);
  border-bottom: 1px solid var(--ma-paper-edge);
}
.mac-detail-header-inner {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 48px; align-items: start;
}
.mac-detail-header-photo {
  aspect-ratio: 3 / 4; overflow: hidden; position: relative;
  border-radius: 4px; border: 1px solid var(--ma-paper-edge);
  box-shadow: var(--ma-shadow-lift);
}
.mac-detail-header-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mac-detail-eyebrow { margin-bottom: 10px; }
.mac-detail-name {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1.0;
  letter-spacing: -.02em; color: var(--ma-ink); margin: 8px 0 16px;
}
.mac-detail-quote {
  font-family: var(--ma-display); font-style: italic;
  font-size: 20px; line-height: 1.4; color: var(--ma-violet);
  margin: 16px 0; padding-left: 20px; border-left: 3px solid var(--ma-violet);
}
.mac-detail-shop {
  padding: 56px 0 48px; background: var(--ma-paper);
}
.mac-detail-shop-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.mac-detail-shop-h2 {
  font-family: var(--ma-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.0;
  letter-spacing: -.02em; color: var(--ma-ink); margin: 0;
}
.mac-detail-shop-count {
  font-family: var(--ma-body); font-size: 13px; color: var(--ma-ink-mute);
}
.mac-detail-bio { padding: 48px 0 64px; background: var(--ma-paper-deep); }
.mac-detail-bio-inner { max-width: 680px; }
.mac-detail-bio-text {
  font-family: var(--ma-body); font-size: 18px; line-height: 1.65;
  color: var(--ma-ink-soft); margin: 16px 0 0;
}
.mac-detail-badge {
  display: inline-block; margin-top: 20px;
  font-family: var(--ma-body); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ma-teal);
  padding: 6px 14px; border: 1.5px solid var(--ma-teal);
  border-radius: 999px;
}

/* MAC coming soon variant */
[data-site="mac"] .ma-coming-soon {
  background: var(--ma-ink); color: var(--ma-paper);
}
[data-site="mac"] .ma-cs-h1 { color: var(--ma-paper); }
[data-site="mac"] .ma-cs-h1 em { color: var(--ma-coral); }
[data-site="mac"] .ma-cs-kicker { color: var(--ma-coral); }
[data-site="mac"] .ma-cs-locs { color: rgba(250,247,242,.5); }

/* MAC nav override — logo on dark page scroll */
[data-site="mac"] .ma-nav {
  background: rgba(26,31,31,.94);
  border-bottom-color: rgba(250,247,242,.08);
}
[data-site="mac"] .ma-nav-link,
[data-site="mac"] .ma-nav-brand { color: var(--ma-paper); }
[data-site="mac"] .ma-nav-link:hover,
[data-site="mac"] .ma-nav-link.active {
  color: var(--ma-coral); border-bottom-color: var(--ma-coral);
}

/* MAC responsive */
@media (max-width: 960px) {
  .mac-hero-heading-row { grid-template-columns: 1fr; }
  .mac-hero-tiles { grid-template-columns: repeat(4, 1fr); }
  .mac-detail-header-inner { grid-template-columns: 220px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .mac-hero { padding: 48px 0 56px; }
  .mac-hero-h1 { font-size: clamp(48px, 12vw, 72px); }
  .mac-hero-tiles { grid-template-columns: repeat(3, 1fr); }
  .mac-detail-header-inner { grid-template-columns: 1fr; }
  .mac-detail-header-photo { aspect-ratio: 4 / 3; }
  .mac-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mac-shop-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- Shopping bag icon (nav + hero) ---- */
.ma-nav-shop-link { display: inline-flex; align-items: center; gap: 5px; }
.mac-btn-ghost-shop { display: inline-flex; align-items: center; gap: 10px; }
.ma-nav-bag-icon { animation: ma-bag-bounce 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes ma-bag-bounce {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

/* ---- MAC Coming Soon section ---- */
.mac-coming-soon { background: var(--ma-paper-deep); padding: 80px 0; }
.mac-coming-soon-inner { display: flex; justify-content: center; }
.mac-coming-soon-content { max-width: 520px; text-align: center; }
.mac-coming-soon-h2 { font-family: var(--ma-display); font-size: clamp(32px,5vw,52px);
  font-weight: 500; color: var(--ma-ink); margin: 6px 0 18px; line-height: 1.08; }
.mac-coming-soon-h2 em { color: var(--ma-violet); font-style: italic; }
.mac-coming-soon-lead { font-size: 16px; color: var(--ma-muted); line-height: 1.65;
  margin: 0 0 28px; }
.mac-coming-soon-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mac-coming-soon-input { flex: 1 1 220px; padding: 12px 16px; border-radius: 8px;
  border: 1.5px solid var(--ma-paper-edge); background: var(--ma-paper);
  font-size: 15px; color: var(--ma-ink); outline: none; }
.mac-coming-soon-input:focus { border-color: var(--ma-violet); }
.mac-coming-soon-btn { flex-shrink: 0; background: var(--ma-violet); }
.mac-coming-soon-fine { font-size: 13px; color: var(--ma-muted); margin-top: 12px; }

/* ---- GSAP animation helpers ---- */
/* Performance hints for animated elements */
.mac-hero-tiles { will-change: transform; }
.mac-hero-tile-art { will-change: transform; }
/* Clip wrapper injected by GSAP hero for h2 line reveals */
.ma-gsap-line-wrap { display: block; overflow: hidden; }
/* FOUC guard: browse cards hidden until GSAP marks them ready */
.ma-browse .ma-browse-grid .ma-browse-card:not([data-browse-ready]) { opacity: 0; }
/* Suppress CSS transition on email input during GSAP glow pulse */
.mac-coming-soon-input.gsap-animating { transition: none; }
