:root {
  --navy: #071426;
  --navy-2: #0b203c;
  --blue: #1067d9;
  --blue-light: #58a2ff;
  --gold: #c9a25a;
  --brand-red: #d71920;
  --brand-red-dark: #7f0710;
  --brand-black: #080706;
  --wine: #8e293f;
  --cream: #f5f1e8;
  --paper: #fbfaf7;
  --ink: #102038;
  --muted: #667085;
  --line: #dfe3e8;
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 24px 70px rgba(4, 18, 36, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; color: white; background: var(--blue); }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  width: min(calc(100% - 48px), var(--max)); min-height: 92px; margin: auto; color: white;
}
.site-header.stuck { position: fixed; width: 100%; min-height: 72px; padding: 0 max(24px, calc((100% - var(--max)) / 2)); background: rgba(8, 7, 6, .95); border-bottom: 1px solid rgba(201,162,90,.2); backdrop-filter: blur(16px); box-shadow: 0 8px 25px rgba(0,0,0,.28); animation: drop .35s ease; }
@keyframes drop { from { transform: translateY(-100%); } }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Manrope, sans-serif; }
.brand-logo { width: 58px; height: 58px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; background: white; box-shadow: 0 7px 20px rgba(0,0,0,.22); }
.brand-name { font-size: .84rem; font-weight: 800; letter-spacing: .17em; }
.brand-name strong { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .82rem; font-weight: 600; }
.main-nav a { color: rgba(255,255,255,.78); transition: color .2s; }
.main-nav a:hover { color: #f2c75c; }
.main-nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(201,162,90,.65); color: white; background: rgba(215,25,32,.08); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: white; transition: .25s; }

.hero { position: relative; min-height: 780px; height: 100svh; display: flex; align-items: center; overflow: hidden; color: white; background: var(--brand-black); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,3,.99) 0%, rgba(12,7,6,.94) 40%, rgba(39,5,8,.5) 72%), url("codigo-latino-hero.png") center / cover; filter: saturate(.75) sepia(.18) hue-rotate(325deg) contrast(1.08); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 79% 42%, rgba(215,25,32,.28), transparent 29%), linear-gradient(0deg, rgba(5,3,2,.82), transparent 50%), linear-gradient(115deg, transparent 55%, rgba(224,170,55,.13)); }
.hero-copy { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); margin: 70px auto 0; }
.hero-copy h1 { max-width: 760px; margin: 14px 0 22px; font: 800 clamp(3rem, 6vw, 5.75rem)/.98 Manrope, sans-serif; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 590px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.06rem; }
.eyebrow { margin: 0 0 11px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow.light { color: #f2c75c; }
.eyebrow.wine { color: var(--wine); }
.hero-actions { display: flex; gap: 14px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.hero .button.primary { color: white; background: linear-gradient(135deg, #e01d26, #a30712); border-color: #ef3b42; box-shadow: 0 14px 32px rgba(186,10,20,.38); }
.hero .button.primary:hover { background: linear-gradient(135deg, #ef2b34, #b90a16); box-shadow: 0 17px 38px rgba(186,10,20,.48); }
.hero .button.ghost { border-color: rgba(201,162,90,.52); background: rgba(201,162,90,.06); }
.button.ghost { color: white; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.hero-note { position: absolute; right: max(24px, calc((100% - var(--max)) / 2)); bottom: 65px; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 250px; }
.hero-note span { color: var(--gold); font: 700 2.2rem Manrope; }
.hero-note p { margin: 0; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.58); font-size: .74rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { width: 1px; height: 28px; background: var(--gold); }

.section { padding: 110px max(24px, calc((100% - var(--max)) / 2)); }
.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 62px; color: #7a8492; font-size: .68rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-kicker::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .4; }
.section-kicker span { color: var(--gold); }
.manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 110px; }
.section h2 { margin: 0; font: 800 clamp(2.5rem, 4.6vw, 4.3rem)/1.08 Manrope, sans-serif; letter-spacing: -.045em; }
.manifesto-copy p { margin-top: 0; color: var(--muted); }
.manifesto-copy .lead { color: var(--ink); font-size: 1.12rem; }
.text-link { display: inline-flex; align-items: center; gap: 35px; margin-top: 14px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: .83rem; font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 82px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { position: relative; min-height: 270px; padding: 32px 27px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar-number { position: absolute; top: 20px; right: 20px; color: #a4abb5; font: 600 .7rem Manrope; }
.line-icon { height: 55px; display: flex; align-items: center; margin: 22px 0 34px; color: var(--blue); font: 700 1.6rem Manrope; letter-spacing: -.1em; }
.sound-icon { gap: 4px; }
.sound-icon i { width: 2px; height: 20px; background: var(--blue); }
.sound-icon i:nth-child(2), .sound-icon i:nth-child(4) { height: 34px; }
.sound-icon i:nth-child(3) { height: 48px; }
.book-icon, .spark-icon { font-size: 2.6rem; }
.pillar h3 { margin: 0 0 8px; font: 700 1.05rem Manrope; }
.pillar p { margin: 0; color: var(--muted); font-size: .86rem; }

.dark-section { color: white; background: var(--navy); }
.dark-section .section-kicker { color: rgba(255,255,255,.44); }
.technology { position: relative; overflow: hidden; }
.technology::before { content: ""; position: absolute; width: 650px; height: 650px; right: -300px; top: 100px; border: 1px solid rgba(83,159,255,.1); border-radius: 50%; box-shadow: 0 0 0 90px rgba(83,159,255,.025), 0 0 0 180px rgba(83,159,255,.018); }
.section-title-row { position: relative; display: grid; grid-template-columns: 1.15fr .65fr; gap: 70px; align-items: end; }
.section-title-row > p { margin: 0 0 5px; color: rgba(255,255,255,.58); }
.app-showcase { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; min-height: 640px; margin-top: 66px; overflow: hidden; background: linear-gradient(135deg, #f8f5ee, #e5ebf3); color: var(--ink); box-shadow: var(--shadow); }
.app-content { padding: 68px 60px; }
.app-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 45px; }
.bag-icon, .mini-logo { display: grid; place-items: center; color: white; background: var(--blue); font: 800 1.1rem Manrope; }
.bag-icon { width: 48px; height: 48px; border-radius: 13px; box-shadow: inset 0 -8px 0 rgba(0,0,0,.08); }
.app-badge small { color: #7b8797; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; }
.app-content h3 { margin: 6px 0 16px; font: 800 clamp(2rem, 3.2vw, 3.25rem)/1.08 Manrope; letter-spacing: -.04em; }
.app-content > p:not(.eyebrow) { color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 0; margin: 30px 0; list-style: none; font-size: .84rem; font-weight: 600; }
.feature-list span { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 8px; border: 1px solid #ccd6e3; color: var(--blue); }
.store-button { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 0; border-radius: 5px; color: white; background: #111; opacity: .82; }
.play-triangle { color: #5ecb75; font-size: 1.3rem; }
.store-button small { text-align: left; font-size: .5rem; letter-spacing: .06em; line-height: 1.25; }
.store-button strong { font-size: .95rem; letter-spacing: 0; }
.phone-stage { position: relative; min-height: 640px; overflow: hidden; background: radial-gradient(circle at 50% 38%, #1873df, #092d61 55%, #061b3b); }
.phone-stage::before { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015); }
.phone { position: absolute; width: 245px; height: 500px; padding: 9px; border: 3px solid #ced5df; border-radius: 37px; background: #111b27; box-shadow: 0 35px 55px rgba(0,0,0,.35); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; z-index: 3; width: 70px; height: 16px; border-radius: 12px; background: #111b27; transform: translateX(-50%); }
.phone-back { top: 50px; left: 12%; transform: rotate(-8deg); opacity: .9; }
.phone-front { right: 12%; bottom: -42px; z-index: 2; transform: rotate(6deg); }
.phone-screen { height: 100%; padding: 40px 18px 18px; overflow: hidden; border-radius: 27px; background: #f7f9fc; color: var(--ink); }
.phone-top { display: flex; justify-content: space-between; align-items: center; }
.mini-logo { width: 32px; height: 32px; border-radius: 9px; font-size: .8rem; }
.phone-top i { width: 25px; height: 2px; background: #ccd3dd; box-shadow: 0 6px #ccd3dd; }
.phone-screen > p { margin: 34px 0 2px; color: #8993a2; font-size: .6rem; }
.phone-screen h4 { margin: 0 0 16px; font: 800 1.05rem Manrope; }
.fake-search { padding: 10px; border: 1px solid #e0e5ec; border-radius: 7px; color: #9aa3af; background: white; font-size: .55rem; }
.fake-categories { display: flex; gap: 8px; margin: 16px 0; }
.fake-categories b { width: 48px; height: 42px; border-radius: 6px; background: #dcecff; }
.fake-categories b:nth-child(2) { background: #e7f3db; }
.fake-categories b:nth-child(3) { background: #f3e6cf; }
.fake-product { height: 135px; border-radius: 8px; background: linear-gradient(135deg, #d9e9f7, #86b0d4); }
.product-visual { display: grid; place-items: center; height: 210px; margin: -40px -18px 22px; background: linear-gradient(135deg, #9ec4e8, #225b91); }
.product-visual span { display: grid; place-items: center; width: 90px; height: 90px; border-radius: 24px; color: white; background: var(--blue); font: 800 2.5rem Manrope; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.detail-screen small { color: var(--blue); font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.detail-screen h4 { margin: 8px 0 0; }
.detail-screen > p { margin: 3px 0 22px; }
.quantity { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 20px 0; }
.quantity b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #dbe1e9; border-radius: 50%; }
.fake-button { padding: 11px; border-radius: 6px; color: white; background: var(--blue); text-align: center; font-size: .65rem; font-weight: 700; }
.coming-row { position: relative; display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 20px; margin-top: 62px; }
.coming-intro h3 { margin: 0; font: 700 1.6rem Manrope; }
.project-teaser { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.project-teaser > span { display: grid; place-items: center; min-width: 52px; height: 52px; border: 1px solid rgba(88,162,255,.4); color: var(--blue-light); font: 800 .76rem Manrope; }
.project-teaser small { color: var(--blue-light); font-size: .55rem; letter-spacing: .14em; }
.project-teaser h4 { margin: 4px 0; font: 700 1.05rem Manrope; }
.project-teaser p { margin: 0; color: rgba(255,255,255,.48); font-size: .72rem; }

.music { overflow: hidden; background: var(--cream); }
.music-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: -28px 0 48px; padding-bottom: 18px; border-bottom: 1px solid #d6cfc2; }
.album-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.album-tab { padding: 8px 14px; border: 1px solid #cfc5b7; color: #675e5b; background: transparent; font-size: .72rem; font-weight: 700; cursor: pointer; }
.album-tab.active { color: white; border-color: var(--wine); background: var(--wine); }
.music-admin-trigger { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; padding: 8px 13px; border: 1px solid #cfc5b7; color: #675e5b; background: transparent; font-size: .68rem; font-weight: 700; cursor: pointer; }
.music-admin-trigger:hover { color: var(--wine); border-color: var(--wine); }
.music-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.album-wrap { position: relative; max-width: 510px; }
.album-cover { position: relative; z-index: 2; width: 420px; aspect-ratio: 1; overflow: hidden; box-shadow: 0 30px 65px rgba(39,14,20,.26); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.9); }
.album-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,13,25,.68), transparent 58%); }
.album-type { position: absolute; inset: 34px; z-index: 2; display: flex; flex-direction: column; color: white; }
.album-type small { color: #d7b46c; font-size: .54rem; letter-spacing: .2em; }
.album-type strong { margin-top: auto; font: 600 3.1rem/1.02 Georgia, serif; letter-spacing: -.04em; }
.album-type span { margin-top: 15px; font-size: .48rem; letter-spacing: .18em; }
.vinyl { position: absolute; top: 24px; right: -115px; width: 370px; height: 370px; border-radius: 50%; background: repeating-radial-gradient(circle, #12151b 0 3px, #242833 4px 5px); box-shadow: 18px 22px 50px rgba(0,0,0,.2); }
.vinyl::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--wine); box-shadow: inset 0 0 0 3px #c39162; }
.vinyl i { position: absolute; inset: 48%; z-index: 2; border-radius: 50%; background: #e1c489; }
.music-copy h2 { font-size: clamp(3.3rem, 6vw, 5.5rem); color: var(--wine); }
.music-lead { color: var(--ink) !important; font: 600 1.5rem/1.4 Georgia, serif; }
.music-copy > p { max-width: 500px; color: var(--muted); }
.album-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 33px 0; padding: 22px 0; border-top: 1px solid #d6cfc2; border-bottom: 1px solid #d6cfc2; }
.album-meta small { display: block; margin-bottom: 5px; color: #9b8c83; font-size: .55rem; font-weight: 800; letter-spacing: .12em; }
.album-meta strong { font: 700 .9rem Manrope; }
.wine-button { color: white; background: var(--wine); }
.play-circle { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: .55rem; }
.track-list { max-width: 450px; padding: 15px 0 0; margin: 18px 0 0; border-top: 1px solid #d6cfc2; list-style: none; }
.track-list li { display: flex; gap: 18px; padding: 7px 0; color: #4d4850; font-size: .82rem; }
.track-list span { color: var(--wine); font-weight: 700; }

.music-admin { width: min(1080px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 0; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(0,0,0,.42); }
.music-admin::backdrop { background: rgba(4,7,12,.78); backdrop-filter: blur(5px); }
.admin-shell { padding: 30px; }
.admin-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-header h2 { margin: 0; font: 800 2rem/1.1 Manrope; }
.admin-close { width: 42px; height: 42px; border: 1px solid var(--line); color: var(--ink); background: white; font-size: 1.6rem; cursor: pointer; }
.admin-notice { padding: 11px 14px; margin: 18px 0; border-left: 3px solid var(--gold); color: #645b4d; background: #fbf6e9; font-size: .76rem; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.admin-albums { padding-right: 20px; border-right: 1px solid var(--line); }
.admin-side-heading, .track-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.admin-side-heading button, .track-editor-heading button { padding: 7px 10px; border: 0; color: white; background: var(--wine); font-size: .68rem; font-weight: 700; cursor: pointer; }
#adminAlbumList { display: grid; gap: 7px; }
.admin-album-item { width: 100%; padding: 11px; border: 1px solid var(--line); color: var(--ink); background: #fafafa; text-align: left; cursor: pointer; }
.admin-album-item strong, .admin-album-item small { display: block; }
.admin-album-item small { color: var(--muted); font-size: .62rem; }
.admin-album-item.active { color: white; border-color: var(--navy); background: var(--navy); }
.album-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 6px; color: #515b6c; font-size: .68rem; font-weight: 700; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { width: 100%; padding: 10px 11px; border: 1px solid #d9dee6; color: var(--ink); background: white; outline: none; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--wine); }
.form-grid label small { color: #8b94a2; font-size: .58rem; font-weight: 400; }
.cover-preview-row { display: flex; align-items: end; gap: 15px; margin: 18px 0; }
.cover-preview-row img { width: 100px; height: 100px; object-fit: cover; box-shadow: 0 7px 20px rgba(0,0,0,.15); }
.track-editor { padding-top: 18px; border-top: 1px solid var(--line); }
.track-editor-heading small { display: block; color: var(--muted); font-size: .58rem; font-weight: 400; }
#trackEditorList { display: grid; gap: 8px; }
.track-edit-row { display: grid; grid-template-columns: 30px 1fr auto auto auto; gap: 7px; align-items: center; }
.track-edit-row > span { color: var(--wine); font-size: .7rem; font-weight: 800; text-align: center; }
.track-edit-row input { min-width: 0; padding: 9px; border: 1px solid #d9dee6; }
.track-edit-row button { width: 32px; height: 32px; border: 1px solid #d9dee6; background: white; cursor: pointer; }
.track-edit-row .remove-track { color: #b31520; }
.admin-actions, .admin-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.admin-footer { padding-top: 18px; border-top: 1px solid var(--line); }
.admin-primary, .admin-secondary, .admin-danger { padding: 10px 15px; border: 1px solid transparent; font-size: .7rem; font-weight: 800; cursor: pointer; }
.admin-primary { color: white; background: var(--wine); }
.admin-secondary { color: var(--ink); border-color: #d3d9e1; background: white; }
.admin-danger { margin-right: auto; color: #aa1520; border-color: #e8bbc0; background: #fff7f7; }
.import-label { display: inline-flex; align-items: center; }
.import-label input { display: none; }

.future { background: #f8f9fa; }
.future-heading { max-width: 680px; }
.future-heading > p:last-child { max-width: 580px; color: var(--muted); }
.future-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.future-card { position: relative; min-height: 340px; padding: 38px; border: 1px solid var(--line); background: white; transition: transform .25s, box-shadow .25s; }
.future-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.future-card > span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 56px; border: 1px solid #cfd7e2; color: var(--blue); font: 800 .7rem Manrope; }
.future-card small { color: var(--blue); font-size: .55rem; font-weight: 800; letter-spacing: .14em; }
.future-card h3 { margin: 8px 0 10px; font: 700 1.35rem/1.25 Manrope; }
.future-card p { color: var(--muted); font-size: .84rem; }
.future-card b { position: absolute; bottom: 28px; left: 38px; color: #9da5b0; font-size: .52rem; letter-spacing: .15em; }
.future-card.featured { color: white; border-color: var(--navy-2); background: var(--navy-2); }
.future-card.featured > span { border-color: rgba(255,255,255,.25); color: var(--gold); }
.future-card.featured small { color: var(--gold); }
.future-card.featured p { color: rgba(255,255,255,.58); }

.contact { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 120px; }
.contact h2 em { color: var(--gold); font-style: normal; }
.contact-grid > div > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.56); }
.contact-email { display: inline-flex; align-items: center; gap: 35px; margin-top: 22px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.3); font-weight: 700; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 36px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.72); font-size: .68rem; font-weight: 700; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4), .contact-form .button, .form-note { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-radius: 0; outline: none; color: white; background: transparent; }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-light); }
.contact-form .button { width: 100%; }
.form-note { margin: -8px 0 0; color: rgba(255,255,255,.35); font-size: .65rem; text-align: center; }

.site-footer { padding: 65px max(24px, calc((100% - var(--max)) / 2)) 24px; color: white; background: #040d19; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top > p { margin: 0; color: rgba(255,255,255,.45); font-size: .78rem; }
.footer-brand .brand-logo { width: 72px; height: 72px; }
.footer-top nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; justify-self: end; color: rgba(255,255,255,.65); font-size: .75rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: rgba(255,255,255,.35); font-size: .66rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 24px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 12px 18px; color: white; background: var(--blue); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s; }
.toast.show { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.legal-page { background: #f7f8fa; }
.legal-header { position: static; width: 100%; padding: 0 max(24px, calc((100% - var(--max)) / 2)); background: var(--navy); }
.legal-main { max-width: 850px; margin: 0 auto; padding: 80px 24px 110px; }
.legal-main h1 { margin-bottom: 10px; font: 800 clamp(2.5rem, 5vw, 4rem)/1.05 Manrope; letter-spacing: -.04em; }
.legal-main .updated { color: var(--muted); }
.legal-content { margin-top: 45px; padding: 45px; background: white; box-shadow: 0 15px 50px rgba(14,31,54,.08); }
.legal-content h2 { margin: 36px 0 8px; font: 700 1.25rem Manrope; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #596579; }
.legal-content a { color: var(--blue); text-decoration: underline; }

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: center; background: rgba(7,20,38,.98); font-size: 1.2rem; }
  .main-nav.open { display: flex; }
  .menu-toggle { position: relative; z-index: 2; display: block; }
  .menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .manifesto-grid, .section-title-row, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .app-showcase { grid-template-columns: 1fr; }
  .phone-stage { min-height: 580px; }
  .coming-row { grid-template-columns: 1fr 1fr; }
  .coming-intro { grid-column: 1 / -1; }
  .music-grid { grid-template-columns: 1fr; gap: 90px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-albums { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  #adminAlbumList { grid-template-columns: repeat(2, 1fr); }
  .album-wrap { margin-left: 5%; }
  .future-grid { grid-template-columns: 1fr; }
  .future-card { min-height: 280px; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 32px); min-height: 76px; }
  .site-header.stuck { padding: 0 16px; }
  .brand-name { font-size: .72rem; }
  .brand-logo { width: 48px; height: 48px; }
  .hero { min-height: 700px; }
  .hero-copy { width: calc(100% - 36px); margin-top: 30px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-lead { font-size: .94rem; }
  .hero-note, .scroll-cue { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .section { padding: 78px 20px; }
  .section-kicker { margin-bottom: 40px; }
  .manifesto-grid { gap: 28px; }
  .pillars { grid-template-columns: 1fr; margin-top: 55px; }
  .pillar { min-height: 225px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .app-content { padding: 42px 25px; }
  .feature-list { grid-template-columns: 1fr; }
  .phone-stage { min-height: 470px; }
  .phone { width: 190px; height: 390px; border-radius: 30px; }
  .phone-back { left: 4%; }
  .phone-front { right: 2%; }
  .phone-screen { padding: 36px 13px 13px; border-radius: 21px; }
  .product-visual { height: 150px; margin: -36px -13px 18px; }
  .coming-row { grid-template-columns: 1fr; }
  .coming-intro { grid-column: auto; }
  .album-wrap { width: 90%; margin-left: 0; }
  .album-cover { width: 100%; }
  .album-type { inset: 24px; }
  .album-type strong { font-size: 2.4rem; }
  .vinyl { right: -35%; width: 82%; height: auto; aspect-ratio: 1; }
  .music-grid { gap: 70px; }
  .music-toolbar { align-items: stretch; flex-direction: column; margin-top: -15px; }
  .music-admin-trigger { justify-content: center; }
  .music-admin { width: 100%; max-height: 100svh; }
  .admin-shell { padding: 20px 16px; }
  .admin-header h2 { font-size: 1.55rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  #adminAlbumList { grid-template-columns: 1fr; }
  .track-edit-row { grid-template-columns: 25px 1fr auto auto; }
  .track-edit-row .remove-track { grid-column: 2 / -1; width: 100%; }
  .admin-actions, .admin-footer { align-items: stretch; flex-direction: column; }
  .admin-danger { margin-right: 0; }
  .album-meta { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { grid-template-columns: 1fr; padding: 25px 20px; }
  .contact-form label { grid-column: 1 !important; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-top nav { justify-self: start; }
  .footer-bottom { flex-direction: column; }
  .legal-content { padding: 28px 22px; }
  .legal-header { width: 100%; padding: 0 16px; }
  .legal-header .button { min-height: 40px; padding: 8px 12px; font-size: .72rem; }
  .legal-header .brand-logo { width: 44px; height: 44px; }
}

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