/* ═════════════════════════════════════════════════════════════════════
   CONTRACT LITERACY — contractliteracy.com
   Editorial publication aesthetic
   Brand: The Clause (Leo Mann Publishing)
   ═════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ───────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:       #0F1C2E;
  --navy-deep:  #08111F;
  --navy-soft:  #1E2D45;
  --gold:       #B8860B;
  --gold-soft:  #C9A33E;
  --gold-pale:  #E8D9A8;
  --cream:      #FAF7F2;
  --cream-deep: #F2EBDC;
  --ink:        #1A1A1A;
  --ink-soft:   #3A3A3A;
  --gray-m:     #555555;
  --gray-l:     #999999;
  --gray-xl:    #D9D9D9;
  --rule:       #D9CFB8;
  --white:      #FFFFFF;

  /* Typography */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale (rem-based) */
  --space-xxs: 0.25rem;
  --space-xs:  0.5rem;
  --space-s:   0.75rem;
  --space-m:   1rem;
  --space-l:   1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --content-max:   720px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
}

/* ─── RESET / BASE ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

/* ─── REUSABLE: CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── REUSABLE: EYEBROW ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-l);
}

.eyebrow--light { color: var(--gold-pale); }

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.6rem;
  transform: translateY(-2px);
}

.eyebrow--light::before { background: var(--gold-pale); }

/* ─── REUSABLE: SECTION HEAD ──────────────────────────────────────── */
.section-head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: var(--space-2xl);
  max-width: 26ch;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}

.section-head--light { color: var(--white); }

.section-head em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

/* ─── REUSABLE: BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-align: center;
  line-height: 1.2;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(15, 28, 46, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.btn__meta {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.1rem;
}

/* ═════════════════════════════════════════════════════════════════════
   MASTHEAD / NAVIGATION
   ═════════════════════════════════════════════════════════════════════ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.1rem var(--container-pad);
}

.masthead__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
}

.masthead__brand-eyebrow {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.masthead__brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-top: 0.1rem;
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.masthead__nav a {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 200ms var(--ease-out);
  position: relative;
}

.masthead__nav a:not(.nav-cta):hover {
  color: var(--gold);
}

.masthead__nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 250ms var(--ease-out);
  transform-origin: left;
}

.masthead__nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 0;
  transition: all 200ms var(--ease-out);
}

.nav-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.masthead__rule {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--rule) 20%,
    var(--rule) 80%,
    transparent 100%
  );
}

/* ═════════════════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════════════════ */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Subtle paper texture overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(184, 134, 11, 0.06), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.hero__copy {
  animation: rise 800ms var(--ease-out) both;
}

.hero__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--navy);
  margin-bottom: var(--space-xl);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--space-2xl);
  max-width: 40ch;
  font-style: italic;
  font-weight: 300;
}

.hero__cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  animation: rise 800ms 150ms var(--ease-out) both;
}

.hero__portrait {
  position: relative;
  width: clamp(220px, 100%, 380px);
  margin-left: auto;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
}

.hero__portrait img {
  border-radius: 50%;
  box-shadow:
    0 30px 60px -30px rgba(15, 28, 46, 0.5),
    0 0 0 8px var(--cream);
}

.hero__plate {
  margin-top: 1.4rem;
  margin-left: auto;
  width: clamp(220px, 100%, 380px);
  padding: 1rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 12px 30px -20px rgba(15, 28, 46, 0.25);
}

.hero__plate-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hero__plate-credential {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.hero__plate-credential em {
  font-style: italic;
  font-family: var(--serif);
  font-size: 0.85rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═════════════════════════════════════════════════════════════════════
   PROBLEM
   ═════════════════════════════════════════════════════════════════════ */
.problem {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.problem__body {
  max-width: var(--content-max);
  margin-bottom: var(--space-3xl);
}

.problem__body p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--space-l);
  font-weight: 300;
}

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

/* ─── PULL QUOTE ──────────────────────────────────────────────────── */
.pull-quote {
  position: relative;
  max-width: var(--content-max);
  margin: var(--space-2xl) 0 0;
  padding: 1.75rem 2rem 1.75rem 2.25rem;
  background: var(--cream-deep);
  border-left: 4px solid var(--gold);
}

.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  font-weight: 700;
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 0.85rem;
}

.pull-quote figcaption {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ═════════════════════════════════════════════════════════════════════
   PROGRAM
   ═════════════════════════════════════════════════════════════════════ */
.program {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--cream);
}

.program__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.service__numeral {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.04em;
  padding-top: 0.1rem;
  min-width: 1.8rem;
}

.service__body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 0.25rem;
  letter-spacing: -0.005em;
}

.service__body h3 em {
  font-style: italic;
  font-weight: 500;
}

.service__spec {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.service__body p:not(.service__spec) {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ═════════════════════════════════════════════════════════════════════
   METHOD
   ═════════════════════════════════════════════════════════════════════ */
.method {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.method__lede {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: var(--space-xl);
  max-width: 50ch;
  font-weight: 300;
}

.method__chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.method__chips li {
  padding: 1.1rem 1.25rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.method__chips li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(15, 28, 46, 0.2);
}

.chip__head {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}

.chip__body {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ═════════════════════════════════════════════════════════════════════
   STATS
   ═════════════════════════════════════════════════════════════════════ */
.stats {
  padding: clamp(4rem, 9vw, 6rem) 0;
  background: var(--cream-deep);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.stat {
  border-top: 1px solid var(--gold);
  padding-top: 1.25rem;
}

.stat__big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.stat__source {
  font-family: var(--sans);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--gray-m);
}

/* ═════════════════════════════════════════════════════════════════════
   ABOUT
   ═════════════════════════════════════════════════════════════════════ */
.about {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__copy p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--space-l);
  font-weight: 300;
}

.about__links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: var(--space-xl);
}

.about__links a {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: all 200ms var(--ease-out);
}

.about__links a em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
}

.about__links a span {
  transition: transform 200ms var(--ease-out);
}

.about__links a:hover {
  color: var(--gold);
}

.about__links a:hover span {
  transform: translateX(4px);
}

.about__portrait img {
  border-radius: 4px;
  box-shadow: 0 20px 40px -20px rgba(15, 28, 46, 0.35);
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  display: block;
}

/* ═════════════════════════════════════════════════════════════════════
   CONTACT
   ═════════════════════════════════════════════════════════════════════ */
.contact {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    ellipse 80% 60% at 20% 100%,
    rgba(184, 134, 11, 0.10),
    transparent 70%
  );
  pointer-events: none;
}

.contact .container {
  position: relative;
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  max-width: 760px;
  margin-bottom: var(--space-2xl);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.field label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 217, 168, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  border-radius: 0;
  width: 100%;
  transition: all 200ms var(--ease-out);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(232, 217, 168, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23E8D9A8' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field select option {
  background: var(--navy);
  color: var(--cream);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--sans);
}

.contact .btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  justify-self: start;
  font-weight: 700;
}

.contact .btn--primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.contact__direct {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--gold-pale);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(232, 217, 168, 0.15);
}

.contact__direct span {
  margin-right: 0.5rem;
}

.contact__direct a {
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
  transition: color 200ms var(--ease-out);
}

.contact__direct a:hover {
  color: var(--gold);
}

/* ═════════════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════════════ */
.site-foot {
  background: var(--navy-deep);
  color: var(--gray-l);
  padding: var(--space-2xl) 0;
  font-size: 0.85rem;
}

.site-foot__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 2rem;
  align-items: center;
}

.site-foot__brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-foot__name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
}

.site-foot__tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-pale);
  font-size: 0.82rem;
}

.site-foot__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.site-foot__links a {
  color: var(--gray-l);
  transition: color 200ms var(--ease-out);
}

.site-foot__links a:hover {
  color: var(--gold);
}

.site-foot__legal {
  text-align: right;
  color: var(--gray-m);
  font-size: 0.78rem;
}

/* ═════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero__visual {
    order: -1;
    max-width: 280px;
  }
  .hero__portrait,
  .hero__plate {
    margin-left: 0;
  }

  .program__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__portrait {
    max-width: 280px;
  }
  .about__portrait img {
    margin-left: 0;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .site-foot__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
  .site-foot__links {
    justify-content: center;
  }
  .site-foot__legal {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .masthead__nav {
    gap: 1rem;
  }
  .masthead__nav a:not(.nav-cta) {
    display: none;
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }

  .pull-quote {
    padding: 1.5rem 1.25rem 1.25rem 1.5rem;
  }
}

/* ─── PREFERS REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── PRINT ───────────────────────────────────────────────────────── */
@media print {
  .masthead,
  .site-foot,
  .contact__form,
  .hero__cta-row {
    display: none;
  }
  body {
    background: white;
  }
}

/* ─── JS-GATED REVEAL ANIMATIONS ──────────────────────────────────── */
/* These styles only apply when JS has marked the document. Without JS,
   all content renders normally and visibly. */
.js-reveals .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.js-reveals .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
