.secondary-page {
  min-height: 100vh;
  background: var(--paper);
}

.secondary-page .site-nav { top: 24px; }
.secondary-main { overflow: hidden; }

.secondary-hero {
  position: relative;
  min-height: 650px;
  padding: 180px max(28px, calc((100vw - 1350px) / 2)) 74px;
  overflow: hidden;
  background: var(--paper);
}

.secondary-hero::before {
  position: absolute;
  top: 90px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mango);
  box-shadow: 16px 16px 0 var(--ink);
  content: "";
  transform: rotate(9deg);
}

.secondary-kicker {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.secondary-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 34px 0 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(120px, 15vw, 240px);
  font-weight: 700;
  line-height: .76;
  text-transform: uppercase;
}

.secondary-hero p {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 32px 0 0;
  font-family: var(--condensed);
  font-size: 34px;
  line-height: 1.05;
}

.fiction-banner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 128px;
  grid-template-columns: minmax(220px, .55fr) 1.45fr;
  align-items: center;
  gap: 38px;
  padding: 26px max(28px, calc((100vw - 1350px) / 2));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--pink);
  color: #fff;
  transform: rotate(-.45deg) scale(1.01);
}

.fiction-banner strong {
  font-family: var(--display);
  font-size: 54px;
  line-height: .84;
  text-transform: uppercase;
}

.fiction-banner p { margin: 0; font-size: 16px; line-height: 1.5; }

.legal-layout {
  width: min(calc(100% - 56px), 1350px);
  margin: 0 auto;
  padding: 110px 0 150px;
}

.legal-intro {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  margin-bottom: 84px;
}

.legal-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 72px;
  line-height: .88;
  text-transform: uppercase;
}

.legal-intro p { max-width: 720px; margin: 0; font-size: 20px; line-height: 1.55; }

.legal-section {
  display: grid;
  grid-template-columns: 110px minmax(210px, .65fr) minmax(0, 1.35fr);
  gap: 28px;
  padding: 46px 0 54px;
  border-top: 2px solid var(--ink);
}

.legal-number {
  color: var(--pink);
  font-family: var(--display);
  font-size: 78px;
  line-height: .8;
}

.legal-section h2 {
  margin: 0;
  font-family: var(--condensed);
  font-size: 48px;
  font-weight: 400;
  line-height: .94;
}

.legal-copy { max-width: 760px; }
.legal-copy p, .legal-copy li { font-size: 16px; line-height: 1.65; }
.legal-copy p { margin: 0 0 16px; }
.legal-copy ul { margin: 0 0 18px; padding-left: 20px; }
.legal-copy a { color: var(--pink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.legal-copy strong { font-weight: 700; }

.secondary-footer {
  display: grid;
  min-height: 330px;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 50px;
  padding: 70px max(28px, calc((100vw - 1350px) / 2)) 42px;
  background: var(--charcoal);
  color: #fff;
}

.secondary-footer-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(70px, 9vw, 140px);
  line-height: .8;
  text-transform: uppercase;
}

.secondary-footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 28px; }
.secondary-footer-nav a { font-size: 15px; }
.secondary-footer-nav a:hover, .secondary-footer-nav a:focus-visible { color: #ff6e8d; }
.secondary-footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.4); color: rgba(255,255,255,.72); }
.secondary-footer-meta a { color: #fff; font-weight: 700; }

.error-hero { min-height: 780px; padding-bottom: 120px; }
.error-hero::before { width: 430px; height: 430px; background: var(--lilac); }
.error-hero h1 { max-width: 920px; font-size: clamp(150px, 18vw, 280px); }
.error-hero > p { max-width: 720px; }
.error-actions { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; }
.error-actions a { display: inline-flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 34px; padding: 10px 12px 10px 20px; border: 2px solid var(--ink); border-radius: 6px; background: var(--pink); box-shadow: 6px 6px 0 var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; transition: box-shadow .25s ease, transform .25s ease; }
.error-actions a:nth-child(2) { background: var(--mango); color: var(--ink); transform: rotate(1deg); }
.error-actions a:hover, .error-actions a:focus-visible { box-shadow: 2px 2px 0 var(--ink); transform: translate(4px, 4px); }
.error-actions strong { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: 21px; }
.error-banner { background: var(--blue); }
.error-footer { min-height: 300px; }

.contact-page { background: var(--charcoal); }

.contact-shell {
  position: relative;
  min-height: 100vh;
  padding: 150px max(28px, calc((100vw - 1350px) / 2)) 90px;
  overflow: hidden;
  background: var(--gradient);
}

.contact-shell::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.22) 0 2px, transparent 2.5px);
  background-size: 34px 34px;
  content: "";
  opacity: .38;
  transform: rotate(-5deg) scale(1.15);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: start;
  gap: 46px;
}

.contact-intro { position: sticky; top: 130px; color: #fff; }
.contact-intro .secondary-kicker { background: var(--mango); color: var(--ink); }
.contact-intro h1 {
  position: relative;
  z-index: 2;
  margin: 28px 0 22px;
  font-family: var(--display);
  font-size: clamp(100px, 10vw, 160px);
  line-height: .78;
  text-transform: uppercase;
}
.contact-intro > p { position: relative; z-index: 2; max-width: 480px; margin: 0; font-family: var(--condensed); font-size: 32px; line-height: 1.08; }
.contact-note { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 13px; line-height: 1.45; }
.contact-note::before { display: block; width: 42px; height: 42px; flex: 0 0 42px; border: 2px solid currentColor; border-radius: 50%; content: "!"; font-family: var(--display); font-size: 30px; line-height: 38px; text-align: center; }
.contact-cans { position: relative; z-index: 1; height: 270px; margin-top: 34px; }
.contact-cans img { position: absolute; bottom: 0; width: 145px; filter: drop-shadow(0 26px 22px rgba(7,63,53,.36)); }
.contact-cans img:first-child { left: 18%; transform: rotate(-12deg); }
.contact-cans img:last-child { left: 42%; transform: rotate(11deg) translateY(8px); }

.project-form-wrap {
  position: relative;
  padding: 44px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
  color: var(--ink);
}

.project-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.project-form-head h2 { margin: 0; font-family: var(--display); font-size: 68px; line-height: .82; text-transform: uppercase; }
.project-form-head span { display: inline-grid; width: 72px; height: 72px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--lilac); font-family: var(--display); font-size: 34px; transform: rotate(8deg); }

.project-form { display: grid; gap: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field-full { grid-column: 1 / -1; }
.form-field > span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.form-field small { color: rgba(7,63,53,.58); font-size: 9px; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.form-field input, .form-field select { height: 52px; padding: 0 13px; }
.form-field textarea { min-height: 150px; resize: vertical; padding: 13px; line-height: 1.5; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pink); box-shadow: 4px 4px 0 var(--pink); transform: translate(-2px, -2px); }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-repeat: no-repeat; background-size: 5px 5px; }
.form-consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 11px; cursor: pointer; }
.form-consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--pink); }
.form-consent span { font-size: 12px; line-height: 1.5; }
.form-consent a { color: var(--pink); font-weight: 700; text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.project-submit {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: box-shadow .25s ease, transform .25s ease;
}
.project-submit strong { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; }
.project-submit:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(4px, 4px) rotate(-.4deg); }
.project-submit:disabled { cursor: wait; opacity: .62; }
.project-status { min-height: 20px; margin: 0; font-size: 13px; font-weight: 700; }
.project-status.is-error { color: #b31d42; }

.project-success { display: grid; min-height: 520px; place-content: center; text-align: center; }
.project-success[hidden] { display: none; }
.project-success span { color: var(--pink); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.project-success strong { margin-top: 14px; font-family: var(--display); font-size: 86px; line-height: .8; text-transform: uppercase; }
.project-success p { max-width: 480px; margin: 24px auto 0; font-size: 16px; line-height: 1.5; }
.project-success a { display: inline-block; justify-self: center; margin-top: 28px; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 5px; background: var(--mango); box-shadow: 4px 4px 0 var(--ink); font-weight: 700; text-transform: uppercase; }

@media (max-width: 991px) {
  .secondary-hero { min-height: 560px; }
  .secondary-hero::before { width: 280px; height: 280px; opacity: .75; }
  .secondary-hero h1 { font-size: clamp(104px, 17vw, 168px); }
  .legal-intro { grid-template-columns: 1fr; gap: 24px; }
  .legal-section { grid-template-columns: 82px minmax(180px, .7fr) 1.3fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { position: relative; top: auto; }
  .contact-cans { position: absolute; top: 0; right: 0; width: 300px; height: 250px; opacity: .75; }
  .contact-cans img:first-child { left: 10%; }
  .error-hero { min-height: 690px; }
  .contact-cans img:last-child { left: 45%; }
}

@media (max-width: 767px) {
  .secondary-page .site-nav { top: 8px; }
  .secondary-hero { min-height: 500px; padding: 120px 14px 62px; }
  .secondary-hero::before { top: 96px; right: -120px; width: 240px; height: 240px; }
  .secondary-hero h1 { margin-top: 30px; font-size: clamp(88px, 28vw, 145px); }
  .secondary-hero p { max-width: 82%; font-size: 27px; }
  .fiction-banner { grid-template-columns: 1fr; gap: 15px; padding: 24px 14px; }
  .fiction-banner strong { font-size: 43px; }
  .legal-layout { width: calc(100% - 28px); padding: 76px 0 100px; }
  .legal-intro h2 { font-size: 56px; }
  .legal-intro p { font-size: 17px; }
  .legal-section { grid-template-columns: 62px 1fr; gap: 16px; padding: 35px 0 42px; }
  .legal-number { font-size: 58px; }
  .legal-section h2 { font-size: 38px; }
  .legal-copy { grid-column: 1 / -1; }
  .legal-copy p, .legal-copy li { font-size: 15px; }
  .secondary-footer { min-height: 430px; grid-template-columns: 1fr; align-content: end; padding: 58px 14px 32px; }
  .secondary-footer-nav { justify-content: flex-start; }
  .secondary-footer-meta { flex-direction: column; }
  .contact-shell { padding: 110px 14px 70px; }
  .contact-intro h1 { font-size: 98px; }
  .contact-intro > p { max-width: 75%; font-size: 26px; }
  .contact-cans { top: 8px; right: -36px; width: 210px; height: 210px; }
  .contact-cans img { width: 104px; }
  .project-form-wrap { padding: 28px 18px; box-shadow: 8px 8px 0 var(--ink); }
  .project-form-head h2 { font-size: 52px; }
  .project-form-head span { width: 54px; height: 54px; font-size: 27px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .project-success strong { font-size: 66px; }
}

@media (max-width: 374px) {
  .secondary-page .site-nav { padding-right: 8px; padding-left: 8px; }
  .secondary-page .brand { width: 42px; }
  .secondary-page .nav-actions { gap: 2px; }
  .secondary-page .nav-pill { min-width: 0; padding-right: 5px; padding-left: 5px; font-size: 15px; }
  .contact-intro h1 { font-size: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .fiction-banner, .secondary-kicker, .contact-cans img { transform: none !important; }
}
