/* The Monsoon Road — static site
   Modernist design system: flat, 2px rules, zero radius, flush left. */

:root {
  --bg:      #f3f2f2;
  --ink:     #201e1d;
  --red:     #E95342;
  --navy:    #17264F;
  --lime:    #C6CE06;
  --white:   #FFFFFF;
  --muted:   #6b6663;

  --rule:    2px solid var(--ink);
  --rule-lt: 2px solid var(--white);

  --pad-x:   48px;
  --pad-y:   56px;

  --font-display: 'Archivo Black', Archivo, sans-serif;
  --font-body:    Archivo, 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   Fraunces, Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:hover { color: var(--red); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, p { margin: 0; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad-x);
  border-bottom: var(--rule);
  background: var(--bg);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--red); }

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav a { text-decoration: none; }

.lang { display: flex; border: var(--rule); }

.lang-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.lang-btn:hover { background: var(--lime); }
.lang-btn.is-active { background: var(--ink); color: var(--bg); }

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  align-items: center;
  background: var(--red);
  border-bottom: var(--rule);
}

.hero-art {
  padding: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid var(--navy);
  min-width: 0;
  align-self: stretch;
}
.hero-art picture { display: block; width: 100%; max-width: 560px; }
.hero-art img { width: 100%; height: auto; }

.hero-copy {
  padding: 72px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--white);
  min-width: 0;
}

.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero-title span { display: block; }

.author {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.strapline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  max-width: 30ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.btn {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.btn-solid {
  background: var(--lime);
  color: var(--navy);
  padding: 18px 28px;
}
.btn-solid:hover { background: var(--white); color: var(--navy); }

.btn-outline {
  border: var(--rule-lt);
  color: var(--white);
  padding: 16px 28px;
}
.btn-outline:hover { background: var(--white); color: var(--red); }

/* ------------------------------------------------------------------ rows */

.row {
  display: grid;
  grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
  border-bottom: var(--rule);
}

.row-label { padding: var(--pad-y) var(--pad-x); border-right: var(--rule); }

.row-label h2 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.row-body { padding: var(--pad-y); min-width: 0; }

.row-dark {
  background: var(--navy);
  color: var(--white);
  border-bottom: none;
}
.row-dark .row-label { border-right: var(--rule-lt); }
.row-dark .row-label h2 { color: var(--lime); }

/* ----------------------------------------------------------------- prose */

.prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 70ch;
}
.prose p { font-size: 19px; line-height: 1.6; }
.prose em { font-family: var(--font-serif); font-style: italic; }

.closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px !important;
  line-height: 1.45;
  color: var(--red);
}

/* -------------------------------------------------------------- editions */

.grid-cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--ink);
}

.cell {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cell h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cell p { font-size: 15px; line-height: 1.5; }

/* ------------------------------------------------------------------- buy */

.stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ink);
}

.shop {
  background: var(--bg);
  padding: 24px 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  text-decoration: none;
  color: var(--ink);
}
.shop-live:hover { background: var(--lime); color: var(--ink); }

.shop-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-state {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.shop-state.is-muted { color: var(--muted); }

/* --------------------------------------------------------------- contact */

.contact-body { display: flex; flex-wrap: wrap; gap: 56px; }

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}

.press-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-site {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  text-decoration: none;
  align-self: flex-start;
}
.press-site:hover { color: var(--white); }

.contact-kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.press-mail {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
  align-self: flex-start;
  word-break: break-word;
}
.press-mail:hover { color: var(--lime); }

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

.site-footer {
  padding: 24px var(--pad-x);
  background: var(--navy);
  color: var(--white);
  border-top: var(--rule-lt);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  :root { --pad-x: 32px; --pad-y: 40px; }

  .hero { grid-template-columns: 1fr; }
  .hero-art {
    border-right: none;
    border-bottom: 2px solid var(--navy);
    padding: 40px var(--pad-x);
  }
  .hero-art picture { max-width: 460px; }
  .hero-copy { padding: 48px var(--pad-x); }

  .row { grid-template-columns: 1fr; }
  .row-label {
    border-right: none;
    border-bottom: var(--rule);
    padding-bottom: 20px;
  }
  .row-dark .row-label { border-right: none; border-bottom: var(--rule-lt); }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; --pad-y: 32px; }

  .site-header { position: static; gap: 16px; padding: 16px var(--pad-x); }
  .header-right { gap: 20px; width: 100%; justify-content: space-between; }
  .nav { gap: 20px; font-size: 12px; }

  /* Phones get the title block alone. The illustration is decorative, and at this
     width it costs a full screen of height before the title is even reached. The
     navy divider rule lives on .hero-art, so it goes with it. */
  .hero-art { display: none; }
  .hero-copy { padding: 44px var(--pad-x) 48px; }

  .strapline { font-size: 20px; }
  .author { font-size: 20px; }
  .prose p { font-size: 17px; }
  .closing { font-size: 21px !important; }

  /* full-bleed, but labels stay flush left — the system never centers them */
  .row-body { padding: var(--pad-y) var(--pad-x); }
  .btn-solid, .btn-outline { width: 100%; text-align: left; }

  .shop { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-body { gap: 32px; }
  .contact-col { min-width: 0; }
  .press-mail { font-size: 17px; }
}

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