@font-face {
  font-family: Manrope;
  src: url('/media/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/media/nunito-sans.woff2') format('woff2');
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --plisse: #0e0806;
  --deep: #050201;
  --gold: #e3b47a;
  --champagne: #9f794f;
  --gold-shadow: #5d3611;
  --oat: #ece1cb;
  --cream: #faf7f2;
  --ink: #0c090d;
  --cocoa: #523d32;
  --line: #d1af90;
  font-family: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: 'Nunito Sans', Arial, sans-serif; margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-shadow); outline-offset: 5px; }
.masthead :focus-visible, .preview-bar :focus-visible { outline-color: var(--gold); }
.wrap { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }

.masthead {
  color: var(--cream);
  background-color: var(--plisse);
  background-image: linear-gradient(90deg, #0e0806 15%, #0e080695 80%), url('/media/plisa.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--champagne);
}

.masthead-grid {
  min-height: 332px;
  padding-block: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  column-gap: 36px;
}

.milkies { margin-bottom: 28px; }
.masthead h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.masthead h1 span { color: var(--gold); display: block; margin-top: .12em; }
.campaign-mark { width: min(100%, 460px); justify-self: end; }
.issue { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; margin: 48px 0 0; background: var(--oat); }
.issue-cover { display: block; align-self: stretch; }
.issue-cover img { width: 100%; height: 100%; object-fit: cover; background: var(--plisse); }
.issue-copy { padding: clamp(24px, 4vw, 46px); }
.eyebrow { margin: 0 0 9px; color: var(--gold-shadow); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
time { font-size: .875rem; color: var(--cocoa); }
.issue h2 { margin-top: 13px; font-size: clamp(1.85rem, 3.55vw, 2.92rem); line-height: 1.03; letter-spacing: -.035em; }
.issue-copy > p:not(.eyebrow) { color: var(--cocoa); line-height: 1.55; margin: 14px 0 22px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 19px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
}

.button:hover { background: var(--oat); border-color: var(--champagne); }
.home-footer { padding: 24px 0 35px; color: var(--cocoa); font-size: .8125rem; }
.preview { background: var(--oat); }
.preview-bar { position: sticky; top: 0; z-index: 1; background: var(--plisse); color: var(--cream); border-bottom: 1px solid var(--champagne); }
.preview-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; padding-block: 9px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--oat); font-size: .875rem; font-weight: 700; text-underline-offset: .22em; }
.preview-nav strong { font-size: .94rem; }
.switch { display: flex; border: 1px solid var(--champagne); border-radius: 999px; padding: 2px; }
.switch button { border: 0; border-radius: 999px; padding: 0 13px; min-height: 44px; color: var(--oat); background: transparent; cursor: pointer; font-size: .84rem; font-weight: 800; }
.switch button[aria-pressed="true"] { color: var(--deep); background: var(--oat); }
.switch button[aria-pressed="false"]:hover { color: var(--gold); }
.download { font-size: .8125rem; }
.preview-main { padding: 30px 16px 42px; }
.envelope { width: min(680px, 100%); margin: 0 auto 20px; }
.envelope h1 { font-size: clamp(1.5rem, 4vw, 2.12rem); line-height: 1.12; letter-spacing: -.023em; }
.envelope p:not(.eyebrow) { margin: 7px 0 0; color: var(--cocoa); line-height: 1.5; }
iframe { display: block; max-width: 100%; width: 680px; border: 0; margin: auto; background: var(--plisse); }
iframe.phone { width: 390px; }

@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-grid { min-height: 230px; padding-block: 34px 24px; column-gap: 12px; }
  .masthead h1 { font-size: clamp(1.9rem, 7vw, 3.2rem); }
  .milkies { width: 74px; margin-bottom: 18px; }
  .issue { margin-top: 27px; grid-template-columns: 1fr; }
  .issue-cover img { aspect-ratio: 3 / 2; height: auto; }
  .preview-nav { gap: 4px 14px; padding-block: 6px; }
  .preview-nav strong { order: -2; width: 100%; padding-top: 4px; }
  .back { order: -1; margin-right: auto; }
  .switch { order: 2; }
  .preview-main { padding: 20px 0 32px; }
  .envelope { padding-inline: 18px; }
}

@media (max-width: 370px) {
  .masthead h1 { font-size: clamp(1.6rem, 8.1vw, 1.86rem); }
  .preview-nav { width: calc(100% - 20px); gap: 4px 7px; }
  .switch button { padding-inline: 9px; }
  .download { padding-inline: 10px; }
}
