/* ABOUTME: Stylesheet for the Mo' Onions Otis Redding tribute one-page site */
/* ABOUTME: Mobile-first; orange/navy/yellow/cream poster palette, hard offset shadows, no radii */

/* === Tokens === */
:root {
  --orange: #D9622B;
  --navy: #13233F;
  --navy-hover: #1F3560;
  --yellow: #F7C948;
  --cream: #F6E7B8;
  --duotone-light: #7FB6EA;

  --font-script: Shrikhand, serif;
  --font-caps: Anton, sans-serif;
  --font-body: Archivo, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* === Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

input::placeholder {
  color: #5a6478;
}

[hidden] {
  display: none !important;
}

.icon {
  flex: none;
}

.container {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.container--text {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === Grain (orange sections only) === */
.textured {
  position: relative;
  overflow: hidden;
  background: var(--orange);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: url("../images/grain-navy.svg"), url("../images/grain-cream.svg");
}

/* === Shared type === */
.heading {
  margin: 0;
  font-family: var(--font-caps);
  font-weight: 400;
  font-size: clamp(40px, 10vw, 60px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.heading--outlined,
.venue {
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--navy);
  text-shadow: 5px 5px 0 var(--navy);
}

.prose {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  max-width: 62ch;
  text-wrap: pretty;
}

.prose--short {
  font-size: 18px;
  line-height: 1.55;
  max-width: 52ch;
}

.chip {
  font-family: var(--font-caps);
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  padding: 4px 10px;
}

.chip--eyebrow {
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: .06em;
  padding: 4px 14px;
  transform: rotate(-3deg);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-caps);
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid var(--navy);
  border-radius: 0;
  cursor: pointer;
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.btn--primary,
.btn--signup {
  background: var(--navy);
  color: var(--yellow);
}

.btn--primary {
  box-shadow: 5px 5px 0 var(--cream);
}

.btn--signup {
  box-shadow: 5px 5px 0 var(--orange);
}

.btn--primary:hover,
.btn--signup:hover {
  background: var(--navy-hover);
  color: var(--yellow);
}

.btn--secondary {
  align-self: flex-start;
  background: var(--orange);
  color: var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
}

.btn--secondary:hover {
  background: var(--yellow);
  color: var(--navy);
}

/* === Wordmark lockup === */
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border: 5px solid var(--yellow);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.wordmark__text {
  font-family: var(--font-script);
  line-height: 1;
  color: var(--yellow);
  white-space: nowrap;
}

.wordmark--hero {
  padding: 18px 40px 24px;
  box-shadow: 6px 6px 0 var(--navy);
  margin: 6px 0 4px 8px;
}

.wordmark--hero .wordmark__text {
  font-size: clamp(34px, 9vw, 52px);
}

.wordmark--footer {
  padding: 12px 28px 16px;
  border-width: 4px;
}

.wordmark--footer .wordmark__text {
  font-size: 34px;
}

/* === Duotone photo === */
.duotone {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.duotone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
}

.duotone__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--navy);
}

.duotone__multiply,
.duotone__lighten {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.duotone__multiply {
  background: var(--duotone-light);
  mix-blend-mode: multiply;
}

.duotone__lighten {
  background: var(--navy);
  mix-blend-mode: lighten;
}

/* === Hero === */
.hero {
  padding: 20px 20px 56px;
}

.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__links {
  display: flex;
  gap: 18px;
}

.hero__links a {
  color: var(--navy);
  text-decoration: none;
}

.hero__body {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}

.hero__text {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.hero--landing {
  min-height: 80vh;
}

.hero__title {
  margin: clamp(16px, 4vw, 32px) 0 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(56px, 14vw, 108px);
  line-height: .92;
  color: var(--navy);
  -webkit-text-stroke: 12px var(--yellow);
  paint-order: stroke fill;
  text-shadow: 6px 7px 0 var(--navy);
  transform: rotate(-5deg);
  transform-origin: left center;
  text-wrap: balance;
}

.hero__show {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.hero__show--off {
  gap: 18px;
}

.slab {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px 16px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 6px 6px 0 var(--yellow);
}

.slab__big {
  font-family: var(--font-caps);
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.slab__label {
  font-family: var(--font-caps);
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.slab__text {
  margin: 0;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.55;
}

.slab__mono {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .04em;
}

.venue {
  font-family: var(--font-caps);
  font-size: clamp(46px, 12vw, 72px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero__figure {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
}

.hero__credit {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--navy);
  color: var(--cream);
}

/* === Featuring (show season) === */
.featuring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 56px 20px;
  background: var(--navy);
  border-top: 6px solid var(--yellow);
}

.starburst {
  width: min(100%, 400px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18%;
  text-align: center;
  background: var(--yellow);
  transform: rotate(-4deg);
  clip-path: polygon(50% 0, 58% 9.8%, 69.1% 3.8%, 72.8% 15.9%, 85.4% 14.6%, 84.1% 27.2%, 96.2% 30.9%, 90.2% 42%, 100% 50%, 90.2% 58%, 96.2% 69.1%, 84.1% 72.8%, 85.4% 85.4%, 72.8% 84.1%, 69.1% 96.2%, 58% 90.2%, 50% 100%, 42% 90.2%, 30.9% 96.2%, 27.2% 84.1%, 14.6% 85.4%, 15.9% 72.8%, 3.8% 69.1%, 9.8% 58%, 0 50%, 9.8% 42%, 3.8% 30.9%, 15.9% 27.2%, 14.6% 14.6%, 27.2% 15.9%, 30.9% 3.8%, 42% 9.8%);
}

.starburst__small {
  font-family: var(--font-caps);
  font-size: clamp(15px, 4vw, 19px);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.starburst__small--tight {
  letter-spacing: .12em;
}

.starburst__script {
  font-family: var(--font-script);
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
}

.starburst__caps {
  font-family: var(--font-caps);
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
  text-transform: uppercase;
}

.guest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.guest__label {
  font-family: var(--font-caps);
  font-size: clamp(16px, 4vw, 20px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
}

.guest__name {
  font-family: var(--font-script);
  font-size: clamp(36px, 10vw, 56px);
  line-height: 1;
  color: var(--yellow);
  transform: rotate(-3deg);
}

/* === Show details === */
.details {
  padding: 56px 20px;
  background: var(--cream);
  border-top: 6px solid var(--navy);
}

.rows {
  border-top: 3px solid var(--navy);
}

.row {
  display: grid;
  grid-template-columns: minmax(84px, 120px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 2px solid var(--navy);
  align-items: baseline;
}

.row__label {
  font-family: var(--font-caps);
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.row__value {
  font-size: 19px;
  font-weight: 800;
}

.row__value--mono {
  font-family: var(--font-mono);
}

.row__note {
  font-size: 17px;
  line-height: 1.5;
}

.row__stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.row__stack a {
  font-size: 16px;
}

.icon-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* === About === */
.about {
  padding: 64px 20px;
  background: var(--navy);
  color: var(--cream);
  border-top: 6px solid var(--yellow);
}

.about__title {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1;
  color: var(--yellow);
  transform: rotate(-3deg);
  transform-origin: left center;
}

/* === Media === */
.media {
  padding: 56px 20px;
  border-top: 6px solid var(--navy);
}

.media__stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.media__stack .heading {
  align-self: flex-start;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border: 3px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  color: var(--cream);
  text-align: center;
}

.video__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video__label {
  font-family: var(--font-caps);
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.video__note {
  font-family: var(--font-mono);
  font-size: 13px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

.photo-tile {
  aspect-ratio: 1;
  border: 3px solid var(--navy);
  box-shadow: 6px 6px 0 var(--navy);
}

/* === Mailing list === */
.list {
  padding: 56px 20px;
  background: var(--yellow);
  border-top: 6px solid var(--navy);
}

.list .container--text {
  gap: 18px;
}

.list .btn--signup {
  align-self: flex-start;
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.signup .btn--signup {
  align-self: flex-end;
}

.signup__field {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signup__label {
  font-family: var(--font-caps);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signup__input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font: 600 18px var(--font-body);
  color: var(--navy);
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 0;
  outline: none;
}

.signup__input:focus {
  box-shadow: 0 0 0 3px var(--orange);
}

.joined {
  align-self: flex-start;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  font-size: 18px;
  background: var(--navy);
  color: var(--cream);
}

/* === Booking === */
.booking {
  padding: 56px 20px;
  background: var(--cream);
  border-top: 6px solid var(--navy);
}

.booking .container--text {
  gap: 18px;
}

.booking__email {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  font-family: var(--font-caps);
  font-size: clamp(24px, 7vw, 40px);
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 4px solid var(--orange);
  word-break: break-all;
}

/* === Footer === */
.footer {
  padding: 48px 20px 40px;
  background: var(--navy);
  color: var(--cream);
  border-top: 6px solid var(--yellow);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-size: 16px;
}

.footer__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
}

.footer__link:hover {
  color: var(--yellow);
}

.footer__note {
  margin: 28px auto 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
