/* ==========================================================================
   Jean-Luc Calyel — feuille de styles du site
   Palette : bleu nuit, or, ivoire. Typographie : Cormorant Garamond + Poppins.
   ========================================================================== */

:root {
  --navy-950: #081320;
  --navy-900: #0d1b2d;
  --navy-800: #15273f;
  --navy-700: #1d3554;
  --gold: #d5ad36;
  --gold-2: #e7c56b;
  --gold-3: #f0d99a;
  --cream: #f8f3ea;
  --cream-2: #efe7d8;
  --muted: #a9b8c8;
  --ink: #15273f;
  --ink-soft: #3f4c5c;
  --line: rgba(248, 243, 234, 0.14);
  --line-dark: rgba(21, 39, 63, 0.14);
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --container: 1180px;
  --radius: 1.25rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

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

button,
input {
  font: inherit;
}

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

/* --------------------------------------------------------------------------
   Structure
   -------------------------------------------------------------------------- */

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

section[id] {
  scroll-margin-top: 5.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.eyebrow--dark {
  color: #8a6a12;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 3.5rem;
}

.section-head p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-ghost {
  border-color: rgba(248, 243, 234, 0.28);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-navy {
  background: var(--navy-800);
  color: var(--cream);
}

.btn-navy:hover {
  background: var(--navy-700);
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 19, 32, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 2.7rem;
}

.nav-shell {
  display: flex;
  align-items: center;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.nav-burger:hover {
  border-color: var(--gold);
}

.nav-burger span {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0.78;
  text-transform: uppercase;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.15rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold-2);
  opacity: 1;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta a {
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(213, 173, 54, 0.5);
  border-radius: 999px;
  color: var(--gold-2);
  opacity: 1;
}

.nav-cta a::after {
  display: none;
}

.nav-cta a:hover {
  border-color: var(--gold);
  background: rgba(213, 173, 54, 0.08);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 8rem 0 4.5rem;
  overflow: hidden;
  background: var(--navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: 65vw;
  height: 65vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(
    circle,
    rgba(213, 173, 54, 0.16) 0%,
    rgba(213, 173, 54, 0.05) 38%,
    transparent 70%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(248, 243, 234, 0.028) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(248, 243, 234, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 39rem;
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 8.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.82;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero-roles {
  margin: 0 0 1.5rem;
  color: var(--gold-2);
  font-size: clamp(0.82rem, 1.6vw, 1.02rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 31rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.hero-facts {
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(213, 173, 54, 0.42);
  border-radius: 16rem 16rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 2;
  border: 1px solid rgba(248, 243, 234, 0.22);
  border-radius: 15rem 15rem 1rem 1rem;
  pointer-events: none;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 52%,
    rgba(8, 19, 32, 0.55) 100%
  );
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.hero-badge {
  position: absolute;
  right: -1.4rem;
  bottom: 2.5rem;
  z-index: 3;
  max-width: 15rem;
  padding: 1.1rem 1.25rem;
  border-radius: 0.9rem;
  background: var(--cream);
  box-shadow: var(--shadow);
  color: var(--navy-900);
  transform: rotate(-3deg);
}

.hero-badge span {
  display: block;
  margin-bottom: 0.35rem;
  color: #8a6a12;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-badge strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: border-color 0.25s ease;
}

.hero-scroll:hover {
  border-color: var(--gold);
}

.hero-scroll span {
  width: 1px;
  height: 0.8rem;
  background: var(--gold);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-0.2rem);
  }
  50% {
    opacity: 1;
    transform: translateY(0.35rem);
  }
}

/* --------------------------------------------------------------------------
   Qui suis-je ?
   -------------------------------------------------------------------------- */

.about {
  background: var(--cream);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: -1rem 1rem 1rem -1rem;
  z-index: 0;
  border: 1px solid rgba(213, 173, 54, 0.6);
  border-radius: 1.5rem;
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(21, 39, 63, 0.18);
  object-fit: cover;
}

.about-caption {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: #4f5d6c;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.45;
}

.about-copy h2 {
  color: var(--ink);
}

.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.about-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.about-quote {
  margin: 1.6rem 0;
  padding: 1.15rem 0 1.15rem 1.25rem;
  border-left: 2px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(21, 39, 63, 0.18);
  border-radius: 999px;
  color: var(--navy-800);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-note {
  margin-top: 1.5rem !important;
  color: var(--navy-800) !important;
  font-family: var(--font-display);
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
}

/* --------------------------------------------------------------------------
   Conférences
   -------------------------------------------------------------------------- */

.conferences {
  background: var(--navy-900);
}

.conference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.conference-card {
  position: relative;
  min-height: 13.5rem;
  padding: 2rem;
  background: var(--navy-900);
  transition: background 0.3s ease;
}

.conference-card:hover {
  background: var(--navy-800);
}

.card-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.conference-card h3 {
  max-width: 16rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.08;
}

.conference-card p {
  max-width: 16rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.section-cta p {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Livres
   -------------------------------------------------------------------------- */

.books {
  background: var(--cream-2);
  color: var(--ink);
}

.books .section-head p {
  color: #4f5d6c;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: end;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease;
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 18px 35px rgba(21, 39, 63, 0.22);
  aspect-ratio: 2 / 3;
}

.book-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-title {
  color: var(--navy-800);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.books-cta {
  margin-top: 3rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Interventions télévisées
   -------------------------------------------------------------------------- */

.tv {
  background: var(--navy-950);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.video-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--navy-900);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.video-card figcaption {
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3.5rem 0 1.25rem;
}

.gallery-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}

.gallery-head span {
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 320px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) transparent;
  scrollbar-width: thin;
}

.gallery-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(213, 173, 54, 0.5);
}

.gallery-item {
  margin: 0;
  scroll-snap-align: start;
}

.gallery-item a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.tv-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.tv-note a {
  border-bottom: 1px solid rgba(213, 173, 54, 0.4);
  color: var(--gold-2);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
}

.contact::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(
    circle,
    rgba(213, 173, 54, 0.14),
    transparent 68%
  );
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.contact p {
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(213, 173, 54, 0.4);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-email:hover {
  border-color: var(--gold);
  color: var(--gold-3);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(248, 243, 234, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-card p {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.contact-card hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand img {
  width: auto;
  height: 2.3rem;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--gold-2);
}

.footer-copy {
  margin: 0;
  color: #7f8fa1;
  font-size: 0.66rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .books-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 16vw, 6rem);
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 380px);
    margin-top: 1.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .about-media {
    max-width: 430px;
  }

  .conference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-inner {
    height: 4.5rem;
  }

  .nav-burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 4.5rem;
    right: 0;
    left: 0;
    height: calc(100vh - 4.5rem);
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--navy-900);
    transition: max-height 0.35s ease;
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.5rem;
  }

  .main-nav li {
    border-bottom: 1px solid var(--line);
  }

  .main-nav li:last-child {
    border-bottom: 0;
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9rem;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta a {
    padding: 1rem 0;
    border: 0;
    border-radius: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 1.75rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-facts {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
  }

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

  .conference-card {
    min-height: auto;
  }

  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-badge {
    right: 0.4rem;
    bottom: 1rem;
    transform: rotate(-2deg);
  }

  .section-cta {
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
