/* ============================================================
   WARM EARTH — Annette Kamfer Art
   Colour scheme copied from The White Gallery: paper white,
   ink, vermilion, gold, sage. Layout and structure are Warm Earth's.
   ============================================================ */

/* ---------- tokens (values = White Gallery :root) ---------- */
:root {
  --cream: #FAFAF8;          /* --bg */
  --cream-deep: #F4F3EF;     /* paper, one step down */
  --white-warm: #FFFFFF;     /* --surface */
  --espresso: #1A1714;       /* --ink */
  --espresso-2: #1A1714;
  --ink-soft: rgba(26, 23, 20, 0.68);
  --ink-mute: rgba(26, 23, 20, 0.56);
  --ink-faint: rgba(26, 23, 20, 0.38);
  --terracotta: #C4562E;     /* --vermilion */
  --terracotta-deep: #A8431F; /* --vermilion-deep */
  --terracotta-soft: #C4562E;
  --ochre: #C9A227;          /* --gold */
  --sage: #7D8B7A;
  --line: #E5E0D8;           /* --hairline */
  --line-strong: rgba(26, 23, 20, 0.22);
  --wash-1: #C4562E;
  --wash-2: #C9A227;
  --wash-3: #7D8B7A;

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 34px;

  --shadow-soft: 0 14px 34px -16px rgba(26, 23, 20, 0.18);
  --shadow-lift: 0 28px 56px -24px rgba(26, 23, 20, 0.26);
  --shadow-frame: 0 34px 80px -32px rgba(26, 23, 20, 0.3);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  background: var(--cream);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--espresso);
  background: transparent;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--terracotta-deep); }

::selection { background: rgba(196, 86, 46, 0.18); }

::focus-visible {
  outline: 2px solid var(--terracotta-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

.wrap { width: min(1140px, 92vw); margin-inline: auto; }

.section { padding-block: clamp(52px, 8vw, 104px); }
/* Home: extra breathing room after the artwork grid (newsletter block was removed) */
body[data-page="home"] main > section:last-of-type { padding-bottom: calc(clamp(52px, 8vw, 104px) + 1.5rem); }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; }

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 0.4rem;
}
.eyebrow-lg { font-size: 1.014rem; } /* Works page only: 0.78rem x 1.3 */

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.section-head { max-width: 640px; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head-wide { max-width: 52rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.45em; }
.section-head p { color: var(--ink-soft); }
.section-head-wide p {
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  line-height: 1.45;
}
.section-head-split {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split .more {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--terracotta-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.section-head-split .more:hover { border-bottom-color: var(--terracotta-deep); }

.tiny-note { font-size: 0.83rem; color: var(--ink-soft); margin-top: 0.9rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--terracotta-deep);
  color: var(--cream);
  box-shadow: 0 14px 28px -14px rgba(168, 67, 31, 0.6);
}
.btn-primary:hover { background: #8F3717; box-shadow: 0 18px 34px -14px rgba(168, 67, 31, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.86rem; }

.text-link {
  color: var(--terracotta-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(196, 86, 46, 0.35);
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--terracotta-deep); }

/* ---------- badges & chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge-original { background: rgba(201, 162, 39, 0.24); color: var(--espresso); }
.badge-available { background: var(--terracotta-deep); color: #FFF; }
.badge-sold { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1px currentColor; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.1rem 0;
}
.chip {
  border: 1.5px solid var(--line);
  padding: 0.34em 0.9em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.chip strong { color: var(--espresso); font-weight: 600; }



/* ---------- Ndebele-inspired motif strip ---------- */
.motif-strip {
  overflow: hidden;
  line-height: 0;
  margin-block: clamp(6px, 1.5vw, 20px);
}
.motif-strip svg {
  width: 100%;
  height: clamp(18px, 2.4vw, 28px);
  transform: translateY(var(--par, 0));
  will-change: transform;
}
.motif-strip.motif-flip svg { transform: translateY(var(--par, 0)) scaleY(-1); }
.m-stroke { fill: none; stroke: rgba(196, 86, 46, 0.32); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(250, 250, 248, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(26, 23, 20, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  position: relative;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
  line-height: 1.25;
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.99rem; color: var(--espresso); }
.brand-sub { font-family: var(--font-display); font-style: italic; font-size: 1.13rem; color: var(--terracotta-deep); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  color: var(--espresso);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.35rem 0.05rem;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn).active::after { transform: scaleX(1); }
.site-nav a:not(.btn).active { color: var(--terracotta-deep); font-weight: 600; }
.site-nav .btn-sm { font-size: 0.95rem; }
.site-nav .btn { white-space: nowrap; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--white-warm);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--espresso);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 104px);
  background: rgba(250, 250, 248, 0.6);
  border-top: 1px solid var(--line);
  color: var(--espresso);
  padding: clamp(2.4rem, 6vw, 4rem) 0 1.8rem;
}
.footer-grid {
  display: grid;
  gap: 2.2rem;
}
.footer-title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; margin: 0; color: var(--espresso); }
.footer-sub { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--ink-soft); margin: 0.1rem 0 0; }
.footer-tagline { margin-top: 0.8rem; color: var(--ink-soft); max-width: 34ch; }
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute, var(--ink-soft));
  margin: 0 0 0.7rem;
}
.footer-link {
  display: block;
  width: fit-content;
  color: var(--espresso);
  text-decoration: none;
  padding: 0.16rem 0;
  border-bottom: 1.5px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-link:hover { color: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.footer-social .footer-link { display: inline-block; }
.footer-loc { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.contact-social { margin: 0; min-height: 1.6rem; }
.footer-block p { color: var(--ink-soft); }
.footer-social { display: flex; gap: 1.1rem; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-base p { margin: 0; }
.footer-admin { color: var(--ink-soft); text-decoration: none; border-bottom: 1.5px solid var(--line); }
.footer-admin:hover { color: var(--terracotta-deep); border-color: var(--terracotta-deep); }

/* ---------- hero (index) ---------- */
.hero {
  padding-top: clamp(118px, 15vh, 168px);
  padding-bottom: clamp(44px, 7vw, 84px);
}
.hero-grid { display: grid; gap: clamp(2.4rem, 6vw, 4.6rem); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 0.8rem; }
.h1-af {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.85em;
}
.hero-lede { font-size: clamp(1.06rem, 1.7vw, 1.24rem); color: var(--ink-soft); max-width: 42ch; margin-top: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 3rem; }

.frame-stack { position: relative; max-width: 580px; margin-inline: auto; }
.frame-offset {
  position: absolute;
  inset: 28px -26px -26px 28px;
  /* Shifts hue toward the pigment of the painting currently shown
     in the hero (--accent set from that painting's palette). */
  background: var(--accent, var(--ochre));
  border-radius: var(--r-lg);
  transform: rotate(2.2deg);
  transition: background-color 0.7s ease;
}
.frame-main {
  position: relative;
  margin: 0;
  background: var(--white-warm);
  padding: clamp(12px, 1.8vw, 18px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-frame);
}
.frame-main img { width: 100%; height: 100%; object-fit: cover; }
.frame-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding: 0.85rem 0.35rem 0.25rem;
  font-size: 0.87rem;
  color: var(--ink-soft);
}
.frame-cap a { white-space: nowrap; font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(196, 86, 46, 0.35); }
.frame-cap a:hover { border-color: var(--terracotta-deep); }

/* ---------- orientation-aware media ---------- */
.orient-landscape { aspect-ratio: 4 / 3; }
.orient-portrait { aspect-ratio: 3 / 4; }
.orient-square { aspect-ratio: 1 / 1; }
.orient-landscape img, .orient-portrait img, .orient-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single black frame around the painting */
.frame-main img,
.card-frame img,
.teaser-thumb img {
  border: 3px solid #111;
  border-radius: 0;
  box-sizing: border-box;
}


/* ---------- series teasers (index) ---------- */
.teaser-grid { display: grid; gap: clamp(16px, 2.5vw, 26px); }
.teaser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white-warm);
  border-radius: var(--r);
  border: 1px solid rgba(26, 23, 20, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none;
  color: var(--espresso);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.teaser-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lift); }
.teaser-card:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.teaser-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(201, 162, 39, 0.12); }
.teaser-thumb img { width: 100%; height: 100%; object-fit: cover; }
.teaser-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem 1.3rem 1.35rem; }
.teaser-body strong { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; }
.teaser-body > span:not(.teaser-count) { font-size: 0.92rem; color: var(--ink-soft); }
.teaser-count { font-size: 0.8rem; font-weight: 600; color: var(--terracotta-deep); }
.teaser-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 250, 248, 0.94);
  color: var(--terracotta-deep);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.28s ease;
}
.teaser-card:hover .teaser-arrow { transform: translateX(4px); }


/* ---------- CTA band (shared) ---------- */
/* Gallery: slimmer CTA band (single button now) */
body[data-page="gallery"] .cta-band { padding-block: clamp(1.2rem, 4.5vw, 2.8rem); }
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 252, 244, 0.65);
  border: 1px solid rgba(26, 23, 20, 0.07);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(2.2rem, 5.5vw, 3.8rem) clamp(1.4rem, 4vw, 3rem);
}
/* Soft gradient of two global pigments behind the words. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 150% at 6% -10%, var(--wash-1, #C4562E), transparent 62%),
    radial-gradient(90% 150% at 94% 110%, var(--wash-2, #C9A227), transparent 62%);
  opacity: 0.09;
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.45em; }
.cta-band p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 1.4rem; }
.cta-band .cta-row { justify-content: center; margin-top: 0; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: clamp(118px, 15vh, 176px) 0 clamp(1.2rem, 3vw, 2.2rem); }
.page-head h1 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); line-height: 1.06; margin: 0.3em 0 0.4em; }

/* ---------- gallery ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.5rem; }
.pill {
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid rgba(168, 67, 31, 0.38);
  background: transparent;
  color: var(--terracotta-deep);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.pill:hover { background: rgba(196, 86, 46, 0.1); transform: translateY(-1px); }
.pill.active { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: var(--cream); }

.count { margin-top: 1.1rem; font-size: 0.88rem; color: var(--ink-soft); }

.gallery-section { padding-top: clamp(26px, 4vw, 44px); }
.art-grid { display: grid; gap: clamp(18px, 3vw, 30px); }

.art-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--white-warm);
  border-radius: var(--r);
  border: none;
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 7px;
  text-decoration: none;
  color: var(--espresso);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.art-card:hover, .art-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.card-frame { display: block; border-radius: 0; overflow: hidden; background: rgba(201, 162, 39, 0.12); }
/* Uniform 3:4 portrait photo box on every home/Works card — browser-side
   centre crop only, no asset changes. Overrides the orient-* ratios so
   landscape and portrait files fill the same box. */
.art-card .card-frame,
.art-card .orient-landscape,
.art-card .orient-portrait,
.art-card .orient-square {
  aspect-ratio: 3 / 4;
}
.card-info { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.15rem 0.3rem 0.15rem; }
.card-titles { display: flex; flex-direction: column; }
.card-titles strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1.25; }
.card-titles em { font-style: italic; font-size: 0.86rem; color: var(--terracotta-deep); }
.card-meta { font-size: 0.8rem; color: var(--ink-soft); }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.art-card .badge-available, .art-card .badge-sold { display: inline-flex; align-items: center; gap: 0.42em; }
.art-card .badge-available::before, .art-card .badge-sold::before {
  content: "";
  width: 0.52em;
  height: 0.52em;
  border-radius: 50%;
  background: var(--card-accent, var(--terracotta-deep));
}
.card-price { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin-top: 0.1rem; }

.empty-note {
  border: 2px dashed rgba(168, 67, 31, 0.35);
  border-radius: var(--r);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- about ---------- */
/* Centre the About page-head (scoped so Works/Contact keep theirs) */
body[data-page="about"] .page-head { text-align: center; }
.about-quote { padding-top: clamp(10px, 2vw, 26px); text-align: center; }
blockquote.statement {
  margin: 0 auto;
  max-width: 850px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 3.3vw, 2.35rem);
  line-height: 1.42;
}
blockquote.statement::before {
  content: "\201C";
}
blockquote.statement::after {
  content: "\201D";
}
/* Quote 1 body, now third-person copy: same type as blockquote.statement
   but without the decorative curly quotes */
.statement-body {
  margin: 0 auto 1em;
  max-width: 850px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 3.3vw, 2.35rem);
  line-height: 1.42;
}

/* About page type scale: 20% smaller than the base sizes, About only.
   Same typefaces and colours — size only. */
body[data-page="about"] .page-head .eyebrow { font-size: calc(0.78rem * 1.5 * 2 * 0.8 * 0.8); }
body[data-page="about"] .page-head h1 { font-size: clamp(1.84rem, 4.48vw, 2.96rem); }
body[data-page="about"] .statement-body { font-size: clamp(1.16rem, 2.64vw, 1.88rem); }
body[data-page="about"] .prose h2 { font-size: clamp(1.84rem, 4.48vw, 2.96rem); }
body[data-page="about"] .prose p { font-size: clamp(1.16rem, 2.64vw, 1.88rem); }
@media (max-width: 759.98px) {
  body[data-page="about"] .page-head .eyebrow { font-size: calc(0.78rem * 1.5 * 0.8 * 0.8); }
}

/* About head: copy left, portrait drop-zone top right.
   The <img> is hidden until assets/art/portrait.jpg is dropped in —
   the dashed frame shows the slot either way. */
.about-head-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}
.about-head-copy { text-align: center; }
.about-portrait {
  margin: 0;
  width: clamp(150px, 22vw, 260px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-sm, 4px);
  border: 2px dashed rgba(168, 67, 31, 0.45);
  background: rgba(168, 67, 31, 0.05);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-portrait img[hidden] { display: none; }
@media (max-width: 759.98px) {
  .about-head-grid { grid-template-columns: 1fr; }
  .about-portrait { justify-self: center; }
}

/* About vertical rhythm: both headings sit a tight 24px above their
   body text; the seam between the two quotes is 4x the measured
   live quote→H2 gap (29px → ~116px at 1440). */
body[data-page="about"] .page-head { padding-bottom: 0; }
body[data-page="about"] .page-head h1 { margin-bottom: 0; }
body[data-page="about"] .about-quote { padding-top: 24px; padding-bottom: 49px; }
body[data-page="about"] .about-prose { padding-top: 49px; padding-bottom: 45px; }
body[data-page="about"] .prose h2 { margin-bottom: 24px; }
body[data-page="about"] .prose { max-width: 850px; text-align: center; }
body[data-page="about"] .prose p { color: var(--espresso); }
body[data-page="about"] .motif-strip { margin-block: 8px; }
body[data-page="about"] .site-footer { margin-top: 83px; }

/* Quote 2 heading matches the Quote 1 heading (page-head H1) */
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  line-height: 1.06;
  font-weight: 600;
  margin: 0.3em 0 0.4em;
}
@media (min-width: 760px) {
  .prose h2 { white-space: nowrap; }
  body[data-page="about"] .prose h2 { white-space: normal; }
}
/* Quote 2 body matches the Quote 1 body (blockquote.statement) */
.prose p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  line-height: 1.42;
  font-size: clamp(1.45rem, 3.3vw, 2.35rem);
  color: var(--ink-soft);
}
.prose p strong { color: var(--espresso); }
/* Home: extra breathing room after the artwork grid (newsletter block was removed) */
body[data-page="home"] main > section:last-of-type { padding-bottom: calc(clamp(52px, 8vw, 104px) + 1.5rem); }

@media (max-width: 559.98px) {
  /* 65-work catalogue on a phone: 15% tighter cards, art at the fold */
  .hero { padding-bottom: clamp(20px, 5vw, 40px); }
  .section { padding-block: clamp(40px, 7vw, 60px); }
  .art-card { padding: 10px 10px 6px; gap: 0.65rem; }
  .card-info { gap: 0.4rem; }
  .art-card .btn-sm { padding: 0.8rem 1.2rem; }
  .pill { padding: 0.72rem 1.15rem; }
  .footer-grid { gap: 1.4rem; }
  .footer-base { margin-top: 1.4rem; padding-top: 1rem; }
}



/* ---------- contact ---------- */
.contact-grid { display: flex; flex-direction: column; align-items: center; gap: clamp(1.2rem, 3vw, 1.8rem); }
.contact-form { width: 100%; max-width: 46rem; }
.contact-form {
  background: var(--white-warm);
  border: 1px solid rgba(26, 23, 20, 0.07);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.req { color: var(--terracotta-deep); }
.field input, .field select, .field textarea {
  font: inherit;
  color: inherit;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.78rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta-deep);
  box-shadow: 0 0 0 3px rgba(196, 86, 46, 0.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A8431F; }
.field-hint { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.field-error { font-size: 0.82rem; font-weight: 500; color: #A8431F; margin: 0; }
.helper-text {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: rgba(201, 162, 39, 0.14);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem;
}
.contact-aside { display: flex; flex-direction: column; gap: 1.1rem; width: 100%; max-width: 46rem; }
.aside-card {
  background: rgba(255, 252, 244, 0.72);
  border: 1px solid rgba(26, 23, 20, 0.07);
  border-radius: var(--r);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.aside-card h2 { font-size: 1.12rem; margin-bottom: 0.45em; }
.aside-card p { color: var(--ink-soft); font-size: 0.95rem; }
.mail-line {
  font-weight: 600;
  color: var(--terracotta-deep);
  text-decoration: none;
  word-break: break-word;
  border-bottom: 2px solid rgba(196, 86, 46, 0.3);
}
.mail-line:hover { border-color: var(--terracotta-deep); }


/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  opacity: 0;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  pointer-events: none;
  z-index: 80;
  transition: transform 0.32s ease, opacity 0.32s ease;
  max-width: min(90vw, 480px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- boot note (graceful degradation) ---------- */
.boot-note {
  margin: 110px auto 0;
  max-width: 560px;
  text-align: center;
  background: var(--white-warm);
  border: 1px solid rgba(26, 23, 20, 0.1);
  margin: 28px auto 40px;
  color: var(--ink-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 560px) {
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .pn-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 759.98px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 3vw;
    right: 3vw;
    background: var(--white-warm);
    border: 1px solid rgba(26, 23, 20, 0.07);
    border-radius: var(--r);
    box-shadow: var(--shadow-lift);
    padding: 1.3rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .site-header.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .brand-sub { display: none; }
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
}

@media (min-width: 1200px) {
  .art-grid { grid-template-columns: repeat(3, 1fr); }
  .teaser-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1199.98px) {
  .art-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 559.98px) {
  .art-grid { grid-template-columns: 1fr; }
  /* The offset slab must stay inside the viewport on phones */
  .frame-offset { inset: 20px 12px 12px 20px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motif-strip svg, .motif-strip.motif-flip svg { transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .art-card:hover, .teaser-card:hover { transform: none; }
}
