/* Red Curtain Society
   Black, generous space, photography graded warm and low,
   and a condensed high-contrast serif doing the talking. */
:root {
  --black: #000;
  --raised: #0C0A09;          /* a hair above black, for the odd panel */
  --bone: #EEE7DD;            /* text */
  --ash: #8E867E;             /* quieter text */
  --hairline: rgba(238, 231, 221, 0.18);
  --red: #B8303A;             /* the red of a house curtain, used sparingly */

  --display: "Noto Serif Display", "Didot", "Bodoni 72", "GFS Baskerville", Georgia, serif;
  --text: "Hanken Grotesk", "Helvetica Neue", "Inter", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --wide: 90rem;
  --space: clamp(7rem, 16vw, 14rem);   /* the room between sections */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1; }
p, dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 4px; }

/* ---------- Photography, graded as one set: low, warm, a little crushed ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: #170807; /* holds the colour while an image loads */
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.12) saturate(0.82) sepia(0.14);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(60, 8, 12, 0.18), rgba(60, 8, 12, 0.18));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ================= Hero ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: hidden;
}
.hero__photo { position: absolute; inset: 0; z-index: -1; }
.hero__photo img { animation: settle 2.8s cubic-bezier(.2, .6, .2, 1) both; }
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.92) 100%),
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%);
}

@keyframes settle {
  from { transform: scale(1.07); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.nav {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.75rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 2rem;
}
.nav__mark {
  font-family: var(--display);
  font-stretch: 80%;
  font-size: 1.2rem;
  text-decoration: none;
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}
.nav__links a { text-decoration: none; opacity: 0.8; }
.nav__links a:hover { opacity: 1; }
@media (max-width: 34rem) {
  .nav__links { gap: 1.25rem; font-size: 0.875rem; }
}

.hero__content {
  align-self: center;
  text-align: center;
  padding: 2rem var(--gutter);
  animation: rise 1.6s ease-out 0.5s both;
}
.hero__mark {
  font-size: clamp(3.4rem, 11.5vw, 11.5rem);
  font-stretch: 72%;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-wrap: balance;
}
/* The one tracked line on the page: a members' club signature */
.hero__strap {
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-left: 0.42em;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo img, .hero__content { animation: none; }
}

/* ----- Sign-up ----- */
.signup {
  width: min(100% - 2 * var(--gutter), 28rem);
  margin: 0 auto;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.signup__label { display: block; font-size: 0.9375rem; color: var(--ash); margin-bottom: 0.9rem; }
.signup__row { display: flex; border-bottom: 1px solid rgba(238, 231, 221, 0.5); }
.signup input,
.signup button {
  font: inherit;
  font-size: 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  padding: 0.85rem 0;
}
.signup input { flex: 1; min-width: 0; }
.signup input::placeholder { color: rgba(238, 231, 221, 0.55); }
.signup button { font-weight: 500; padding-left: 1.5rem; cursor: pointer; }
.signup button:hover { color: #fff; }
.signup__note { min-height: 1.6em; margin-top: 0.75rem; font-size: 0.9rem; color: var(--ash); }

/* ================= Shared ================= */
main > section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--space) var(--gutter) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-stretch: 72%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ash); font-size: 0.9375rem; max-width: 26rem; }

/* ================= Statement ================= */
.statement {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 62rem) {
  .statement { grid-template-columns: 1fr 20rem; gap: 6rem; align-items: end; }
}
.statement__big {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}
.statement__small { color: var(--ash); max-width: 22rem; }

/* ================= Feature: this week's pick ================= */
main > .feature {
  position: relative;
  max-width: none;
  margin-top: var(--space);
  padding: 0;
  min-height: min(100svh, 62rem);
  display: grid;
  isolation: isolate;
}
.feature__photo { position: absolute; inset: 0; z-index: -1; }
.feature__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.15) 62%, rgba(0,0,0,0.85) 100%);
}

/* the frame: a programme laid over the photograph */
.feature__frame {
  margin: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid rgba(238, 231, 221, 0.55);
  border-radius: clamp(1rem, 2.5vw, 2rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  gap: 2rem;
}
.feature__kicker { font-size: 0.9375rem; color: var(--red); font-weight: 400; }

.feature__head {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
@media (min-width: 62rem) {
  .feature__head { grid-template-columns: auto 1fr auto; gap: 3rem; align-items: start; }
}
.feature__date {
  font-family: var(--display);
  font-stretch: 72%;
  font-size: 1.5rem;
  line-height: 1;
}
.feature__date span {
  display: block;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--bone);
}
.feature__date small { display: block; margin-top: 0.4rem; font-family: var(--text); font-size: 0.875rem; color: var(--ash); }

.feature__title {
  font-size: clamp(3.4rem, 9.5vw, 9.5rem);
  font-stretch: 66%;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.86;
  text-wrap: balance;
}
.feature__cta {
  justify-self: start;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  white-space: nowrap;
}
.feature__cta:hover { color: var(--bone); }

.feature__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 231, 221, 0.35);
}
@media (min-width: 62rem) {
  .feature__facts { grid-template-columns: 1fr 0.7fr 0.8fr 1.6fr; gap: 3rem; }
}
.feature__facts dt {
  font-family: var(--display);
  font-stretch: 72%;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.feature__facts dd { font-size: 0.9375rem; color: #CFC6BB; }
.feature__why { grid-column: 1 / -1; }
@media (min-width: 62rem) { .feature__why { grid-column: auto; } }
.feature__why dd { font-size: 1rem; color: var(--bone); max-width: 24rem; }

/* ================= Also this week ================= */
.cards {
  display: grid;
  gap: 3.5rem 2rem;
}
@media (min-width: 46rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card__photo { aspect-ratio: 4 / 5; margin-bottom: 1.25rem; }
.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1rem;
}
.card__meta span { color: var(--ash); }
.card__title {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-stretch: 72%;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 0.75rem;
}
.card__text { color: var(--ash); max-width: 26rem; }
.card__meta .card__urgent { color: var(--red); font-weight: 400; }
.card { display: flex; flex-direction: column; }
.card__text { margin-bottom: 1.25rem; }
.card__link {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto; /* sits on the same line across a row, whatever the text length */
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
}
.card__link:hover { color: #fff; }

/* ================= Closing soon ================= */
.closing__list { list-style: none; margin: 0; padding: 0; }
.closing__list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 52rem) {
  .closing__list li { grid-template-columns: 1.6fr 1fr auto; align-items: baseline; gap: 2rem; }
}
.closing__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1;
}
.closing__venue { color: var(--ash); }
.closing__when { color: var(--red); font-weight: 400; font-size: 0.9375rem; }

/* ================= The Society ================= */
main > .society {
  position: relative;
  max-width: none;
  margin-top: var(--space);
  padding: 0;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.society__photo { position: absolute; inset: 0; z-index: -1; }
.society__photo img { filter: brightness(0.6) contrast(1.15) saturate(0.9) sepia(0.25); }
.society__photo::after { background: rgba(110, 20, 20, 0.35); }
.society__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.2) 25%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.95) 100%);
}

.society__content {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(8rem, 20vw, 16rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.society__mark {
  font-size: clamp(3.4rem, 10vw, 10rem);
  font-stretch: 72%;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.society__strap {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: #D8CEC2;
}
.society__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2rem 3rem;
  margin: clamp(5rem, 12vw, 9rem) 0 3rem;
  text-align: left;
}
.society__list > div { border-top: 1px solid rgba(238, 231, 221, 0.4); padding-top: 1rem; }
.society__list dt {
  font-family: var(--display);
  font-stretch: 72%;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.society__list dd { color: #CFC6BB; font-size: 0.9375rem; }

.society__cta {
  display: inline-block;
  padding: 1rem 2.25rem;
  background: var(--bone);
  color: #000;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.society__cta:hover { background: #fff; }

/* ================= Footer ================= */
.footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--space) var(--gutter) 2.5rem;
  overflow: hidden;
}
.footer__mark {
  font-family: var(--display);
  font-stretch: 66%;
  font-size: clamp(3rem, 12.4vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: #2A2421;
  white-space: nowrap;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--ash);
  font-size: 0.875rem;
}
.footer__row a { text-decoration: none; }
.footer__row a:hover { color: var(--bone); }

/* ----- 404 page ----- */
.curtain { min-height: 100svh; display: grid; place-items: center; padding: var(--gutter); text-align: center; }
.wordmark { font-size: clamp(2.5rem, 8vw, 6rem); font-stretch: 72%; text-transform: uppercase; }
.tagline { margin-top: 1.5rem; color: var(--ash); }
