/* =========================================================
   EDITORIAL LAYER — restrained gallery look.
   Loaded after style.css. Flat colour, real type, no effects.
   ========================================================= */
:root {
  /* Palette drawn from the paintings: peacock teal, marigold, vermilion */
  --bg-warm-paper: #F8F2E4;
  --text-ink-black: #14262B;
  --accent-madder: #C8442B;      /* vermilion */
  --accent-indigo: #0B4F5A;      /* peacock teal */
  --highlight-turmeric: #E9A21C; /* marigold */
  --border-sand: #DCCFB2;
  --muted-warm-grey: #5A6869;
  --dark-ink: #0C2A31;
  --dark-ink-text: #F8F2E4;
  --teal-deep: #083C45;
  --marigold-tint: #FBF3DF;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-subtle: none;
  --shadow-medium: 0 1px 2px rgba(31,26,23,0.06);
  --shadow-elevated: 0 1px 2px rgba(31,26,23,0.08);
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --transition: all 0.25s var(--ease);
}

::selection { background: var(--text-ink-black); color: var(--bg-warm-paper); }
html { scroll-padding-top: 90px; background: var(--bg-warm-paper); }
body { background: var(--bg-warm-paper); letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--text-ink-black); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--text-ink-black); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.15; }
p { line-height: 1.75; }
.lead-text { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.6; font-weight: 400; color: var(--text-ink-black); }
.section-label {
  display: block; font-size: 0.85rem; letter-spacing: 0.02em; text-transform: none;
  font-weight: 500; color: var(--muted-warm-grey); margin-bottom: 0.6rem;
}
.section-title { padding-bottom: 0; display: block; }
.section-title::after, .section-title::before { display: none; }
.section { padding: 6rem 0; }
.section-alt { background: var(--marigold-tint); border: none; }
.section-pure { background: var(--bg-warm-paper); border: none; }
/* Home: intro on white, "The work" on the marigold tint */
#intro { background: #FFFFFF; }
#intro + .section-pure { background: var(--marigold-tint); }
.scroll-progress { display: none; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-warm-paper) !important; box-shadow: none; border-bottom: 1px solid var(--border-sand);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.header-inner { padding: 1.1rem 0; gap: 1.5rem; }
.brand-title { font-size: 1.6rem; font-weight: 500; color: var(--text-ink-black); letter-spacing: 0; }
.brand-subtitle { font-size: 0.78rem; letter-spacing: 0.02em; text-transform: none; color: var(--muted-warm-grey); font-weight: 400; margin-top: 2px; }
.nav-links { gap: 1.6rem; }
.nav-links a { font-size: 0.95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-ink-black); padding: 0.3rem 0; }
.nav-links a::after { height: 1px; bottom: 0; background: var(--text-ink-black); }
.nav-links a:hover, .nav-links a.active { color: var(--text-ink-black); }
.btn-header { padding: 0.55rem 1.1rem; font-size: 0.88rem; letter-spacing: 0; text-transform: none; }
@media (max-width: 1180px) { .header-cta { display: none; } }

/* ---------- Buttons & links ---------- */
.btn {
  border-radius: 2px; padding: 0.85rem 1.6rem; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; box-shadow: none; transform: none;
}
.btn::before { display: none; }
.btn-primary, .btn-primary:hover { background: var(--text-ink-black); border-color: var(--text-ink-black); color: var(--bg-warm-paper) !important; box-shadow: none; transform: none; }
.btn-primary:hover { background: var(--accent-madder); border-color: var(--accent-madder); }
.btn-secondary { background: transparent; border: 1px solid var(--text-ink-black); color: var(--text-ink-black) !important; }
.btn-secondary:hover { background: var(--text-ink-black); color: var(--bg-warm-paper) !important; transform: none; box-shadow: none; }
.btn-outline-paper { border: 1px solid rgba(246,241,231,0.5); color: var(--bg-warm-paper) !important; }
.btn-outline-paper:hover { background: var(--bg-warm-paper); color: var(--text-ink-black) !important; }
.link-arrow { color: var(--text-ink-black); font-size: 0.95rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { color: var(--accent-madder); }

/* ---------- Hero (peacock teal colour block) ---------- */
.hero-editorial { padding: 4.5rem 0 6rem; background: #135A64; /* a shade lighter than --teal-deep */ color: var(--dark-ink-text); position: relative; overflow: hidden; }
.hero-editorial .hero-ed-title { color: #FFF8E8; }
.hero-editorial .hero-ed-kicker { color: var(--highlight-turmeric); font-weight: 500; }
.hero-editorial .hero-ed-role { color: var(--highlight-turmeric); }
.hero-editorial .hero-ed-desc { color: rgba(248,242,228,0.86); }
.hero-editorial .btn-primary, .hero-editorial .btn-primary:hover { background: var(--highlight-turmeric); border-color: var(--highlight-turmeric); color: var(--teal-deep) !important; }
.hero-editorial .btn-primary:hover { background: #FFF8E8; border-color: #FFF8E8; }
.hero-editorial .link-arrow { color: #FFF8E8; }
.hero-editorial .link-arrow:hover { color: var(--highlight-turmeric); }
.hero-editorial .hero-ed-note { color: rgba(248,242,228,0.7); border-top-color: rgba(248,242,228,0.22); }
.hero-editorial .hero-ed-note strong { color: #FFF8E8; }
.hero-editorial .hero-ed-work figcaption { color: rgba(248,242,228,0.7); }
.hero-editorial .hero-ed-work figcaption em { color: #FFF8E8; }
.hero-editorial .hero-ed-work figcaption a { color: rgba(248,242,228,0.8); border-color: rgba(248,242,228,0.3); }
.hero-editorial .hero-ed-work figcaption a:hover { color: var(--highlight-turmeric); border-color: var(--highlight-turmeric); }
.hero-editorial .hero-ed-mat { background: transparent; padding: 0; border: none; box-shadow: 0 30px 50px -30px rgba(0,0,0,0.6); position: relative; z-index: 1; }
/* flat marigold sun behind the painting */
.hero-ed-work { position: relative; }
.hero-ed-work::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--highlight-turmeric); right: -14%; top: -12%; z-index: 0; }
.hero-ed-work::after { content: ''; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--accent-madder); left: -9%; bottom: 10%; z-index: 0; }
.hero-ed-work figcaption { position: relative; z-index: 1; }
.hero-editorial .hero-ed-work { width: 100%; max-width: 450px; margin-left: auto; } /* keep the painting from feeling zoomed-in */
.hero-ed-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 5rem; align-items: center; }
.hero-ed-kicker { font-size: 0.95rem; color: var(--muted-warm-grey); margin-bottom: 1.4rem; }
.hero-ed-title { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.hero-ed-role { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--accent-madder); margin-bottom: 2rem; }
.hero-ed-desc { max-width: 520px; font-size: 1.08rem; color: var(--text-ink-black); margin-bottom: 2rem; }
.hero-ed-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-ed-note { font-size: 0.92rem; color: var(--muted-warm-grey); line-height: 1.6; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--border-sand); max-width: 520px; }
.hero-ed-note strong { color: var(--text-ink-black); font-weight: 500; }

.hero-ed-work { margin: 0; }
.hero-ed-mat { background: #FFFFFF; padding: 1.1rem; border: 1px solid var(--border-sand); box-shadow: 0 24px 40px -28px rgba(31,26,23,0.45); }
.hero-ed-crop { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #1a1411; }
.hero-ed-crop img { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; object-fit: cover; } /* clean square scan, no crop needed */
.hero-ed-work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; color: var(--muted-warm-grey); }
.hero-ed-work figcaption em { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text-ink-black); }
.hero-ed-work figcaption a { color: var(--muted-warm-grey); border-bottom: 1px solid var(--border-sand); }
.hero-ed-work figcaption a:hover { color: var(--text-ink-black); border-color: var(--text-ink-black); }

/* ---------- Dark highlight section ---------- */
.section-dark { background: var(--dark-ink); padding: 6rem 0; }
.award-highlight-card { border: 1px solid rgba(246,241,231,0.18); border-radius: 2px; padding: 3rem; background: transparent; box-shadow: none; }
.award-highlight-card::before { width: 3px; background: var(--accent-madder); }
/* Large outlined year fills the empty right side of the honour card */
.award-highlight-card::after {
  content: '2026';
  position: absolute;
  right: 3rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 168, 83, 0.35);
  pointer-events: none;
}
.award-highlight-card > * { position: relative; z-index: 1; }
@media (max-width: 1200px) { .award-highlight-card::after { display: none; } }
.award-year-tag { background: transparent; color: var(--bg-warm-paper); border: 1px solid rgba(246,241,231,0.4); border-radius: 2px; font-weight: 500; letter-spacing: 0.02em; padding: 0.25rem 0.7rem; }

/* ---------- Artworks ---------- */
.artwork-filter-bar { border-bottom: 1px solid var(--border-sand); padding-bottom: 0.8rem; gap: 1.4rem; margin-bottom: 2.5rem; }
.filter-btn { background: none; border: none; border-radius: 0; padding: 0.2rem 0; font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--muted-warm-grey); }
.filter-btn:hover, .filter-btn.active { background: none; color: var(--text-ink-black); box-shadow: inset 0 -1px 0 var(--text-ink-black); transform: none; }
.artworks-grid { gap: 3rem 2rem; }
.artwork-card { background: transparent; border: none; border-radius: 0; box-shadow: none; }
.artwork-card:hover { transform: none; box-shadow: none; }
.artwork-media { aspect-ratio: 4 / 5; background: #E6DECD; }
.artwork-card:hover .artwork-media img { transform: scale(1.02); }
.artwork-overlay-btn { background: rgba(31,26,23,0.35); align-items: center; padding: 0; }
.artwork-overlay-btn span { background: var(--bg-warm-paper); border-radius: 2px; padding: 0.55rem 1.1rem; font-size: 0.88rem; font-weight: 500; text-transform: none; letter-spacing: 0; transform: none; box-shadow: none; }
.artwork-meta { padding: 1rem 0 0; }
.artwork-title { font-size: 1.4rem; font-weight: 500; color: var(--text-ink-black); margin-bottom: 0.2rem; }
.artwork-specs { font-size: 0.88rem; text-transform: none; letter-spacing: 0; color: var(--muted-warm-grey); font-weight: 400; margin-bottom: 0.6rem; }
.artwork-desc { font-size: 0.95rem; color: var(--muted-warm-grey); }
.artwork-card-actions { border-top: none; padding-top: 0; }
.artwork-card-actions a { font-size: 0.9rem !important; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-ink-black); border-bottom: 1px solid var(--border-sand); }
.artwork-card-actions a:hover { border-color: var(--text-ink-black); }

/* Inline-styled cards (home page): flat, no lift */
div[style*="border-radius: 8px"] { border-radius: 2px !important; box-shadow: none !important; }
div[style*="border-radius: 8px"] img { transition: none; }

/* ---------- Timeline (exhibitions) ---------- */
.timeline-heading { font-size: 1.8rem; border-bottom: 1px solid var(--text-ink-black); padding-bottom: 0.7rem; }
.timeline-list { gap: 0; }
.timeline-item { background: transparent; border: none; border-bottom: 1px solid var(--border-sand); border-radius: 0; padding: 1.2rem 0; box-shadow: none; }
.timeline-item:hover { transform: none; box-shadow: none; border-color: var(--border-sand); background: rgba(255,255,255,0.4); }
.timeline-year { font-size: 1.15rem; font-weight: 500; color: var(--accent-madder); }
.timeline-content h4 { font-size: 1.2rem; font-weight: 500; color: var(--text-ink-black); }

/* ---------- Awards ---------- */
.awards-grid { gap: 1.5rem; }
.award-card { background: #FFFFFF; border: 1px solid var(--border-sand); border-radius: 2px; padding: 1.8rem; box-shadow: none; }
.award-card:hover { transform: none; box-shadow: none; border-color: var(--text-ink-black); }
.award-card.featured-award { border: 1px solid var(--border-sand); border-left: 3px solid var(--accent-madder); background: #FFFFFF; }
.award-card.featured-award::after { background: transparent; color: var(--accent-madder); font-size: 0.8rem; letter-spacing: 0; text-transform: none; font-weight: 500; padding: 0; top: 1.2rem; right: 1.4rem; content: 'National honour'; }
.award-card-year { font-size: 1.3rem; font-weight: 500; color: var(--accent-madder); }
.award-card-title { color: var(--text-ink-black); font-weight: 500; }

/* ---------- Contact, forms, resume ---------- */
.contact-info-panel, .form-box, .resume-section-card { background: #FFFFFF; border: 1px solid var(--border-sand); border-radius: 2px; box-shadow: none; }
.form-box { padding: 2.5rem; }
.contact-icon { background: transparent; border: 1px solid var(--border-sand); color: var(--text-ink-black); }
.contact-label { font-size: 0.82rem; letter-spacing: 0; text-transform: none; color: var(--muted-warm-grey); font-weight: 500; }
.form-group label { font-size: 0.9rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-ink-black); }
.form-control { border-radius: 2px; background: var(--bg-warm-paper); padding: 0.85rem 1rem; }
.form-control:focus { border-color: var(--text-ink-black); box-shadow: none; background: #FFFFFF; }
.resume-section-card { padding: 2.4rem; }
.resume-section-card h3 { border-bottom: 1px solid var(--text-ink-black); font-size: 1.6rem; }
.resume-item-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: var(--text-ink-black); }
.resume-item-subtitle { font-size: 0.92rem; text-transform: none; letter-spacing: 0; color: var(--accent-madder); font-weight: 500; }

/* ---------- Modal ---------- */
.artwork-modal { background: rgba(20,16,14,0.88); -webkit-backdrop-filter: none; backdrop-filter: none; }
.modal-content { border: none; border-radius: 2px; box-shadow: none; animation: none; }
.modal-close { box-shadow: none; }
.modal-close:hover { transform: none; background: var(--text-ink-black); color: #fff; }
.modal-image-col { background: #14100E; }

/* ---------- Footer ---------- */
/* Premium black: near-black base, faint warm glow, gold hairline + gold accents */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 12% 0%, rgba(197,139,43,0.09), transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(197,139,43,0.05), transparent 60%),
    #0A0A0A;
  color: rgba(245,240,230,0.72);
  border-top: none;
  padding-top: 5.5rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.75) 25%, rgba(212,168,83,0.75) 75%, transparent);
}
.footer-brand h3 { font-size: 2.1rem; font-weight: 500; color: #FFFFFF; letter-spacing: 0.01em; }
.footer-brand .footer-tagline { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #D4A853; }
.footer-brand p { color: rgba(245,240,230,0.6); }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: #D4A853; margin-bottom: 1.4rem; }
.site-footer a { color: rgba(245,240,230,0.68); }
.footer-nav a { position: relative; transition: color 0.25s ease; }
.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: #D4A853;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.footer-nav a:hover::after { transform: scaleX(1); }
.footer-nav a:hover { color: #FFFFFF; transform: none; }
.site-footer a:hover { color: #FFFFFF; }
.footer-contact-info p { color: rgba(245,240,230,0.68); }
.footer-contact-info strong { color: #FFFFFF; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); color: rgba(245,240,230,0.42); }
.toast-msg { border-radius: 2px; border-left: 3px solid var(--accent-madder); }

/* ---------- Editorial reveal ---------- */
.js .reveal { opacity: 0; translate: 0 22px; filter: blur(3px); }
.js .reveal.is-visible { animation: editorialReveal 0.85s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes editorialReveal {
  from { opacity: 0; translate: 0 22px; filter: blur(3px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

.section-dark .btn-primary, .section-dark .btn-primary:hover { background: var(--highlight-turmeric); border-color: var(--highlight-turmeric); color: var(--teal-deep) !important; }
.section-dark .btn-primary:hover { background: #FFF8E8; border-color: #FFF8E8; }

/* ---------- Gallery wall: painting first, museum-label caption ---------- */
.artworks-grid { gap: 4.5rem 3.2rem; align-items: start; counter-reset: none; }
.artwork-card { background: transparent; border: none; border-radius: 0; box-shadow: none; padding: 0; transform: none; }
.artwork-card::before { content: none; }
.artwork-card:hover { transform: none; box-shadow: none; border-color: transparent; }
.artwork-media { margin: 0; aspect-ratio: 4 / 5; background: #E4D9BE; cursor: zoom-in; box-shadow: 0 34px 44px -34px rgba(12,42,49,0.65); overflow: hidden; position: relative; }
/* When --img-rotate is set on the container, the image rotates + scales to hide corners */
.artwork-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transform: rotate(var(--img-rotate, 0deg)) scale(1.12);
  transform-origin: center center;
  transition: transform 0.7s ease;
}
.artwork-card:hover .artwork-media img { transform: rotate(var(--img-rotate, 0deg)) scale(1.16); }
/* Landscape paintings: show the whole work on a paper mat instead of cropping it */
.artwork-media.is-landscape { background: #EFE8D8; }
.artwork-media.is-landscape img { object-fit: contain; padding: 8%; filter: drop-shadow(0 14px 18px rgba(31,26,23,0.28)); transform: rotate(var(--img-rotate, 0deg)); }
.artwork-overlay-btn { background: rgba(8,60,69,0.28); align-items: flex-end; justify-content: flex-start; padding: 1.2rem 1.3rem; }
.artwork-overlay-btn span { background: none; border-radius: 0; padding: 0; box-shadow: none; color: #FFF8E8; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; font-weight: 400; }
.artwork-overlay-btn span::after { content: ' \2192'; }
.artwork-meta { padding: 1.2rem 0 0; }
.artwork-title { font-size: 1.5rem; font-weight: 500; color: var(--text-ink-black); margin-bottom: 0.15rem; }
.artwork-specs { margin-bottom: 0.5rem; }
.artwork-specs span { display: none; border: none; padding: 0; background: none; border-radius: 0; font-size: 0.92rem; color: var(--muted-warm-grey); }
/* Card shows "Medium · Size"; the series label stays hidden */
.artwork-specs span.spec-medium,
.artwork-specs span.spec-size { display: inline; }
.artwork-specs span.spec-category_label { display: none; }
.artwork-specs span:last-child::after { content: none; }
.artwork-desc { display: none; }
.artwork-card-actions { border: none; padding: 0; margin: 0; justify-content: flex-start; }
.artwork-card-actions .btn { display: none; }
.artwork-card-actions a { color: var(--accent-madder); font-size: 0.92rem !important; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.artwork-card-actions a:hover { color: var(--text-ink-black); }
@media (min-width: 993px) { .section-pure .artworks-grid .artwork-card:nth-child(3n+2) { margin-top: 4.5rem; } }

/* Exhibition + feature items (inline-styled on home): no boxes, image + caption */
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] {
  background: transparent !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; transform: none !important;
}
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"]:hover { transform: none !important; box-shadow: none !important; }
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] > img,
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] > div:first-child { box-shadow: 0 34px 44px -34px rgba(12,42,49,0.65); background: #FFFFFF !important; }
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] > div:first-child { background: #E4D9BE !important; }
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] > div:first-child img { object-fit: cover !important; padding: 0 !important; }
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] > div:last-child { background: transparent !important; border: none !important; padding: 1.1rem 0 0 !important; }
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] h4 { font-family: var(--font-serif); font-size: 1.4rem !important; font-weight: 500; color: var(--text-ink-black) !important; }
.section-alt div[style*="border-radius: 8px"][style*="overflow: hidden"] span[style*="uppercase"] { text-transform: none !important; letter-spacing: 0; font-size: 0.88rem !important; font-weight: 500 !important; color: var(--accent-madder) !important; }
/* ---------- Home gallery mosaic ---------- */
.section-gallery { background: var(--bg-warm-paper); padding: 5.5rem 0 6rem; }
.gm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.8rem; }
.gm-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 500; }
.gm-all { font-size: 0.92rem; color: var(--text-ink-black); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.gm-all:hover { color: var(--accent-madder); }
.gm-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(230px, 22vw, 330px)); gap: 14px; }
.gm-tile { position: relative; overflow: hidden; margin: 0; grid-area: var(--area); background: #E4D9BE; cursor: zoom-in; }
.gm-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: var(--ox, 50%) var(--oy, 50%); transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: scale(var(--sc, 1)); transition: scale 0.9s var(--ease);
}
.gm-tile:hover img { scale: 1.06; }
.gm-tile figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.25rem;
  padding: 1.2rem; background: rgba(8,60,69,0.55); color: #FFF8E8; opacity: 0; transition: opacity 0.35s var(--ease);
}
.gm-tile:hover figcaption, .gm-tile:focus-visible figcaption { opacity: 1; }
.gm-tile figcaption span { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; }
.gm-tile figcaption em { font-size: 0.85rem; font-style: normal; color: var(--highlight-turmeric); }
.gm-tile figcaption em::after { content: ' \2192'; }
@media (max-width: 992px) {
  .gm-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: clamp(200px, 38vw, 300px); }
  .gm-tile { grid-area: auto !important; }
  .gm-tile:nth-child(1), .gm-tile:nth-child(4) { grid-row: span 2; }
  .gm-tile figcaption { opacity: 1; background: rgba(8,60,69,0.35); }
}

/* ---------- About page ---------- */
.ab-intro { padding: 5rem 0 6rem; background: var(--bg-warm-paper); }
.ab-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr); gap: 5rem; align-items: center; }
.ab-title { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin-bottom: 1.4rem; color: var(--accent-indigo); }
.ab-lead { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.45; color: var(--text-ink-black); margin-bottom: 1.6rem; }
.ab-intro-copy > p:not(.ab-lead) { max-width: 560px; color: var(--muted-warm-grey); }
.ab-facts { margin-top: 2.2rem; border-top: 1px solid var(--border-sand); max-width: 560px; }
.ab-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border-sand); }
.ab-facts dt { font-size: 0.88rem; color: var(--muted-warm-grey); }
.ab-facts dd { margin: 0; font-weight: 500; }
.ab-portrait { margin: 0; position: relative; }
.ab-portrait::before { content: ''; position: absolute; inset: 6% -5% 3rem 7%; background: var(--highlight-turmeric); z-index: 0; }
.ab-portrait-img { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; background: #E4D9BE; }
.ab-portrait-img img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 18%; }
.ab-portrait figcaption { position: relative; z-index: 1; margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted-warm-grey); font-family: var(--font-serif); font-style: italic; }

.ab-block { padding: 6rem 0; }
.ab-white { background: #FFFFFF; }
.ab-paper { background: var(--bg-warm-paper); }
.ab-tint { background: var(--marigold-tint); }
.ab-two { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 5rem; align-items: start; }
.ab-two-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--accent-indigo); position: sticky; top: 110px; }
.ab-prose { font-size: 1.1rem; line-height: 1.85; }
.ab-prose p { margin-bottom: 1.4rem; }

.ab-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 4.5rem; }
.ab-trio figure { margin: 0; }
.ab-trio figure > div { aspect-ratio: 4 / 5; overflow: hidden; background: #E4D9BE; }
.ab-trio img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }
.ab-trio figure:hover img { scale: 1.05; }
.ab-trio figcaption { margin-top: 0.8rem; font-size: 0.92rem; color: var(--muted-warm-grey); }
.ab-trio figcaption strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; color: var(--text-ink-black); margin-bottom: 0.1rem; }

.ab-philosophy { max-width: 900px; text-align: center; }
.ab-philosophy .section-label { margin-bottom: 1.4rem; }
.ab-philosophy blockquote { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.25; font-weight: 500; color: var(--accent-indigo); margin-bottom: 2rem; }
.ab-philosophy blockquote em { color: var(--accent-madder); }
.ab-philosophy p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: var(--text-ink-black); }

.ab-edu { list-style: none; border-top: 1px solid var(--text-ink-black); }
.ab-edu li { display: grid; gap: 0.15rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border-sand); }
.ab-edu strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; color: var(--text-ink-black); }
.ab-edu span { color: var(--accent-indigo); font-weight: 500; }
.ab-edu em { font-style: normal; color: var(--muted-warm-grey); font-size: 0.95rem; }

.ab-cta { background: var(--teal-deep); padding: 4.5rem 0; text-align: center; }
.ab-cta h2 { color: #FFF8E8; font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1.8rem; }
.ab-cta-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.ab-cta .btn-primary, .ab-cta .btn-primary:hover { background: var(--highlight-turmeric); border-color: var(--highlight-turmeric); color: var(--teal-deep) !important; }

@media (max-width: 992px) {
  .ab-intro-grid, .ab-two { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .ab-portrait { max-width: 460px; }
  .ab-two-head h2 { position: static; }
  .ab-trio { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .ab-block { padding: 4.5rem 0; }
}

/* ---------- Inner page hero ---------- */
.pg-hero {
  position: relative; overflow: hidden; color: var(--dark-ink-text); padding: 3.5rem 0 4.2rem;
  background:
    radial-gradient(circle at 86% 112%, rgba(200,68,43,0.18) 0, rgba(200,68,43,0.18) 11%, transparent 11.3%),
    radial-gradient(circle at 8% -22%, rgba(233,162,28,0.08) 0, rgba(233,162,28,0.08) 18%, transparent 18.3%),
    linear-gradient(115deg, #135A64 0%, #11525B 72%, #0F4A52 100%); /* matches the lighter home hero */
}
.pg-hero::before { content: ''; position: absolute; width: 300px; aspect-ratio: 1; border-radius: 50%; background: var(--highlight-turmeric); right: -90px; top: -120px; }
.pg-hero::after { content: ''; position: absolute; width: 88px; aspect-ratio: 1; border-radius: 50%; background: var(--accent-madder); right: 190px; bottom: -44px; }
.pg-hero .container { position: relative; z-index: 1; }
.pg-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 4rem; align-items: end; min-height: 210px; }
.pg-hero-copy { max-width: 760px; }
.pg-crumb { display: flex; align-items: center; gap: 0.65rem; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(248,242,228,0.58); margin-bottom: 2rem; }
.pg-crumb a { color: rgba(248,242,228,0.85); }
.pg-crumb a:hover { color: var(--highlight-turmeric); }
.pg-crumb b { font-weight: 500; color: var(--highlight-turmeric); }
.pg-kicker { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--highlight-turmeric); margin-bottom: 0.65rem; }
.pg-kicker::before { content: '\2726'; font-size: 0.72rem; }
.pg-hero h1 { color: #FFF8E8; font-size: clamp(2.3rem, 3.8vw, 3.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 1rem; text-wrap: balance; }
.pg-hero p { max-width: 640px; margin: 0; color: rgba(248,242,228,0.8); font-size: 1.12rem; line-height: 1.65; }
.pg-hero-index { padding: 0 0 0.35rem; text-align: center; transform: rotate(-3deg); }
.pg-hero-index span { display: block; color: rgba(248,242,228,0.58); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pg-hero-index strong { display: block; color: #FFF8E8; font-family: var(--font-serif); font-size: 5.2rem; font-style: italic; font-weight: 500; line-height: 0.82; margin-top: 0.5rem; }
@media (max-width: 768px) {
  .pg-hero { padding: 2.7rem 0 3.2rem; }
  .pg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-top: 1.8rem; }
  .pg-hero-index { display: none; }
  .pg-hero h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .pg-hero::before { width: 190px; right: -70px; top: -80px; }
  .pg-hero::after { display: none; }
}

/* ---------- Artworks archive intro ---------- */
.artwork-archive { background: #FFFFFF; padding-top: 5rem; }
.artwork-notes { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.9fr)); gap: clamp(2rem, 4vw, 4.5rem); margin-bottom: 5rem; align-items: start; }
.artwork-notes > * { padding: 0; }
.artwork-notes-intro h2 { color: var(--accent-indigo); font-size: clamp(1.8rem, 3vw, 2.45rem); max-width: 390px; }
.artwork-notes article { position: relative; padding-top: 1.15rem; }
.artwork-notes article h3 { color: var(--accent-indigo); font-size: 1.35rem; margin-bottom: 0.65rem; }
.artwork-notes article p { color: var(--muted-warm-grey); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.9rem; }
.artwork-note-no { position: absolute; right: 0; top: 0; font-family: var(--font-serif); font-style: italic; color: var(--accent-madder); font-size: 1.1rem; }
.artwork-filter-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: end; margin-bottom: 3.2rem; }
.artwork-filter-title .section-label { margin-bottom: 0.3rem; }
.artwork-filter-title strong { font-family: var(--font-serif); color: var(--accent-indigo); font-size: 1.35rem; font-weight: 500; }
.artwork-filter-wrap .artwork-filter-bar { margin: 0; border: 0; padding-bottom: 0; }
.artwork-filter-wrap .filter-btn:hover, .artwork-filter-wrap .filter-btn.active { box-shadow: none; color: var(--accent-madder); }

@media (max-width: 992px) {
  .artwork-notes { grid-template-columns: 1fr 1fr; }
  .artwork-notes-intro { grid-column: 1 / -1; padding-right: 0; }
  .artwork-filter-wrap { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 600px) {
  .artwork-archive { padding-top: 3.5rem; }
  .artwork-notes { grid-template-columns: 1fr; margin-bottom: 3.2rem; }
  .artwork-notes-intro { grid-column: auto; }
  .artwork-notes > * { padding: 0; }
  .artwork-notes article { padding-top: 1rem; }
  .artwork-note-no { right: 0; top: 0; }
}

/* ---------- Shared page blocks (awards, exhibitions, research, resume) ---------- */
.rl { list-style: none; border-top: 1px solid var(--text-ink-black); margin: 0; padding: 0; }
.rl li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.6rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border-sand); align-items: baseline; }
.rl .y { font-family: var(--font-serif); font-size: 1.3rem; color: var(--accent-madder); line-height: 1.2; }
.rl strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; color: var(--text-ink-black); line-height: 1.25; }
.rl span.d { display: block; color: var(--muted-warm-grey); font-size: 0.95rem; margin-top: 0.15rem; }
.muted { color: var(--muted-warm-grey); }
.ab-prose-lg { font-size: 1.1rem; line-height: 1.85; }

.ab-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.ab-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.ab-duo figure, .ab-quad figure { margin: 0; }
.ab-duo figure > div, .ab-quad figure > div { aspect-ratio: 4 / 3; overflow: hidden; background: #E4D9BE; }
.ab-duo img, .ab-quad img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.9s var(--ease); }
.ab-duo figure:hover img, .ab-quad figure:hover img { scale: 1.05; }
.ab-duo figcaption, .ab-quad figcaption { margin-top: 0.8rem; font-size: 0.9rem; color: var(--muted-warm-grey); }
.ab-duo figcaption strong, .ab-quad figcaption strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; color: var(--text-ink-black); }
/* Artworks page numbers */
.artwork-pager { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 4rem; flex-wrap: wrap; }
.artwork-pager[hidden] { display: none; }
.pager-btn { min-width: 44px; height: 44px; padding: 0 0.9rem; border: 1px solid var(--border-sand); background: transparent; color: var(--text-ink-black); font-family: var(--font-serif); font-size: 1.15rem; border-radius: 0; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.pager-btn:hover:not(:disabled) { border-color: var(--accent-indigo); color: var(--accent-indigo); }
.pager-btn.is-active { background: var(--accent-indigo); border-color: var(--accent-indigo); color: #FFF8E8; }
.pager-btn:disabled { opacity: 0.35; }

/* Contact page portrait under the details panel */
.contact-portrait { margin: 1.6rem 0 0; }
.contact-portrait img { display: block; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: center 30%; box-shadow: 0 30px 40px -32px rgba(12,42,49,0.6); }
.contact-portrait figcaption { margin-top: 0.8rem; font-family: var(--font-serif); font-size: 1.1rem; color: var(--text-ink-black); }
.contact-portrait figcaption em { color: var(--muted-warm-grey); }

/* About journey photos: four portrait-format frames */
.ab-quad--journey { margin-top: 4.5rem; }
.ab-quad--journey figure > div { aspect-ratio: 4 / 5; }
.ab-trio--posters figure > div { aspect-ratio: 4 / 5; background: #FFFFFF; box-shadow: 0 30px 40px -32px rgba(12,42,49,0.6); }
.ab-trio--posters img { object-fit: contain; padding: 8px; }
.ab-trio--posters figcaption em { display: block; font-style: normal; font-size: 0.85rem; color: var(--accent-madder); margin-bottom: 0.15rem; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2.2rem; }
.sec-head h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); color: var(--accent-indigo); }

/* Awards feature */
.aw-feature { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 4rem; align-items: center; }
.aw-year { font-family: var(--font-serif); font-size: clamp(4.5rem, 10vw, 8rem); line-height: 0.9; color: var(--accent-madder); font-weight: 500; }
.aw-year small { display: block; font-size: 1.5rem; font-style: italic; color: var(--muted-warm-grey); margin-top: 0.6rem; }
.aw-body h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--accent-indigo); margin-bottom: 1rem; }

/* Exhibitions spotlight */
.ex-spot { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 4rem; align-items: center; }
.ex-spot .when { font-family: var(--font-serif); font-size: 1.7rem; color: var(--accent-madder); line-height: 1.2; }
.ex-spot h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--accent-indigo); margin-bottom: 0.8rem; }

/* Research questions */
.rs-topic { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--accent-madder); margin-bottom: 1.4rem; }
.rs-q { list-style: none; margin: 1.6rem 0; padding: 0; }
.rs-q li { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1.35; padding: 0.9rem 0 0.9rem 1.4rem; border-left: 3px solid var(--highlight-turmeric); margin-bottom: 0.9rem; color: var(--text-ink-black); }
.rs-fact { display: inline-block; font-weight: 500; border-bottom: 2px solid var(--highlight-turmeric); padding-bottom: 0.15rem; margin-bottom: 1.4rem; }
.rs-teaching { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 5rem; align-items: center; }
.rs-tenure { border-top: 1px solid var(--text-ink-black); border-bottom: 1px solid var(--border-sand); padding: 1.2rem 0 1.4rem; }
.rs-tenure span { display: block; color: var(--muted-warm-grey); font-size: 0.86rem; margin-bottom: 0.5rem; }
.rs-tenure strong { display: block; font-family: var(--font-serif); color: var(--accent-madder); font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; }
.rs-tenure em { display: block; color: var(--accent-indigo); font-family: var(--font-serif); font-size: 1.35rem; margin-top: 0.6rem; }
.rs-teaching-copy h2 { color: var(--accent-indigo); margin-bottom: 1.2rem; }
.rs-head > p { max-width: 410px; color: var(--muted-warm-grey); margin: 0; }
.rs-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.rs-card { position: relative; border-top: 1px solid var(--text-ink-black); padding: 2rem 4rem 0 0; }
.rs-card-no { position: absolute; top: 2rem; right: 0; color: var(--accent-madder); font-family: var(--font-serif); font-size: 1.1rem; }
.rs-card h3 { color: var(--accent-indigo); font-size: 1.65rem; margin-bottom: 1rem; }
.rs-card p { max-width: 530px; }
.ab-cta-kicker { display: block; color: var(--highlight-turmeric); font-size: 0.85rem; margin-bottom: 0.65rem; }

/* Resume (CV) */
.cv { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 5rem; align-items: start; }
.cv-side { position: sticky; top: 110px; }
.cv-side h2 { font-size: 2.2rem; color: var(--accent-indigo); margin-bottom: 0.3rem; }
.cv-role { color: var(--accent-madder); font-weight: 500; margin-bottom: 1.4rem; }
.cv-contact { border-top: 1px solid var(--border-sand); padding-top: 1.1rem; margin-bottom: 1.6rem; font-size: 0.95rem; color: var(--muted-warm-grey); line-height: 1.9; }
.cv-contact span, .cv-contact a { display: block; overflow-wrap: anywhere; }
.cv-contact a { color: var(--text-ink-black); }
.cv-actions { display: grid; gap: 0.7rem; }
.cv-actions .btn { width: 100%; }
.cv-main { min-width: 0; }
.cv-sec { margin-bottom: 3.6rem; }
.cv-sec:last-child { margin-bottom: 0; }
.cv-sec h3 { font-size: 1.7rem; color: var(--accent-indigo); margin-bottom: 1.1rem; }
.cv-profile { font-size: 1.12rem; line-height: 1.8; }
.rl.rl-place li { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
.rl.rl-place strong { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 500; }
.rl.rl-place .pl { color: var(--muted-warm-grey); font-size: 0.95rem; text-align: right; }
.cv-more { display: inline-block; color: var(--accent-madder); font-weight: 500; border-bottom: 1px solid currentColor; margin-top: 1.2rem; padding-bottom: 0.1rem; }
.cv-more:hover { color: var(--text-ink-black); }
.cv-cta .btn { min-width: 160px; }

@media (max-width: 992px) {
  .aw-feature, .ex-spot, .cv, .rs-teaching { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .cv-side { position: static; }
  .ab-quad { grid-template-columns: repeat(2, 1fr); }
  .ab-duo { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .rl li { grid-template-columns: 1fr; gap: 0.2rem; }
  .rl.rl-place .pl { text-align: left; }
  .rs-columns { grid-template-columns: 1fr; gap: 2.5rem; }
  .rs-head { align-items: flex-start; flex-direction: column; }
}
/* ---------- Print: compact A4 curriculum vitae (fits within 2 pages) ---------- */
@page { size: A4; margin: 14mm 16mm 14mm; }
@media print {
  .site-header, .site-footer, .pg-hero, .cv-actions, .cv-cta, .artwork-modal,
  .cv-more, .cursor-follower, .cursor-label, .cursor-sparkle, .toast-msg { display: none !important; }

  html, body { background: #FFFFFF !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; color: #1F1A17; }
  .js .reveal, .reveal { opacity: 1 !important; translate: none !important; filter: none !important; animation: none !important; transform: none !important; }

  .cv-wrap { padding: 0 !important; background: #FFFFFF !important; }
  .cv-wrap .container { max-width: none; padding: 0; }
  .cv { display: block; }

  /* Letterhead */
  .cv-side { position: static; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 12mm; padding-bottom: 5mm; margin-bottom: 6mm; border-bottom: 1.5pt solid #C58B2B; }
  .cv-side .section-label { grid-column: 1 / -1; font-size: 7.5pt; letter-spacing: 0.22em; text-transform: uppercase; color: #A3761F; margin: 0 0 1.5mm; }
  .cv-side h2 { font-size: 26pt; line-height: 1; margin: 0; color: #0B4F5A; }
  .cv-role { grid-column: 1; font-size: 10pt; margin: 1.5mm 0 0; color: #5A524B; }
  .cv-contact { grid-column: 2; grid-row: 2 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6mm; font-size: 9pt; color: #1F1A17; margin: 0; padding: 0; border: none; }
  .cv-contact a { color: #1F1A17; text-decoration: none; }

  /* Sections */
  .cv-main { display: block; }
  .cv-sec { margin: 0 0 5mm; padding: 0; border: none; break-inside: avoid-page; }
  .cv-sec .section-label { display: none; }
  .cv-sec h3 { font-size: 12.5pt; color: #0B4F5A; margin: 0 0 2mm; padding-bottom: 1mm; border-bottom: 0.5pt solid #D9CFBD; break-after: avoid; }
  .cv-profile { font-size: 10pt; line-height: 1.5; margin: 0; color: #1F1A17; }
  .cv-sec:first-child::before { content: 'Profile'; display: block; font-family: var(--font-serif); font-size: 12.5pt; color: #0B4F5A; margin-bottom: 2mm; padding-bottom: 1mm; border-bottom: 0.5pt solid #D9CFBD; }

  /* Year / entry rows */
  .rl { border-top: none; margin: 0; }
  .rl li { display: grid; grid-template-columns: 19mm minmax(0, 1fr); gap: 0 4mm; padding: 1.4mm 0; border-bottom: 0.4pt solid #ECE4D4; break-inside: avoid; background: none !important; }
  .rl li:last-child { border-bottom: none; }
  .rl .y { font-family: var(--font-sans); font-size: 9pt; font-weight: 500; line-height: 1.45; color: #B5452B; }
  .rl strong, .rl.rl-place strong { display: inline; font-family: var(--font-sans); font-size: 10pt; font-weight: 500; line-height: 1.45; color: #1F1A17; transform: none !important; }
  .rl span.d { display: inline; font-size: 9pt; line-height: 1.45; color: #5A524B; margin: 0; }
  .rl span.d::before { content: ' — '; color: #A89F92; }
  .rl.rl-place li { grid-template-columns: minmax(0, 1fr) auto; }
  .rl.rl-place .pl { font-size: 9pt; color: #5A524B; text-align: right; }

  a[href]::after { content: none !important; }
}



@media (hover: hover) and (pointer: fine) {
  .pg-hero::before { transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0); transition: transform 0.45s var(--ease); }
  .pg-hero::after { transform: translate3d(var(--hero-x-back, 0), var(--hero-y-back, 0), 0); transition: transform 0.55s var(--ease); }
  .pg-hero h1 { transform: translate3d(var(--hero-title-x, 0), var(--hero-title-y, 0), 0); transition: transform 0.35s var(--ease); }
  .pg-hero-index { transform: translate3d(var(--hero-x-back, 0), var(--hero-y-back, 0), 0) rotate(-3deg); transition: transform 0.45s var(--ease); }

  .hero-editorial .hero-ed-title { transform: translate3d(var(--hero-title-x, 0), var(--hero-title-y, 0), 0); transition: transform 0.35s var(--ease); }
  .hero-editorial .hero-ed-work::before { transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0); transition: transform 0.5s var(--ease); }
  .hero-editorial .hero-ed-work::after { transform: translate3d(var(--hero-x-back, 0), var(--hero-y-back, 0), 0); transition: transform 0.6s var(--ease); }

  body .creative-hover {
    --tilt-x: 0deg; --tilt-y: 0deg; --hover-lift: 0px;
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--hover-lift)) !important;
    transform-style: preserve-3d; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease) !important;
    will-change: transform;
  }
  body .creative-hover:hover { --hover-lift: -6px; }
  body .artwork-card.creative-hover:hover,
  body .gm-tile.creative-hover:hover,
  body .hero-ed-mat.creative-hover:hover { box-shadow: 0 30px 46px -32px rgba(8,60,69,0.58) !important; }
  body .section-alt div.creative-hover[style*="border-radius: 8px"][style*="overflow: hidden"]:hover {
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px) !important;
  }

  .artwork-card.creative-hover .artwork-media::after,
  .gm-tile.creative-hover::after,
  .ab-trio figure.creative-hover > div::after,
  .ab-duo figure.creative-hover > div::after,
  .ab-quad figure.creative-hover > div::after,
  .section-alt div.creative-hover[style*="overflow: hidden"] > div:first-child::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
    background: radial-gradient(circle at var(--hover-x, 50%) var(--hover-y, 50%), rgba(255,248,222,0.42), rgba(233,162,28,0.09) 18%, transparent 43%);
    transition: opacity 0.3s ease;
  }
  .ab-trio figure.creative-hover > div,
  .ab-duo figure.creative-hover > div,
  .ab-quad figure.creative-hover > div,
  .section-alt div.creative-hover[style*="overflow: hidden"] > div:first-child { position: relative; }
  .artwork-card.creative-hover:hover .artwork-media::after,
  .gm-tile.creative-hover:hover::after,
  .ab-trio figure.creative-hover:hover > div::after,
  .ab-duo figure.creative-hover:hover > div::after,
  .ab-quad figure.creative-hover:hover > div::after,
  .section-alt div.creative-hover[style*="overflow: hidden"]:hover > div:first-child::after { opacity: 1; }
  .artwork-overlay-btn, .gm-tile figcaption { z-index: 2; }

  .artwork-title, .ab-trio figcaption strong, .ab-duo figcaption strong, .ab-quad figcaption strong {
    transition: color 0.25s ease, transform 0.3s var(--ease);
  }
  .artwork-card:hover .artwork-title,
  .ab-trio figure:hover figcaption strong,
  .ab-duo figure:hover figcaption strong,
  .ab-quad figure:hover figcaption strong { color: var(--accent-madder); transform: translateX(6px); }

  .magnetic-action {
    position: relative; overflow: hidden; isolation: isolate;
    transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0) !important;
    transition: transform 0.22s var(--ease), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
  }
  .magnetic-action::before {
    content: ''; display: block; position: absolute; z-index: 0; pointer-events: none;
    width: 135%; height: 270%; left: -155%; top: -85%; border-radius: 46% 54% 42% 58%;
    background: rgba(233,162,28,0.28); transform: rotate(-12deg);
    transition: left 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .magnetic-action:hover::before { left: -18%; transform: rotate(7deg); }
  .magnetic-action::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.34), transparent 48%);
    transition: opacity 0.25s ease;
  }
  .magnetic-action:hover::after { opacity: 1; }

  .link-arrow::after, .cv-more span { display: inline-block; transition: transform 0.25s var(--ease); }
  .link-arrow:hover::after, .cv-more:hover span { transform: translateX(5px) rotate(-5deg); }

  .rl li { transition: padding 0.3s var(--ease), background-color 0.3s ease; }
  .rl li:hover { padding-left: 0.75rem; padding-right: 0.4rem; background: linear-gradient(90deg, rgba(233,162,28,0.09), transparent 72%); }
  .rl li strong { transition: color 0.25s ease, transform 0.3s var(--ease); }
  .rl li:hover strong { color: var(--accent-madder); transform: translateX(3px); }

  .contact-info-panel, .form-box { transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.3s ease; }
  .contact-info-panel:hover, .form-box:hover { transform: translateY(-4px); border-color: rgba(11,79,90,0.3); box-shadow: 0 26px 44px -38px rgba(8,60,69,0.55); }
  .form-control { transition: transform 0.25s var(--ease), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease; }
  .form-control:hover { border-color: rgba(233,162,28,0.75); }
  .form-control:focus { transform: translateY(-2px); box-shadow: 0 12px 24px -22px rgba(8,60,69,0.75); }

  .aw-year { transition: transform 0.4s var(--ease), color 0.3s ease; transform-origin: left center; }
  .aw-feature:hover .aw-year { transform: rotate(-2deg) scale(1.035); color: var(--highlight-turmeric); }

  .nav-links a::before {
    content: '\2726'; position: absolute; left: 50%; top: -0.72rem; color: var(--accent-madder);
    font-size: 0.58rem; opacity: 0; transform: translate(-50%, 5px) rotate(-30deg);
    transition: opacity 0.2s ease, transform 0.25s var(--ease);
  }
  .nav-links a:hover::before, .nav-links a.active::before { opacity: 1; transform: translate(-50%, 0) rotate(0); }
}

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .section { padding: 4.5rem 0; }
  .hero-ed-grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .hero-editorial { padding: 3rem 0 4.5rem; }
  .hero-ed-work { max-width: 520px; }
}
@media (max-width: 1180px) {
  .main-navigation {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-warm-paper);
    border-bottom: 1px solid var(--border-sand); box-shadow: 0 18px 30px -28px rgba(8,60,69,0.55); display: flex;
    padding: 1.1rem max(1.5rem, calc((100vw - 1280px) / 2 + 1.5rem));
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.25s var(--ease);
  }
  .main-navigation.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-links { width: 100%; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .nav-links li { width: 100%; border: 0; }
  .nav-links a { display: block; width: 100%; padding: 0.65rem 0; font-size: 1rem; }
  .mobile-menu-btn { display: block; }
  .header-cta { display: flex; margin-left: auto; }
}
@media (max-width: 768px) {
  .brand-title { font-size: 1.4rem; }
  .brand-subtitle { font-size: 0.72rem; }
  .form-box, .resume-section-card, .award-highlight-card { padding: 1.5rem; }
  .artwork-media { aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) {
  .header-inner { gap: 0.65rem; }
  .brand-subtitle { display: none; }
  .header-cta .btn-header { padding: 0.55rem 0.72rem; }
  .header-cta .btn-header span { font-size: 0; }
  .header-cta .btn-header span::after { content: 'Inquire'; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; filter: none; }
  .artist-pointer { display: none !important; }
}

/* =========================================================
   CUSTOM CURSOR — Dot + Ring + Multicolor Glitter
   ========================================================= */

/* Hide native cursor on fine pointer devices */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
  input, textarea, select, [contenteditable="true"] { cursor: text !important; }
}

/* Positioner: JS moves dot and ring with translate(x, y); state classes live here */
.cursor-follower {
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}

/* Solid dot: the actual pointer */
.cursor-dot::after {
  content: '';
  position: absolute;
  left: -2.5px; top: -2.5px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-indigo, #0B4F5A);
  box-shadow: 0 0 0 1.5px rgba(251, 248, 238, 0.7);
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* Ring: trails softly behind the dot */
.cursor-ring::after {
  content: '';
  position: absolute;
  left: -13px; top: -13px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 79, 90, 0.55);
  background: rgba(11, 79, 90, 0);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1),
    background-color 0.25s ease,
    border-color 0.25s ease;
}

/* Hover on links / buttons / artwork: ring opens up, dot shrinks */
.cursor-follower.is-hovering .cursor-ring::after {
  transform: scale(1.5);
  background: rgba(11, 79, 90, 0.08);
  border-color: rgba(11, 79, 90, 0.35);
}
.cursor-follower.is-hovering .cursor-dot::after {
  transform: scale(0.6);
}

/* Click: ring squeezes in */
.cursor-follower.is-clicking .cursor-ring::after {
  transform: scale(0.75);
  background: rgba(11, 79, 90, 0.15);
}

/* Over the black footer: cream dot, gold ring */
.cursor-follower.on-dark .cursor-dot::after {
  background: #F5F0E6;
  box-shadow: none;
}
.cursor-follower.on-dark .cursor-ring::after {
  border-color: rgba(212, 168, 83, 0.6);
}
.cursor-follower.on-dark.is-hovering .cursor-ring::after,
.cursor-follower.on-dark.is-clicking .cursor-ring::after {
  background: rgba(212, 168, 83, 0.1);
  border-color: rgba(212, 168, 83, 0.45);
}

/* Hidden (for inputs or off-window) */
.cursor-follower.is-hidden {
  opacity: 0;
}

/* --- Multicolor Glitter & Sparkles (toned down) --- */
.cursor-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  filter: drop-shadow(0 0 4px var(--color));
  animation: sparkleGlitter var(--dur, 0.7s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.cursor-sparkle.is-star {
  clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
}

.cursor-sparkle.is-gem {
  clip-path: polygon(50% 0%, 100% 28%, 100% 72%, 50% 100%, 0% 72%, 0% 28%);
}

.cursor-sparkle.is-circle {
  border-radius: 50%;
}

@keyframes sparkleGlitter {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.3);
  }
  20% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--dx) * 0.25), calc(-50% + var(--dy) * 0.25)) rotate(var(--rot, 35deg)) scale(1.15);
  }
  70% {
    opacity: 0.7;
    transform: translate(calc(-50% + var(--dx) * 0.8), calc(-50% + var(--dy) * 0.8)) rotate(calc(var(--rot, 35deg) * 1.8)) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(calc(var(--rot, 35deg) * 2.5)) scale(0.1);
  }
}

/* --- "View" label chip (artwork hover) --- */
.cursor-label {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  background: var(--accent-indigo, #0B4F5A);
  color: var(--bg-warm-paper, #FBF8EE);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  transform: translate(24px, 10px);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(11,79,90,0.35);
}
.cursor-label.is-visible {
  opacity: 1;
}



/* =========================================================
   HOME BACKGROUND ART MOTIFS (injected by main.js)
   ========================================================= */
.has-motifs { position: relative; isolation: isolate; }
.has-motifs > :not(.art-motifs) { position: relative; z-index: 1; }
.art-motifs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; color: #0B4F5A; opacity: 0.22; }
.art-motifs.is-dark { color: #E9A21C; opacity: 0.28; }
.art-motif { position: absolute; opacity: 0; will-change: transform, opacity; }
.art-motif svg { display: block; width: 100%; height: auto; overflow: visible; translate: 0 -50%; }
/* sit fully inside the page margin instead of being cut off at the screen edge */
.art-motif.is-left  { left: clamp(14px, 2.4vw, 40px); }
.art-motif.is-right { right: clamp(14px, 2.4vw, 40px); }
/* lines "sketch" themselves in as --draw goes 0 -> 1 */
.art-motif svg { stroke-width: 1.5; }
.art-motif .sk { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
@media print { .art-motifs { display: none !important; } }
