/* =========================================================
   Trazos y Matices Academia
   Palette from the logo (wine + blush) and the flyers (sun yellow)
   ========================================================= */
:root {
  --wine: #820841;
  --wine-600: #6b0636;
  --wine-deep: #24060f;
  --wine-ink: #3a0a1f;
  --blush: #ffb5bb;
  --blush-50: #fff0f1;
  --sun: #ffe234;
  --sun-600: #f5cf00;
  --cream: #fff8f2;
  --paper: #ffffff;
  --text: #2b0a19;
  --muted: #6e4a5a;

  /* area colours taken from the logo icons */
  --music: #f8a7b3;   --music-bg: #ffe9ec;  --music-ink: #8a1238;
  --art: #b9ec7c;     --art-bg: #effbe0;    --art-ink: #4c6b0e;
  --acad: #ffd970;    --acad-bg: #fff5d6;   --acad-ink: #8d5d00;
  --draw: #a9cdf6;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 20px 50px -20px rgba(58, 10, 31, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sun { background: var(--sun); color: var(--wine-deep); box-shadow: 0 10px 30px -10px rgba(255, 226, 52, .6); }
.btn-sun:hover { background: #fff07a; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-wine { background: var(--wine); color: #fff; box-shadow: 0 14px 30px -12px rgba(130, 8, 65, .7); }
.btn-wine:hover { background: var(--wine-600); }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .35s;
}
/* backdrop lives on a pseudo-element so the fixed mobile menu isn't trapped inside the header */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(36, 6, 15, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled { padding: 10px 0; }
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; transition: height .35s; }
.is-scrolled .brand img { height: 44px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: 15px;
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blush); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--wine-deep);
  color: #fff;
  padding: 150px 0 90px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 25%, rgba(130, 8, 65, .75), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(255, 181, 187, .16), transparent 70%),
    radial-gradient(400px 300px at 50% 0%, rgba(255, 226, 52, .08), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 226, 52, .12); border: 1px solid rgba(255, 226, 52, .35);
  color: var(--sun); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,226,52,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,226,52,0); } 100% { box-shadow: 0 0 0 0 rgba(255,226,52,0); } }

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .98;
}
.hl { position: relative; display: inline-block; color: var(--sun); white-space: nowrap; }
.squiggle {
  position: absolute; left: -2%; right: -2%; bottom: -.16em; width: 104%; height: .32em;
  overflow: visible;
}
.squiggle path {
  fill: none; stroke: var(--blush); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: draw 1.4s .6s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lead { font-size: clamp(18px, 1.6vw, 20px); color: rgba(255,255,255,.78); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-areas {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-areas li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255,255,255,.88); font-size: 15px; }
.hero-areas img {
  width: 40px; height: 40px; object-fit: contain; padding: 6px;
  background: var(--cream); border-radius: 12px;
}

/* hero collage */
.hero-art { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: end; width: 100%; }
.ph { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border: 6px solid var(--cream); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { top: 0; right: 2%; width: 62%; aspect-ratio: 840 / 980; transform: rotate(2.5deg); }
.ph-a img { object-position: 50% 30%; }
.ph-b { bottom: 0; left: 0; width: 54%; aspect-ratio: 1; transform: rotate(-4deg); }
.ph-b img { object-position: 60% 40%; }

.bars { display: flex; align-items: flex-start; gap: 10px; }
.bars i { display: block; width: 16px; border-radius: 999px; background: var(--blush); }
.bars i:nth-child(1) { height: 70px; }
.bars i:nth-child(2) { height: 90px; }
.bars i:nth-child(3) { height: 130px; }
.bars i:nth-child(4) { height: 90px; }
.bars i:nth-child(5) { height: 70px; }
.hero-art .bars { position: absolute; left: 47%; top: -78px; opacity: .95; }

.sticker {
  position: absolute; display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 26px; background: var(--cream);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
}
.sticker img { width: 58px; height: 58px; object-fit: contain; }
.st-1 { right: -18px; top: 58%; transform: rotate(8deg); animation-delay: -1s; }
.st-2 { left: 48%; bottom: -14px; transform: rotate(-6deg); animation-delay: -3s; width: 72px; height: 72px; }
.st-2 img { width: 48px; height: 48px; }
.st-3 { left: -12px; top: 40%; transform: rotate(-10deg); animation-delay: -2s; width: 70px; height: 70px; }
.st-3 img { width: 44px; height: 44px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- marquee ---------- */
.marquee { background: var(--wine); color: var(--blush); overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.marquee b { color: var(--sun); font-size: 20px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; margin-bottom: 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine);
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--blush); }
.mini-bars { display: inline-flex; align-items: flex-start; gap: 3px; height: 16px; }
.mini-bars i { width: 4px; border-radius: 4px; background: var(--blush); }
.mini-bars i:nth-child(1), .mini-bars i:nth-child(3) { height: 10px; }
.mini-bars i:nth-child(2) { height: 16px; }
.eyebrow:not(.light) .mini-bars i { background: var(--wine); }
.eyebrow:not(.light) .mini-bars i:nth-child(2) { background: var(--blush); }

.sec-head h2, .about h2, .contact h2 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; color: var(--wine-ink); }
.sec-lead { margin-top: 18px; color: var(--muted); font-size: 19px; }

/* hand-drawn underline */
.u { position: relative; white-space: nowrap; z-index: 0; }
.u::after {
  content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: .02em; height: .36em;
  background: var(--blush); border-radius: 999px 40px 999px 30px; transform: rotate(-1.5deg);
}
.u-sun::after { background: var(--sun); opacity: .9; }

/* ---------- program cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid rgba(130, 8, 65, .08);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--c); }
.card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -24px rgba(58,10,31,.45); }
.card-music { --c: var(--music); --cbg: var(--music-bg); --cink: var(--music-ink); }
.card-art   { --c: var(--art);   --cbg: var(--art-bg);   --cink: var(--art-ink); }
.card-acad  { --c: var(--acad);  --cbg: var(--acad-bg);  --cink: var(--acad-ink); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.card-top img { width: 76px; height: 76px; object-fit: contain; padding: 10px; background: var(--cbg); border-radius: 22px; transition: transform .4s var(--ease); }
.card:hover .card-top img { transform: rotate(-8deg) scale(1.06); }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cink); background: var(--cbg); padding: 6px 12px; border-radius: 999px; }
.card h3 { font-size: 28px; font-weight: 800; color: var(--wine-ink); margin-bottom: 12px; }
.card p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--c); color: var(--cink); }
.card-link { margin-top: auto; font-weight: 700; color: var(--wine); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card-link span { transition: transform .3s var(--ease); }
.card-link:hover span { transform: translateX(5px); }

/* ---------- manifesto ---------- */
.manifesto { background: var(--blush); color: var(--wine-ink); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.manifesto::before, .manifesto::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,.35); filter: blur(10px);
}
.manifesto::before { left: -120px; top: -160px; }
.manifesto::after { right: -100px; bottom: -200px; background: rgba(130, 8, 65, .1); }
.manifesto-inner { position: relative; text-align: center; }
.m-line { font-size: clamp(40px, 7vw, 96px); font-weight: 900; letter-spacing: -.04em; line-height: 1.14; }
.m-k { font-weight: 300; letter-spacing: -.03em; }
.m-line em { font-style: normal; color: var(--wine); position: relative; }
.m-a { text-decoration: underline wavy var(--wine); text-decoration-thickness: .045em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.m-b { background: var(--sun); padding: 0 .12em; border-radius: .14em; display: inline-block; transform: rotate(-2deg); }
.m-close { margin-top: 30px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--wine); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 62% 50%; }
.about-photo figcaption {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(36, 6, 15, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px;
}
.about-photo figcaption .dot { color: var(--sun); }
.features { display: grid; gap: 8px; }
.features li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(130, 8, 65, .12); }
.features li:last-child { border-bottom: 0; }
.f-num { font-weight: 800; font-size: 15px; color: var(--wine); background: var(--blush-50); border: 1.5px solid var(--blush); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.features h3 { font-size: 21px; font-weight: 700; color: var(--wine-ink); margin-bottom: 4px; letter-spacing: -.01em; }
.features p { color: var(--muted); }

/* ---------- steps ---------- */
.steps { background: var(--wine-deep); color: #fff; position: relative; overflow: hidden; }
.steps::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% 0%, rgba(130, 8, 65, .7), transparent 70%); }
.steps .wrap { position: relative; }
.steps .sec-head h2 { color: #fff; }
.steps .u { color: var(--sun); }
.steps .u::after { background: var(--wine); opacity: 1; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step-list li {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background .3s, border-color .3s, transform .35s var(--ease);
}
.step-list li:hover { background: rgba(255,255,255,.07); border-color: rgba(255,181,187,.4); transform: translateY(-4px); }
.s-num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: var(--sun); color: var(--wine-deep); font-size: 30px; font-weight: 900; margin-bottom: 24px;
  transform: rotate(-6deg);
}
.step-list li:nth-child(2) .s-num { background: var(--blush); transform: rotate(5deg); }
.step-list li:nth-child(3) .s-num { background: var(--art); transform: rotate(-3deg); }
.step-list h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.step-list p { color: rgba(255,255,255,.72); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
/* ---------- Crea tu melodía (port of Chrome Music Lab's Melody Maker) ---------- */
.melody {
  background: var(--wine-deep); color: #fff;
  border-radius: var(--radius); padding: 24px 24px 18px;
  box-shadow: 0 30px 60px -28px rgba(36, 6, 15, .7);
  position: relative; overflow: hidden;
}
.melody::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 260px at 100% 0%, rgba(130, 8, 65, .55), transparent 70%);
}
.melody > * { position: relative; }
.melody-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.melody-k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); }
.melody h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.melody-legend { display: flex; gap: 4px; padding-bottom: 6px; }
.melody-legend i { width: 10px; height: 22px; border-radius: 4px; background: var(--c); }
.melody-legend i:nth-child(odd) { height: 16px; margin-top: 6px; }

.melody-stage {
  position: relative; aspect-ratio: 8 / 6.6;
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.melody-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  cursor: pointer; touch-action: pan-y; outline: none;
}
.melody-stage canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--sun); }
.melody-hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content; max-width: 86%;
  padding: 12px 18px; border-radius: 16px; text-align: center;
  background: rgba(36, 6, 15, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 600; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.92);
  pointer-events: none; transition: opacity .4s, transform .4s;
}
.melody-hint strong { color: var(--sun); }
.melody-hint.is-gone { opacity: 0; transform: translate(-50%, -40%); }

.melody-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 16px; }
.m-btn {
  font: inherit; cursor: pointer; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.m-btn:hover { transform: translateY(-1px); }
.m-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.m-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sun); color: var(--wine-deep);
  box-shadow: 0 10px 24px -10px rgba(255, 226, 52, .7);
}
.m-play svg { width: 24px; height: 24px; }
.m-play .i-pause { display: none; }
.m-play.is-playing .i-play { display: none; }
.m-play.is-playing .i-pause { display: block; }
.m-pill {
  height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: 15px;
  border: 1px solid rgba(255,255,255,.16);
}
.m-pill[aria-pressed="true"] { background: var(--blush); color: var(--wine-deep); border-color: var(--blush); }
.m-ghost {
  height: 44px; padding: 0 16px; border-radius: 999px; margin-left: auto;
  background: transparent; color: rgba(255,255,255,.75); font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255,255,255,.16);
}
.m-ghost:hover { color: #fff; border-color: rgba(255,255,255,.4); }

.m-tempo { display: flex; align-items: center; gap: 8px; flex: 1 1 180px; min-width: 0; }
.m-tempo-k { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); }
.melody-bpm { font-size: 12px; font-weight: 700; color: var(--sun); min-width: 2.2em; text-align: right; font-variant-numeric: tabular-nums; }
.m-tempo input[type="range"] {
  --fill: 38%;
  -webkit-appearance: none; appearance: none; flex: 1; min-width: 60px; height: 6px; border-radius: 999px; margin: 0;
  background: linear-gradient(90deg, var(--blush) var(--fill), rgba(255,255,255,.16) var(--fill));
  cursor: pointer;
}
.m-tempo input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blush); box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.m-tempo input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blush); box-shadow: 0 4px 10px rgba(0,0,0,.35);
}

.melody-credit { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.5); }
.melody-credit a { color: rgba(255,255,255,.7); }
.melody-credit a:hover { color: var(--blush); }
.info { display: grid; gap: 16px; }
.info-row { display: flex; gap: 18px; padding: 22px; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid rgba(130, 8, 65, .08); }
.info-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--wine); flex: none; }
.info-ico svg { width: 24px; height: 24px; fill: var(--blush); }
.info-k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-v { font-size: 21px; font-weight: 700; color: var(--wine-ink); margin: 2px 0 6px; }
.info-v a { text-decoration: none; }
.info-v a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.info-v .sep { color: var(--blush); margin: 0 6px; font-weight: 400; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.social-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(58,10,31,.5); }
.social-btn.ig { background: linear-gradient(45deg, #f9a03f 0%, #e1306c 45%, #833ab4 100%); }
.social-btn.fb { background: #1877f2; }
.text-link { color: var(--wine); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- final cta ---------- */
.final-cta { background: var(--sun); padding: clamp(70px, 9vw, 110px) 0; text-align: center; position: relative; overflow: hidden; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.bars-ink { margin-bottom: 26px; }
.bars-ink i { background: var(--wine); width: 12px; }
.bars-ink i:nth-child(1), .bars-ink i:nth-child(5) { height: 34px; }
.bars-ink i:nth-child(2), .bars-ink i:nth-child(4) { height: 46px; }
.bars-ink i:nth-child(3) { height: 64px; }
.final-cta h2 { font-size: clamp(42px, 7vw, 92px); font-weight: 900; color: var(--wine-deep); letter-spacing: -.04em; }
.final-cta p { font-size: 20px; font-weight: 500; color: var(--wine-ink); margin: 16px 0 32px; }

/* ---------- footer ---------- */
/* extra bottom padding keeps the last line clear of the floating WhatsApp button */
.site-footer { background: var(--wine-deep); color: rgba(255,255,255,.72); padding: 70px 0 100px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.f-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.f-social { display: flex; gap: 10px; margin-top: 20px; }
.f-social a {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.f-social a:hover { background: var(--blush); color: var(--wine-deep); transform: translateY(-2px); }
.f-social svg { width: 20px; height: 20px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col a { text-decoration: none; }
.f-col a:hover { color: var(--blush); }
.f-title { font-weight: 700; color: #fff; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; margin-bottom: 4px; }
.f-bottom { margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
/* one line of text with the button right after it; the name and button never split apart */
.f-credit { font-size: 18px; line-height: 1.9; color: rgba(255,255,255,.85); }
.f-credit-tail { white-space: nowrap; }
.f-credit strong { color: #fff; font-weight: 700; }
.f-credit a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  margin-left: 8px; vertical-align: 1px; line-height: 1.4;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blush); color: var(--wine-deep);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background .25s, transform .25s var(--ease);
}
.f-credit a span { display: inline-block; transition: transform .25s var(--ease); }
.f-credit a:hover { background: #fff; }
.f-credit a:hover span { transform: translateX(3px); }
.f-copy { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.5); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  /* extra room so the pencil bars poking above the photo don't hit the area list */
  .hero-art { justify-self: center; max-width: 520px; margin-top: 48px; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .melody { order: 2; }
  .step-list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.06); cursor: pointer; position: relative; z-index: 60;
  }
  .nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--wine-deep);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: 28px; font-weight: 700; color: #fff; }
  .nav-cta { margin-top: 10px; font-size: 18px; padding: 14px 30px; }
  .brand { position: relative; z-index: 60; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 42px; }
  .hero { padding: 110px 0 56px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hl { white-space: normal; }
  .hero-ctas .btn { width: 100%; }
  .hero-grid { gap: 36px; }

  /* areas: three even tiles instead of a ragged 2 + 1 wrap */
  .hero-areas {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
    margin-top: 32px; padding-top: 22px;
  }
  .hero-areas li {
    flex-direction: column; justify-content: flex-start; gap: 8px; text-align: center;
    padding: 12px 6px; border-radius: 16px; font-size: 13px; line-height: 1.25;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  }
  .hero-areas img { width: 44px; height: 44px; }

  /* collage: smaller, everything kept inside the screen */
  .hero-art { max-width: 340px; aspect-ratio: 1 / .95; margin-top: 30px; }
  .ph { border-width: 4px; border-radius: 20px; }
  .ph-a { width: 58%; right: 4%; }
  .ph-b { width: 54%; left: 2%; }
  .hero-art .bars { left: 50%; top: -34px; gap: 6px; transform: none; }
  .hero-art .bars i { width: 9px; }
  .hero-art .bars i:nth-child(1), .hero-art .bars i:nth-child(5) { height: 34px; }
  .hero-art .bars i:nth-child(2), .hero-art .bars i:nth-child(4) { height: 44px; }
  .hero-art .bars i:nth-child(3) { height: 60px; }
  .sticker { width: 52px; height: 52px; border-radius: 16px; }
  .sticker img { width: 34px; height: 34px; }
  .st-1 { right: 0; top: 60%; }
  .st-2 { width: 48px; height: 48px; left: 50%; bottom: -6px; }
  .st-2 img { width: 32px; height: 32px; }
  .st-3 { width: 48px; height: 48px; left: 0; top: 30%; }
  .st-3 img { width: 30px; height: 30px; }
  .card { padding: 26px 22px; }
  .info-row { padding: 18px; gap: 14px; }
  .melody { padding: 18px 14px 14px; border-radius: 22px; }
  .melody h3 { font-size: 24px; }
  .melody-stage { aspect-ratio: 8 / 9; border-radius: 14px; }
  .m-tempo { order: 3; flex-basis: 100%; }
  .info-v { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-credit { font-size: 16px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .squiggle path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
