:root {
  --paper: #f4f0e6;
  --paper-deep: #e8dfcc;
  --ink: #23231f;
  --graphite: #4a4a43;
  --soft: #756f63;
  --navy: #24435d;
  --navy-soft: rgba(36, 67, 93, 0.14);
  --rule: rgba(35, 35, 31, 0.18);
  --shadow: rgba(35, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper-deep);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(36, 67, 93, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(36, 67, 93, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.65), transparent 32%),
    var(--paper-deep);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(98deg, rgba(35, 35, 31, 0.035) 0, rgba(35, 35, 31, 0.035) 1px, transparent 1px, transparent 9px);
  mix-blend-mode: multiply;
}

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

.hero {
  padding: clamp(18px, 4vw, 48px);
}

.sheet {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 96px);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(35, 35, 31, 0.08) calc(100% - 1px)),
    var(--paper);
  border: 1px solid rgba(35, 35, 31, 0.2);
  box-shadow: 0 28px 70px var(--shadow);
  position: relative;
  overflow: hidden;
}

.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-color: var(--navy-soft);
  border-style: solid;
}

.sheet::before {
  inset: 24px;
  border-width: 1px;
}

.sheet::after {
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border-width: 1px;
  transform: rotate(18deg);
}

.topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(22px, 4vw, 48px);
  border-bottom: 1px solid var(--rule);
  color: var(--soft);
  font-family: "Courier New", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  min-height: calc(100vh - 156px);
  padding: clamp(34px, 7vw, 92px) clamp(22px, 5vw, 64px) clamp(26px, 5vw, 58px);
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 240, 230, 0.96) 0%, rgba(244, 240, 230, 0.92) 34%, rgba(244, 240, 230, 0.42) 54%, rgba(244, 240, 230, 0.04) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: 560px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 680px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.04;
  letter-spacing: 0;
}

p {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.58;
}

.lede {
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.28;
}

.signup {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 10px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.signup,
.signup label {
  min-width: 0;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(35, 35, 31, 0.32);
  border-radius: 2px;
  color: var(--ink);
  font: 16px Georgia, "Times New Roman", serif;
}

input:focus {
  outline: 2px solid rgba(36, 67, 93, 0.24);
  border-color: var(--navy);
}

button {
  align-self: end;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: var(--navy);
  color: #fffaf0;
  cursor: pointer;
  font: 700 13px "Courier New", monospace;
  text-transform: uppercase;
}

button:hover {
  background: #1b3449;
}

.trap {
  position: absolute;
  left: -9999px;
}

.microcopy {
  margin-top: 12px;
  color: var(--soft);
  font-size: 14px;
}

.hero-art {
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  display: none;
}

.hero-copy::after {
  content: "01 / working notes";
  position: absolute;
  left: calc(100% + 24px);
  top: 68px;
  color: var(--navy);
  font: 700 12px "Courier New", monospace;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
  filter: contrast(1.02) saturate(0.92);
}

.detail-band {
  border-top: 1px solid rgba(35, 35, 31, 0.2);
  padding: clamp(28px, 5vw, 58px) clamp(18px, 4vw, 48px);
}

.detail-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.detail-grid article {
  background: rgba(244, 240, 230, 0.86);
  padding: clamp(22px, 4vw, 34px);
}

.detail-grid p:last-child {
  margin-bottom: 0;
}

.thanks-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thanks-card {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 56px);
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 28px 70px var(--shadow);
}

.thanks-card h1 {
  font-size: clamp(44px, 8vw, 72px);
}

@media (max-width: 920px) {
  .sheet {
    min-height: 0;
  }

  .hero-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 34px;
    min-height: 0;
  }

  .signup {
    grid-template-columns: 1fr;
    width: 100%;
  }

  button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 0;
  }

  .sheet {
    border-left: 0;
    border-right: 0;
  }

  .sheet::before {
    display: none;
  }

  .sheet::after {
    display: none;
  }

  .hero-grid {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 340px;
  }

  .hero-copy {
    width: min(342px, calc(100dvw - 48px));
    max-width: min(342px, calc(100dvw - 48px));
  }

  .hero-grid::before {
    background:
      linear-gradient(180deg, rgba(244, 240, 230, 0.98) 0%, rgba(244, 240, 230, 0.96) 52%, rgba(244, 240, 230, 0.18) 82%, rgba(244, 240, 230, 0.02) 100%);
  }

  .hero-art img {
    object-position: 63% 100%;
  }

  .hero-copy::after {
    display: none;
  }

  .signup {
    width: min(342px, calc(100dvw - 48px));
    max-width: min(342px, calc(100dvw - 48px));
  }

  .topline {
    display: block;
  }

  .topline span {
    display: block;
    margin-top: 6px;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  p {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .lede {
    font-size: 18px;
  }

  .hero-art::before {
    display: none;
  }
}
