/* Sirc Sound, December 2026 redesign.
   The idea: the Sirc logo is colour seen through white slices.
   The whole site works the same way. White paper, black ink,
   and colour only arrives through cuts (the wordmark, photos, dividers). */

@font-face {
  font-family: "Tilt Warp";
  src: url("fonts/TiltWarp-var.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #000000;
  --ultra: #1b2fe0;   /* deep logo blue: links */
  --phos: #12f06a;    /* logo green: things you can press */
  --ice: #bfe9ff;     /* pale logo blue: quiet fills */
  --grey: #55596a;    /* captions */
  --gutter: clamp(18px, 5vw, 80px);
  --display: "Tilt Warp", "Arial Black", sans-serif;
  --text: "Spectral", Georgia, serif;
  --texture: url("img/texture.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 19px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, iframe, video { display: block; max-width: 100%; border: 0; }
a { color: var(--ultra); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--phos); outline-offset: 3px; }
strong { font-weight: 400; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--phos); color: var(--ink); padding: 8px 12px; }

h2, h3 { font-family: var(--display); font-weight: 400; line-height: .95; margin: 0; }
h2 { font-size: clamp(44px, 8vw, 110px); letter-spacing: -.01em; }
h3 { font-size: 24px; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
}
/* the bar's bottom edge is two hairline slits, like the logo */
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: linear-gradient(var(--ink) 0 1px, transparent 1px 4px, var(--ink) 4px 5px, transparent 5px);
  opacity: .9; pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 24px/1 var(--display); }
.brand-mark { width: 30px; height: 30px; object-fit: cover; }
.top nav { display: flex; gap: clamp(12px, 2.4vw, 30px); }
.top nav a { color: var(--ink); font-style: italic; text-decoration: none; font-size: 18px; }
.top nav a:hover { color: var(--ultra); text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: clamp(24px, 5vw, 60px) var(--gutter) 0; overflow: hidden; }

.mark {
  --xr: 0; --yr: 0;
  position: relative;
  margin: 0;
  font: 400 clamp(118px, 41.5vw, 640px)/.82 var(--display);
  font-variation-settings: "XROT" var(--xr), "YROT" var(--yr);
  letter-spacing: -.02em;
  height: .86em;
  user-select: none;
}
.slice {
  position: absolute; inset: 0;
  display: block;
  background: var(--texture) center / cover;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transform: translateX(var(--dx, 0px));
  will-change: transform;
}
/* six bands with white slits between them, like the logo */
.slice:nth-child(1) { clip-path: inset(0    0 84% 0); }
.slice:nth-child(2) { clip-path: inset(18%  0 66% 0); }
.slice:nth-child(3) { clip-path: inset(36%  0 49% 0); }
.slice:nth-child(4) { clip-path: inset(53%  0 32% 0); }
.slice:nth-child(5) { clip-path: inset(70%  0 16% 0); }
.slice:nth-child(6) { clip-path: inset(86%  0 0   0); }

/* one entrance: the slices arrive out of line and settle */
@media (prefers-reduced-motion: no-preference) {
  .slice { animation: settle 1.1s cubic-bezier(.2, .8, .2, 1) backwards; }
  .slice:nth-child(odd)  { --from: -18vw; }
  .slice:nth-child(even) { --from: 14vw; }
  .slice:nth-child(2) { animation-delay: .05s; }
  .slice:nth-child(3) { animation-delay: .1s; }
  .slice:nth-child(4) { animation-delay: .15s; }
  .slice:nth-child(5) { animation-delay: .2s; }
  .slice:nth-child(6) { animation-delay: .25s; }
  @keyframes settle { from { transform: translateX(var(--from)); } }
}

.hero-foot {
  display: grid; gap: 28px clamp(28px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  margin-top: clamp(20px, 3vw, 40px);
}
.intro { margin: 0; max-width: 22em; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; font-style: italic; }

.machine { display: grid; gap: 14px; }
.machine-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.acid-btn, .ghost-btn {
  font: 400 21px/1 var(--display);
  padding: 16px 22px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
}
.acid-btn { background: var(--phos); }
.acid-btn:hover { background: var(--ink); color: var(--phos); }
.acid-btn[aria-pressed="true"] { background: var(--ink); color: var(--phos); }
.ghost-btn { background: var(--paper); }
.ghost-btn:hover { background: var(--ice); }

/* 16 steps: hollow = rest, filled = note, blue = accent, tail = slide */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px;
  max-width: 520px;
}
.steps li {
  position: relative;
  aspect-ratio: 1 / 2.2;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.steps li.on { background: var(--ink); }
.steps li.acc { background: var(--ultra); border-color: var(--ultra); }
.steps li.slide::after {
  content: ""; position: absolute; top: 50%; right: -6px; width: 8px; height: 2px; background: var(--ink); z-index: 1;
}
.steps li.now { outline: 3px solid var(--phos); outline-offset: 1px; }
.steps li:nth-child(4n+1) { margin-left: 0; }
.steps li:nth-child(5), .steps li:nth-child(9), .steps li:nth-child(13) { margin-left: 6px; }

.hint { margin: 0; font-size: 16px; color: var(--grey); max-width: 34em; }

.rig { margin: clamp(36px, 5vw, 60px) 0 0; padding-bottom: 28px; font-size: 16px; color: var(--grey); }
.rig span { color: var(--ink); font-style: italic; }

/* ---------- the cut: section divider made of logo texture seen through two slits ---------- */
.cut {
  height: 26px;
  background: var(--texture) center 40% / 100% auto;
  -webkit-mask: linear-gradient(#000 0 9px, transparent 9px 14px, #000 14px 26px);
          mask: linear-gradient(#000 0 9px, transparent 9px 14px, #000 14px 26px);
}

/* ---------- sections ---------- */
.sec { padding: clamp(48px, 7vw, 100px) var(--gutter); }
.lead { margin: 14px 0 0; max-width: 34em; color: var(--grey); font-style: italic; }

/* Listen */
.releases {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 60px;
}
.releases iframe { width: 100%; aspect-ratio: 1; height: auto; background: var(--ice); }
/* the middle column drops, so the grid reads as offset slices instead of a shop shelf */
.releases iframe:nth-child(3n+2) { transform: translateY(60px); }

.elsewhere {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid; gap: 48px clamp(32px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.elsewhere h3 { margin-bottom: 16px; }
.labels ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.labels a {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 12px 0;
  color: var(--ink); text-decoration: none;
  border-top: 1.5px solid var(--ink);
  font-size: 17px; line-height: 1.45;
}
.labels a img { width: 88px; height: 88px; object-fit: cover; grid-column: 1; }
.labels a span { grid-column: 2; max-width: 34em; }
.labels a strong { display: block; font: 400 20px/1.2 var(--display); margin-bottom: 4px; color: var(--ultra); }
.labels a:hover strong { text-decoration: underline; }

.streams h3:not(:first-child) { margin-top: 32px; }
.spotify { width: 100%; height: 352px; border-radius: 12px; }
.sc { width: 100%; height: 120px; margin-bottom: 10px; }
.streams p { margin: 6px 0 0; font-size: 17px; }

/* Watch */
.watch-grid {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid; gap: 32px clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
}
.watch-grid figure { margin: 0; }
.clip { grid-row: span 2; }
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.frame { aspect-ratio: 16 / 9; background: var(--ink); }
.frame iframe { width: 100%; height: 100%; }
.watch-grid figcaption { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--grey); max-width: 40em; }
.watch-grid figcaption strong { color: var(--ink); }

/* Look: photo strips */
.strips { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 6px; }
.strip {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: var(--ink); cursor: zoom-in;
  overflow: hidden;
}
.strip img {
  width: 100%;
  height: var(--h, 74px);
  object-fit: cover; object-position: var(--pos, 50% 50%);
  transition: height .55s cubic-bezier(.2, .8, .2, 1), filter .3s;
  filter: saturate(.9) contrast(1.05);
}
.strip:hover img { filter: saturate(1.3) contrast(1.1); }
.strip[aria-expanded="true"] { cursor: zoom-out; }
.cap {
  position: absolute; left: 14px; bottom: 10px;
  padding: 3px 10px 2px;
  font: italic 300 16px/1.3 var(--text);
  background: var(--paper); color: var(--ink);
}

/* Bands */
.band-list { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 40px clamp(32px, 6vw, 90px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.outline {
  font-size: clamp(56px, 9vw, 130px);
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  font-variation-settings: "XROT" 0, "YROT" -22;
  margin-bottom: 18px;
}
.band-list p { margin: 0; max-width: 30em; }

/* Story */
.story-grid { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: clamp(28px, 5vw, 70px); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
/* the portrait is cut into bands, like the logo */
.sliced-photo {
  width: 100%; height: auto;
  position: sticky; top: 90px;
  -webkit-mask: repeating-linear-gradient(#000 0 15.5%, transparent 15.5% 17.5%);
          mask: repeating-linear-gradient(#000 0 15.5%, transparent 15.5% 17.5%);
}
.bio { max-width: 36em; }
.bio p { margin: 0 0 1.1em; }
.bio .first { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.4; }

/* Write */
.write-grid { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 48px clamp(32px, 6vw, 90px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
form { display: grid; gap: 22px; max-width: 34em; }
form label { display: grid; gap: 6px; font-style: italic; }
input, textarea {
  width: 100%; padding: 8px 2px;
  font: 400 19px/1.4 var(--text); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
}
input:focus, textarea:focus { outline: none; border-bottom-color: var(--ultra); background: var(--ice); }
textarea { resize: vertical; }
form .acid-btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.links p { margin: 0 0 14px; max-width: 26em; }
.links ul { list-style: none; margin: 0; padding: 0; }
.links li a { display: inline-block; font: 400 clamp(28px, 3.4vw, 42px)/1.15 var(--display); text-decoration: none; }
.links li a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.links li:last-child a { font: italic 300 22px/1.6 var(--text); }

/* Footer */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px;
  padding: 40px var(--gutter) 34px;
  font-size: 16px; color: var(--grey);
}
footer p { margin: 0; }
footer p:first-child { font: 400 clamp(32px, 5vw, 64px)/1 var(--display); color: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .hero-foot, .elsewhere, .story-grid, .band-list { grid-template-columns: 1fr; }
  .sliced-photo { position: static; }
  .watch-grid { grid-template-columns: 1fr; }
  .clip { grid-row: auto; max-width: 340px; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  .top { flex-wrap: wrap; row-gap: 4px; }
  .top nav { width: 100%; overflow-x: auto; scrollbar-width: none; gap: 16px; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; font-size: 17px; }
  .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 0; }
  .releases iframe:nth-child(3n+2) { transform: none; }
  .releases iframe:nth-child(even) { transform: translateY(28px); }
  .releases { padding-bottom: 28px; }
  .strip img { height: var(--h, 54px); }
  .labels a { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .labels a img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip img { transition: none; }
}
