/* French for everyone: site styles */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e9e0e7;
  --paper: #ffffff;
  --ink: #0e0c0e;
  --ink-soft: #5b525a;
  --line: rgba(14, 12, 14, 0.13);
  --line-strong: rgba(14, 12, 14, 0.3);
  --radius: 20px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] {
  scroll-margin-top: 24px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  padding-block: 22px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

/* Store badges */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stores a {
  display: block;
  border-radius: 9px;
  transition: transform 0.15s ease;
}

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

.stores img {
  width: auto;
  height: 54px;
}

/* Hero */

.hero {
  padding-block: clamp(28px, 6vw, 72px) clamp(64px, 9vw, 112px);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 em {
  position: relative;
  isolation: isolate;
  font-weight: 500;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -0.04em;
  left: -4%;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15c24-9 44-10 66-3s44 9 66 1 40-8 60-3' fill='none' stroke='%230e0c0e' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.lead {
  max-width: 33em;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.55;
}

.hero .stores {
  margin-top: 36px;
}

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}

.perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.perks li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%230e0c0e'/%3E%3Cpath d='M5.8 10.3l2.7 2.7 5.7-6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Hero menu card */

.menu-card {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 46px 40px 34px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 24px 48px -28px rgba(14, 12, 14, 0.45);
  transform: rotate(1.5deg);
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  pointer-events: none;
}

.menu-head {
  margin-bottom: 28px;
  text-align: center;
}

.menu-kicker {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.menu-title {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.menu-topic {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

.courses {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-name::after {
  content: "";
  flex: 1;
  order: 1;
  border-bottom: 2px dotted var(--line-strong);
}

.course-name .time {
  order: 2;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.course .fr {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.course .en {
  color: var(--ink-soft);
  font-size: 15px;
}

.menu-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.menu-foot span:last-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
}

.sticker {
  position: absolute;
  top: -30px;
  right: -26px;
  display: grid;
  place-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  line-height: 1;
  text-align: center;
  transform: rotate(14deg);
}

.sticker small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sticker b {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Facts strip */

.facts {
  border-block: 1px solid var(--line);
}

.facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 28px 28px 30px;
}

.facts li:first-child {
  padding-left: 0;
}

.facts li + li {
  border-left: 1px solid var(--line);
}

.facts b {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.facts span {
  color: var(--ink-soft);
  font-size: 16px;
}

/* Sections */

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.03em;
}

.section-head h2 em {
  font-weight: 500;
}

.section-head h2 + p {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 20px;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 27px;
}

.step p {
  color: var(--ink-soft);
  font-size: 17px;
}

.extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 500;
  list-style: none;
}

.extras li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.extras li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--paper);
}

/* Topics */

.topics {
  border-top: 1px solid var(--line);
}

.units {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.unit {
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.unit-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.unit h3 {
  margin-top: 8px;
  font-size: 30px;
}

.unit-count {
  margin: 6px 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 15px;
  line-height: 1.3;
}

.chips .more {
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq .section-head {
  margin-bottom: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 8v12M8 14h12' stroke='%230e0c0e' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 36em;
  padding-bottom: 24px;
  color: var(--ink-soft);
}

/* Final call to action */

.cta {
  padding-bottom: clamp(72px, 10vw, 120px);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.cta-panel::before {
  content: "Bon appétit";
  position: absolute;
  bottom: -0.32em;
  left: 50%;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--serif);
  font-size: clamp(90px, 16vw, 210px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
}

.cta-panel h2 {
  max-width: 14em;
  margin-inline: auto;
  font-size: clamp(38px, 5.2vw, 64px);
  letter-spacing: -0.03em;
}

.cta-panel p {
  max-width: 32em;
  margin: 20px auto 0;
  color: var(--bg);
  font-size: 20px;
}

.cta-panel .stores {
  justify-content: center;
  margin-top: 34px;
}

.cta-panel .small {
  margin-top: 18px;
  font-size: 15px;
}

/* Footer */

.site-footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand p {
  max-width: 22em;
  margin-top: 14px;
  color: var(--ink-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 1020px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .menu-card {
    max-width: 460px;
    margin-top: 8px;
    transform: rotate(-1deg);
  }

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

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

  .faq .wrap {
    grid-template-columns: 1fr;
  }

  .faq .section-head {
    margin-bottom: 8px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .nav {
    display: none;
  }

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

  .facts li,
  .facts li:first-child {
    padding: 22px 0 24px 20px;
  }

  .facts li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-head h2 + p,
  .cta-panel p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .brand {
    font-size: 20px;
    white-space: nowrap;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .stores {
    gap: 10px;
  }

  .stores img {
    height: 46px;
  }

  .cta-panel {
    padding-inline: 20px;
  }

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

  .menu-card {
    padding: 40px 26px 28px;
  }

  .menu-title {
    font-size: 36px;
  }

  .course .fr {
    font-size: 19px;
  }

  .sticker {
    top: -24px;
    right: -6px;
    width: 88px;
    height: 88px;
  }

  .sticker b {
    font-size: 24px;
  }

  .sticker small {
    font-size: 10px;
  }

  .faq-list summary {
    font-size: 20px;
  }
}

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

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