/* =========================================================================
   Silent Season
   A quiet, black-and-white site for an ambient / dub techno label.

   HOW TO EDIT
   - Colours, fonts and spacing all live in the :root variables just below.
     Change a value once here and it updates everywhere.
   - Everything is plain CSS. No build step, no frameworks.
   ========================================================================= */

:root {
  /* ---- Colour (grayscale only) ---------------------------------------- */
  --ink:      #141414;   /* main text / the "black" */
  --paper:    #ffffff;   /* page background */
  --mist:     #6e6e6a;   /* secondary text: dates, captions */
  --hairline: #e4e4df;   /* thin rules and borders */
  --hover:    #000000;   /* pure black on hover for emphasis */

  /* ---- Type ----------------------------------------------------------- */
  --serif: Georgia, "Times New Roman", serif;                 /* display / wordmark */
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; /* body */
  --mono:  ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;      /* catalogue numbers, labels */

  /* ---- Layout --------------------------------------------------------- */
  --measure: 1180px;     /* max content width */
  --gutter:  clamp(28px, 5vw, 56px);
}

/* ---- Reset-ish ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* =========================================================================
   Shared layout
   ========================================================================= */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* eyebrow / small labels — set in mono to read like index entries */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 1.2rem;
}

/* =========================================================================
   Header / navigation
   ========================================================================= */
.site-head {
  border-bottom: 1px solid var(--hairline);
}
.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
}
.nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mist);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* =========================================================================
   Home / About
   ========================================================================= */
.hero {
  text-align: center;
  padding-top: clamp(48px, 9vw, 104px);
  padding-bottom: clamp(20px, 3.5vw, 36px);
}
.hero__logo {
  width: clamp(220px, 42vw, 380px);
  height: auto;
  margin: 0 auto clamp(24px, 4vw, 40px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 4.5vw, 30px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  /* letter-spacing adds trailing space; nudge back to visual centre */
  text-indent: 0.42em;
}
.hero__lede {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(17px, 2.1vw, 19px);
  color: #33332f;
}
.hero__lede + .hero__lede { margin-top: 1.1rem; }

/* thin rule used to separate sections */
.rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: clamp(40px, 7vw, 72px) 0;
}

/* ---- Latest release block (home) ------------------------------------ */
.latest {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding-bottom: clamp(48px, 8vw, 88px);
}
.latest__art {
  aspect-ratio: 1 / 1;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.latest__art img { width: 100%; height: 100%; object-fit: cover; }
.latest__meta-catalog {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
  margin: 0 0 0.9rem;
}
.latest__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  margin: 0 0 0.3rem;
}
.latest__artist {
  font-size: 18px;
  color: var(--mist);
  margin: 0 0 1.4rem;
}
.latest__blurb { margin: 0 0 1.8rem; max-width: 34rem; }

/* text link with animated underline */
.link {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity .2s ease;
}
.link:hover { opacity: 0.55; }
.link::after { content: " \2192"; } /* trailing arrow */

/* =========================================================================
   Page header (Releases, Mixes)
   ========================================================================= */
.page-head {
  padding-top: clamp(40px, 7vw, 76px);
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(32px, 5vw, 52px);
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 6vw, 50px);
  letter-spacing: 0.02em;
  margin: 0;
}
.page-head p {
  max-width: 42rem;
  color: var(--mist);
  margin: 0.9rem 0 0;
}

/* =========================================================================
   Releases grid
   ========================================================================= */
.releases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(24px, 3.4vw, 44px) clamp(20px, 2.6vw, 34px);
  padding-bottom: clamp(56px, 9vw, 100px);
}
.release {
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.release__art {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  overflow: hidden;
  margin-bottom: 14px;
}
.release__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.release:hover .release__art img { transform: scale(1.04); }

.release__catalog {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--mist);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.release__title {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 1px;
}
.release__artist {
  display: block;
  font-size: 14.5px;
  color: var(--mist);
  margin: 0;
}

/* ---- Cover placeholder (shown until a cover URL is added) ------------ */
.art-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, #f4f4ef 0 10px, #f0f0ea 10px 20px);
}
.art-ph__mark {
  position: absolute;
  width: 46%;
  opacity: 0.08;
  filter: grayscale(1);
}
.art-ph__cat {
  position: relative;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--mist);
}
.latest__art .art-ph__cat { font-size: 22px; }

/* keep the artist line from collapsing the card when it's empty */
.release__artist:empty { min-height: 0.9em; }

/* =========================================================================
   Media page
   ========================================================================= */
.media-layout {
  padding-bottom: clamp(56px, 9vw, 100px);
}
.media-section {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.media-desc {
  max-width: 560px;
  color: var(--mist);
  font-size: 16px;
  margin: 0.5rem 0 1.6rem;
}
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 680px;
}
.press-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.press-list li:first-child { border-top: 1px solid var(--hairline); }
.press-year {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.06em;
}
.press-list a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.press-list a:hover { border-bottom-color: var(--ink); }
.press-source {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mist);
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .press-list li {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
  }
  .press-source {
    grid-column: 2;
    text-align: left;
    margin-top: 3px;
  }
}

/* =========================================================================
   Mixes
   ========================================================================= */
.mixes {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(28px, 4.5vw, 50px);
  max-width: 760px;
}
.mix__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 10px;
}
.mix iframe {
  width: 100%;
  border: 1px solid var(--hairline);
  display: block;
}
.note {
  border: 1px solid var(--hairline);
  padding: clamp(20px, 4vw, 32px);
  color: var(--mist);
  font-size: 15px;
}
.note code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  background: #f1f1ec;
  padding: 1px 5px;
}

/* ---- Full-bleed photo ------------------------------------------------ */
.full-bleed {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.full-bleed img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =========================================================================
   Footer / contact
   ========================================================================= */
.site-foot {
  border-top: 1px solid var(--hairline);
  padding: clamp(36px, 6vw, 56px) 0 clamp(44px, 6vw, 60px);
}
.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-foot__mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-foot__mark img { width: 30px; height: 30px; }
.site-foot__mark span {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.contact a { text-decoration: none; color: var(--mist); transition: color .2s ease; }
.contact a:hover { color: var(--ink); }
.contact__email { color: var(--ink); }
.social {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.social a { text-decoration: none; color: var(--mist); transition: color .2s ease; }
.social a:hover { color: var(--ink); }
.legal {
  width: 100%;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 720px) {
  .latest { grid-template-columns: 1fr; }
  .latest__art { max-width: 340px; }
  .nav { gap: 16px; }
  .brand__name { display: none; } /* keep the tree mark, drop the wordmark on small screens */
}

/* =========================================================================
   Motion — a slow, quiet rise on load. Respects reduced-motion.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .reveal.d1 { animation-delay: .08s; }
  .reveal.d2 { animation-delay: .18s; }
  .reveal.d3 { animation-delay: .28s; }
  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

/* Visible keyboard focus for accessibility */
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
