/* Alicia María Vallejo · Alice in Flowerland
   White walls like a gallery so the paintings carry the colour.
   Accents are taken from the flowers in her logo. */

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f3ef;
  --ink: #1b1918;
  --ink-soft: #5c5653;
  --line: #e7e2dc;

  /* Flowerland palette */
  --magenta: #e6197a;
  --magenta-ink: #b80d5f; /* readable on white */
  --turquoise: #16b3d6;
  --orange: #f7801e;
  --yellow: #f9c80e;
  --green: #2f8f3a;
  --violet: #8e44c9;
  --red: #d7263d;

  --accent: var(--magenta-ink);
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Accent face: a warm serif italic (her logo keeps the hand-lettered script) */
  --script: "Fraunces", "Iowan Old Style", Georgia, serif;
  --radius: 2px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-color: var(--magenta); text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--sans); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 7vw, 96px); }
.narrow { max-width: 860px; }
.muted { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; }
.empty { color: var(--ink-soft); font-style: italic; }
.script { font-family: var(--script); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8em; }
.eyebrow a { text-decoration: none; }
.page-title { margin-bottom: 0.8em; }
.section-title { margin: 0 0 0.9em; }
.actions { margin-top: 1.6em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.actions .button { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }
main:focus { outline: none; }


/* Buttons: black like her current site, magenta on hover */
.button {
  display: inline-block;
  padding: 0.85em 1.7em;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0.4em 0.4em 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { background: var(--magenta-ink); border-color: var(--magenta-ink); color: #fff; }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-light { background: #fff; color: var(--ink); border-color: #fff; }
.button-light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 84px; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; flex-direction: column; padding: 8px 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { height: 64px; width: auto; }
.brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wordmark { display: grid; grid-template-columns: auto auto; align-items: end; line-height: 1; }
.wordmark-script { font-family: var(--script); font-size: 3.1rem; line-height: 0.8; padding-right: 2px; }
.wordmark-flowers { width: 74px; height: 40px; align-self: center; }
.wordmark-caps { grid-column: 1 / -1; justify-self: center; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 6px; padding-left: 0.32em; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-size: 0.98rem; letter-spacing: 0.03em; }
.site-nav .nav-links a { padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav .nav-links a:hover { color: var(--ink); border-bottom-color: var(--magenta); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.lang-switch { font-size: 0.85rem; gap: 10px !important; letter-spacing: 0.08em; text-transform: uppercase; }
.lang-switch span[aria-current] { color: var(--ink-soft); }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  font: inherit; color: inherit; background: none;
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 8px 14px; cursor: pointer;
}
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.burger::before { position: absolute; top: -6px; }
.burger::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .wordmark-script { font-size: 2.5rem; }
  .wordmark-flowers { width: 58px; height: 32px; }
  .brand-logo { height: 52px; }
  .site-nav { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; padding: 6px 0 22px; }
  .site-nav ul { flex-direction: column; gap: 10px; }
  .site-nav .lang-switch { flex-direction: row; }
  .site-nav .nav-links a { font-size: 1.5rem; letter-spacing: 0; }
  .js-nav .nav-toggle:not([hidden]) { display: inline-flex; }
  .js-nav .site-nav { display: none; }
  .js-nav.nav-open .site-nav { display: flex; }
}

/* Footer */
.site-footer { background: var(--ink); color: #f3efea; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration-color: var(--yellow); }
.site-footer a:hover { color: var(--yellow); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-inner p { margin: 0 0 0.3em; }
.footer-script { font-family: var(--script); font-size: 2.6rem; line-height: 1; }
.footer-script span { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; vertical-align: middle; margin-left: 4px; }
.footer-name { font-size: 1.05rem; }
.footer-legal { width: 100%; color: #b7aea8; font-size: 0.85rem; border-top: 1px solid #3a3533; padding-top: 18px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.social-large { font-size: 1.15rem; margin-bottom: 1.5em; }

/* Colourful stand-ins until photos are added (inspired by her tree paintings) */
.flower-field, .practice-pattern, .img-placeholder {
  background-color: #3fae49;
  background-image:
    radial-gradient(circle at 8% 30%, var(--turquoise) 0 9%, transparent 9.3%),
    radial-gradient(circle at 24% 72%, var(--magenta) 0 11%, transparent 11.3%),
    radial-gradient(circle at 38% 22%, #4a62d9 0 12%, transparent 12.3%),
    radial-gradient(circle at 52% 66%, var(--yellow) 0 8%, transparent 8.3%),
    radial-gradient(circle at 63% 28%, var(--orange) 0 10%, transparent 10.3%),
    radial-gradient(circle at 78% 70%, var(--violet) 0 11%, transparent 11.3%),
    radial-gradient(circle at 92% 30%, var(--red) 0 9%, transparent 9.3%),
    linear-gradient(170deg, #5cc25a 0 45%, #2f8f3a 45% 70%, #1f6d2c 70%);
}
.img-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  display: grid; place-items: center;
}
.img-placeholder span {
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  padding: 0.4em 0.9em; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}

/* Home: hero. The whole painting, never cropped, with the title beside it. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(32px, 5vw, 64px); align-items: center; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; object-position: left center; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45); }
.hero-art figcaption { font-size: 0.85rem; color: var(--ink-soft); padding-top: 10px; }
.hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1; margin: 0 0 0.05em; }
.hero-alias { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--accent); line-height: 1.1; margin: 0 0 0.6em; }
.hero-by { margin: 0 0 1em; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-by .script { font-size: 2.2rem; text-transform: none; letter-spacing: 0; color: var(--accent); margin-left: 4px; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 32ch; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: 7fr 5fr; gap: 56px; }
}

/* Numbers strip */
.stats { background: var(--ink); color: #fff; }
.stats-list { list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px; display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.stats-list li { display: flex; flex-direction: column; line-height: 1.2; border-left: 3px solid var(--magenta); padding-left: 12px; }
.stats-list li:nth-child(6n+2) { border-color: var(--orange); }
.stats-list li:nth-child(6n+3) { border-color: var(--yellow); }
.stats-list li:nth-child(6n+4) { border-color: var(--green); }
.stats-list li:nth-child(6n+5) { border-color: var(--turquoise); }
.stats-list li:nth-child(6n+6) { border-color: var(--violet); }
.stats-list strong { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
.stats-list span { font-size: 0.9rem; color: #d8d2cc; letter-spacing: 0.02em; }

/* Featured mural: full-bleed photo, text below */
.feature-media img, .feature-media .img-placeholder { width: 100%; height: clamp(300px, 70vh, 760px); object-fit: cover; }
.feature-text { padding-top: 28px; padding-bottom: clamp(40px, 6vw, 80px); max-width: 860px; margin-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); padding-left: 0; }
.feature-text h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 0.2em; }

/* Program band on home */
.program-band { background: var(--bg-soft); border-top: 5px solid var(--turquoise); }
.program-band-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); align-items: center; }
.program-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.program-band-media { position: relative; display: block; text-decoration: none; }
.program-band-media img, .program-band-media .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.program-band-media .caption { position: absolute; left: 0; bottom: 0; background: rgba(255, 255, 255, 0.94); padding: 6px 12px; font-size: 0.88rem; font-weight: 600; }
@media (min-width: 900px) {
  .program-band-inner { grid-template-columns: 5fr 7fr; gap: 64px; }
}
.mini-stats { list-style: none; margin: 1.2em 0 1.6em; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.mini-stats li { line-height: 1.25; color: var(--ink-soft); font-size: 0.95rem; }
.mini-stats strong { display: block; font-size: 1.8rem; color: var(--ink); }
.mini-stats-stacked { grid-template-columns: 1fr 1fr; margin-top: 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--magenta), var(--orange), var(--yellow), var(--green), var(--turquoise), var(--violet)); }
.timeline li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 0 28px; padding: 10px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 65px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.timeline-year { font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.timeline-text { font-size: 1.05rem; }
.timeline-text a { text-decoration-color: var(--line); }
.timeline-text a:hover { text-decoration-color: var(--magenta); }
@media (min-width: 900px) {
  .timeline-compact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
  .timeline-compact::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--magenta), var(--orange), var(--yellow), var(--green), var(--turquoise), var(--violet)); }
  .timeline-compact li { grid-template-columns: 1fr; padding: 28px 0 0; }
  .timeline-compact li::before { left: 0; top: 1px; }
}

/* About: moments */
.moments-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.moments-grid figure { margin: 0; }
.moments-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.moments-grid figcaption { font-size: 0.88rem; color: var(--ink-soft); padding-top: 6px; }

/* Program page */
.program-hero-media img, .program-hero-media .img-placeholder { width: 100%; height: clamp(280px, 60vh, 640px); object-fit: cover; }
.program-hero-text { padding-top: clamp(28px, 4vw, 48px); }
.program-hero-text h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; margin-bottom: 0.2em; }
.program-about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 72px; padding-top: 16px; }
@media (min-width: 900px) { .program-about { grid-template-columns: 7fr 4fr; } }
.program-facts { border-top: 4px solid var(--turquoise); padding-top: 18px; align-self: start; }
.small-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 1.2em 0 0.4em; }
.project-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 64px); }
.project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 48px; align-items: center; }
.project-media img, .project-media .img-placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.project-year { font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 0.2em; }
.project h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; }
.project h3 a { text-decoration: none; }
.more { font-weight: 600; text-decoration: none; }
@media (min-width: 900px) {
  .project { grid-template-columns: 6fr 5fr; }
  .project:nth-child(even) .project-media { order: 2; }
}
.program-link { border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.95rem; }
.program-link a { font-weight: 600; }

/* Section pages */
.section-intro { max-width: 60ch; color: var(--ink-soft); margin-top: -0.4em; margin-bottom: 1.8em; }
.work-grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.work-grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 48px 32px; }
.work-card-wide .work-card-media { aspect-ratio: 3 / 2; }
.work-card-wide h3 { font-size: 1.5rem !important; }

/* Exhibitions & press */
.cv-highlights, .press, .cv-group { margin-bottom: clamp(40px, 6vw, 72px); }
.cv-jump { margin: 0 0 28px; }
.cv-jump .count { color: var(--ink-soft); font-size: 0.85em; margin-left: 4px; }
.cv-group { scroll-margin-top: 110px; }
.highlight-note { display: block; font-size: 0.92rem; margin-top: 4px; }
.press-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.press-clip { margin: 0 0 10px; background: var(--bg-soft); }
.press-clip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.press-outlet { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.press-title { font-size: 1.1rem; margin: 0 0 4px; line-height: 1.35; }

/* Footer links */
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 28px; grid-template-columns: repeat(2, max-content); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Photo viewer */
.zoom { display: block; cursor: zoom-in; }
.viewer { position: fixed; inset: 0; z-index: 50; background: #0f0d0c; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; padding: 16px 8px; }
.viewer[hidden] { display: none; }
.viewer figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.viewer img { max-width: 100%; max-height: calc(100vh - 90px); width: auto; height: auto; object-fit: contain; }
.viewer figcaption { color: #e9e3dd; font-size: 0.9rem; padding-top: 10px; text-align: center; }
.viewer button { background: none; border: 0; color: #fff; font: 300 2.6rem/1 var(--sans); cursor: pointer; padding: 8px; }
.viewer button:hover, .viewer button:focus-visible { color: var(--yellow); }
.viewer-prev { grid-column: 1; grid-row: 1; }
.viewer-next { grid-column: 3; grid-row: 1; }
.viewer-close { position: absolute; top: 8px; right: 12px; }
body.viewer-open { overflow: hidden; }
@media (max-width: 600px) {
  .viewer { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .viewer-prev, .viewer-next { position: absolute; bottom: 12px; }
  .viewer-prev { left: 20%; } .viewer-next { right: 20%; }
}

/* Home: intro */
.intro { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.intro-portrait { margin: 0; }
.intro-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-name { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.intro-text { max-width: 760px; }
@media (min-width: 900px) {
  .intro:has(.intro-portrait) { grid-template-columns: 5fr 7fr; gap: 72px; }
}

/* Home: practice cards */
.practice { padding-top: 0; }
.practice-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.practice-card a { display: block; text-decoration: none; height: 100%; }
.practice-media { aspect-ratio: 1; overflow: hidden; margin-bottom: 14px; border-top: 5px solid var(--magenta); }
.practice-media img, .practice-pattern { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.practice-card a:hover .practice-media img, .practice-card a:hover .practice-pattern { transform: scale(1.04); }
.practice-card h3 { margin: 0 0 0.25em; font-size: 1.3rem; }
.practice-card a:hover h3 { color: var(--accent); }
.practice-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.practice-textile .practice-media { border-top-color: var(--turquoise); }
.practice-public-art .practice-media { border-top-color: var(--orange); }
.practice-workshops .practice-media { border-top-color: var(--green); }
.practice-textile .practice-pattern { filter: hue-rotate(40deg); }
.practice-public-art .practice-pattern { filter: hue-rotate(-35deg); }
.practice-workshops .practice-pattern { filter: hue-rotate(95deg); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .section-title { margin: 0; }
.section-head > a { font-weight: 600; text-decoration: none; letter-spacing: 0.03em; }
.section-head > a:hover { color: var(--accent); }

/* Home: public art spotlight */
.spotlight { background: var(--bg-soft); }
.spotlight-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); align-items: center; }
.spotlight-media img, .spotlight-media .img-placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .spotlight-inner { grid-template-columns: 7fr 5fr; gap: 64px; }
}

/* Home: highlights */
.highlight-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.highlight-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 2px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.highlight-year { font-weight: 700; color: var(--accent); grid-row: span 2; font-size: 1.15rem; }
.highlight-title { font-size: 1.2rem; }
@media (min-width: 760px) {
  .highlight-list li { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; }
  .highlight-year { grid-row: auto; }
}

/* Home: commissions call to action */
.cta {
  background-color: var(--magenta-ink);
  background-image:
    radial-gradient(circle at 92% 22%, rgba(249, 200, 14, 0.4) 0 90px, transparent 91px),
    radial-gradient(circle at 84% 86%, rgba(22, 179, 214, 0.4) 0 60px, transparent 61px);
  color: #fff;
}
.cta-inner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 22ch; }
.cta p { font-size: 1.15rem; max-width: 60ch; }
.cta-email { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.cta-email:hover { color: var(--yellow); }

/* Work grid */
.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 40px 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.work-card a { text-decoration: none; display: block; }
.work-card-media { overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 5; }
.work-card-media img, .work-card-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card a:hover img { transform: scale(1.03); }
.work-card-text { padding-top: 14px; }
.work-card-text h3 { margin: 0 0 0.15em; font-size: 1.2rem; }
.work-card-text p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; letter-spacing: 0.02em; }
.work-card a:hover h3 { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .work-card-media img, .practice-media img, .practice-pattern { transition: none; }
  .work-card a:hover img, .practice-card a:hover .practice-media img, .practice-card a:hover .practice-pattern { transform: none; }
}

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 36px; }
.filters a { text-decoration: none; padding: 0.5em 1.1em; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.92rem; }
.filters a:hover { color: var(--ink); background: var(--bg-soft); }
.filters a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Single work */
.work { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.work-images { display: grid; gap: 20px; }
.work-images figure { margin: 0; }
.work-images img, .work-images .img-placeholder { width: 100%; }
.work-images figcaption { font-size: 0.88rem; color: var(--ink-soft); padding-top: 6px; }
.work-info h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1.4em; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.details dt { color: var(--ink-soft); }
.details dd { margin: 0; }
.availability { font-weight: 600; }
.availability-available { color: var(--green); }
.availability-sold { color: var(--ink-soft); }
.work-pager { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.95rem; }

@media (min-width: 1000px) {
  .work { grid-template-columns: 62fr 38fr; gap: 56px; }
  .work-info { position: sticky; top: 110px; align-self: start; }
}

/* About */
.about { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.about-portrait { margin: 0; }
.about-portrait figcaption { font-size: 0.85rem; color: var(--ink-soft); padding-top: 6px; }
.prose { max-width: 700px; }
.prose p { font-size: 1.12rem; }
.prose h2 { margin-top: 1.6em; }
@media (min-width: 900px) {
  .about { grid-template-columns: 40fr 60fr; gap: 72px; align-items: start; }
  .about-portrait { position: sticky; top: 110px; }
}

/* Exhibitions & press */
.cv, .press { margin-bottom: 48px; }
.cv-year { display: grid; grid-template-columns: 80px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 16px 0; }
.cv-year h3 { font-size: 1.05rem; font-weight: 700; color: var(--accent); margin: 0; }
.cv ul, .press ul { list-style: none; margin: 0; padding: 0; }
.cv li { margin-bottom: 12px; }
.press li { border-top: 1px solid var(--line); padding: 14px 0; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.1em 0.7em; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 520px) {
  .cv-year { grid-template-columns: 1fr; gap: 6px; }
}

/* Contact */
.contact-email { font-size: clamp(1.4rem, 4.5vw, 2.4rem); margin: 0.4em 0 1.4em; overflow-wrap: anywhere; }
.contact-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: 40px; }
.contact-cols section { border-top: 4px solid var(--magenta); padding-top: 18px; }
.contact-cols section + section { border-top-color: var(--turquoise); }
.contact-cols h2 { font-size: 1.4rem; font-weight: 600; }

/* Phones: practice cards two by two so the page stays short */
@media (max-width: 600px) {
  .practice-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .practice-card h3 { font-size: 1.1rem; }
  .practice-card p { font-size: 0.9rem; }
}

/* Projects with many photos: first one large, the rest two by two */
@media (min-width: 600px) {
  .work-images-many { grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .work-images-many figure:first-child { grid-column: 1 / -1; }
  .work-images-many figure:not(:first-child) img { aspect-ratio: 1; object-fit: cover; }
}
@media (min-width: 600px) {
  /* A last photo on its own fills the row instead of leaving a gap */
  .work-images-many figure:last-child:nth-child(even) { grid-column: 1 / -1; }
  .work-images-many figure:last-child:nth-child(even) img { aspect-ratio: 2 / 1; }
}
@media (min-width: 1000px) {
  .practice-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 20px; }
  .practice-card h3 { font-size: 1.15rem; }
  .practice-card p { font-size: 0.92rem; }
}

/* ===== Personal, colourful, no black blocks ===== */
:root {
  --tint-pink: #fdeef4;
  --tint-yellow: #fff8dc;
  --tint-turquoise: #e6f7fb;
  --tint-green: #eef8ec;
}
.tint-pink { background: var(--tint-pink); }
.tint-yellow { background: var(--tint-yellow); }
.tint-turquoise { background: var(--tint-turquoise); }
.tint-green { background: var(--tint-green); }
.centered { text-align: center; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow:hover { text-decoration: underline; }


/* Welcome */
.welcome-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 64px; align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.welcome-portrait { margin: 0; max-width: 420px; }
.welcome-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px; }
.welcome-greeting { font-size: clamp(2.8rem, 6vw, 4.4rem); color: var(--accent); margin: 0 0 0.2em; line-height: 1; font-weight: 400; }
.welcome-text { max-width: 640px; }
.signature { font-size: 2.6rem; color: var(--accent); margin: 0.2em 0 0.6em; line-height: 1; }
@media (min-width: 900px) {
  .welcome-inner { grid-template-columns: 4fr 7fr; }
}

/* Panels (Work overview and home) */
.panels { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.panel a { display: block; text-decoration: none; height: 100%; }
.panel-media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-soft); }
.panel-media img, .panel-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.panel a:hover .panel-media img { transform: scale(1.03); }
.panel-text { padding: 16px 2px 0; border-top: 5px solid var(--magenta); margin-top: -5px; position: relative; }
.panel-murals .panel-text { border-color: var(--orange); }
.panel-community .panel-text { border-color: var(--turquoise); }
.panel-workshops .panel-text { border-color: var(--green); }
.panel-wearable .panel-text { border-color: var(--violet); }
.panel h2, .panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; margin: 0 0 0.2em; }
.panel a:hover h2, .panel a:hover h3 { color: var(--accent); }
.panel p { color: var(--ink-soft); margin: 0; }
.panel .count { font-size: 0.9rem; font-weight: 400; color: var(--ink-soft); }
.panels-home { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
@media (min-width: 1000px) {
  .panels-home { grid-template-columns: repeat(6, 1fr); }
  .panels-home .panel { grid-column: span 2; }
  .panels-home .panel:nth-child(-n+2) { grid-column: span 3; }
}

/* Section link row */
.section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.section-nav a { text-decoration: none; padding: 0.45em 1em; border-radius: 999px; font-size: 0.92rem; background: var(--bg-soft); }
.section-nav a:hover { color: var(--ink); background: var(--tint-pink); }
.section-nav a[aria-current="page"] { background: var(--tint-pink); color: var(--accent); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--magenta); }
.program-hero-text .section-nav { margin-bottom: 24px; }

/* Quote */
.quote { margin: 0; }
.quote-inner { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30ch; }
.quote blockquote p { font-family: var(--script); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.15; margin: 0; color: var(--ink); }
.quote figcaption { margin-top: 18px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* Community on home */
.community-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.community-media { position: relative; display: block; }
.community-media img, .community-media .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.community-media .caption { position: absolute; left: 0; bottom: 0; background: rgba(255, 255, 255, 0.94); padding: 6px 12px; font-size: 0.88rem; font-weight: 600; }
@media (min-width: 900px) { .community-inner { grid-template-columns: 5fr 7fr; } }

/* In the studio and in the street */
.at-work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.at-work-grid figure { margin: 0; }
.at-work-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.at-work-grid figcaption { font-size: 0.88rem; color: var(--ink-soft); padding-top: 6px; }
@media (min-width: 900px) { .at-work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* Call to action: soft turquoise instead of a magenta block */
.cta.tint-turquoise { background: var(--tint-turquoise); background-image: none; color: var(--ink); text-align: center; }
.cta.tint-turquoise .cta-inner { max-width: 760px; margin: 0 auto; }
.cta.tint-turquoise h2 { margin-left: auto; margin-right: auto; }
.cta.tint-turquoise p { margin-left: auto; margin-right: auto; }
.cta.tint-turquoise .actions { justify-content: center; }
.cta.tint-turquoise .cta-email { color: var(--ink); }
.cta.tint-turquoise .cta-email:hover { color: var(--accent); }
.cta { background: var(--tint-pink); background-image: none; color: var(--ink); }
.cta .button-light { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .button-light:hover { background: var(--magenta-ink); border-color: var(--magenta-ink); color: #fff; }
.cta .cta-email { color: var(--ink); }

/* Timeline on a soft yellow band */
.timeline-band .timeline li::before { background: var(--tint-yellow); }

/* Press bio */
.press-bio { padding: clamp(24px, 4vw, 48px); margin-bottom: 48px; }

/* Light footer with flowers */
.site-footer { background: var(--bg-soft); color: var(--ink); border-top: 0; }
.site-footer a { color: var(--ink); text-decoration-color: var(--magenta); }
.site-footer a:hover { color: var(--accent); }
.footer-inner { align-items: flex-start; padding-top: 16px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 10px; }
.footer-legal { color: var(--ink-soft); border-top: 1px solid var(--line); }
.footer-links { grid-template-columns: repeat(2, max-content); }
.quote blockquote { max-width: 860px; }
.quote blockquote p { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* Serif-italic accents: sized for Fraunces, no arch on the portrait */
.hero-alias { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; margin-bottom: 0.8em; }
.welcome-greeting { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 400; }
.signature { font-size: 1.9rem; font-weight: 400; }
.welcome-portrait img { border-radius: 0; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.5); }
.quote blockquote p { font-family: var(--script); font-style: italic; font-weight: 350; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.35; }
.hero-by .script { font-size: 1.4rem; }

/* No rainbow decorations: calm placeholders, colour comes from her art (the timeline keeps its gradient) */
.flower-field, .practice-pattern, .img-placeholder { background: var(--bg-soft); background-image: none; }
.img-placeholder span { background: transparent; color: var(--ink-soft); }
.footer-inner { padding-top: 48px; }

/* Home opening: her portrait, name and words */
.intro-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 72px; align-items: center; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 88px); }
.intro-hero-portrait { margin: 0; max-width: 480px; }
.intro-hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.5); }
.intro-hero-text { max-width: 640px; }
.intro-hero-text .hero-title { margin-bottom: 0.1em; }
@media (min-width: 900px) {
  .intro-hero-inner { grid-template-columns: 5fr 7fr; }
}
.timeline li { align-content: start; align-items: start; }
.timeline-compact .timeline-year { margin-bottom: 4px; }

/* Richer tints of her palette (the pale ones read as washed out) */
:root {
  --tint-pink: #f9d3e3;
  --tint-yellow: #fde8a4;
  --tint-turquoise: #c8edf6;
  --tint-green: #d5efcd;
}
.timeline-band .timeline li::before { background: var(--tint-yellow); }

/* Home timeline: every row gets its own gradient line, continuous across the columns */
@media (min-width: 900px) {
  .timeline-compact::before { display: none; }
  .timeline-compact li::after {
    content: "";
    position: absolute; top: 7px; left: 0; right: -32px; height: 2px;
    background-image: linear-gradient(90deg, var(--magenta), var(--orange), var(--yellow), var(--green), var(--turquoise), var(--violet));
    background-size: 400% 100%;
    z-index: 0;
  }
  .timeline-compact li:nth-child(4n+1)::after { background-position: 0 0; }
  .timeline-compact li:nth-child(4n+2)::after { background-position: 33.333% 0; }
  .timeline-compact li:nth-child(4n+3)::after { background-position: 66.666% 0; }
  .timeline-compact li:nth-child(4n)::after, .timeline-compact li:last-child::after { right: 0; background-position: 100% 0; }
  .timeline-compact li::before { z-index: 1; }
}

/* White page throughout: no coloured section backgrounds */
.tint-pink, .tint-yellow, .tint-turquoise, .tint-green,
.cta, .cta.tint-turquoise { background: var(--bg); background-image: none; }
.timeline-band .timeline li::before { background: var(--bg); }
.quote .quote-inner, .timeline-band > .section, .cta-inner { border-top: 1px solid var(--line); }
.intro-hero-inner { padding-bottom: clamp(24px, 4vw, 56px); }
.press-bio { padding: 32px 0 0; border-top: 1px solid var(--line); }

/* Language switch: a small pill with EN / ES */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site-nav .lang-switch { display: inline-flex; gap: 2px !important; padding: 3px; border-radius: 999px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); text-transform: none; letter-spacing: 0; }
.lang-switch li { display: flex; }
.lang-option { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; color: var(--ink-soft); }
.site-nav a.lang-option { border-bottom: 0; }
a.lang-option:hover { color: var(--ink); background: #fff; }
.lang-option.is-active { background: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .site-nav .lang-switch { flex-direction: row; }
}
.lang-switch .lang-option.is-active, .lang-switch span.lang-option[aria-current] { color: #fff; }
.work-pager-wrap { padding-bottom: clamp(40px, 6vw, 72px); }
.work-pager-wrap .work-pager { margin-top: 0; }
@media (max-width: 600px) {
  .footer-links { grid-template-columns: 1fr; }
  .work-pager { flex-direction: column; align-items: flex-start; gap: 12px; }
  .work-pager > span:empty { display: none; }
}
.card-price { margin: 4px 0 0 !important; font-weight: 600; color: var(--ink) !important; font-size: 0.98rem !important; }
.card-sold { color: var(--ink-soft) !important; font-weight: 400; }
