/* ============================================================================
   Abrazando la Vida — "Diario Vivo · Galería de Arte Sanadora"
   Design system. Warm Spanish literary palette anchored to the book cover
   and Guilloume's Bolismo artwork. Crafted, not flat-cream.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Parchment & ink — warm, layered, not a single flat cream */
  --paper:        #f4ecdd;   /* base page */
  --paper-2:      #efe4d0;   /* raised panel */
  --paper-3:      #e8dcc4;   /* deeper inset */
  --ink:          #2a231d;   /* warm near-black body ink */
  --ink-soft:     #574c41;   /* secondary text */
  --ink-faint:    #8a7c6c;   /* meta / captions */

  /* Brand accents from the cover */
  --gold:         #b3863c;   /* antique gold of the title */
  --gold-deep:    #8a6526;
  --gold-glow:    #d8b066;
  --oxblood:      #9a3a2f;   /* muted red */
  --oxblood-deep: #7a2c23;
  --ochre:        #c79a55;   /* warm skin / light */
  --clay:         #b1604c;

  /* Gallery wall (dark art-direction shift) */
  --charcoal:     #1d1813;
  --charcoal-2:   #272019;
  --on-dark:      #ece2d2;
  --on-dark-soft: #b3a591;

  /* Lines */
  --hair:         rgba(42,35,29,.14);
  --hair-strong:  rgba(42,35,29,.26);

  /* Type */
  --serif:  "Piazzolla", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:   "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand:   "Mansalva", "Segoe Script", cursive;

  /* Fluid scale */
  --step--1: clamp(.82rem, .79rem + .15vw, .92rem);
  --step-0:  clamp(1.02rem, .97rem + .22vw, 1.16rem);
  --step-1:  clamp(1.3rem, 1.2rem + .5vw, 1.6rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.3rem);
  --step-3:  clamp(2.1rem, 1.7rem + 1.9vw, 3.3rem);
  --step-4:  clamp(2.7rem, 2rem + 3.4vw, 5rem);

  /* Space & shape */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 22px 50px -28px rgba(42,35,29,.45);
  --shadow-lift: 0 30px 70px -30px rgba(42,35,29,.55);
  --ease: cubic-bezier(.22,.61,.36,1);          /* ease-out-quart-ish */
  --ease-expo: cubic-bezier(.16,1,.3,1);

  /* z-index scale */
  --z-grain: 1;
  --z-base: 2;
  --z-header: 50;
  --z-overlay: 60;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* Paper grain overlay — fixed, subtle, multiply */
body::before {
  content:""; position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; opacity: .42; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grainDrift 26s steps(8) infinite;
}
@keyframes grainDrift {
  0%{ transform: translate3d(0,0,0); } 25%{ transform: translate3d(-8px,5px,0); }
  50%{ transform: translate3d(6px,-6px,0); } 75%{ transform: translate3d(-4px,-3px,0); }
  100%{ transform: translate3d(0,0,0); }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08;
  letter-spacing: -.018em; text-wrap: balance; color: var(--ink); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.01em; }
p { text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft);
  font-weight: 400; max-width: 40ch; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }

.script { font-family: var(--hand); font-weight: 400; color: var(--oxblood);
  letter-spacing: .01em; line-height: 1; }
.eyebrow { /* one named brand cadence, not a per-section trope */
  font-family: var(--hand); font-size: var(--step-1); color: var(--gold-deep);
  line-height: 1; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2*var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); z-index: var(--z-base); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 56ch; margin-bottom: clamp(2.2rem,4vw,3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: inline-block; margin-bottom: .55rem; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .92em 1.7em; border-radius: 999px; font-weight: 600; font-size: var(--step-0);
  border: 1.5px solid transparent; transition: transform .5s var(--ease),
  box-shadow .5s var(--ease), background-color .4s var(--ease), color .3s; will-change: transform; }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .5s var(--ease); }
.btn--primary { background: var(--oxblood); color: #fbf3e6;
  box-shadow: 0 14px 30px -14px rgba(122,44,35,.8), inset 0 1px 0 rgba(255,255,255,.14); }
.btn--primary:hover { transform: translateY(-3px); background: var(--oxblood-deep);
  box-shadow: 0 22px 42px -16px rgba(122,44,35,.9), 0 0 0 6px rgba(154,58,47,.12); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--gold-deep);
  box-shadow: 0 16px 34px -18px rgba(42,35,29,.5); background: rgba(179,134,60,.07); }
.btn--gold { background: var(--gold); color: #2a231d;
  box-shadow: 0 14px 30px -14px rgba(138,101,38,.8); }
.btn--gold:hover { transform: translateY(-3px); background: var(--gold-glow);
  box-shadow: 0 22px 44px -16px rgba(138,101,38,.9), 0 0 0 6px rgba(179,134,60,.16); }
.btn--lg { padding: 1.05em 2.1em; font-size: var(--step-1); }
.btn--on-dark.btn--ghost { color: var(--on-dark); border-color: rgba(236,226,210,.3); }
.btn--on-dark.btn--ghost:hover { border-color: var(--gold-glow); background: rgba(216,176,102,.12); }

/* Animated underline link */
.ul-link { position: relative; }
.ul-link::after { content:""; position: absolute; left: 0; bottom: -.12em; height: 1.5px;
  width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease); }
.ul-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem var(--gutter);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  backdrop-filter: blur(0px); }
.site-header.scrolled { background: rgba(244,236,221,.82); backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 var(--hair), 0 14px 30px -26px rgba(42,35,29,.6); padding-block: .6rem; }
.brand { display: flex; align-items: baseline; gap: .5ch; font-family: var(--serif);
  font-weight: 600; font-size: 1.16rem; letter-spacing: -.01em; }
.brand .brand-mark { color: var(--oxblood); }
.brand small { font-family: var(--hand); font-size: .82rem; color: var(--gold-deep); }
.nav { display: flex; align-items: center; gap: clamp(1rem,2.2vw,2rem); }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav .nav-cta { color: #fbf3e6; }   /* keep CTA text light on oxblood */
.nav-links { display: flex; gap: clamp(1rem,2vw,1.8rem); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 880px){
  .nav-links, .nav-cta.desktop { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; }
  .nav.open .nav-links { position: fixed; inset: 64px var(--gutter) auto var(--gutter);
    flex-direction: column; gap: 1.1rem; padding: 1.4rem 1.6rem; background: var(--paper-2);
    border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
  .nav.open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2){ opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center;
  padding-top: clamp(6rem, 12vh, 9rem); padding-bottom: clamp(3rem,7vh,6rem);
  overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .light-sweep { position: absolute; inset: -20%;
  background: radial-gradient(60% 50% at 70% 25%, rgba(216,176,102,.4), transparent 60%),
              radial-gradient(50% 60% at 18% 80%, rgba(154,58,47,.16), transparent 62%);
  animation: sweep 16s var(--ease-expo) infinite alternate; }
@keyframes sweep { from{ transform: translate3d(-3%,-2%,0) scale(1); opacity:.85; }
  to{ transform: translate3d(4%,3%,0) scale(1.08); opacity:1; } }
.hero-grid { position: relative; z-index: 2; display: grid; gap: clamp(2rem,5vw,4rem);
  grid-template-columns: 1.05fr .95fr; align-items: center; width: min(100% - 2*var(--gutter), var(--maxw)); margin-inline: auto; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead, .hero-copy .prose { margin-inline: auto; } .hero-trust{ justify-content:center; } }

.hero h1 { font-size: var(--step-4); font-weight: 600; letter-spacing: -.03em; line-height: .98; }
.hero h1 .hero-line { display: block; overflow: hidden; }
.hero h1 .hero-line > span { display: block; }
.hero-sub { margin-top: 1.1rem; font-size: var(--step-1); color: var(--oxblood);
  font-family: var(--serif); font-style: italic; font-weight: 400; max-width: 30ch; }
.hero-copy .prose { margin-top: 1.4rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust { margin-top: 1.8rem; display: flex; gap: .5rem; flex-direction: column;
  font-size: var(--step--1); color: var(--ink-faint); }
.hero-trust b { color: var(--ink-soft); font-weight: 600; }

/* Floating book cover */
.hero-cover { position: relative; justify-self: center; width: min(78%, 360px); }
.hero-cover .cover-shadow { position: absolute; inset: auto 8% -6% 8%; height: 30px;
  background: radial-gradient(50% 100% at 50% 0, rgba(42,35,29,.4), transparent 70%);
  filter: blur(6px); z-index: 0; animation: shadowBreathe 6s var(--ease-expo) infinite; }
.hero-cover figure { position: relative; z-index: 1; animation: floatBreathe 6s var(--ease-expo) infinite; }
.hero-cover img { border-radius: 4px; box-shadow: var(--shadow-lift),
  0 2px 0 rgba(255,255,255,.4) inset; }
.hero-cover .ribbon { position: absolute; top: 7%; right: -6%; z-index: 2;
  font-family: var(--hand); font-size: .9rem; color: #fbf3e6; background: var(--oxblood);
  padding: .5em .9em; border-radius: 999px; box-shadow: var(--shadow-soft);
  transform: rotate(4deg); }
@keyframes floatBreathe { 0%,100%{ transform: translateY(0) rotate(-.4deg); }
  50%{ transform: translateY(-16px) rotate(.4deg); } }
@keyframes shadowBreathe { 0%,100%{ transform: scaleX(1); opacity:.55; }
  50%{ transform: scaleX(.86); opacity:.32; } }

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--hand); font-size: .85rem; color: var(--ink-faint); }
.scroll-cue .dot { width: 22px; height: 36px; border: 1.5px solid var(--hair-strong);
  border-radius: 999px; position: relative; }
.scroll-cue .dot::after { content:""; position: absolute; left: 50%; top: 7px; width: 4px; height: 4px;
  margin-left: -2px; border-radius: 50%; background: var(--gold-deep);
  animation: cueDrop 1.8s var(--ease) infinite; }
@keyframes cueDrop { 0%{ transform: translateY(0); opacity: 0; } 30%{ opacity:1; }
  70%{ transform: translateY(14px); opacity: 0; } 100%{ opacity: 0; } }

/* ============================================================================
   Dividers
   ========================================================================== */
.divider { display: block; width: 100%; height: clamp(40px,6vw,90px); line-height: 0; }
.divider svg { width: 100%; height: 100%; }
.ornament { display: flex; align-items: center; gap: 1rem; color: var(--gold);
  justify-content: center; margin: 0 auto; }
.ornament::before,.ornament::after { content:""; height: 1px; width: clamp(40px,12vw,120px);
  background: linear-gradient(90deg, transparent, var(--hair-strong)); }
.ornament::after { background: linear-gradient(90deg, var(--hair-strong), transparent); }

/* ============================================================================
   Emotional intro
   ========================================================================== */
.intro { text-align: center; }
.intro .prose { margin-inline: auto; font-size: var(--step-1); line-height: 1.6; color: var(--ink-soft); }
.intro .pull { font-family: var(--serif); font-style: italic; font-size: var(--step-2);
  color: var(--ink); max-width: 24ch; margin: 0 auto clamp(1.5rem,3vw,2.4rem); line-height: 1.25; }
.intro .pull .script { display:block; color: var(--gold-deep); font-size: .62em; margin-top:.4em; }

/* ============================================================================
   Discover — journal cards
   ========================================================================== */
.discover-grid { display: grid; gap: clamp(1rem,2vw,1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.jcard { position: relative; padding: clamp(1.5rem,2.4vw,2.1rem); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border: 1px solid var(--hair); box-shadow: 0 18px 40px -34px rgba(42,35,29,.6);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
  overflow: hidden; }
.jcard::before { content:""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 0 0, rgba(216,176,102,.12), transparent 45%); opacity:0;
  transition: opacity .5s var(--ease); }
.jcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); border-color: rgba(179,134,60,.4); }
.jcard:hover::before { opacity: 1; }
.jcard .jnum { font-family: var(--hand); font-size: 1.7rem; color: var(--gold);
  line-height: 1; display: block; }
.jcard h3 { margin: .7rem 0 .5rem; font-size: var(--step-1); }
.jcard p { color: var(--ink-soft); font-size: var(--step-0); }
.jcard .leaf { position: absolute; right: -10px; bottom: -14px; width: 92px; opacity: .1;
  color: var(--oxblood); transform: rotate(-12deg); }

/* ============================================================================
   About the book
   ========================================================================== */
.book { display: grid; gap: clamp(2rem,5vw,4.5rem); grid-template-columns: .95fr 1.05fr; align-items: center; }
@media (max-width: 880px){ .book { grid-template-columns: 1fr; } }
.book-media { position: relative; }
.book-media .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lift); aspect-ratio: 4/5; }
.book-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.book-media .float-cover { position: absolute; width: 42%; left: -7%; bottom: -8%;
  border-radius: 4px; box-shadow: var(--shadow-lift); z-index: 2; }
.book-meta { margin-top: 1.8rem; border-top: 1px solid var(--hair); }
.book-meta dl { display: grid; }
.book-meta .row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--hair); }
.book-meta dt { font-family: var(--hand); color: var(--gold-deep); font-size: 1.05rem; }
.book-meta dd { color: var(--ink-soft); }
@media (max-width:480px){ .book-meta .row{ grid-template-columns: 1fr; gap:.1rem; } }

/* ============================================================================
   Gallery — dark exhibition wall
   ========================================================================== */
.gallery { background: var(--charcoal); color: var(--on-dark); position: relative;
  isolation: isolate; }
.gallery::after { /* faint museum spotlight wash */
  content:""; position: absolute; inset:0; z-index:-1; pointer-events:none;
  background: radial-gradient(80% 50% at 50% -5%, rgba(216,176,102,.16), transparent 60%); }
.gallery h2, .gallery h3 { color: var(--on-dark); }
.gallery .eyebrow { color: var(--gold-glow); }
.gallery .section-head p { color: var(--on-dark-soft); }
.exhibit { display: grid; gap: clamp(1.4rem,3vw,2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.artpiece { position: relative; }
.artpiece .matte { position: relative; background: #f7f1e6; padding: clamp(14px,2vw,26px);
  border-radius: 6px; box-shadow: 0 40px 70px -34px rgba(0,0,0,.8),
  inset 0 0 0 1px rgba(255,255,255,.6); overflow: hidden; }
.artpiece .art-img { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 92/102;
  background: #fff; }
.artpiece .art-img img { width: 100%; height: 100%; object-fit: contain;
  transition: transform 1.1s var(--ease-expo); will-change: transform; }
.artpiece:hover .art-img img { transform: scale(1.06); }
.artpiece .caption-overlay { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem 1.1rem;
  background: linear-gradient(0deg, rgba(29,24,19,.92), rgba(29,24,19,.0));
  color: var(--on-dark); transform: translateY(100%); opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease); }
.artpiece:hover .caption-overlay, .artpiece:focus-within .caption-overlay { transform: translateY(0); opacity: 1; }
.artpiece .caption-overlay p { font-family: var(--serif); font-style: italic; font-size: var(--step-0);
  line-height: 1.35; }
.artpiece .plaque { margin-top: 1rem; display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem; color: var(--on-dark-soft); font-size: var(--step--1); }
.artpiece .plaque b { color: var(--on-dark); font-weight: 600; font-family: var(--serif); }
.gallery .gallery-note { text-align: center; margin-top: clamp(2.4rem,4vw,3.5rem);
  font-family: var(--hand); font-size: var(--step-1); color: var(--gold-glow); }

/* ============================================================================
   Testimonials — journal notes
   ========================================================================== */
.notes { display: grid; gap: clamp(1.2rem,2.4vw,2rem);
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); align-items: start; }
.note { position: relative; padding: clamp(1.6rem,2.6vw,2.3rem);
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 4px 18px 4px 18px;
  box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.note:nth-child(2){ transform: rotate(-.7deg); }
.note:nth-child(3){ transform: rotate(.6deg); }
.note:hover { transform: translateY(-6px) rotate(0); box-shadow: var(--shadow-lift); }
.note .quote-mark { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--gold);
  display: block; height: .5em; }
.note p { color: var(--ink-soft); font-size: var(--step-0); }
.note .by { margin-top: 1.2rem; border-top: 1px dashed var(--hair-strong); padding-top: 1rem; }
.note .by b { display: block; font-family: var(--serif); color: var(--ink); font-weight: 600; }
.note .by span { font-size: var(--step--1); color: var(--ink-faint); display: block; }
.note .pin { position: absolute; top: -9px; left: 50%; width: 16px; height: 16px;
  margin-left: -8px; border-radius: 50%; background: var(--oxblood);
  box-shadow: 0 4px 8px -2px rgba(122,44,35,.7), inset 0 2px 2px rgba(255,255,255,.4); }

/* ============================================================================
   Authors & Artist
   ========================================================================== */
.authors-intro { text-align: center; max-width: 50ch; margin: 0 auto clamp(2.4rem,4vw,3.6rem);
  font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--ink); line-height:1.4; }
.people { display: grid; gap: clamp(1.6rem,3vw,2.6rem); grid-template-columns: 1fr 1fr; }
@media (max-width: 820px){ .people { grid-template-columns: 1fr; } }
.person { display: grid; gap: clamp(1.2rem,2.5vw,2rem); grid-template-columns: 150px 1fr;
  align-items: start; padding: clamp(1.4rem,2.4vw,2rem); background: var(--paper-2);
  border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
@media (max-width: 520px){ .person { grid-template-columns: 1fr; text-align:center; } }
.person .portrait { position: relative; }
.person .portrait img { width: 150px; height: 190px; object-fit: cover; border-radius: 12px;
  box-shadow: var(--shadow-soft); filter: saturate(.92) contrast(1.02); }
@media (max-width:520px){ .person .portrait img{ margin:0 auto; } }
.person h3 { font-size: var(--step-1); }
.person .role { font-family: var(--hand); color: var(--gold-deep); font-size: 1.05rem; margin: .15rem 0 .8rem; }
.person p { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.65; }
.person p + p { margin-top: .7rem; }

/* Artist feature */
.artist { background: linear-gradient(180deg, var(--paper-3), var(--paper)); }
.artist-feature { display: grid; gap: clamp(2rem,5vw,4rem); grid-template-columns: .8fr 1.2fr;
  align-items: center; }
@media (max-width: 880px){ .artist-feature { grid-template-columns: 1fr; } }
.artist-feature .portrait { position: relative; max-width: 360px; }
.artist-feature .portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  width: 100%; }
.artist-feature .portrait .tag { position: absolute; bottom: -1rem; left: -1rem; background: var(--charcoal);
  color: var(--on-dark); padding: .7em 1.1em; border-radius: 12px; font-family: var(--hand);
  box-shadow: var(--shadow-soft); }
.artist-feature .tag b { color: var(--gold-glow); }
.bolismo-word { font-family: var(--serif); font-style: italic; color: var(--oxblood); }

/* ============================================================================
   Purchase band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--oxblood) 0%, var(--oxblood-deep) 60%, #5e2018 100%);
  color: #fbf3e6; }
.cta-band::before { content:""; position: absolute; inset: 0; opacity: .12; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
  background-size: 240px; }
.cta-band .glow { position: absolute; inset: -30%; background: radial-gradient(40% 40% at 30% 20%,
  rgba(216,176,102,.5), transparent 60%); animation: sweep 14s var(--ease-expo) infinite alternate; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fdf6ea; max-width: 18ch; margin: 0 auto; }
.cta-band p { color: rgba(251,243,230,.86); max-width: 52ch; margin: 1.2rem auto 0; font-size: var(--step-1); }
.cta-band .btn { margin-top: 2.2rem; }
.cta-band .small { margin-top: 1.2rem; font-size: var(--step--1); color: rgba(251,243,230,.7); }

/* ============================================================================
   Contact
   ========================================================================== */
.contact { background: var(--charcoal); color: var(--on-dark); }
.contact h2 { color: var(--on-dark); }
.contact .eyebrow { color: var(--gold-glow); }
.contact-grid { display: grid; gap: clamp(2rem,5vw,4rem); grid-template-columns: 1fr 1.1fr; align-items: start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact .blurb p { color: var(--on-dark-soft); max-width: 40ch; }
.contact .blurb .script { color: var(--gold-glow); font-size: var(--step-2); display:block; margin-bottom:1rem; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--step--1); color: var(--on-dark-soft); font-weight: 500; }
.field input, .field textarea { font: inherit; color: var(--on-dark); background: rgba(255,255,255,.04);
  border: 1px solid rgba(236,226,210,.2); border-radius: 12px; padding: .85em 1em; width: 100%;
  transition: border-color .3s, background-color .3s, box-shadow .3s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(179,165,145,.6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-glow);
  background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(216,176,102,.14); }
.form .microcopy { font-size: var(--step--1); color: var(--on-dark-soft); font-family: var(--hand);
  font-size: 1.05rem; }
.form-status { font-size: var(--step--1); padding: .2rem 0; min-height: 1.2em; }
.form-status.ok { color: var(--gold-glow); }
.form-status.err { color: #e8a99c; }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius);
  overflow: hidden; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.faq details[open] { border-color: rgba(179,134,60,.4); box-shadow: var(--shadow-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 1.2rem; padding: 1.15rem 1.4rem;
  font-family: var(--serif); font-size: var(--step-1); font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.6rem;
  color: var(--gold-deep); line-height: 1; transition: transform .45s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--oxblood); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; }
.faq .faq-body p { color: var(--ink-soft); max-width: 70ch; }
@media (prefers-reduced-motion: no-preference){
  .faq details[open] .faq-body { animation: faqOpen .5s var(--ease-expo); }
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer { background: #17120e; color: var(--on-dark-soft); padding-block: clamp(3rem,6vw,5rem); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .fbrand { font-family: var(--serif); font-size: var(--step-2); color: var(--on-dark);
  font-weight: 600; }
.site-footer .fbrand + p { margin-top: .8rem; max-width: 34ch; }
.site-footer h4 { font-family: var(--hand); font-weight: 400; color: var(--gold-glow);
  font-size: 1.1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer .credit { font-family: var(--hand); color: var(--gold-glow); margin-top: 1rem; display:block; }
.footer-base { margin-top: clamp(2rem,4vw,3rem); padding-top: 1.4rem; border-top: 1px solid rgba(236,226,210,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: var(--step--1); }

/* ============================================================================
   Author social link
   ========================================================================== */
.person-links { margin-top: 1rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.person-links a { display: inline-flex; align-items: center; gap: .45em; font-size: var(--step--1);
  font-weight: 600; color: var(--gold-deep); }
.person-links a svg { width: 1.15em; height: 1.15em; }
.person-links a:hover { color: var(--oxblood); }
@media (max-width:520px){ .person-links { justify-content: center; } }

/* ============================================================================
   Footer legal row
   ========================================================================== */
.footer-legal { margin-top: clamp(2rem,4vw,3rem); padding-top: 1.4rem;
  border-top: 1px solid rgba(236,226,210,.12); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.footer-legal a { font-size: var(--step--1); color: var(--on-dark-soft); }
.footer-legal a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================================
   Cookie notice
   ========================================================================== */
.cookie-notice { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(140%);
  z-index: var(--z-overlay); width: min(100% - 2rem, 720px);
  background: var(--charcoal); color: var(--on-dark); border: 1px solid rgba(236,226,210,.16);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 1.1rem 1.3rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem;
  transition: transform .7s var(--ease-expo), opacity .5s var(--ease); opacity: 0; }
.cookie-notice.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-notice p { font-size: var(--step--1); color: var(--on-dark-soft); flex: 1 1 280px; line-height: 1.5; }
.cookie-notice a { color: var(--gold-glow); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .btn { padding: .6em 1.3em; font-size: var(--step--1); }
@media (prefers-reduced-motion: reduce){ .cookie-notice { transition: opacity .3s; transform: translateX(-50%); } }

/* ============================================================================
   Legal / content pages
   ========================================================================== */
.page-hero { padding: clamp(7rem,14vh,10rem) 0 clamp(2.5rem,5vw,4rem); text-align: center;
  background: linear-gradient(180deg, var(--paper-2), var(--paper)); position: relative; }
.page-hero .eyebrow { margin-bottom: .5rem; display: inline-block; }
.page-hero h1 { font-size: var(--step-3); }
.page-hero p { color: var(--ink-soft); max-width: 52ch; margin: 1rem auto 0; }
.legal { padding-block: clamp(2.5rem,6vw,5rem); }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: var(--step-2); margin: 2.4rem 0 .8rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: var(--step-1); margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 1rem; max-width: 72ch; }
.legal ul, .legal ol { margin: 0 0 1.2rem 1.2rem; display: grid; gap: .5rem; }
.legal a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--oxblood); }
.legal .updated { font-family: var(--hand); color: var(--gold-deep); font-size: 1.05rem; margin-bottom: 2rem; }
.legal .callout { background: var(--paper-2); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin: 1.4rem 0; }
.legal .callout p:last-child { margin-bottom: 0; }
.back-home { display: inline-flex; align-items: center; gap: .5em; margin-top: 2.5rem; font-weight: 600;
  color: var(--gold-deep); }
.back-home:hover { color: var(--oxblood); }

/* ============================================================================
   Reveal animation (enhances already-visible content)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-expo),
  transform .9s var(--ease-expo); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }
.reveal[data-d="5"]{ transition-delay: .40s; }

/* Hero word reveal */
.hero h1 .hero-line > span { transform: translateY(110%); opacity: 0; }
.hero.ready h1 .hero-line > span { animation: lineUp 1.1s var(--ease-expo) forwards; }
.hero.ready h1 .hero-line:nth-child(2) > span { animation-delay: .12s; }
.hero.ready .hero-sub, .hero.ready .hero-copy .prose, .hero.ready .hero-actions,
.hero.ready .hero-trust { animation: fadeUp 1s var(--ease-expo) both; }
.hero.ready .hero-sub { animation-delay: .35s; }
.hero.ready .hero-copy .prose { animation-delay: .48s; }
.hero.ready .hero-actions { animation-delay: .6s; }
.hero.ready .hero-trust { animation-delay: .72s; }
.hero.ready .hero-cover { animation: coverIn 1.3s var(--ease-expo) both; animation-delay: .3s; }
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }
@keyframes fadeUp { from { opacity:0; transform: translateY(18px);} to{ opacity:1; transform:none;} }
@keyframes coverIn { from { opacity:0; transform: translateY(30px) scale(.96);} to{ opacity:1; transform:none;} }

/* parallax helper (set via JS) */
[data-parallax] { will-change: transform; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; }
  body::before { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 .hero-line > span { transform: none; opacity: 1; }
  .hero-cover figure { animation: none; }
  .scroll-cue .dot::after { animation: none; }
  .light-sweep, .cta-band .glow { animation: none; }
}
