@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap");

:root {
  --blue: #147fae;
  --blue-dark: #0d5d83;
  --ink: #161616;
  --text: #343434;
  --muted: #6f6a63;
  --paper: #f7f4ef;
  --porcelain: #fffdf9;
  --mist: #eef3f4;
  --rose: #b7605c;
  --sage: #7a8f82;
  --line: #ded8cf;
  --white: #fff;
  --max: 1160px;
  --shadow: 0 18px 55px rgb(21 21 21 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  background: var(--paper);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 30;
  background: var(--white);
  padding: 8px 12px;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  width: 100%;
  background: rgb(255 253 249 / 92%);
  border-bottom: 1px solid rgb(22 22 22 / 8%);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.section-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}

.brand {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand::after {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
  vertical-align: middle;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  padding: 13px 0;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.is-active {
  color: var(--blue-dark);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--porcelain);
  cursor: pointer;
}

.menu-toggle svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: 96px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgb(0 0 0 / 70%) 0%, rgb(0 0 0 / 44%) 43%, rgb(0 0 0 / 12%) 100%),
    center / cover no-repeat url("../images/2023/12/Emilie-Dubois-365-jours.jpg");
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.page-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fd6ec;
}

.hero h1,
.section-title,
.book-title h1,
.book-title h2,
.order-card h1,
.order-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 5.25rem;
  font-weight: 700;
  line-height: .98;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin: 34px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: .9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 55%);
  background: transparent;
}

.button.secondary:hover,
.button.secondary:focus {
  color: var(--ink);
  background: var(--white);
}

.button svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.button.reverse svg {
  order: 2;
}

.content-band,
.gallery-section,
.videos-band,
.links-band {
  padding: 88px 0;
}

.content-band {
  background: var(--porcelain);
}

.gallery-section {
  background: var(--paper);
}

.videos-band {
  background: var(--mist);
}

.links-band {
  background: var(--porcelain);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-title,
.content-band h2,
.links-band h2,
.videos-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 56px;
  align-items: start;
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.about-copy p:first-of-type {
  margin-top: 0;
}

.about-facts {
  display: grid;
  gap: 14px;
}

.fact {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: 1px solid var(--line);
}

.fact strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.fact span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .94rem;
}

.center {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: #d8d8d8;
  box-shadow: 0 8px 28px rgb(20 20 20 / 8%);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4),
.gallery-item:nth-child(10) {
  grid-column: span 5;
  min-height: 430px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(8),
.gallery-item:nth-child(11),
.gallery-item:nth-child(13) {
  grid-column: span 4;
  min-height: 320px;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6),
.gallery-item:nth-child(7),
.gallery-item:nth-child(9),
.gallery-item:nth-child(12),
.gallery-item:nth-child(14),
.gallery-item:nth-child(15),
.gallery-item:nth-child(16) {
  grid-column: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 28%);
  content: "";
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.gallery-item:hover::after,
.gallery-item:focus::after {
  opacity: 1;
}

.video-playlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.playlist-panel {
  padding: 22px;
  border: 1px solid rgb(22 22 22 / 10%);
  border-radius: 8px;
  background: var(--porcelain);
}

.playlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.playlist-heading {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
}

.playlist-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .9rem;
}

.playlist-button {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  color: var(--text);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.playlist li + li {
  margin-top: 8px;
}

.playlist-button.is-active,
.playlist-button:hover,
.playlist-button:focus {
  border-color: var(--line);
  background: var(--paper);
}

.playlist-button img {
  width: 92px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
}

.playlist-title {
  display: block;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
}

.playlist-duration {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
}

.article-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-links a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.article-links a:hover,
.article-links a:focus {
  border-color: rgb(20 127 174 / 45%);
  box-shadow: 0 12px 34px rgb(20 20 20 / 8%);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.article-links svg,
.event-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: .25em;
  fill: var(--blue);
}

.site-footer {
  background: var(--ink);
  color: rgb(255 255 255 / 80%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 44px 0;
}

.footer-title {
  margin: 0 0 8px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.footer-contact {
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
}

.footer-contact a {
  color: var(--white);
}

.site-footer .nav-link {
  color: rgb(255 255 255 / 78%);
}

.site-footer .nav-link:hover,
.site-footer .nav-link:focus,
.site-footer .nav-link.is-active {
  color: var(--white);
}

.landing-page {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 52px 0;
  background:
    linear-gradient(90deg, var(--porcelain) 0%, var(--porcelain) 52%, var(--mist) 52%, var(--mist) 100%);
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(290px, 440px) minmax(320px, 520px);
  justify-content: center;
  align-items: center;
  gap: 56px;
}

.book-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.book-cover {
  width: min(100%, 340px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.book-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.author-thumb {
  width: 92px;
  height: 92px;
  border: 4px solid var(--porcelain);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgb(20 20 20 / 12%);
}

.book-title h1,
.book-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
}

.book-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.order-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 253 249 / 88%);
  box-shadow: var(--shadow);
}

.order-card h1,
.order-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.05;
}

.order-card p {
  margin: 0 0 22px;
}

.order-card .date {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.stripe-wrap {
  text-align: center;
}

.stripe-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

stripe-buy-button {
  display: inline-block;
  min-width: 288px;
  min-height: 44px;
}

.event-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.event-list li,
.event-list a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.event-list a {
  text-decoration: none;
}

.event-list a:hover,
.event-list a:focus {
  color: var(--blue);
}

.event-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 5px;
}

.field label {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

.form-message {
  display: none;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--mist);
}

.form-message.is-visible {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(0 0 0 / 88%);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 45%);
}

.lightbox-caption {
  position: fixed;
  right: 24px;
  bottom: 18px;
  left: 24px;
  color: #fff;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section-header,
  .about-layout,
  .video-playlist,
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-page {
    background: var(--porcelain);
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: span 6;
    min-height: 300px;
  }

  .article-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .header-inner,
  .footer-inner,
  .section-inner,
  .about-inner {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    z-index: 16;
    background: var(--porcelain);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px rgb(0 0 0 / 12%);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    display: block;
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 8px 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    min-height: 620px;
    padding: 62px 0;
    align-items: end;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .content-band,
  .gallery-section,
  .videos-band,
  .links-band {
    padding: 62px 0;
  }

  .section-title,
  .content-band h2,
  .links-band h2,
  .videos-band h2 {
    font-size: 2.25rem;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .playlist-panel,
  .order-card {
    padding: 22px;
  }

  .footer-inner {
    display: block;
  }

  .footer-nav {
    margin-top: 22px;
  }

  .footer-nav .nav-list {
    width: 100%;
  }

  .landing-page {
    min-height: calc(100vh - 70px);
    padding: 42px 0;
  }

  .book-signature {
    justify-content: flex-start;
  }

  .book-title h1,
  .book-title h2,
  .order-card h1,
  .order-card h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .playlist-button {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .playlist-button img {
    width: 78px;
    height: 54px;
  }
}
