/* ==========================================================
   THE BIBLE COLLECTIVE
   Clean homepage stylesheet – revision pass
   Focus: global width, hero proportions, campus section, and
   tighter section rhythm to better match the Figma.
   ========================================================== */

@font-face {
  font-family: "Editorial Today";
  src: url("../fonts/EditorialToday-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/GothamBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/GothamBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #111516;
  --gold: #F1AA41;
  --green: #6B7B67;
  --sand: #D4CFC7;
  --white: #FEFEFE;
  --ink: #111516;
  --muted: #777777;
  --line: rgba(17, 21, 22, .14);

  --font-display: "Editorial Today", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --font-sans: "Gotham", "Avenir Next", "Montserrat", Arial, sans-serif;

  --shell: 1390px;
  --radius: 5px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.035em;
}
h2 { font-size: clamp(2.8rem, 4vw, 4.7rem); line-height: .96; margin-bottom: .35rem; }
h3 { line-height: 1.15; }
em { color: var(--gold); font-style: normal; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: .78rem;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); background: #f4b85e; }
.button-small { min-height: 38px; padding: 8px 18px; }
.button-outline { background: transparent; border-color: var(--gold); }
.button-outline-light { background: transparent; border-color: var(--gold); color: var(--white); }
.text-link { font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.text-link-light { color: var(--white); }
.button-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Header */
.site-header { padding: 22px 0; background: var(--white); position: relative; z-index: 10; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 165px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 34px; font-size: .72rem; font-weight: 700; }
.primary-nav > a:not(.button) { position: relative; }
.primary-nav > a:not(.button)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--gold); transition: width .18s ease;
}
.primary-nav > a:not(.button):hover::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--charcoal); margin: 5px 0; }

/* Hero */
.hero { padding: 46px 0 62px; overflow: hidden; }
.hero-inner { position: relative; }
.hero-copy { text-align: center; max-width: 980px; margin: 0 auto 42px; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(4.8rem, 6.2vw, 6.6rem);
  line-height: .8;
  letter-spacing: -.05em;
  margin-bottom: 22px;
}
.hero-copy p { max-width: 650px; margin: 0 auto 24px; color: #666; font-size: .84rem; line-height: 1.55; }
.hero-image-wrap { border-radius: var(--radius); overflow: hidden; }
.hero-image-wrap img { aspect-ratio: 2.15 / 1; object-fit: cover; }

.scribble {
  position: absolute;
  font-family: "Bradley Hand", "Segoe Print", cursive;
  font-size: .72rem;
  line-height: 1.05;
  font-weight: 700;
  transform: rotate(-7deg);
  z-index: 1;
}
.scribble-one { left: .8%; top: 6px; }
.scribble-two { right: 1.6%; top: 40px; transform: rotate(8deg); }
.scribble-three { left: .8%; top: 142px; transform: rotate(-4deg); }
.scribble-four { right: 1%; top: 156px; transform: rotate(-8deg); }

/* Section heading */
.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(3rem, 4.1vw, 4.6rem); }
.section-heading p { margin: 0; color: #6c6c6c; font-size: .92rem; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.heading-row > div { max-width: 760px; }
.section-heading-light h2, .section-heading-light p { color: var(--white); }

/* Campus */
.section-dark { background: var(--charcoal); color: var(--white); }

.campus-section {
  position: relative;
  overflow: hidden;
  padding: 62px 0 72px;
  background: var(--charcoal);
}

.campus-section > .shell {
  position: relative;
  z-index: 3;
}

.campus-heading {
  margin-bottom: 30px;
}

.campus-heading h2 {
  font-size: clamp(3.2rem, 4.3vw, 4.75rem);
  line-height: .93;
  margin-bottom: 7px;
}

.campus-heading p {
  margin: 0;
  color: rgba(254,254,254,.90);
  font-size: .88rem;
}

/* Keep the row compact. The previous flex rules were stretching the
   card bodies and creating the huge empty spaces seen in the screenshot. */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  position: relative;
  z-index: 3;
}

.campus-card {
  display: block;
  height: 392px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(254,254,254,.25);
  border-radius: 6px;
  background: #1B2122;
}

.campus-card-image,
.campus-card-cta-media {
  display: block;
  width: 100%;
  height: 205px;
  overflow: hidden;
}

.campus-card-image {
  object-fit: cover;
}

.campus-card-cta-media {
  position: relative;
  background: #1B2122;
}

.campus-card-cta-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3.2px) saturate(.72) brightness(.72);
  transform: scale(1.065);
}

.campus-card-cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,21,22,.10) 0%,
    rgba(17,21,22,.20) 50%,
    rgba(17,21,22,.34) 100%
  );
  pointer-events: none;
}

.campus-card .card-body {
  display: block;
  height: 187px;
  padding: 16px 20px 18px;
}

.campus-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.30rem;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.campus-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: rgba(254,254,254,.94);
  font-size: .86rem;
  line-height: 1.3;
  opacity: 1;
}

.meta-svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
}

.meta-svg,
.meta-svg path,
.meta-svg rect,
.meta-svg circle {
  stroke: var(--gold) !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campus-card .button {
  min-height: 38px;
  margin-top: 9px;
  padding: 7px 20px;
  font-size: .74rem;
}

.campus-card-cta {
  border-color: rgba(241,170,65,.78);
}

.campus-card-cta h3 {
  margin-bottom: 9px;
}

.campus-card-cta p {
  max-width: 285px;
  margin: 0 0 12px;
  color: rgba(254,254,254,.90);
  font-size: .86rem;
  line-height: 1.38;
}

/* Actual supplied PNG contour artwork */
.campus-texture {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  z-index: 1;
  opacity: .95;
}

.campus-texture-left {
  width: 420px;
  height: auto;
  left: -180px;
  top: 95px;
  transform: rotate(90deg);
  transform-origin: center;
}

.campus-texture-right {
  width: 435px;
  height: auto;
  right: -145px;
  bottom: -126px;
}

/* Do not display the old generated wave elements in this section. */
.campus-section .wave {
  display: none !important;
}

@media (max-width: 1050px) {
  .campus-card {
    height: 370px;
  }

  .campus-card-image,
  .campus-card-cta-media {
    height: 185px;
  }

  .campus-card .card-body {
    height: 185px;
  }
}

@media (max-width: 900px) {
  .campus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .campus-card {
    height: auto;
  }

  .campus-card-image,
  .campus-card-cta-media {
    height: auto;
    aspect-ratio: 1.75 / 1;
  }

  .campus-card .card-body {
    height: auto;
    min-height: 175px;
  }

  .campus-card-cta {
    grid-column: 1 / -1;
  }

  .campus-texture-left {
    left: -255px;
    opacity: .55;
  }

  .campus-texture-right {
    right: -220px;
    opacity: .55;
  }
}

@media (max-width: 680px) {
  .campus-section {
    padding: 50px 0 58px;
  }

  .campus-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .campus-card-cta {
    grid-column: auto;
  }

  .campus-card-image,
  .campus-card-cta-media {
    aspect-ratio: 1.55 / 1;
  }

  .campus-texture-left {
    width: 340px;
    left: -235px;
    top: 70px;
  }

  .campus-texture-right {
    width: 330px;
    right: -205px;
    bottom: -95px;
  }
}

/* Study */
.study-section {
  background: var(--white);
  overflow: hidden;
}

/* Full-bleed section on desktop:
   text stays aligned with the site's content edge while the photo
   reaches the right edge, matching the Figma composition. */
.study-section .study-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 48.3% 51.7%;
  min-height: 720px;
}

.study-copy {
  align-self: stretch;
  padding:
    56px
    64px
    28px
    max(32px, calc((100vw - var(--shell)) / 2));
}

.study-copy h2 {
  max-width: 540px;
  margin: 0 0 20px;
  font-size: 4rem;
  line-height: .94;
  letter-spacing: -.035em;
}

.study-copy .intro {
  max-width: 545px;
  margin: 0 0 28px;
  color: #898989;
  font-size: 1rem;
  line-height: 1.48;
}

.steps {
  margin: 0 0 35px;
}

.step {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 24px;
  margin: 0 0 31px;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 3rem;
  line-height: .94;
}

.step h3 {
  margin: 0 0 5px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.step p {
  max-width: 505px;
  margin: 0;
  color: #888;
  font-size: .98rem;
  line-height: 1.45;
}

.study-copy .button-row {
  gap: 40px;
}

.study-copy .button {
  min-height: 52px;
  padding: 12px 34px;
  font-size: .88rem;
}

.study-copy .text-link {
  font-size: .88rem;
}

.study-photo {
  min-height: 720px;
  height: 720px;
  overflow: hidden;
  border-radius: 6px;
}

.study-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Articles */
.articles-section, .testimonials-section, .events-section { padding: 72px 0; }
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.article-card, .event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.article-card-link {
  position: relative;
  display: block;
  cursor: pointer;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.article-card-link img {
  transition: transform .28s ease;
}

.article-card-link::after {
  content: "↗︎";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px) scale(.92);
  transition: opacity .2s ease, transform .2s ease;
}

.article-card-link:hover,
.article-card-link:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(241,170,65,.72);
  box-shadow: 0 16px 34px rgba(17,21,22,.12);
}

.article-card-link:hover img,
.article-card-link:focus-visible img {
  transform: scale(1.035);
}

.article-card-link:hover::after,
.article-card-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.article-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.article-card img { aspect-ratio: 1.72/1; object-fit: cover; }
.article-card .card-body { padding: 16px 16px 18px; }
.article-card h3 { font-size: 1.06rem; }
.article-card p { color: #5F5F5F; font-size: .86rem; min-height: 78px; }
.event-card .button { min-height: 36px; padding: 6px 15px; }

/* Testimonials */
.testimonials-section { padding-top: 18px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial {
  margin: 0;
  border: 1px solid rgba(17,21,22,.12);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial > p { font-size: 1rem; line-height: 1.54; }
.testimonial footer { display: flex; align-items: center; gap: 11px; }
.testimonial footer span:last-child { display: flex; flex-direction: column; }
.testimonial small { color: #858585; font-size: .7rem; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); color: var(--white); font-weight: 700;
}

/* Events */
.events-section { padding-top: 24px; }
.event-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.event-card {
  position: relative;
}

.event-card img {
  aspect-ratio: 1.35/1;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  width: 54px;
  min-height: 58px;
  padding: 7px 5px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(241,170,65,.78);
  border-radius: 5px;
  background: rgba(254,254,254,.94);
  color: var(--charcoal);
  box-shadow: 0 6px 16px rgba(17,21,22,.08);
}

.event-date-badge span {
  font-size: .62rem;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 700;
}

.event-date-badge strong {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: .95;
  font-weight: 400;
}

.event-card .card-body {
  padding: 13px 15px 15px;
}

.event-card h3 {
  min-height: 0;
  margin-bottom: 7px;
  font-size: 1.03rem;
}

.event-card .meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 5px;
  padding: 0;
  font-size: .8rem;
  color: #616161;
  opacity: 1;
}

.event-card .meta-svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke: var(--gold);
}

.event-card .button {
  margin-top: 6px;
}

/* CTA */
.final-cta { position: relative; overflow: hidden; }
.final-cta-inner {
  min-height: 304px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  position: relative;
  z-index: 2;
}
.final-cta h2 {
  font-size: clamp(3.1rem, 4.7vw, 5rem);
  line-height: .97;
  margin: 0;
}
.cta-texture {
  position: absolute;
  z-index: 1;
  width: 330px;
  max-width: none;
  left: 43%;
  bottom: -88px;
  opacity: .9;
  pointer-events: none;
}

/* Footer */
.site-footer { padding: 42px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 54px; }
.footer-brand img { width: 150px; }
.socials { display: flex; gap: 15px; margin-top: 18px; color: #555; }
.footer-column { display: flex; flex-direction: column; gap: 9px; font-size: .76rem; }
.footer-column strong { font-size: .72rem; margin-bottom: 3px; }
.footer-column a { color: #666; }

/* Responsive */
@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 44px), var(--shell)); }
  .hero h1 { font-size: clamp(4.2rem, 7vw, 5.8rem); }
  .campus-grid { gap: 22px; }
  .event-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none; position: absolute; top: 77px; left: 24px; right: 24px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
    background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.09);
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a { padding: 13px 12px; }
  .primary-nav .button { margin-top: 6px; }
  .menu-toggle { display: block; }
  .scribble { display: none; }

  .hero { padding-top: 30px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(3.8rem, 11vw, 5rem); }

  .campus-grid { grid-template-columns: 1fr 1fr; }
  .campus-card-cta { grid-column: 1 / -1; }
  .campus-texture-left { left: -210px; top: 96px; opacity: .58; }
  .campus-texture-right { right: -120px; bottom: -130px; opacity: .58; }

  .study-section .study-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .study-copy {
    width: min(calc(100% - 48px), var(--shell));
    margin: 0 auto;
    padding: 58px 0;
  }

  .study-copy h2 {
    font-size: clamp(3rem, 8vw, 4rem);
  }

  .study-photo {
    width: min(calc(100% - 48px), var(--shell));
    height: 500px;
    min-height: 500px;
    margin: 0 auto 48px;
    border-radius: 6px;
  }

  .article-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .final-cta-inner { min-height: 340px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .hero { padding-bottom: 42px; }
  .hero-copy { margin-bottom: 26px; }
  .hero h1 { font-size: clamp(3.15rem, 13vw, 4rem); line-height: .84; }
  .hero-image-wrap img { aspect-ratio: 1.25 / 1; }

  .heading-row { align-items: flex-start; flex-direction: column; }
  .campus-grid, .event-grid { grid-template-columns: 1fr; }
  .campus-card-cta { grid-column: auto; }
  .campus-card-image, .campus-card-cta-media { aspect-ratio: 1.55 / 1; }
  .campus-texture-left { height: 300px; left: -168px; top: 96px; }
  .campus-texture-right { width: 330px; right: -126px; bottom: -112px; }

  .study-copy {
    width: min(calc(100% - 32px), var(--shell));
    padding: 48px 0;
  }

  .study-copy h2 {
    font-size: clamp(2.8rem, 13vw, 3.5rem);
  }

  .step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    margin-bottom: 25px;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .study-copy .button-row {
    gap: 22px;
  }

  .study-photo {
    width: 100%;
    height: 390px;
    min-height: 390px;
    margin-bottom: 0;
    border-radius: 0;
  }

  .articles-section, .testimonials-section, .events-section { padding: 52px 0; }
  .final-cta h2 { font-size: clamp(2.7rem, 12vw, 3.5rem); }
  .cta-texture {
    width: 270px;
    left: 42%;
    bottom: -72px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================
   V10 UX REFINEMENTS
   Interaction polish, responsive hierarchy, accessibility,
   campus/article/event card behavior, and spacing consistency.
   ========================================================== */

/* Accessible focus treatment across interactive elements. */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Hero: headline dominates; floating questions act as quiet texture. */
.hero { padding-top: 64px; }
.scribble {
  font-size: .66rem;
  font-weight: 600;
  opacity: .48;
}
.hero h1 { position: relative; z-index: 2; }

/* Campus cards are the interaction. No nested button needed. */
.campus-card-link {
  position: relative;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.campus-card-link .campus-card-image {
  transition: transform .28s ease;
}
.campus-card-link .card-body {
  position: relative;
  padding-right: 56px;
}
.card-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .2s ease;
}
.campus-card-link:hover,
.campus-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(241,170,65,.72);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.campus-card-link:hover .campus-card-image,
.campus-card-link:focus-visible .campus-card-image {
  transform: scale(1.025);
}
.campus-card-link:hover .card-arrow,
.campus-card-link:focus-visible .card-arrow,
.text-link-arrow:hover span,
.text-link-arrow:focus-visible span {
  transform: translateX(4px);
}

/* Expansion CTA: deliberately unlike an active campus location card. */
.campus-card-cta {
  border: 1px dashed rgba(241,170,65,.78);
  background: rgba(241,170,65,.055);
}
.campus-card-cta .card-body {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 34px 70px 34px 34px;
}
.campus-cta-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.campus-card-cta h3 {
  font-size: clamp(1.8rem, 2.1vw, 2.45rem);
  max-width: 330px;
}
.campus-card-cta p { max-width: 340px; }
.card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
}
.card-action span { transition: transform .2s ease; }
.campus-card-cta:hover .card-action span,
.campus-card-cta:focus-visible .card-action span { transform: translateX(4px); }

/* Study section: more breathing room above the heading, no extra CTA. */
.study-copy {
  padding-top: 92px;
  padding-bottom: 58px;
}
.steps { margin-bottom: 0; }

/* Article action sits after the content, and card motion stays restrained. */
.article-card-link {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card-link img { transition: transform .24s ease; }
.article-card-link:hover,
.article-card-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(17,21,22,.09);
}
.article-card-link:hover img,
.article-card-link:focus-visible img { transform: scale(1.02); }
.article-card-link::after {
  width: 32px;
  height: 32px;
  opacity: .82;
  transform: none;
  background: rgba(241,170,65,.94);
}
.article-card-link:hover::after,
.article-card-link:focus-visible::after { transform: translate(2px,-2px); }
.section-after-cards {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.text-link-arrow {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.text-link-arrow span { transition: transform .2s ease; }

/* Testimonial attribution reads as deliberate even while names/years are unavailable. */
.testimonial footer strong { font-size: .78rem; }
.avatar {
  width: 40px;
  height: 40px;
  font-size: .64rem;
  letter-spacing: .03em;
}

/* Events: date source is data-event-date; all visible date labels are generated from it. */
.events-section .heading-row > .text-link { flex: 0 0 auto; }
.event-card-link {
  display: block;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.event-card-link img { transition: transform .26s ease; }
.event-card-link .card-body {
  position: relative;
  padding: 12px 48px 15px 15px;
}
.event-date-line {
  margin: 0 0 3px;
  color: #6d6d6d;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
}
.event-card h3 {
  margin: 0 0 7px;
  line-height: 1.18;
}
.event-card .meta { margin-bottom: 0; }
.event-card-arrow {
  right: 15px;
  bottom: 16px;
  font-size: 1.12rem;
}
.event-card-link:hover,
.event-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(241,170,65,.68);
  box-shadow: 0 12px 26px rgba(17,21,22,.09);
}
.event-card-link:hover img,
.event-card-link:focus-visible img { transform: scale(1.02); }
.event-card-link:hover .card-arrow,
.event-card-link:focus-visible .card-arrow { transform: translateX(4px); }
.events-empty {
  margin: 0;
  padding: 34px 0;
  color: #676767;
}

/* Final CTA stays minimal: one action, one decorative wave. */
.final-cta .button-row { flex: 0 0 auto; }

/* Social links meet mobile touch target guidance and get visible focus states. */
.socials a {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

/* Restrained scroll reveal. Content is only hidden after JS opts it in. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .42s ease, transform .42s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .scribble { display: none; }
  .primary-nav > a { min-height: 44px; display: flex; align-items: center; }

  .campus-card-cta .card-body {
    min-height: 220px;
    padding: 30px 64px 30px 30px;
  }

  .study-copy { padding-top: 74px; padding-bottom: 54px; }
}

@media (max-width: 680px) {
  .site-header { padding: 16px 0; }
  .brand img { width: 150px; }

  .hero { padding-top: 28px; padding-bottom: 34px; }
  .hero-copy { margin-bottom: 22px; }
  .hero-copy p { margin-bottom: 20px; }
  .hero h1 {
    font-size: clamp(3rem, 14vw, 3.8rem);
    line-height: .86;
    margin-bottom: 18px;
  }

  .campus-section { padding: 46px 0 52px; }
  .campus-heading { margin-bottom: 24px; }
  .campus-texture-left { opacity: .28; }
  .campus-texture-right { display: none; }
  .campus-card-link:hover { transform: none; }
  .campus-card-cta .card-body {
    min-height: 190px;
    padding: 28px 58px 28px 24px;
  }

  .study-copy { padding-top: 64px; padding-bottom: 42px; }
  .study-copy .intro { margin-bottom: 24px; }
  .step { margin-bottom: 22px; }

  .articles-section,
  .testimonials-section,
  .events-section { padding: 46px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-after-cards { margin-top: 22px; }

  .event-card-link .card-body { padding: 12px 46px 14px 14px; }
  .event-date-badge { top: 10px; left: 10px; }

  .final-cta-inner { min-height: 300px; gap: 28px; }
  .cta-texture { width: 230px; left: 48%; bottom: -64px; opacity: .62; }

  .footer-column a,
  .text-link-arrow { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (hover: none) {
  .campus-card-link:hover,
  .article-card-link:hover,
  .event-card-link:hover,
  .button:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll { opacity: 1; transform: none; }
}

/* Center the hero heading and introductory sentence within the hero copy. */
.hero-copy h1,
.hero-copy p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
