:root {
  --bg: #f6f5e9;
  --text: #111111;
  --body: #111111;
  --border: #b9b1a5;
  --footer: #33402b;
  --footer-border: rgba(255, 255, 255, 0.28);
  --white: #ffffff;
  --container: 1720px;
  --font-serif: "Instrument Serif", serif;
  --font-logo: "loos-extrawide", sans-serif;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

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

button,
input {
  font: inherit;
}

figure {
  margin: 0;
}

.container {
  width: min(calc(100% - 56px), var(--container));
  margin: 0 auto;
}

/* ========== UTILITAIRES ========== */
.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;
}

/* ========== HEADER ========== */
.site-header {
  padding: 26px 0 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-logo);
  font-size: 19px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.header-link {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ========== HERO ========== */
.hero {
  padding: 200px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: start;
}

.hero-title {
  margin: 0;
  max-width: 980px;
  font-family: var(--font-serif);
  font-size: clamp(5.8rem, 8.2vw, 8.9rem);
  line-height: 0.84;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-aside {
  max-width: 540px;
  padding-bottom: 12px;
  align-self: start;
}

.hero-aside p {
  margin: 0 0 26px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--body);
}

.button-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  margin-top: 12px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-outline:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ========== HERO MEDIA ========== */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* ========== HISTORY ========== */
.history {
  padding: 56px 0 20px;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  gap: 56px;
  align-items: start;
}

.history-text {
  max-width: 680px;
}

.history-text p {
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: 35px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--text);
}

.history-image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 10px;
}

.history-image {
  display: block;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  filter: grayscale(100%);
}

/* ========== SECONDARY MEDIA ========== */
.secondary-media {
  padding: 0 0 44px;
}

.secondary-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.secondary-media-card {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.secondary-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== MANIFESTO ========== */
.manifesto {
  padding: 0 0 78px;
}

.manifesto-title {
  margin: 0;
  max-width: 1180px;
  font-family: var(--font-serif);
  font-size: 100px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--footer);
  color: var(--white);
  min-height: 520px;
  padding: 0 0 28px;
  display: flex;
}

.footer-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.footer-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-kicker {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.footer-title {
  margin: 0 0 28px;
  font-family: var(--font-logo);
  font-size: 19px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
}

#newsletter-email {
  text-transform: none;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: 370px;
  max-width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  box-sizing: border-box;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-form button {
  height: 54px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.newsletter-form button:hover {
  background: var(--white);
  color: var(--footer);
  border-color: var(--white);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}


/* ========== MOBILE ========== */
@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .site-header {
    padding-top: 18px;
  }

  .brand {
    font-size: 18px;
  }

  .header-link {
    display: none;
  }

  .hero {
    padding: 140px 0 40px;
  }

  .hero-grid,
  .history-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .hero-grid > *,
  .history-grid > * {
    min-width: 0;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(3.2rem, 10vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.01em;
  }

  .hero-aside,
  .history-text {
    max-width: 100%;
  }

  .hero-aside {
    padding-bottom: 0;
  }

  .hero-aside p {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
  }

  .button-outline {
    max-width: 100%;
    height: 52px;
    font-size: 12px;
  }

  .hero-media {
    aspect-ratio: 3 / 2;
  }

  .history {
    padding: 32px 0 0;
  }

  .history-grid {
    row-gap: 10px;
  }

  .history-text p {
    font-size: 21px;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
  }

  .history-image-wrap {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 0;
  }

  .history-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    padding-bottom: 6px;
  }

  .secondary-media {
    padding-bottom: 32px;
  }

  .secondary-media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .manifesto {
    padding-bottom: 32px;
  }

  .manifesto-title {
    font-size: 48px;
    line-height: 0.96;
    letter-spacing: -0.01em;
  }

  .site-footer {
    min-height: auto;
    padding: 74px 0 42px;
  }

  .footer-inner {
    justify-content: flex-start;
  }

  .footer-center {
    flex: initial;
    width: 100%;
  }

  .footer-title {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 56px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 70%;
    max-width: 70%;
  }

  .footer-copy {
    margin-top: 0;
    text-align: center;
  }
}