/* =========================================================
   Christobal "Chris" Rosales — Jurupa Valley City Council 2026
   rosales4citycouncil.com

   SCALE SYSTEM
   The approved design was built on a 1920px-wide canvas.
   1rem = 10 design pixels, so every element keeps the exact
   proportions of the approved screenshot (46px design = 4.6rem).
   The page is shown at 80% of the design size, inside a centered
   content area (192rem wide), and stops growing at 7px per rem
   (content max 1344px) so it never looks oversized on big screens.
   The mobile/responsive pass will override this later.
   ========================================================= */

:root {
  --maroon: #561027;
  --navy: #001f44;
  --navy-heading: #00114d;
  --ink: #03123a;
  --beige: #f2f0ed;
  --white: #ffffff;
  --black: #000000;
  --input-border: #7d7d7d;
  --error: #b3261e;

  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-label: 'Raleway', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html {
  color-scheme: light;
  font-size: min(calc(100vw / 240), 7px);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 0.3rem solid var(--navy);
  outline-offset: 0.4rem;
}

/* =========================================================
   1. HEADER / NAVIGATION
   ========================================================= */
.site-header {
  height: 21rem;
  background: var(--white);
}

.site-header__inner {
  position: relative;
  width: 192rem;
  height: 100%;
  margin: 0 auto;
}

.site-header__logo {
  position: absolute;
  top: 2.4rem;
  left: 11.7rem;
  display: block;
}

.site-header__logo img {
  /* Same box as the approved design */
  width: 33.8rem;
  height: auto;
}

.site-nav {
  position: absolute;
  top: 7.3rem;
  right: 4.6rem;
  height: 6.4rem;
  display: flex;
  align-items: center;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 7.8rem;
  margin-right: 6rem;
}

.site-nav__links a {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 0.2rem;
  line-height: 1;
  color: var(--maroon);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-nav__links a:hover {
  opacity: 0.85;
}

.site-nav__social {
  display: flex;
  align-items: center;
  gap: 3.4rem;
}

.site-nav__social a {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav__social a:hover {
  opacity: 0.75;
}

.site-nav__social img {
  width: 5.2rem;
  height: 5.2rem;
}

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  position: relative;
  height: 113rem;
  overflow: hidden;
  background: #8fa3bb;
}

.hero picture,
.hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center top;
}

.hero__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 192rem;
  margin-left: -96rem;
}

.hero__text {
  position: absolute;
  top: 30.4%;
  left: 95.5rem;
  width: 85rem;
  color: var(--white);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 8.7rem;
  line-height: 10.1rem;
  letter-spacing: 0.104rem;
  text-transform: uppercase;
}

.hero__sub {
  margin-top: 2.3rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 3.35rem;
  line-height: 4.8rem;
  letter-spacing: 0.3rem;
}

.hero-band {
  height: 5.1rem;
  background: var(--maroon);
}

/* =========================================================
   3. ABOUT
   ========================================================= */
.about {
  background: var(--beige);
}

.about__inner {
  width: 192rem;
  margin: 0 auto;
  padding: 10.6rem 14rem 0 10.4rem;
}

.about__inner::after {
  content: '';
  display: table;
  clear: both;
}

.about__photo {
  float: right;
  width: 63.9rem;
  margin-left: 3.3rem;
}

.about__photo img {
  width: 63.9rem;
  height: 82.5rem;
  transform: rotate(2deg);
  transform-origin: center center;
}

.about__heading {
  margin: 3.5rem 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 6rem;
  line-height: 6rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--navy-heading);
}

.about__copy {
  margin-top: 13.1rem;
}

.about__copy p {
  font-size: 3.35rem;
  line-height: 4.5rem;
  letter-spacing: 0.19rem;
  color: var(--ink);
}

.about__copy p + p {
  margin-top: 4.5rem;
}

.about__copy p:nth-child(3) {
  margin-top: 4.2rem; /* as in the approved design */
}

/* =========================================================
   BUTTONS (Donate, Submit, popup)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46.5rem;
  height: 7.3rem;
  padding: 0 0 0 0.26rem;
  border: 0;
  border-radius: 0.4rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 4.05rem;
  letter-spacing: 0.26rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0.2rem 2.2rem rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: #0b2d5b;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.26);
}

.btn:active {
  transform: translateY(0);
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.btn--donate {
  display: flex;
  margin: 5.1rem 0 0 0.8rem;
}

/* =========================================================
   5. CONTACT
   ========================================================= */
.contact {
  padding: 13.3rem 0 6.6rem;
  background: var(--beige);
}

.contact__heading {
  padding-left: 0.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 7.45rem;
  line-height: 7.25rem;
  letter-spacing: 0.2rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--navy-heading);
}

.contact-form {
  width: 140.8rem;
  margin: 6.65rem auto 0;
  padding: 2.1rem 3.1rem 4.6rem 4.8rem;
  border-radius: 4rem;
  background: var(--white);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5.7rem;
}

.field {
  position: relative;
}

.field--full {
  grid-column: 1 / -1;
}

.field--row2 {
  margin-top: 2rem;
}

.field--row3 {
  margin-top: 3rem;
}

.field label {
  display: block;
  margin-bottom: 1.9rem;
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 3.7rem;
  line-height: 4.4rem;
  letter-spacing: 0.07rem;
  color: var(--black);
}

.field input {
  display: block;
  width: 100%;
  height: 10.6rem;
  padding: 0 2.4rem;
  border: 1px solid var(--input-border);
  border-radius: 0.2rem;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 3.2rem;
  letter-spacing: 0.08rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.field input.is-invalid,
.consent input.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.field__required {
  display: inline-block;
  margin-left: 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.35em;
  line-height: 0;
  vertical-align: -0.12em;
  color: var(--maroon);
}

.field__error {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

/* Honeypot (spam trap) — hidden from people */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   6. CONSENT CHECKBOX
   ========================================================= */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 2.9rem;
  margin-top: 2.9rem;
}

.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 5.2rem;
  height: 5.2rem;
  margin: 1rem 0 0;
  border: 0.3rem solid var(--black);
  border-radius: 0.8rem;
  background: var(--white) center / 70% no-repeat;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.consent input:checked {
  border-color: var(--navy);
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
}

.consent input:focus-visible {
  outline: 0.3rem solid var(--navy);
  outline-offset: 0.3rem;
}

.consent__text {
  font-family: var(--font-body);
  font-size: 3.35rem;
  line-height: 4rem;
  letter-spacing: 0.11rem;
  color: var(--black);
  cursor: pointer;
}

.consent__text a {
  text-decoration: underline;
  text-decoration-thickness: 0.15rem;
  text-underline-offset: 0.4rem;
}

.consent__text a:hover {
  color: var(--maroon);
}

.field__error--consent {
  position: static;
  padding: 1rem 0 0 8.1rem;
}

.contact-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 4.8rem;
  /* center on the card, compensating the card's uneven side padding */
  margin-left: -0.85rem;
}

/* =========================================================
   7. EMAIL + 8. DISCLAIMER
   ========================================================= */
.contact__email {
  margin-top: 14.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 3rem;
  line-height: 4rem;
  letter-spacing: 0.22rem;
  text-align: center;
  color: var(--maroon);
}

.contact__email a {
  text-decoration: underline;
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.5rem;
  transition: opacity 0.2s ease;
}

.contact__email a:hover {
  opacity: 0.75;
}

.disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 101.8rem;
  height: 8.4rem;
  margin: 3.2rem auto 0;
  border: 1px solid #6c7d94;
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: -0.02rem;
  text-transform: uppercase;
  color: var(--navy);
}

/* =========================================================
   POPUP (success / error)
   ========================================================= */
.modal {
  width: 80rem;
  max-width: calc(100vw - 4rem);
  padding: 6rem 6rem 5.5rem;
  border: 0;
  border-radius: 4rem;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 1rem 6rem rgba(0, 0, 0, 0.25);
}

.modal::backdrop {
  background: rgba(0, 17, 40, 0.55);
}

.modal[open] {
  animation: modal-in 0.25s ease-out;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 6rem;
  line-height: 1.1;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--navy-heading);
}

.modal--error .modal__title {
  color: var(--maroon);
}

.modal__message {
  margin-top: 2.4rem;
  font-size: 3rem;
  line-height: 4.2rem;
  letter-spacing: 0.1rem;
}

.btn--modal {
  width: 32rem;
  height: 6.8rem;
  margin-top: 4.4rem;
  font-size: 3.4rem;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(1.5rem) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   LEGAL PAGES (Privacy Policy, Terms & Conditions)
   ========================================================= */
.legal {
  padding: 12rem 0 0;
  background: var(--beige);
}

.legal__inner {
  width: 120rem;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 7.25rem;
  line-height: 1.1;
  letter-spacing: 0.31rem;
  text-transform: uppercase;
  color: var(--navy-heading);
}

.legal h2 {
  margin-top: 5.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.4rem;
  line-height: 1.15;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--navy-heading);
}

.legal h3 {
  margin-top: 3.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1.4;
  color: var(--navy-heading);
}

.legal p,
.legal li {
  font-size: 2.8rem;
  line-height: 1.6;
  letter-spacing: 0.06rem;
  color: var(--ink);
}

.legal p {
  margin-top: 2.4rem;
}

.legal h1 + p {
  margin-top: 4rem;
}

.legal ul {
  margin-top: 2rem;
  padding-left: 4rem;
  list-style: disc;
}

.legal li + li {
  margin-top: 1rem;
}

.legal a {
  color: var(--maroon);
  text-decoration-thickness: 0.15rem;
  text-underline-offset: 0.4rem;
}

.legal__updated {
  font-style: italic;
}

.legal__placeholder {
  margin-top: 4rem;
  padding: 4rem;
  border: 0.3rem dashed var(--maroon);
  border-radius: 1.6rem;
  background: var(--white);
}

/* =========================================================
   SUBTLE ANIMATIONS
   Only active when JavaScript is running (html.js), so content
   is always visible without JS.
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero__image {
  animation: hero-zoom 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.js .hero__headline {
  animation: hero-in 0.9s ease-out 0.25s both;
}

.js .hero__sub {
  animation: hero-in 0.9s ease-out 0.55s both;
}

@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* About photo settles into its tilt as it appears */
.about__photo img {
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s;
}

.js .about__photo:not(.is-visible) img {
  transform: rotate(-1deg) scale(0.97);
}

/* Paragraphs appear one after another */
.js .about__copy p.reveal:nth-child(2) { transition-delay: 0.08s; }
.js .about__copy p.reveal:nth-child(3) { transition-delay: 0.04s; }
.js .about__copy p.reveal:nth-child(4) { transition-delay: 0.08s; }

/* Nav: thin underline grows on hover */
.site-nav__links a {
  position: relative;
}

.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0.2rem;
  bottom: -0.8rem;
  height: 0.2rem;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-nav__links a:hover::after,
.site-nav__links a:focus-visible::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .site-nav__social a:hover {
    transform: translateY(-0.2rem);
  }
}

.btn:active {
  transform: scale(0.98);
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(1.2rem); }
  to   { opacity: 1; transform: none; }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* Optical correction so About / Donate / Contact have identical visible spacing */
.site-nav__links li:last-child {
  margin-left: -0.075rem;
}

/* =========================================================
   MOBILE + TABLET (≤ 900px)
   1rem ≈ 10px on a 390px phone, growing to 12px on tablets,
   never smaller than 10px (keeps form inputs ≥ 16px so iOS
   doesn't zoom in when typing).
   ========================================================= */
@media (max-width: 900px) {
  html {
    font-size: clamp(10px, calc(100vw / 39), 12px);
  }

  :focus-visible {
    outline-width: 3px;
    outline-offset: 3px;
  }

  /* ---------- Header ---------- */
  .site-header {
    height: auto;
  }

  .site-header__inner {
    width: auto;
    max-width: 72rem;
    height: auto;
    padding: 1.2rem 2rem 0;
  }

  .site-header__logo {
    position: static;
    width: 15.4rem;
  }

  .site-header__logo img {
    width: 15.4rem;
  }

  .site-nav {
    position: static;
    height: auto;
    display: block;
  }

  .site-nav__links {
    justify-content: center;
    gap: 3.8rem;
    margin: 1.2rem -2rem 0;
    padding: 1.3rem 0 1.4rem;
    border-top: 1px solid #ebe8e4;
  }

  .site-nav__links li:last-child {
    margin-left: 0;
  }

  .site-nav__links a {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
  }

  .site-nav__links a::after {
    right: 0.08em;
    bottom: -0.5rem;
    height: 1.5px;
  }

  .site-nav__social {
    position: absolute;
    top: 3rem;
    right: 2rem;
    gap: 1.6rem;
  }

  .site-nav__social img {
    width: 3.4rem;
    height: 3.4rem;
  }

  /* ---------- Hero: photo on top, message below ---------- */
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    background: var(--maroon);
  }

  .hero picture {
    height: clamp(34rem, 92vw, 48rem);
    overflow: hidden;
  }

  .hero__image {
    object-position: 4% top;
  }

  .hero__content {
    position: static;
    width: auto;
    margin: 0;
  }

  .hero__text {
    position: static;
    width: auto;
    max-width: 64rem;
    margin: 0 auto;
    padding: 2.8rem 2.2rem 3.4rem;
  }

  .hero__headline {
    font-size: clamp(3.2rem, 8.9vw, 4.8rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
  }

  .hero__sub {
    margin-top: 1.4rem;
    font-size: 1.7rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }

  .hero-band {
    display: none;
  }

  /* ---------- About ---------- */
  .about__inner {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 64rem;
    padding: 4.4rem 2.2rem 0;
  }

  .about__heading {
    order: 1;
    margin: 0;
    font-size: clamp(2.6rem, 6.8vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
  }

  .about__photo {
    order: 2;
    float: none;
    width: 100%;
    max-width: 36rem;
    margin: 3rem auto 3.6rem;
  }

  .about__photo img {
    width: 100%;
    height: auto;
  }

  .about__copy {
    order: 3;
    margin-top: 0;
  }

  .about__copy p {
    font-size: 1.7rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .about__copy p + p,
  .about__copy p:nth-child(3) {
    margin-top: 1.1em;
  }

  .btn--donate {
    order: 4;
    margin: 3rem 0 0;
  }

  /* ---------- Buttons ---------- */
  .btn {
    width: 100%;
    height: 5.6rem;
    padding: 0 0 0 0.12em;
    border-radius: 0.4rem;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    box-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.2);
  }

  /* ---------- Contact ---------- */
  .contact {
    padding: 6.4rem 1.8rem 4.8rem;
  }

  .contact__heading {
    padding-left: 0;
    font-size: clamp(3.6rem, 10vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
  }

  .contact-form {
    width: auto;
    max-width: 64rem;
    margin-top: 2.6rem;
    padding: 2.4rem 2rem 2.8rem;
    border-radius: 2.4rem;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .field + .field,
  .field--row2,
  .field--row3 {
    margin-top: 1.8rem;
  }

  .field label {
    margin-bottom: 0.8rem;
    font-size: 1.7rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .field input {
    height: 5.2rem;
    padding: 0 1.4rem;
    border-radius: 0.3rem;
    font-size: 1.6rem;
    letter-spacing: 0.01em;
  }

  .field__error {
    position: static;
    padding-top: 0.6rem;
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .consent {
    gap: 1.4rem;
    margin-top: 2.4rem;
  }

  .consent input {
    width: 2.6rem;
    height: 2.6rem;
    margin-top: 0.2rem;
    border-width: 2px;
    border-radius: 0.6rem;
  }

  .consent__text {
    font-size: 1.45rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
  }

  .consent__text a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25rem;
  }

  .field__error--consent {
    padding: 0.8rem 0 0 4rem;
  }

  .contact-form__actions {
    margin: 2.6rem 0 0;
  }

  .contact__email {
    margin-top: 4.8rem;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.03em;
  }

  .contact__email a {
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.3rem;
    overflow-wrap: anywhere;
  }

  .disclaimer {
    width: 100%;
    max-width: 52rem;
    height: auto;
    min-height: 5.6rem;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    text-align: center;
  }

  /* ---------- Popup ---------- */
  .modal {
    width: calc(100vw - 3.2rem);
    max-width: 44rem;
    padding: 3.2rem 2.4rem 2.8rem;
    border-radius: 2.4rem;
  }

  .modal__title {
    font-size: 3.4rem;
    letter-spacing: 0.02em;
  }

  .modal__message {
    margin-top: 1.2rem;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
  }

  .btn--modal {
    width: 100%;
    height: 5.2rem;
    margin-top: 2.4rem;
    font-size: 1.7rem;
  }

  /* ---------- Legal pages ---------- */
  .legal {
    padding: 4.8rem 2.2rem 0;
  }

  .legal__inner {
    width: auto;
    max-width: 64rem;
  }

  .legal h1 {
    font-size: 3.6rem;
    letter-spacing: 0.02em;
  }

  .legal h2 {
    margin-top: 3.6rem;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
  }

  .legal h3 {
    margin-top: 2.4rem;
    font-size: 1.8rem;
  }

  .legal p,
  .legal li {
    font-size: 1.6rem;
    letter-spacing: 0.01em;
  }

  .legal p {
    margin-top: 1.4rem;
  }

  .legal h1 + p {
    margin-top: 2.4rem;
  }

  .legal ul {
    margin-top: 1.2rem;
    padding-left: 2.2rem;
  }

  .legal__placeholder {
    padding: 2.4rem;
    border-width: 2px;
  }

  /* ---------- Motion distances ---------- */
  .js .reveal {
    transform: translateY(1.4rem);
  }

  .site-nav__social a:hover {
    transform: none;
  }
}

/* Footer on the legal pages (same look as the home page footer) */
.contact--legal {
  padding-top: 0;
}

.legal__placeholder p {
  margin-top: 0;
}
