/* ============================================================
   Design 19 — "COVER"
   Fashion/arts magazine cover. Big "2026" as hero graphic,
   vertical side strip, editorial Playfair Display.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #F2EDE4;
  --ink:     #111111;
  --teal:    #6FA7A3;
  --coral:   #DD6F56;
  --sage:    #8DA48F;
  --ink-dim: rgba(17,17,17,0.45);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Barlow', system-ui, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}

/* ── Cover wrapper ──────────────────────────────────────── */

.cover {
  height: 100dvh;
  display: grid;
  grid-template-columns: 44px 1fr;
}

/* ── Side strip ─────────────────────────────────────────── */

.strip {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fade-in 0.6s ease both;
}

.strip__text {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ── Main area ──────────────────────────────────────────── */

.main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.75rem 2.5rem;
  overflow: hidden;
}

/* ── Masthead ───────────────────────────────────────────── */

.masthead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  animation: fade-up 0.5s ease both;
}

.masthead img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.masthead__title {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.masthead__name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
}

.masthead__issue {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.masthead__nav {
  display: flex;
  gap: 1rem;
}

.masthead__nav a {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.masthead__nav a:hover { color: var(--teal); }

/* ── Cover body ─────────────────────────────────────────── */

.cover__body {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  overflow: hidden;
  animation: fade-up 0.5s 0.1s ease both;
}

/* ── Big year ───────────────────────────────────────────── */

.big-year {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(17,17,17,0.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* ── Cover lines ────────────────────────────────────────── */

.cover__lines {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.cover__tag {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.cover__heading {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.cover__heading em {
  font-style: italic;
  color: var(--teal);
}

.cover__dek {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-dim);
  font-weight: 300;
  max-width: 400px;
  margin-bottom: 1.75rem;
}

/* ── Form ───────────────────────────────────────────────── */

.form__row { display: flex; max-width: 380px; }

.form__input {
  flex: 1;
  height: 46px;
  padding: 0 1rem;
  background: rgba(17,17,17,0.05);
  border: 1px solid rgba(17,17,17,0.25);
  border-right: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.form__input::placeholder { color: rgba(17,17,17,0.25); }
.form__input:focus { border-color: var(--teal); }

.form__btn {
  height: 46px;
  padding: 0 1.25rem;
  background: var(--coral);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.form__btn:hover { background: #c45e46; }
.form__btn:disabled { opacity: 0.5; cursor: default; }

.form__confirm {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--teal);
}
.form__confirm[hidden] { display: none; }

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(17,17,17,0.15);
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  animation: fade-up 0.5s 0.2s ease both;
}

/* ── Keyframes ──────────────────────────────────────────── */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 680px) {
  .cover { grid-template-columns: 1fr; }
  .strip { display: none; }
  .main { padding: 1.5rem 1.25rem; }
  .masthead__nav { display: none; }
  .big-year { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}
