/* =============================================================
   TALLER 14 — styles.css
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f7f5d3;
  --bg-2:      #f2efc5;
  --bg-3:      #ece8b8;
  --paper:     #fffef8;
  --ink:       #25594b;
  --ink-soft:  #367362;
  --ink-mute:  #466e73;
  --accent:    #4480a6;
  --accent-2:  #367362;
  --line:      rgba(37, 89, 75, 0.14);
  --line-strong: rgba(37, 89, 75, 0.32);
  --cream:     #f7f5d3;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(5rem, 12vw, 10rem);
  --radius: 2px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
}

@property --mesh-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 780px; }
.container-mid { max-width: 1040px; }

.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;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 500; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: lowercase;
  color: var(--ink-mute);
}

/* Reveal-on-scroll — defensive CSS (gotcha A.4.5) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
h1, .h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1; }
h2, .h2 { font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3, .h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
em, .italic { font-style: italic; font-optical-sizing: auto; }

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

.notes-list {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--ink-soft);
  display: grid;
  gap: .35rem;
}
.notes-list b { color: var(--ink); font-weight: 600; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out), background .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--cream); }
.btn-primary:hover { background: #386c8c; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(37,89,75,.04); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #12261f; transform: translateY(-2px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; justify-content: center; }

/* --- Nav --- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease-out), border-color .5s var(--ease-out), height .4s var(--ease-out);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(20,35,30,.2) 0%, rgba(20,35,30,.08) 100%);
}
.site-nav.is-solid {
  background: rgba(242, 238, 182, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo img { height: 28px; width: auto; }
.nav-logo-mark {
  display: inline-block;
  width: 110px; height: 28px;
  background-color: #87ceeb;
  transition: background-color .5s var(--ease-out);
  -webkit-mask: url(assets/img/logo-taller-14.webp?v=20260723) no-repeat center / contain;
  mask: url(assets/img/logo-taller-14.webp?v=20260723) no-repeat center / contain;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.site-nav.is-solid .nav-logo-mark { background-color: #1687c2; }
.nav-links { display: none; gap: 2.2rem; align-items: center; }
.site-nav:not(.is-solid) .nav-links a,
.site-nav:not(.is-solid) .nav-cart { color: var(--cream); transition: color .5s var(--ease-out); }
.site-nav:not(.is-solid) .nav-link-sub { color: rgba(247,245,211,.75); }
.site-nav:not(.is-solid) .nav-menu-btn span { background: var(--cream); }
.nav-links a {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding-block: .3rem; display: inline-flex; flex-direction: column; align-items: flex-start;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent);
  transition: right .4s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-link-sub {
  position: absolute; top: 100%; left: 0; margin-top: .35rem; white-space: nowrap;
  font-family: var(--sans); font-size: .68rem; letter-spacing: 0; text-transform: none; font-style: italic;
  color: var(--ink-mute);
  opacity: 0; transform: translateY(-3px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  pointer-events: none;
}
.nav-links a:hover .nav-link-sub,
.nav-links a:focus-visible .nav-link-sub { opacity: 1; transform: none; }
.nav-actions { display: flex; align-items: center; gap: 1.2rem; }
.nav-cart {
  position: relative; display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
}
.nav-cart[data-visible="1"] { display: inline-flex; }
.nav-cart svg { width: 20px; height: 20px; }
.nav-cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); color: var(--cream);
  font-family: var(--mono); font-size: .6rem; line-height: 16px; text-align: center;
  display: none;
}
.nav-cart-count.is-visible { display: block; }
.nav-menu-btn { display: inline-flex; flex-direction: column; gap: 5px; width: 24px; }
.nav-menu-btn span { display: block; height: 1px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-menu-btn.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-menu-btn.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav-links.is-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 2rem var(--gutter) 2.5rem;
}
@media (min-width: 720px) {
  .nav-menu-btn { display: none; }
  .nav-links.is-open { position: static; flex-direction: row; padding: 0; border: 0; background: none; }
}

/* --- Ticket card (mirrors the physical label system) --- */
.ticket {
  background: var(--bg-2);
  padding: 2.2rem 1.1rem 1.1rem;
  position: relative;
}
.ticket-pin {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
  box-shadow: 0 7px 10px -3px rgba(37,89,75,.5);
}
.ticket-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 22px 34px -16px rgba(37,89,75,.45);
}
.ticket-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.ticket-photo-candle { opacity: 1; transform: scale(1); }
.ticket-photo-artwork { opacity: 0; transform: scale(1.03); }
.ticket:hover .ticket-photo-candle,
.ticket:focus-within .ticket-photo-candle { opacity: 0; }
.ticket:hover .ticket-photo-artwork,
.ticket:focus-within .ticket-photo-artwork { opacity: 1; transform: scale(1); }

.ticket-photo-credit {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .8rem .9rem .7rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .03em;
  color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(20,17,14,.82));
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease-out) .1s, transform .5s var(--ease-out) .1s;
  pointer-events: none;
}
.ticket:hover .ticket-photo-credit,
.ticket:focus-within .ticket-photo-credit { opacity: 1; transform: none; }
.ticket-body {
  background: var(--paper);
  border-left: 3px double var(--line-strong);
  padding: 1.3rem 1.5rem 1.5rem;
}
.ticket-cat {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em;
  color: var(--ink-mute); text-transform: lowercase;
  padding-bottom: .7rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.ticket-name { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: .3rem; }
.ticket-inspiration { font-size: .85rem; font-style: italic; color: var(--ink-mute); margin-bottom: 1.1rem; }

/* --- Card (obra / product) --- */
.obra-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .55s var(--ease-out);
  position: relative;
}
.obra-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(68, 128, 166, 0.35);
  border-color: rgba(68, 128, 166, 0.4);
}
.obra-card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.obra-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .8s var(--ease-out); filter: saturate(1.05); }
.obra-card:hover .obra-card-media img { transform: scale(1.06); filter: saturate(1.18) brightness(1.03); }
.obra-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.obra-card-emotion { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.obra-card-name { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .35rem; }
.obra-card-inspiration { font-size: .84rem; color: var(--ink-mute); font-style: italic; }

/* --- Logistics badge (museum-cedula style) --- */
.logistics-grid {
  display: grid; gap: 1px; background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.logistics-item { background: var(--paper); padding: 1.5rem 1.6rem; }
.logistics-item .kicker { margin-bottom: .6rem; }
.logistics-item h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: .5rem; }
.logistics-item p { font-size: .88rem; color: var(--ink-soft); }

/* --- Size / qty selector --- */
.size-select { display: grid; gap: .6rem; }
.size-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; border: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.size-option input { accent-color: var(--accent); }
.size-option.is-selected { border-color: var(--accent); background: rgba(68,128,166,.05); }
.size-option label { display: flex; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .85rem; cursor: pointer; }
.size-option .price { font-family: var(--serif); font-size: 1.1rem; }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty-control button { width: 40px; height: 40px; font-size: 1.1rem; }
.qty-control input { width: 44px; text-align: center; border: 0; background: none; font-family: var(--mono); }

/* --- Forms --- */
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  padding: .85rem 1rem; border: 1px solid var(--line-strong); background: var(--paper);
  transition: border-color .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.field-hint { font-size: .78rem; color: var(--ink-mute); }

.method-toggle { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.method-card {
  border: 1px solid var(--line-strong); padding: 1.2rem 1.4rem; cursor: pointer;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.method-card.is-selected { border-color: var(--accent); background: rgba(68,128,166,.05); }
.method-card h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: .3rem; }
.method-card p { font-size: .82rem; color: var(--ink-mute); }

/* --- Cart panel --- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(37,89,75,.4);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out); z-index: 900;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 901;
  width: min(440px, 100vw);
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .55s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 60px rgba(0,0,0,.15);
}
.cart-panel.is-open { transform: none; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem var(--gutter); border-bottom: 1px solid var(--line); }
.cart-header h3 { font-family: var(--serif); font-size: 1.3rem; }
.cart-close { width: 32px; height: 32px; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem var(--gutter); display: grid; gap: 1.2rem; align-content: start; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: start; }
.cart-item img { width: 64px; height: 80px; object-fit: cover; }
.cart-item-name { font-family: var(--serif); font-size: 1.02rem; }
.cart-item-meta { font-family: var(--mono); font-size: .72rem; color: var(--ink-mute); margin-top: .2rem; }
.cart-item-remove { font-family: var(--mono); font-size: .7rem; color: var(--accent); text-decoration: underline; margin-top: .5rem; }
.cart-empty { padding: 3rem 0; text-align: center; color: var(--ink-mute); font-style: italic; }
.cart-footer { padding: 1.4rem var(--gutter) 1.8rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.25rem; }

/* --- Footer --- */
.site-footer { background: var(--ink); color: var(--cream); padding: var(--section-pad) 0 2.5rem; }
.site-footer a:hover { opacity: .7; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 4rem; }
.footer-brand img { height: 30px; margin-bottom: 1rem; filter: invert(1) brightness(2); }
.footer-brand p { color: rgba(244,235,218,.6); max-width: 34ch; font-size: .9rem; }
.footer-col h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,235,218,.5); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; font-size: .9rem; color: rgba(244,235,218,.85); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; border-top: 1px solid rgba(244,235,218,.15); font-family: var(--mono); font-size: .72rem; color: rgba(244,235,218,.45); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashSafety .01s 4.2s forwards;
}
.splash img { height: 34px; opacity: 0; animation: splashFade 1.6s var(--ease-out) .2s forwards; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
@keyframes splashFade { to { opacity: 1; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }

/* --- Hero (Museo) --- */
.hero-museo {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(8rem, 15vw, 11.5rem);
  overflow: hidden;
}
.hero-museo-media { position: absolute; inset: 0; }
.hero-museo-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-museo-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,35,30,.4) 0%, rgba(20,35,30,.18) 42%, rgba(15,28,24,.82) 100%);
}
.hero-museo-content { position: relative; z-index: 2; color: var(--cream); }
.hero-museo-content .kicker { color: rgba(244,235,218,.75); margin-bottom: 1.2rem; }
.hero-museo-content h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-museo-content .lede { color: rgba(244,235,218,.88); margin-top: 1.2rem; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-continue {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
  animation: floatY 2.6s ease-in-out infinite;
}
.hero-continue::after { content: ""; width: 1px; height: 34px; background: var(--line-strong); }
@keyframes floatY { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* --- Museo gallery --- */
.museo-gallery { padding-block: var(--section-pad); }
.museo-intro { max-width: 60ch; margin-bottom: clamp(3rem, 7vw, 5rem); }
.museo-intro .kicker { margin-bottom: 1rem; }
.obra-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }

/* --- Threshold transition (Museo -> Atelier) --- */
.threshold {
  position: relative;
  height: 70vh;
  overflow: hidden;
  background: var(--ink);
}
.threshold-door {
  position: absolute; inset: 0; z-index: 1;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-out);
}
.threshold.is-open .threshold-door { clip-path: inset(0 0 100% 0); }
.threshold-cta {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.threshold-label {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper);
  background: rgba(37,89,75,.88);
  padding: 1rem 1.8rem;
  border-radius: 999px;
  transition: background .4s var(--ease-out), transform .4s var(--ease-out);
  display: inline-block;
}
.threshold-cta:hover .threshold-label { background: var(--accent); transform: scale(1.05); }
.threshold-media { position: absolute; inset: 0; }
.threshold-media img { width: 100%; height: 100%; object-fit: cover; }
.threshold-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(37,89,75,.5), rgba(37,89,75,.15)); }
.threshold-caption {
  position: relative; z-index: 2; color: var(--cream);
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center; max-width: 20ch; margin-inline: auto; padding-inline: var(--gutter);
}

/* --- Atelier --- */
.atelier-hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: var(--section-pad); }
.atelier-split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.atelier-figure { aspect-ratio: 4/5; overflow: hidden; }
.atelier-figure img { width: 100%; height: 100%; object-fit: cover; }
.atelier-process { padding-block: var(--section-pad); background: var(--bg-2); }
.process-list { display: grid; gap: 2.5rem; }
.process-step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; }
.process-step .num { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--accent); }
.process-step h3 { margin-bottom: .5rem; }
.process-step p { color: var(--ink-soft); max-width: 56ch; }

.artist-note {
  display: flex; gap: 2rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); padding: 2.4rem;
  margin-top: 3rem;
}
.artist-photo {
  flex-shrink: 0; width: 128px; height: 128px; border-radius: 50%;
  object-fit: cover; box-shadow: 0 14px 28px -12px rgba(37,89,75,.35);
}
.artist-note .kicker { margin-bottom: .6rem; }
.artist-note h3 { margin-bottom: .9rem; }
.artist-note p { color: var(--ink-soft); margin-bottom: .6rem; }
.artist-note p:last-child { margin-bottom: 0; }

@media (max-width: 719px) {
  .artist-note { flex-direction: column; text-align: center; }
}

.materials-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.materials-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.giverny-note {
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.giverny-note-media { position: absolute; inset: 0; }
.giverny-note-media img { width: 100%; height: 100%; object-fit: cover; }
.giverny-note-media::after { content:""; position:absolute; inset:0; background: rgba(242,238,182,.88); }
.giverny-note-content { position: relative; z-index: 2; max-width: 62ch; margin-inline: auto; text-align: center; }
.giverny-note-content h2 { margin-bottom: 1.3rem; }
.giverny-note-content p { color: var(--ink-soft); font-size: 1.1rem; }

/* --- Boutique --- */
.boutique-hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 3rem; }
.boutique-grid { padding-bottom: var(--section-pad); }
.boutique-card-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); grid-template-columns: 1fr; }
.boutique-logistics { padding-bottom: var(--section-pad); }

/* --- Product detail --- */
.obra-detail { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: var(--section-pad); }
.obra-detail-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.obra-detail-media { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.obra-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.obra-detail-body { display: flex; flex-direction: column; gap: 1.6rem; }
.obra-detail-body .kicker { color: var(--accent); }
.obra-detail-body h1 { font-size: clamp(2rem, 4vw, 3rem); }
.obra-detail-desc { color: var(--ink-soft); max-width: 56ch; }
.obra-detail-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line); }
.obra-detail-total .price { font-family: var(--serif); font-size: 1.6rem; }
.related-obras { padding-block: var(--section-pad); border-top: 1px solid var(--line); }

/* --- Checkout / Gracias --- */
.checkout-page { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: var(--section-pad); }
.checkout-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.order-summary { background: var(--paper); border: 1px solid var(--line); padding: 1.8rem; align-self: start; position: sticky; top: calc(var(--nav-h) + 1rem); }
.order-summary h3 { margin-bottom: 1.2rem; }
.order-line { display: flex; justify-content: space-between; font-size: .9rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.order-total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.4rem; padding-top: 1rem; }

.gracias-page {
  min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--section-pad) var(--gutter);
}
.gracias-page .kicker { margin-bottom: 1.4rem; }
.gracias-page h1 { margin-bottom: 1.2rem; }
.gracias-page p { color: var(--ink-soft); max-width: 50ch; margin-inline: auto; }
.gracias-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }

/* =============================================================
   7. Effects
   ============================================================= */
[data-tilt] { will-change: transform; }

.halo {
  position: absolute; inset: -60% -20% -40% -20%;
  background: radial-gradient(45% 40% at 50% 50%, rgba(68,128,166,.18), transparent 72%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .obra-grid { grid-template-columns: repeat(2, 1fr); }
  .boutique-card-grid { grid-template-columns: repeat(2, 1fr); }
  .atelier-split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .logistics-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .obra-grid { grid-template-columns: repeat(3, 1fr); }
  .boutique-card-grid { grid-template-columns: repeat(3, 1fr); }
  .obra-detail-grid { grid-template-columns: 1fr 1fr; }
  .obra-detail-media { position: sticky; top: calc(var(--nav-h) + 1rem); }
  .checkout-grid { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 1280px) {
  .nav-links { gap: 2.8rem; }
}

/* =============================================================
   9. Reduced-motion — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-continue { animation: none; }
  .splash { animation: none; }
}
