/* Ginobla design system. Every page and the style guide use this file.
   Fonts (Google Fonts): Archivo (variable width + weight). Load in each page's <head>. */

:root {
  /* Colour */
  --night: #120C09;      /* page background: warm, firelit black */
  --night-2: #1C1410;    /* raised surfaces: cards, fields */
  --line: #3A2E26;       /* borders and dividers on night */
  --bone: #F2E9DA;       /* main text */
  --ash: #A3968A;        /* secondary text */
  --gold: #E2A72E;       /* brand colour, from the G icon: primary buttons, links */
  --gold-deep: #B9821A;  /* gold hover */
  --red: #C21D16;        /* "Colombiana" red: release strip, statement block */
  --red-deep: #8E140F;   /* red hover, deep bands */

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-wdth: 88;    /* slightly condensed for the giant headings */
  --t-mega: clamp(4.5rem, 19vw, 18rem);    /* GINOBLA-size words */
  --t-h1: clamp(3rem, 9vw, 8rem);
  --t-h2: clamp(2.25rem, 5.5vw, 4.75rem);
  --t-h3: clamp(1.375rem, 2.2vw, 1.875rem);
  --t-lead: clamp(1.125rem, 1.5vw, 1.375rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 160px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --section: clamp(72px, 11vw, 160px);

  /* Shape and motion */
  --radius: 2px;
  --teeth: 18px;         /* drum-teeth zigzag size */
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--bone);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--night); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Headings: heavy, tight, capitals, as in the asake reference */
.mega, .h1, .h2 {
  margin: 0; font-weight: 850; text-transform: uppercase;
  font-variation-settings: "wdth" var(--display-wdth);
  line-height: .86; letter-spacing: -.035em;
}
.mega { font-size: var(--t-mega); line-height: .8; letter-spacing: -.045em; }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); line-height: .9; }
.h3 { margin: 0; font-size: var(--t-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 34em; }
.small { font-size: var(--t-small); color: var(--ash); }
.prose { max-width: 38em; }
.prose p { margin: 0 0 1em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border: 2px solid transparent; border-radius: var(--radius);
  font: 700 .9375rem/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--bone); }
.btn-line { border-color: var(--bone); color: var(--bone); background: transparent; }
.btn-line:hover { background: var(--bone); color: var(--night); }
.btn-night { background: var(--night); color: var(--bone); }
.btn-night:hover { background: var(--bone); color: var(--night); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link:hover { color: var(--bone); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(10px); }
.topbar .wrap { display: flex; align-items: center; gap: var(--s-6); min-height: 72px; }
.topbar .logo img { height: 30px; width: auto; }
.topbar nav { display: flex; gap: var(--s-5); margin-left: auto; }
.topbar nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ash); }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--bone); }
.topbar .menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--bone); font: 700 .9375rem var(--font); min-height: 44px; cursor: pointer; }
@media (max-width: 860px) {
  .topbar nav, .topbar .btn { display: none; }
  .topbar .menu-btn { display: block; }
}

/* Release strip: Colombiana red with the drum-teeth edge from the logo */
.strip {
  position: relative; background: var(--red); color: var(--bone);
  padding: var(--s-4) 0 calc(var(--s-4) + var(--teeth));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--teeth)) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--teeth)) 100%;
}
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: var(--s-5); }
.strip-text { display: flex; align-items: center; gap: var(--s-5); min-width: 0; }
.strip .title { font-weight: 850; font-size: clamp(1.5rem, 3vw, 2.25rem); text-transform: uppercase; letter-spacing: -.03em; font-variation-settings: "wdth" var(--display-wdth); line-height: 1; }
.strip .btn { min-height: 40px; flex: none; }
/* Phones: label stacked over the title on the left, button beside them on the right */
@media (max-width: 600px) {
  .strip .wrap { justify-content: space-between; gap: var(--s-4); }
  .strip-text { flex-direction: column; align-items: flex-start; gap: 2px; font-size: var(--t-small); }
  .strip .title { font-size: 1.5rem; }
}

/* Release feature: cover beside title */
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.release .cover { aspect-ratio: 1; background: var(--night-2); }
.release .cover img { width: 100%; height: 100%; object-fit: cover; }
.release .kind { margin: 0 0 var(--s-3); color: var(--ash); font-weight: 600; }
.release .h1 { font-size: clamp(2.75rem, 6.5vw, 6.5rem); }
.release .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (max-width: 760px) { .release { grid-template-columns: 1fr; gap: var(--s-6); } }

/* Platform list (release pages) */
.platforms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 560px; }
.platforms a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: 0 var(--s-2); border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 700; font-size: 1.125rem; transition: background-color .2s var(--ease), padding .25s var(--ease);
}
.platforms a span { font-weight: 600; font-size: .9375rem; color: var(--gold); }
.platforms a:hover { background: var(--night-2); padding: 0 var(--s-4); }

/* Music list: big titles; the cover follows the cursor (main.js) */
.music-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.music-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line); text-decoration: none;
  color: var(--ash); transition: color .2s var(--ease);
}
.music-list .name { font-weight: 850; font-size: var(--t-h2); line-height: .95; text-transform: uppercase; letter-spacing: -.035em; font-variation-settings: "wdth" var(--display-wdth); }
.music-list .year { font-size: var(--t-small); font-weight: 600; }
.music-list a:hover, .music-list a:focus-visible { color: var(--bone); }
.music-list:hover a:not(:hover) { color: color-mix(in srgb, var(--ash) 55%, var(--night)); }
.cursor-cover {
  position: fixed; left: 0; top: 0; width: 220px; aspect-ratio: 1; pointer-events: none; z-index: 40;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg);
  transition: opacity .2s var(--ease), transform .3s var(--ease); background: var(--night-2) center / cover;
}
.cursor-cover.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
@media (hover: none) { .cursor-cover { display: none; } }

/* Video cards */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }
.video { display: block; width: 100%; text-decoration: none; }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: var(--night-2) center / cover; overflow: hidden; }
.video .play {
  position: absolute; left: var(--s-4); bottom: var(--s-4); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--night); transition: transform .25s var(--ease);
}
.video .play svg { width: 20px; height: 20px; margin-left: 3px; }
.video:hover .play { transform: scale(1.12); }
.video .h3 { margin-top: var(--s-3); font-size: 1.125rem; }

/* Show row */
.shows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.show { display: grid; grid-template-columns: 9rem 1fr 1fr auto; gap: var(--s-5); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.show .date { font-weight: 850; font-size: 1.375rem; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.show .where { font-weight: 700; }
.show .venue { color: var(--ash); }
@media (max-width: 700px) { .show { grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-4); } .show .date { grid-column: 1 / -1; } .show .btn { grid-row: 2 / 4; grid-column: 2; } }

/* Forms */
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 600; font-size: .9375rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field input, .field select, .field textarea, .signup input {
  width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--night-2); color: var(--bone); font: 400 1rem var(--font);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .signup input::placeholder { color: color-mix(in srgb, var(--ash) 70%, var(--night)); }
.field input:focus, .field select:focus, .field textarea:focus, .signup input:focus { outline: none; border-color: var(--gold); }
.field .error { color: #FF8A7A; font-size: var(--t-small); }
.field.invalid input { border-color: #FF8A7A; }
.signup { display: flex; gap: var(--s-2); max-width: 520px; }
.signup input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .signup { flex-direction: column; } }

/* Statement block */
.statement { background: var(--red); color: var(--night); text-align: center; padding: var(--section) 0; }
.statement .h1 { color: var(--night); }

/* Footer with the giant wordmark */
.footer { padding: var(--s-9) 0 var(--s-5); border-top: 1px solid var(--line); }
.footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-6); }
.footer h3 { margin: 0 0 var(--s-3); font-size: var(--t-small); font-weight: 600; color: var(--ash); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .wordmark { margin-top: var(--s-9); width: 100%; height: auto; }
.footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* ---- Shared page parts (moved from home.css, 28 Oct 2026) ---- */

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.skip { position: absolute; left: var(--s-4); top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: var(--s-2) var(--s-4); font-weight: 700; }
.skip:focus { top: var(--s-4); }

/* Phone menu */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--night); display: flex; flex-direction: column; padding: var(--s-5) var(--gutter) var(--s-7); }
.menu[hidden] { display: none; }
.menu-close { align-self: flex-end; background: none; border: 0; color: var(--bone); font: 700 .9375rem var(--font); min-height: 44px; cursor: pointer; }
.menu nav { display: grid; gap: var(--s-2); margin: auto 0 var(--s-7); }
.menu nav a { font-weight: 850; font-size: clamp(2.75rem, 13vw, 4.5rem); line-height: 1; text-transform: uppercase; letter-spacing: -.04em; font-variation-settings: "wdth" var(--display-wdth); text-decoration: none; }
.menu .btn { align-self: flex-start; }

/* Line-by-line headings */
.ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.ln > span { display: block; }

/* Sections */
.block { padding: var(--section) 0; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }

/* Release block extras: cover stand-in, intro line, inline platform links */
.cover.cover-stand, .cover-stand { position: relative; display: grid; place-items: center; align-content: center; gap: var(--s-4); background: radial-gradient(120% 90% at 30% 20%, rgba(226, 167, 46, .2), transparent 60%), var(--red-deep); color: var(--bone); }
.cover.cover-stand img, .cover-stand img { width: 44%; height: auto; }
.cover-stand span { font-size: var(--t-small); opacity: .8; }
.release .lead { margin: var(--s-5) 0 0; }
.platforms-inline { margin: var(--s-5) 0 0; }
.platforms-inline a { color: var(--bone); }
.platforms-inline a:hover { color: var(--gold); }

/* Empty photo slots, until Ginobla's own photos arrive */
.stand-in { background: var(--night-2); border: 1px dashed var(--line); }
.stand-in-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--s-4); color: var(--ash); font-size: var(--t-small); line-height: 1.5; }
.about-photo.stand-in, .video .frame.stand-in { position: relative; }

/* "Coming soon" note where a list is still empty */
.empty-note { padding: var(--s-7) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty-note .lead { margin: 0 0 var(--s-2); }
.empty-note p { margin: 0; color: var(--ash); }

/* Real cover art inside release cards */
.release-card .c img.photo { width: 100%; height: 100%; object-fit: cover; }
.cover > img.art { width: 100%; height: 100%; object-fit: cover; }

/* Release cover stand-in colours */
.c-red { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.c-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.c-night { background: linear-gradient(135deg, #3A2E26, var(--night-2)); }

/* Release cards slider (phone and tablet) */
.release-cards { display: flex; gap: var(--s-4); list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.release-cards::-webkit-scrollbar { display: none; }
.release-card { flex: 0 0 min(78%, 340px); scroll-snap-align: start; }
.release-card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-2); text-decoration: none; overflow: hidden; }
.release-card .c { display: grid; place-items: center; aspect-ratio: 1; }
.release-card .c img { width: 42%; height: auto; }
.release-card .body { display: grid; gap: var(--s-2); padding: var(--s-5); flex: 1; align-content: start; }
.release-card .tag { font-size: var(--t-small); font-weight: 600; color: var(--gold); }
.release-card .h3 { text-transform: uppercase; font-weight: 850; letter-spacing: -.02em; font-variation-settings: "wdth" var(--display-wdth); }
.release-card .desc { color: var(--ash); }
.release-card .go { margin-top: var(--s-3); font-weight: 700; display: inline-flex; gap: var(--s-2); }
.release-card a:hover .go, .release-card a:focus-visible .go { color: var(--gold); }
.slider-btns { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--bone); background: transparent; color: var(--bone); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover:not(:disabled) { background: var(--bone); color: var(--night); }
.round-btn:disabled { opacity: .3; cursor: default; }

/* Video buttons and pop-up */
.video { padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.video .frame { display: block; }
.video .h3 { display: block; }
.video-pop { width: min(1100px, 92vw); padding: 0; border: 0; background: var(--night); color: var(--bone); }
.video-pop::backdrop { background: rgba(0, 0, 0, .85); }
.pop-frame { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: var(--s-6); text-align: center; color: var(--ash); background: var(--night-2); }
.pop-close { position: absolute; right: var(--s-2); top: var(--s-2); z-index: 1; width: 44px; height: 44px; border: 0; background: var(--night); color: var(--bone); font-size: 1.25rem; cursor: pointer; }

/* Shows: no dates yet */
.no-shows { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; padding: var(--s-7) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.no-shows .lead { margin: 0; }

/* Signup block */
.signup-block label { display: block; font-weight: 700; margin-bottom: var(--s-3); }
.signup-block .small { margin: var(--s-3) 0 0; }

/* Footer wordmark: scaled by GSAP as it scrolls in */
.footer .wordmark { transform-origin: 50% 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.pop-frame iframe { width: 100%; height: 100%; border: 0; grid-area: 1 / 1; }
.pop-frame:has(iframe) { padding: 0; }
