/* ==========================================================================
   That 70s Mixtape Show
   One stylesheet. No framework, no JavaScript.

   Colours are taken from the band's flyer: dark brown ground, cream type,
   and the orange, mustard and rust of the stripes. The site is dark only, on
   purpose: the brand is a dark stage, and a light version would be a
   different brand. color-scheme: dark tells the browser so.

   Contrast, measured against WCAG 2.2 AA (4.5:1 text, 3:1 large text).
   UPDATE THESE FIGURES IF YOU CHANGE A COLOUR.

     cream    #f0e5d3 on ground #2b1d17 .... 13.06:1
     cream    #f0e5d3 on shade  #382720 .... 11.39:1
     cream-2  #c9b9a3 on ground #2b1d17 ....  8.48:1
     cream-2  #c9b9a3 on shade  #382720 ....  7.40:1
     mustard  #e8a63a on ground #2b1d17 ....  7.71:1   (links, labels)
     mustard  #e8a63a on shade  #382720 ....  6.72:1
     ground   #2b1d17 on mustard#e8a63a ....  7.71:1   (button label)
     orange   #e8682f on ground #2b1d17 ....  5.00:1   (display type only)
     cream    #f0e5d3 on rust   #9a4223 ....  5.30:1

   Orange is 4.36:1 on the shade, so it never carries body text there. Rust
   is decoration only: 2.46:1 on the ground.
   ========================================================================== */

:root {
  color-scheme: dark;
  --ground: #2b1d17;
  --deep: #221712;
  --shade: #382720;
  --cream: #f0e5d3;
  --cream-2: #c9b9a3;
  --orange: #e8682f;
  --mustard: #e8a63a;
  --rust: #9a4223;
  --hair: #4a3529;

  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --script: "Permanent Marker", "Comic Sans MS", cursive;
  --mono: "Space Mono", ui-monospace, "Courier New", monospace;
  --text: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(1rem, 5vw, 3rem);
  --wide: 68rem;
  --measure: 60ch;
  --bay: clamp(3.5rem, 9vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p { margin: 0; }
a { color: var(--mustard); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 60;
  background: var(--mustard); color: var(--ground);
  padding: .7rem 1.1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: .75rem; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - (var(--gut) * 2), var(--wide)); margin-inline: auto; }


/* --------------------------------------------------------------- header -- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--deep) 92%, transparent);
  border-bottom: 1px solid var(--hair);
}
.top__in { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; padding-block: .75rem; }
.top__name {
  font-family: var(--mono); font-weight: 700; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
}
.top nav { margin-left: auto; }
.top ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0; padding: 0; }
.top nav a {
  display: inline-block; padding-block: .45rem;
  font-family: var(--mono); font-size: .8125rem; color: var(--cream-2); text-decoration: none;
}
.top nav a:hover { color: var(--mustard); }


/* ----------------------------------------------------------------- hero -- */

/* The flyer's sunburst, drawn with a gradient rather than an image: nothing
   to download, and it scales to any screen. */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2rem, 6vw, 4rem) clamp(2.5rem, 7vw, 4.5rem);
  background:
    radial-gradient(circle at 50% 45%, transparent 0 30%, var(--ground) 78%),
    repeating-conic-gradient(from 0deg at 50% 45%, var(--shade) 0 7.5deg, var(--ground) 7.5deg 15deg);
  text-align: center;
}

.tagline {
  font-family: var(--mono); font-weight: 700; color: var(--mustard);
  text-transform: uppercase; letter-spacing: .3em; font-size: clamp(.7rem, .55rem + .6vw, .95rem);
}
@media (max-width: 30rem) { .tagline { letter-spacing: .14em; } }

/* The record: three rings, rust, mustard, rust, as on the flyer. */
.disc {
  position: relative;
  width: min(34rem, 100%); aspect-ratio: 1; margin: clamp(1.25rem, 4vw, 2.5rem) auto 0;
  display: grid; place-content: center; justify-items: center; gap: clamp(.5rem, 2vw, 1rem);
  border-radius: 50%;
  background: var(--deep);
  box-shadow:
    0 0 0 4px var(--rust),
    0 0 0 12px var(--ground),
    0 0 0 17px var(--mustard),
    0 0 0 25px var(--ground),
    0 0 0 29px var(--rust);
}
@media (max-width: 30rem) {
  .disc { box-shadow: 0 0 0 3px var(--rust), 0 0 0 8px var(--ground), 0 0 0 11px var(--mustard); }
}

.logo { margin: 0; display: grid; justify-items: center; line-height: 1; font-weight: 400; }

.logo__the {
  font-family: var(--mono); font-weight: 700; color: var(--mustard);
  text-transform: uppercase; letter-spacing: .4em; font-size: clamp(.85rem, .6rem + 1vw, 1.3rem);
  margin-right: -.4em;
}
.logo__70s {
  font-family: var(--display); color: var(--cream);
  font-size: clamp(4.5rem, 2rem + 13vw, 9rem); letter-spacing: -.02em; line-height: .95;
  text-shadow:
    .035em .035em 0 var(--mustard),
    .07em .07em 0 var(--orange),
    .105em .105em 0 var(--rust);
  margin-right: .1em;
}
.logo__mix {
  font-family: var(--script); color: var(--orange);
  font-size: clamp(2.2rem, 1rem + 6vw, 4.4rem); transform: rotate(-3deg);
  margin-top: .05em;
}
.logo__show {
  display: flex; align-items: center; gap: .9em;
  font-family: var(--mono); font-weight: 700; color: var(--cream);
  text-transform: uppercase; letter-spacing: .45em; font-size: clamp(.9rem, .6rem + 1.2vw, 1.5rem);
  margin-right: -.45em;
}
.logo__show::before, .logo__show::after {
  content: ""; width: clamp(2rem, 8vw, 4.5rem); height: 2px; background: var(--cream);
}

.tape {
  width: clamp(9rem, 40%, 14rem); height: auto;
  transform: rotate(-6deg);
  filter: drop-shadow(0 .4rem 0 rgba(0, 0, 0, .35));
}

.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: clamp(2rem, 6vw, 3.25rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--mono); font-weight: 700; font-size: .875rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.btn--go { background: var(--mustard); border-color: var(--mustard); color: var(--ground); }
.btn--go:hover { background: var(--cream); border-color: var(--cream); }
.btn--quiet { color: var(--cream); border-color: var(--cream-2); }
.btn--quiet:hover { border-color: var(--mustard); color: var(--mustard); }
.btn--sm { min-height: 2.75rem; padding: .5rem 1.1rem; font-size: .8125rem; }


/* ------------------------------------------------------------- stripes -- */

.stripes { display: grid; gap: 5px; padding-block: 5px; background: var(--ground); }
.stripes span { display: block; height: 9px; }
.stripes span:nth-child(1) { background: var(--orange); }
.stripes span:nth-child(2) { background: var(--mustard); }
.stripes span:nth-child(3) { background: var(--rust); }


/* -------------------------------------------------------------- sections -- */

.bay { padding-block: var(--bay); }
.bay--shade { background: var(--shade); }

h2 {
  margin: 0 0 1.5rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.4rem); line-height: 1.05;
  text-wrap: balance;
}
h2 em { font-style: normal; color: var(--mustard); }

.eyebrow {
  margin-bottom: .75rem;
  font-family: var(--mono); font-weight: 700; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--mustard);
}

.lede { font-size: 1.25rem; line-height: 1.5; color: var(--cream-2); max-width: var(--measure); }
.note { font-size: .9375rem; color: var(--cream-2); max-width: var(--measure); margin-top: 1rem; }
.u-mt { margin-top: 2rem; }


/* ---------------------------------------------------------------- gigs -- */

.gigs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--hair); }
.gig {
  display: grid; gap: .35rem 1.5rem; align-items: center;
  padding-block: 1.25rem; border-bottom: 2px solid var(--hair);
}
@media (min-width: 44rem) { .gig { grid-template-columns: 13rem 1fr auto; } }

.gig__date { font-family: var(--mono); font-weight: 700; color: var(--mustard); font-size: .9375rem; }
.gig__town { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.gig__venue { color: var(--cream-2); }
.gig__flag {
  font-family: var(--mono); font-weight: 700; font-size: .8125rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--cream);
}
.gig__flag--soft { color: var(--cream-2); }
.gig--off .gig__town, .gig--off .gig__venue { text-decoration: line-through; color: var(--cream-2); }


/* ------------------------------------------------------------- artists -- */

.artists {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; margin: .75rem 0 0; padding: 0;
}
.artists li {
  padding: .35rem .85rem; border: 2px solid var(--hair); border-radius: 999px;
  font-family: var(--mono); font-size: .875rem; color: var(--cream);
}


/* ------------------------------------------------------------- booking -- */

.mail {
  margin-top: 1.75rem;
  font-family: var(--display); font-size: clamp(1.1rem, .7rem + 2.2vw, 2rem);
  overflow-wrap: anywhere;
}


/* --------------------------------------------------------------- footer -- */

.foot__in {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.75rem 2.25rem;
  font-size: .9375rem; color: var(--cream-2);
}
.foot a { color: inherit; }
.foot a:hover { color: var(--mustard); }


/* ------------------------------------------------------------ fallbacks -- */

@media (forced-colors: active) {
  .disc { box-shadow: none; border: 3px solid CanvasText; }
  .btn { border-color: ButtonText; }
}

@media print {
  .top nav, .btns, .stripes, .skip { display: none !important; }
  .hero { background: none; }
  body { background: #fff; color: #000; }
}
