@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ardoise: #232326;
  --craie: #F4F5F0;
  --orange: #B8401A;
  --orange-fonce: #9A3313;
  --tilleul: #A9CF22;
  --gris: #5E6067;
  --mur: #E4E6DF;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1400px;
  --gutter: 16px;
  --radius: 4px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--craie);
  color: var(--ardoise);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  padding-bottom: 72px;
}

img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.families :focus-visible, .call-bar:focus-visible { outline-color: var(--ardoise); }

a { color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 1px; }

h1, h2, h3 { margin: 0; font-weight: 800; }

p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--craie);
  border-bottom: 1px solid var(--mur);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ardoise); }
.brand img { width: 62px; height: 40px; }
.brand span {
  font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a {
  color: var(--ardoise); text-decoration: none; font-size: 15px; font-weight: 600;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.site-nav .nav-extra, .site-nav .btn { display: none; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  background: var(--orange); color: #fff;
  font-family: var(--text); font-weight: 600; font-size: 17px;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color 300ms ease;
}
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; color: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; min-height: 52px;
  font-weight: 600; color: var(--ardoise); text-decoration: underline;
  text-decoration-color: var(--orange); text-decoration-thickness: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--orange-fonce); }
  .site-nav a:hover { color: var(--orange); }
  .site-nav .btn:hover { color: #fff; }
  .link-arrow:hover { color: var(--orange); }
}

/* Pinned call on the phone */

.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 64px; padding: 0 var(--gutter) env(safe-area-inset-bottom);
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px;
}
.call-bar small { font-weight: 400; font-size: 15px; opacity: 0.92; }

/* Hero */

.hero { display: flex; flex-direction: column; }
.hero-photo { position: relative; height: 38svh; min-height: 250px; overflow: hidden; background: var(--mur); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero-text { padding: 28px var(--gutter) 48px; }
.hero h1 { font-family: var(--display); text-transform: uppercase; line-height: 0.88; letter-spacing: 0.01em; }
.hero h1 .h1-small {
  display: block; font-family: var(--text); text-transform: none; font-weight: 600;
  font-size: 17px; line-height: 1.3; letter-spacing: 0; color: var(--gris); margin-bottom: 8px;
}
.hero h1 .h1-name { display: block; font-size: 56px; }
.hero .lead { margin-top: 16px; font-size: 19px; line-height: 1.45; max-width: 34ch; }
.hero .proof { margin-top: 16px; font-size: 15px; color: var(--gris); }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.hero .actions .btn { display: none; }

/* Quote */

.quote { padding: 80px 0; }
.quote blockquote { margin: 0; max-width: 1080px; }
.quote blockquote p {
  font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.08;
  text-transform: none; letter-spacing: 0.005em;
}
.quote blockquote p::before { content: "\00AB\00A0"; }
.quote blockquote p::after { content: "\00A0\00BB"; }
.quote footer { margin-top: 20px; font-size: 15px; color: var(--gris); }
.quote footer strong { color: var(--ardoise); font-weight: 600; }

/* Five families */

.families { background: var(--tilleul); color: var(--ardoise); padding: 56px 0 64px; }
.family {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 20px 0 24px; border-top: 1px solid rgba(35, 35, 38, 0.28);
}
.family:first-of-type { border-top: 0; padding-top: 0; }
.family h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 64px; line-height: 0.9; letter-spacing: 0.01em;
}
.family p { font-size: 18px; line-height: 1.5; max-width: 48ch; }
.families .more { margin-top: 32px; }
.families .more a { color: var(--ardoise); text-decoration-color: var(--ardoise); }

/* Sewing */

.work { padding: 80px 0; }
.work-grid { display: grid; gap: 32px; }
.work h2, .section-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 44px; line-height: 0.92; letter-spacing: 0.01em;
}
.work .body { margin-top: 16px; font-size: 18px; max-width: 40ch; }
.work .note { margin-top: 12px; font-size: 15px; color: var(--gris); }
.work-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.work-photos { order: -1; }
.work-grid > * { min-width: 0; }
.work-photos figure { margin: 0; }
.work-photos .wide { grid-column: 1 / -1; }
.work-photos img { width: 100%; height: 100%; object-fit: cover; }
.work-photos .wide img { aspect-ratio: 3 / 2; }
.work-photos .tall img { aspect-ratio: 2 / 3; }

/* Partners */

.partners { background: var(--mur); padding: 72px 0; }
.partners .intro { margin-top: 12px; max-width: 46ch; font-size: 18px; }
.partner-list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.partner-list li { padding: 18px 0; border-top: 1px solid rgba(35, 35, 38, 0.18); display: grid; gap: 4px; }
.partner-list .name { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.partner-list .what { color: var(--gris); font-size: 16px; }

/* Year */

.year { background: var(--ardoise); color: var(--craie); padding: 72px 0; }
.year .section-title { color: var(--craie); }
.year-list {
  margin-top: 0;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 40px; line-height: 1.08; word-spacing: 0.08em;
}
.year .body { margin-top: 32px; max-width: 52ch; font-size: 18px; color: #D9DAD4; }

/* Find us */

.find { padding: 80px 0; }
.find-grid { display: grid; gap: 28px; }
.find-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 30%; }
.find .street { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 44px; line-height: 0.92; letter-spacing: 0.01em; }
.find .place { margin-top: 12px; font-size: 18px; }
.find dl { margin: 28px 0 0; display: grid; gap: 16px; }
.find dt { font-size: 14px; font-weight: 600; color: var(--gris); }
.find dd { margin: 2px 0 0; font-size: 18px; }
.find .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* Close */

.close { background: var(--mur); padding: 80px 0; }
.close .section-title { font-size: 56px; }
.close .body { margin-top: 16px; font-size: 18px; max-width: 44ch; }
.close .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* Footer */

.site-footer { background: var(--ardoise); color: #D9DAD4; padding: 48px 0 40px; font-size: 15px; }
.site-footer a { color: var(--craie); }
.footer-grid { display: grid; gap: 20px; }
.footer-name { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--craie); line-height: 1; }
.footer-lines p + p { margin-top: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid #3A3A3E; color: #9A9CA2; }
.footer-legal a { color: #D9DAD4; }

/* Programme page */

.page-head { padding: 48px 0 40px; }
.page-head h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 56px; line-height: 0.9; letter-spacing: 0.01em; }
.page-head .lead { margin-top: 16px; font-size: 19px; max-width: 46ch; }
.page-head .note { margin-top: 12px; font-size: 15px; color: var(--gris); max-width: 60ch; }

.week { background: var(--tilleul); padding: 48px 0 56px; }
.week-grid { display: grid; gap: 0; }
.day { padding: 20px 0 24px; border-top: 1px solid rgba(35, 35, 38, 0.28); display: grid; gap: 10px; align-content: start; }
.day:first-child { border-top: 0; padding-top: 0; }
.day h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 48px; line-height: 0.9; letter-spacing: 0.01em; }
.day p { white-space: pre-line; font-size: 17px; line-height: 1.75; font-variant-numeric: tabular-nums; }

.register { padding: 72px 0; }
.register-list { margin: 28px 0 0; padding: 0; list-style: none; max-width: 760px; }
.register-list li { padding: 16px 0; border-top: 1px solid var(--mur); font-size: 18px; }
.register .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* Reveal */

.js .reveal > * { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in > * {
  opacity: 1; transform: none;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js .reveal.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.js .reveal.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.js .reveal.is-in > *:nth-child(6) { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal > *, .js .reveal.is-in > * { opacity: 1; transform: none; transition: none; }
}

/* Tablet and up */

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .site-nav .nav-extra { display: inline; }
  .hero h1 .h1-name { font-size: 80px; }
  .family h3 { font-size: 96px; }
  .partner-list { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .year-list { font-size: 56px; }
}

/* Desktop */

@media (min-width: 1024px) {
  body { font-size: 18px; padding-bottom: 0; }
  .call-bar { display: none; }
  .site-nav .btn { display: inline-flex; }
  :root { --header-h: 76px; }
  .brand img { width: 74px; height: 48px; }

  .hero {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    height: calc(100vh - var(--header-h)); min-height: 640px; max-height: 1100px;
  }
  .hero-text {
    order: 1; align-self: center;
    padding: 48px 56px 48px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }
  .hero-photo { order: 2; height: auto; min-height: 0; }
  .hero h1 .h1-small { font-size: 20px; margin-bottom: 12px; }
  .hero h1 .h1-name { font-size: 132px; }
  .hero .lead { font-size: 24px; margin-top: 28px; }
  .hero .proof { font-size: 16px; margin-top: 20px; }
  .hero .actions { margin-top: 40px; }
  .hero .actions .btn { display: inline-flex; }
  .hero-photo img { object-position: 50% 0%; }

  .quote { padding: 120px 0; }
  .quote blockquote p { font-size: 60px; line-height: 1.02; }

  .families { padding: 96px 0 104px; }
  .family { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 40px; padding: 24px 0 28px; }
  .family h3 { font-size: 168px; }
  .family p { font-size: 20px; padding-bottom: 14px; }

  .work { padding: 120px 0; }
  .work-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .work-photos { order: 0; }
  .work-text { position: sticky; top: calc(var(--header-h) + 40px); }
  .work h2, .section-title { font-size: 72px; }
  .work-photos { gap: 12px; }

  .partners { padding: 104px 0; }
  .partner-list { grid-template-columns: repeat(4, 1fr); }
  .partner-list .name { font-size: 40px; }

  .year { padding: 104px 0; }
  .year-list { font-size: 88px; line-height: 1; }
  .year .body { font-size: 20px; }

  .find { padding: 120px 0; }
  .find-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .find .street { font-size: 72px; }

  .close { padding: 112px 0; }
  .close .section-title { font-size: 96px; }
  .close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .close .section-title { grid-row: 1 / span 2; align-self: end; }
  .close .body { grid-column: 2; margin-top: 0; font-size: 20px; }
  .close .actions { grid-column: 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-legal { grid-column: 1 / -1; }

  .page-head { padding: 80px 0 64px; }
  .page-head h1 { font-size: 112px; }
  .page-head .lead { font-size: 22px; }
  .week { padding: 80px 0 88px; }
  .week-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
  .day, .day:first-child { border-top: 1px solid rgba(35, 35, 38, 0.28); padding: 24px 0 40px; }
  .day:nth-child(-n+3) { border-top: 0; padding-top: 0; }
  .day h2 { font-size: 72px; }
  .register { padding: 104px 0; }
}
