/* ==========================================================
   Sähkökitarakvartetti — site styles (2026)
   Bold & modern: concrete white, black type, electric blue.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,100..900;1,62..125,100..900&display=swap');

:root {
  --bg: #f1efea;
  --ink: #111111;
  --muted: #6b6862;
  --line: #d6d2ca;
  --accent: #2b34ff;        /* electric blue */
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(241, 239, 234, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 64px;
}
.wordmark {
  font-weight: 800; font-stretch: 112%;
  font-size: 18px; letter-spacing: -0.01em; text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav a[aria-current="page"] { color: var(--accent); }
.lang { display: flex; gap: 6px; margin-left: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.lang a, .lang span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.lang span { color: var(--accent); }

@media (max-width: 880px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; gap: 8px; }
  .nav { width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 0; }
.hero h1 {
  margin: 0;
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.6rem, 10.2vw, 9.6rem);
  line-height: .86; letter-spacing: -0.035em;
  hyphens: manual; overflow-wrap: anywhere;
}
.hero .tagline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin: 22px 0 28px; padding-top: 14px; border-top: 1px solid var(--ink);
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.hero .tagline .accent { color: var(--accent); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: grayscale(100%) contrast(1.08); }
.hero-photo::after {           /* electric-blue duotone */
  content: ""; position: absolute; inset: 0;
  background: var(--accent); mix-blend-mode: screen; opacity: .55; pointer-events: none;
}
.credit { font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--ink); }
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: baseline;
  margin-bottom: 36px;
}
.label {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.label .num { color: var(--accent); margin-right: 10px; }
h2.big {
  margin: 0; font-weight: 850; font-stretch: 118%;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: .98; letter-spacing: -0.025em;
}
.page-title {
  margin: 0; padding: 56px 0 28px; border-bottom: 1px solid var(--ink);
  font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.6rem, 8vw, 6.8rem); line-height: .9; letter-spacing: -0.035em;
}
.page-intro { max-width: 760px; font-size: 20px; line-height: 1.5; margin: 28px 0 0; }

.cols { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.prose p { margin: 0 0 1.1em; max-width: 720px; }
.lead { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.38; font-weight: 500; letter-spacing: -0.01em; }
.members { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--ink); max-width: 720px; }
.members li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600;
}
.members li span { color: var(--muted); font-weight: 400; }

@media (max-width: 760px) {
  .section-head, .cols { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}

/* ---------- Album tiles ---------- */
.albums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.album {
  display: block; text-decoration: none; color: var(--ink);
}
.album .tile {
  aspect-ratio: 1 / 1; background: var(--ink); color: var(--bg);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px 18px; position: relative; overflow: hidden;
  transition: background .25s ease;
}
.album .tile b {
  font-weight: 900; font-stretch: 125%; font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .8; letter-spacing: -0.04em;
}
.album .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album:hover .tile { background: var(--accent); }
.album .meta { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.album .meta span { color: var(--muted); font-weight: 400; }
@media (max-width: 860px) { .albums { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Discography detail ---------- */
.release { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; padding: 48px 0; border-bottom: 1px solid var(--ink); }
.release:last-child { border-bottom: 0; }
.release .tile { max-width: 360px; }
.release h2 { margin: 0 0 4px; font-weight: 900; font-stretch: 125%; font-size: 3rem; line-height: 1; }
.release .date { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.tracks { list-style: none; counter-reset: t; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--ink); }
.tracks li {
  counter-increment: t; display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.tracks li::before { content: counter(t, decimal-leading-zero); color: var(--accent); font-weight: 700; font-size: 13px; padding-top: 2px; }
.tracks .composer { color: var(--muted); }
.tracks .dur { color: var(--muted); font-variant-numeric: tabular-nums; }
.notes { font-size: 13px; color: var(--muted); line-height: 1.6; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: var(--accent); }
@media (max-width: 760px) { .release { grid-template-columns: 1fr; } .release .tile { max-width: 260px; } }

/* ---------- Repertoire ---------- */
.works { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.works li {
  display: grid; grid-template-columns: 5rem 1fr 1.3fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px;
}
.works .yr { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.works .who { font-weight: 600; }
.works .what { font-style: italic; }
@media (max-width: 640px) {
  .works li { grid-template-columns: 3.6rem 1fr; }
  .works .what { grid-column: 2; }
}

/* ---------- Concerts ---------- */
.empty { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; max-width: 760px; margin: 0; }
.year-block { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--ink); }
.year-block h3 { margin: 0; font-weight: 900; font-stretch: 125%; font-size: 2.6rem; line-height: 1; }
.gigs { list-style: none; padding: 0; margin: 0; }
.gigs li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.gigs li:last-child { border-bottom: 0; }
.gigs .d { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
@media (max-width: 640px) { .year-block { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Videos (click-to-load, no cookies until played) ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.video button {
  all: unset; cursor: pointer; display: block; width: 100%; aspect-ratio: 16 / 9;
  position: relative; background: #000; overflow: hidden;
}
.video button img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .3s, transform .3s; }
.video button:hover img { filter: none; transform: scale(1.03); }
.video button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%);
}
.video button::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; margin: -11px 0 0 -6px;
  border-left: 20px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video h3 { margin: 10px 0 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.video p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-big {
  font-weight: 850; font-stretch: 112%;
  font-size: clamp(1.4rem, 4.2vw, 3rem); letter-spacing: -0.02em; line-height: 1.1;
  text-decoration: none; border-bottom: 3px solid var(--accent); overflow-wrap: anywhere;
}
.links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.links li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.links li span { color: var(--muted); }

.photo-wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--bg); padding: 56px 0 40px; margin-top: 40px; }
.site-footer .big {
  font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 7vw, 5.5rem);
  line-height: .9; letter-spacing: -0.035em; margin: 0 0 28px; overflow-wrap: anywhere;
}
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; letter-spacing: .06em; }
.site-footer a { color: var(--bg); }
.site-footer a:hover { color: #8f95ff; }

/* ---------- 2nd pass: header layout + mobile ---------- */
.site-header .wrap { flex-wrap: nowrap; }
.nav { margin-left: auto; }
.lang { margin-left: 22px; }
@media (max-width: 880px) {
  .site-header .wrap { flex-wrap: wrap; }
  .lang { order: 2; margin-left: auto; padding-left: 0; border-left: 0; }
  .nav { order: 3; margin-left: 0; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero { padding-top: 32px; }
}
.tracks li { grid-template-columns: 2.2rem 1fr auto; }

/* ---------- Press quotes ---------- */
.press { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.press-quote { margin: 0; padding-top: 18px; border-top: 3px solid var(--accent); }
.press-quote p {
  margin: 0 0 14px; font-weight: 700; font-stretch: 110%;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.015em;
}
.press-quote footer, .pullquote footer {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stars { color: var(--accent); letter-spacing: .1em; margin-right: 8px; }
.pullquote { margin: 0 0 22px; padding-left: 16px; border-left: 3px solid var(--accent); }
.pullquote p { margin: 0 0 6px; font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }

/* cover art tiles */
.album .tile { padding: 0; }
.album .tile img { transition: transform .4s ease; }
.album:hover .tile img { transform: scale(1.04); }
.album:hover .tile { background: var(--ink); }

/* hero photo in original colours (blue duotone switched off) */
.hero-photo img { filter: none; }
.hero-photo::after { display: none; }
