/* Julia Anne Taylor - site styles. Light, airy, cottage-garden palette. No external resources. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --linen: #faf6ef;
  --paper: #fffdf9;
  --oat: #f2ebdf;
  --oat-2: #e9dfcf;
  --ink: #2c3a2f;
  --ink-soft: #5a6656;
  --ink-faint: #8a927f;
  --sage: #93a68a;
  --sage-deep: #56704f;
  --sage-pale: #e3eadb;
  --blush: #efd6cc;
  --rose: #c4877a;
  --rose-deep: #a8685b;
  --gold: #b7924f;
  --mist: #dbe5e6;
  --line: rgba(44, 58, 47, .14);
  --shadow-soft: 0 1px 2px rgba(60, 52, 38, .06), 0 8px 24px -8px rgba(60, 52, 38, .18);
  --shadow-lift: 0 2px 4px rgba(60, 52, 38, .08), 0 22px 44px -18px rgba(60, 52, 38, .35);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--linen);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 36; }
h1 em, h2 em { font-style: italic; color: var(--rose-deep); font-weight: 340; }
p { margin: 0 0 1em; }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--paper); }
.center { text-align: center; }
.small { font-size: .9em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.lede { font-size: clamp(1.08rem, .5vw + 1rem, 1.3rem); color: var(--ink-soft); max-width: 38em; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--sage-deep); color: var(--paper); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 253, 249, .6); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-light:hover { color: var(--rose-deep); transform: translateY(-1px); }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .82);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(60, 52, 38, .4); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; text-decoration: none; color: var(--ink); align-items: center; }
.brand-sprig { grid-row: 1 / 3; width: 46px; height: 22px; color: var(--sage); transform: rotate(-8deg); }
.brand-sprig .sprig-bloom { fill: var(--rose); }
.brand-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48; font-weight: 420; }
.brand-sub { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a.nav-cta { border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 18px; }
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
    padding: 10px; box-shadow: var(--shadow-lift);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--sage-pale); }
  .site-nav a.nav-cta { margin-top: 6px; text-align: center; }
}

/* ---------- shared shapes ---------- */
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--oat); position: relative; }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }
.frame-wrap { position: relative; }
.arch-back { position: absolute; inset: 22px -22px -22px 22px; border-radius: 999px 999px 18px 18px; border: 1.5px solid var(--gold); opacity: .55; pointer-events: none; }
.framed { background: var(--paper); padding: 10px; border-radius: 6px; box-shadow: var(--shadow-soft); }
.framed img { border-radius: 2px; }
.scallop { height: 22px; background: radial-gradient(circle at 14px 22px, var(--scallop, var(--sage-pale)) 13.5px, transparent 14.5px) repeat-x; background-size: 28px 22px; }
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 100px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.hero-bloom { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; pointer-events: none; }
.hero-bloom-a { width: 420px; height: 420px; background: rgba(239, 214, 204, .7); right: 2%; top: 4%; }
.hero-bloom-b { width: 360px; height: 360px; background: rgba(214, 228, 207, .75); left: -6%; bottom: 0; }
.hero-text h1 { margin-bottom: .4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero-art { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); }
.hero-frame { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); border: 8px solid var(--paper); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease, transform 8s linear; transform: scale(1.04); }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-sprig { position: absolute; width: 230px; height: 100px; left: -96px; bottom: -34px; color: var(--sage-deep); transform: rotate(-14deg); filter: drop-shadow(0 2px 4px rgba(255,253,249,.8)); }
.hero-sprig .sprig-bloom { fill: var(--rose); }
.hero-caption { margin-top: 26px; text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .98rem; min-height: 1.6em; }
.hero-caption span { display: none; }
.hero-caption span.is-active, .hero-caption span:first-child:last-child { display: inline; }
html:not(.js) .hero-caption span:first-child { display: inline; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; width: min(82%, 380px); }
  .hero-sprig { width: 160px; height: 70px; left: -56px; bottom: -26px; }
}

/* ---------- quote band ---------- */
.quote-band { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) var(--gutter); text-align: center; }
.quote-band blockquote { margin: 0; }
.quote-band p { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--ink); font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: .7em; }
.quote-band footer { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }
.quote-sprig { width: 130px; height: 58px; margin: 0 auto 18px; color: var(--sage); }
.quote-sprig .sprig-bloom { fill: var(--rose); }

/* ---------- collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.collection { text-decoration: none; color: var(--ink); text-align: center; display: flex; flex-direction: column; align-items: center; }
.collection-img { width: 100%; aspect-ratio: 3 / 4; box-shadow: var(--shadow-soft); border: 6px solid var(--paper); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.collection-img img { transition: transform 1.2s var(--ease); }
.collection:hover .collection-img { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.collection:hover .collection-img img { transform: scale(1.06); }
.collection-name { font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.4rem); margin-top: 18px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.collection-count { font-size: .82rem; color: var(--ink-faint); letter-spacing: .06em; }
.collection:hover { color: var(--rose-deep); }
@media (max-width: 900px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- easel ---------- */
.easel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.easel-media { justify-self: center; width: min(100%, 380px); position: relative; }
.easel-frame { aspect-ratio: 9 / 14; border: 8px solid var(--paper); box-shadow: var(--shadow-lift); }
.easel-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; background: var(--sage-pale); border-radius: 999px 999px 18px 18px; z-index: -1; }
@media (max-width: 820px) { .easel { grid-template-columns: 1fr; } .easel-media { width: min(76%, 320px); } }

/* ---------- masonry & works ---------- */
.masonry { columns: 3 300px; column-gap: clamp(18px, 2.4vw, 34px); }
.work { break-inside: avoid; margin: 0 0 clamp(22px, 3vw, 38px); }
.work-link { position: relative; display: block; background: var(--paper); padding: 10px; border-radius: 6px; box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease); cursor: zoom-in; }
.work-link img { width: 100%; border-radius: 2px; background: var(--oat); }
.work-link:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: var(--shadow-lift); }
.work:nth-child(even) .work-link:hover { transform: translateY(-4px) rotate(.3deg); }
.work figcaption { padding: 12px 4px 0; display: flex; flex-direction: column; }
.work-title { font-family: var(--serif); font-size: 1.12rem; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--ink); line-height: 1.25; }
.work-meta { font-size: .82rem; color: var(--ink-faint); letter-spacing: .03em; }
.badge { position: absolute; top: 18px; right: 18px; background: var(--rose); color: var(--paper); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px 4px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.work.is-hidden { display: none; }
@media (max-width: 560px) { .masonry { columns: 2 150px; column-gap: 14px; } .work-link { padding: 6px; } .work-title { font-size: 1rem; } .badge { top: 10px; right: 10px; } }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.chip { font: inherit; font-size: .92rem; font-weight: 500; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip span { font-size: .78em; color: var(--ink-faint); margin-left: 4px; }
.chip:hover { border-color: var(--rose); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-active span { color: rgba(255,253,249,.7); }

/* ---------- page heroes ---------- */
.page-hero { max-width: 860px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 0; text-align: center; }
.page-hero .lede { margin: 0 auto; }
.page-hero .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- visit card ---------- */
.visit-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--paper); border-radius: 28px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.visit-img img { border-radius: 18px; width: 100%; max-height: 460px; object-fit: cover; }
@media (max-width: 760px) { .visit-card { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { --scallop: var(--sage-pale); margin-top: clamp(40px, 6vw, 80px); }
.cta-inner { background: var(--sage-pale); text-align: center; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px); }
.cta-inner h2 { margin-bottom: .35em; }
.cta-inner p { color: var(--ink-soft); max-width: 34em; margin: 0 auto 1.6em; }
.cta-sprig { width: 120px; height: 52px; margin: 0 auto 10px; color: var(--sage-deep); }
.cta-sprig .sprig-bloom { fill: var(--rose); }

/* ---------- footer ---------- */
.site-footer { --scallop: var(--ink); background: transparent; color: rgba(255, 253, 249, .82); }
.site-footer .scallop { background-color: var(--sage-pale); }
.page-404 .site-footer .scallop, .page-contact .site-footer .scallop { background-color: transparent; }
.footer-inner { background: var(--ink); max-width: none; padding: clamp(48px, 6vw, 72px) var(--gutter) 24px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.footer-inner > * { max-width: var(--maxw); }
.footer-sprig { width: 92px; height: 40px; color: var(--sage); margin-bottom: 10px; }
.footer-sprig .sprig-bloom { fill: var(--blush); }
.footer-name { font-family: var(--serif); font-size: 1.6rem; color: var(--paper); margin-bottom: .3em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer-tag { max-width: 26em; font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .footer-legal a { color: rgba(255, 253, 249, .85); text-decoration: none; }
.footer-nav a:hover { color: var(--blush); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,253,249,.25); display: grid; place-items: center; color: var(--paper); transition: background-color .25s, border-color .25s; }
.footer-social a:hover { background: var(--rose); border-color: var(--rose); color: var(--paper); }
.footer-social svg { width: 20px; height: 20px; }
.footer-legal { background: var(--ink); margin: 0; padding: 18px var(--gutter) 28px; font-size: .8rem; color: rgba(255, 253, 249, .55); text-align: center; border-top: 1px solid rgba(255,253,249,.08); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; } .footer-sprig { margin-left: auto; margin-right: auto; } }
/* Discreet artist sign-in: a small sprig pill in the footer of every page except the home page */
.studio-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 11px 3px 8px; border-radius: 999px;
  border: 1px solid rgba(255,253,249,.18); color: rgba(255,253,249,.6) !important; font-size: .76rem; letter-spacing: .08em;
  text-decoration: none; vertical-align: middle; transition: color .25s, border-color .25s, background-color .25s; }
.studio-link svg { width: 26px; height: 12px; color: var(--sage); }
.studio-link svg .sprig-bloom { fill: var(--blush); }
.studio-link:hover, .studio-link:focus-visible { color: var(--paper) !important; border-color: var(--blush); background: rgba(239,214,204,.1); }
.page-home .studio-link { display: none; }
@media (max-width: 560px) { .studio-link { display: flex; width: max-content; margin: 10px auto 0; } .page-home .studio-link { display: none; } }

/* ---------- about ---------- */
.about-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-portrait { position: relative; margin: 0; width: min(100%, 430px); justify-self: center; }
.portrait-frame { aspect-ratio: 4 / 5; border: 8px solid var(--paper); box-shadow: var(--shadow-lift); }
.portrait-frame img { object-position: 22% 30%; }
.about-portrait figcaption { margin-top: 26px; text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: .95rem; }
.about-text p:not(.eyebrow):not(.lede) { color: var(--ink-soft); }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-portrait { width: min(80%, 360px); } }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.studio-item { margin: 0; }
.studio-item .arch { aspect-ratio: 9 / 14; border: 6px solid var(--paper); box-shadow: var(--shadow-soft); }
.studio-item .framed img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.studio-item figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 820px) { .studio-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow-soft); }
.fact-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--rose-deep); line-height: 1; margin-bottom: .35em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.fact p:last-child { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr; } }

/* ---------- exhibitions timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(var(--sage), var(--oat-2)); transform: translateX(-50%); }
.tl-year { text-align: center; margin: 44px 0 26px; position: relative; }
.tl-year:first-child { margin-top: 0; }
.tl-year span { display: inline-block; font-family: var(--serif); font-size: 1.6rem; background: var(--linen); padding: 4px 22px; border: 1.5px solid var(--sage); border-radius: 999px; color: var(--sage-deep); font-variation-settings: "SOFT" 100, "WONK" 1; }
.tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 28px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--rose); border: 3px solid var(--linen); transform: translate(-50%, -50%); box-shadow: 0 0 0 1.5px var(--rose); }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; box-shadow: var(--shadow-soft); }
.tl-card h3 { margin-bottom: .3em; }
.tl-card p:last-child { margin-bottom: 0; }
.tl-card p { color: var(--ink-soft); font-size: .97rem; }
.tl-meta { font-size: .85rem !important; color: var(--sage-deep) !important; font-weight: 600; letter-spacing: .02em; }
.tl-photo { background: var(--paper); padding: 10px 10px 34px; box-shadow: var(--shadow-soft); border-radius: 4px; max-width: 290px; justify-self: start; }
.tl-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.tilt-r { transform: rotate(2.2deg); } .tilt-l { transform: rotate(-2deg); }
.tl-item:nth-of-type(even) .tl-card { order: 2; }
.tl-item:nth-of-type(even) .tl-photo { justify-self: end; }
.tl-plain .tl-card { grid-column: 1; }
.tl-plain:nth-of-type(even) .tl-card { grid-column: 2; }
@media (max-width: 760px) {
  .timeline::before { left: 14px; }
  .tl-year { text-align: left; }
  .tl-item { grid-template-columns: 1fr; gap: 16px; padding-left: 40px; }
  .tl-item::before { left: 14px; top: 34px; }
  .tl-item .tl-card, .tl-item:nth-of-type(even) .tl-card, .tl-plain:nth-of-type(even) .tl-card { order: 0; grid-column: 1; }
  .tl-item .tl-photo, .tl-item:nth-of-type(even) .tl-photo { justify-self: start; max-width: 230px; }
}

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(16px, 2.5vw, 28px); align-items: start; }
.contact-side { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form { scroll-margin-top: 100px; }
.contact-form fieldset { border: 0; padding: 0; margin: 18px 0 8px; }
.contact-form legend { font-weight: 600; font-size: .92rem; margin-bottom: 10px; color: var(--ink); }
.topic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic legend { grid-column: 1 / -1; }
.topic-opt { position: relative; cursor: pointer; }
.topic-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic-opt span { display: flex; flex-direction: column; gap: 2px; height: 100%; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px 12px 40px; background: var(--linen); transition: border-color .2s, background-color .2s; position: relative; }
.topic-opt span::before { content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-faint); background: var(--paper); }
.topic-opt strong { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.topic-opt small { font-size: .8rem; color: var(--ink-faint); }
.topic-opt input:checked + span { border-color: var(--sage-deep); background: var(--sage-pale); }
.topic-opt input:checked + span::before { border-color: var(--sage-deep); box-shadow: inset 0 0 0 3.5px var(--paper); background: var(--sage-deep); }
.topic-opt input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
@media (max-width: 560px) { .topic { grid-template-columns: 1fr; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.field > span { font-weight: 600; font-size: .9rem; }
.field em { font-weight: 400; color: var(--ink-faint); font-style: normal; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 4px rgba(86, 112, 79, .14); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.form-note { margin: 0; font-size: .82rem; color: var(--ink-faint); flex: 1 1 220px; }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.is-error { color: var(--rose-deep); }
.contact-form.is-sent { text-align: center; padding-top: 48px; padding-bottom: 48px; }
.support-line { margin-top: 14px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-soft); }
.contact-main { background: linear-gradient(160deg, var(--paper), var(--blush) 160%); }
.contact-icon { width: 42px; height: 42px; color: var(--rose-deep); margin-bottom: 14px; }
.contact-card h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.contact-card p { color: var(--ink-soft); }
.email-line .btn { word-break: break-all; }
.email-fallback { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.commission-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; color: var(--ink-soft); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-pale); color: var(--sage-deep); font-family: var(--serif); font-size: 1.2rem; }
.steps strong { color: var(--ink); font-weight: 600; }
.commission-img { margin: 0; justify-self: center; width: min(100%, 360px); }
.commission-img .arch { aspect-ratio: 4 / 5; border: 8px solid var(--paper); box-shadow: var(--shadow-lift); }
@media (max-width: 820px) { .commission-inner { grid-template-columns: 1fr; } .commission-img { width: min(80%, 300px); } }

/* ---------- 404 ---------- */
.notfound { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(64px, 12vw, 140px) var(--gutter); }
.notfound .lede { margin: 0 auto 1.6em; }
.notfound .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.notfound-sprig { width: 170px; height: 74px; margin: 0 auto 20px; color: var(--sage); }
.notfound-sprig .sprig-bloom { fill: var(--rose); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: 1fr auto; background: rgba(250, 246, 239, .97); background-image: var(--grain); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 64px 72px 12px; min-height: 0; }
.lb-img { max-width: min(100%, calc(100vw - 160px)); max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); width: auto; height: auto; object-fit: contain; background: var(--paper); padding: 10px; border-radius: 4px; box-shadow: var(--shadow-lift); transition: opacity .25s; }
.lb-img.is-loading { opacity: .35; }
.lb-info { text-align: center; padding: 10px var(--gutter) 26px; }
.lb-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 4px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.lb-meta { color: var(--ink-soft); font-size: .92rem; margin: 0 0 14px; }
.lb-meta .lb-sold { color: var(--rose-deep); font-weight: 600; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-soft); transition: background-color .2s, color .2s; }
.lb-btn:hover { background: var(--ink); color: var(--paper); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; font-size: 26px; line-height: 1; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-size: .8rem; letter-spacing: .14em; color: var(--ink-faint); }
@media (max-width: 640px) {
  .lb-stage { padding: 64px 10px 8px; }
  .lb-img { max-width: calc(100vw - 20px); max-height: calc(100vh - 250px); max-height: calc(100dvh - 250px); }
  .lb-prev, .lb-next { top: auto; bottom: -62px; }
  .lb-info { padding-bottom: 22px; padding-left: 70px; padding-right: 70px; }
}
body.lb-lock { overflow: hidden; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slide { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .filters { display: none; }
  body { background: #fff; }
}
