@font-face {
  font-family: "Season Serif";
  src: url("/assets/fonts/season-serif-regular.woff2") format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Season Sans";
  src: url("/assets/fonts/season-sans-regular.woff2") format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Season Sans";
  src: url("/assets/fonts/season-sans-semibold.woff2") format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Season Mix";
  src: url("/assets/fonts/season-mix-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Season Mix";
  src: url("/assets/fonts/season-mix-semibold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #15284a;
  --muted: #475067;
  --soft: #8b93a4;
  --line: #e4e7ee;
  --line-strong: #bcc2cf;
  --accent: #ff512b;

  --gutter: clamp(24px, 6vw, 120px);
  --rhythm: clamp(72px, 11vh, 150px);
  --maxw: 1280px;
  --header-h: clamp(96px, 11vh, 132px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Season Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

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

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

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

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
  padding-block: 0;
  padding-inline: max(var(--gutter), calc(50% - var(--maxw) / 2 + var(--gutter)));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-end {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--soft);
  transition: color 160ms ease;
}

.lang-switch a:hover {
  color: var(--accent);
}

.lang-switch span[aria-current="true"] {
  color: var(--ink);
}

.lang-switch::before {
  content: "";
  width: 1px;
  height: 12px;
  margin-right: clamp(4px, 1vw, 12px);
  background: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(188px, 15.5vw, 244px);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 52px);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 160ms ease;
}

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

/* ============================================================
   SHARED PRIMITIVES
   ============================================================ */

.section-label {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 160ms ease, color 160ms ease;
}

.text-cta .arrow {
  transition: transform 160ms ease;
}

.text-cta:hover {
  color: var(--accent);
  gap: 20px;
}

.text-cta:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  display: grid;
  align-content: center;
  gap: clamp(20px, 2.6vh, 30px);
  max-width: var(--maxw);
  min-height: calc(100svh - var(--header-h));
  margin: 0 auto;
  padding: clamp(24px, 4vh, 56px) var(--gutter);
}

.eyebrow {
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 16ch;
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(2.9rem, 7vw, 6.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.headline-dot {
  display: inline-block;
  width: 0.11em;
  height: 0.11em;
  margin-left: 0.04em;
  background: var(--accent);
  border-radius: 999px;
  vertical-align: 0.04em;
}

.hero-lede {
  max-width: 38ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.4vw, 1.42rem);
  line-height: 1.4;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  transform: translateY(-50%);
}

.hero .text-cta {
  margin-top: clamp(14px, 2vh, 22px);
}

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */

.block {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--line);
}

.block-head {
  display: grid;
  gap: clamp(14px, 2vh, 22px);
  margin-bottom: clamp(40px, 6vh, 72px);
}

.block-head h2 {
  max-width: 18ch;
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.block-lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.5;
}

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

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

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

.item,
.principle {
  padding: clamp(28px, 3.4vh, 44px) clamp(24px, 2.6vw, 44px);
  border-right: 1px solid var(--line);
}

/* Offers: very light blue band (Lazard-style), classic text colours */
#offers {
  max-width: none;
  margin: 0;
  background: #e9eef5;
  border-top: 0;
  padding-block: clamp(64px, 9vh, 132px);
  padding-inline: 0;
}

#offers > * {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.offers-grid {
  display: block;
}

.offers-grid .item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  grid-template-areas:
    "no    desc"
    "title desc";
  column-gap: clamp(36px, 6vw, 104px);
  row-gap: 12px;
  align-items: start;
  border: 0;
  border-top: 1px solid rgba(21, 40, 74, 0.12);
  background: transparent;
  padding: clamp(34px, 5vh, 60px) 0;
}

.offers-grid .item .item-no {
  grid-area: no;
  margin-bottom: 0;
}

.offers-grid .item h3 {
  grid-area: title;
  max-width: 20ch;
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
}

.offers-grid .item p {
  grid-area: desc;
  align-self: center;
  max-width: 54ch;
  margin-top: 0;
  color: #243352;
  font-size: clamp(1.14rem, 1.35vw, 1.34rem);
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .offers-grid .item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "no"
      "title"
      "desc";
    row-gap: 14px;
    padding: clamp(28px, 4vh, 46px) 0;
  }

  .offers-grid .item p {
    align-self: start;
  }
}

.grid-3 .item:last-child,
.grid-4 .principle:last-child {
  border-right: 0;
}

.item-no {
  display: block;
  margin-bottom: clamp(28px, 5vh, 56px);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.item h3,
.principle h3 {
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(1.4rem, 1.9vw, 1.85rem);
  font-weight: 400;
  line-height: 1.08;
}

.item p,
.principle p {
  margin-top: 14px;
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.principle p {
  font-size: clamp(1.16rem, 1.3vw, 1.32rem);
  line-height: 1.5;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  margin-top: clamp(14px, 2vh, 22px);
}

.hero-ctas .text-cta {
  margin-top: 0;
}

.text-cta--muted {
  color: var(--soft);
}

/* Offer output line */
.offers-grid .item .output {
  display: block;
  margin-top: 0.8em;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.offers-grid .item .output strong {
  color: var(--accent);
  font-weight: 700;
}

/* grid-4 of .item: drop trailing right border on the last */
.grid-4 .item:last-child {
  border-right: 0;
}

/* Use-cases two-column list */
.usecases {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(28px, 5vw, 90px);
  border-top: 1px solid var(--line);
}

.usecases li {
  padding: clamp(16px, 2.2vh, 24px) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(1.08rem, 1.5vw, 1.4rem);
  line-height: 1.25;
}

@media (max-width: 760px) {
  .usecases {
    grid-template-columns: 1fr;
  }
}

/* Founder */
.founder p {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.25vw, 1.28rem);
  line-height: 1.6;
}

.founder p + p {
  margin-top: 1.1em;
}

/* Manifesto TL;DR callout */
.article-tldr {
  max-width: 70ch;
  margin-top: clamp(20px, 3vh, 34px);
  padding: clamp(14px, 2vh, 20px) 0 clamp(14px, 2vh, 20px) clamp(18px, 2vw, 26px);
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.55;
}

.article-tldr strong {
  color: var(--ink);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  display: grid;
  gap: clamp(16px, 2.4vh, 26px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--rhythm) var(--gutter);
  border-top: 1px solid var(--line);
}

.contact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 80px);
}

.contact-logo {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 480px);
  height: auto;
}

.contact h2 {
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.contact-link {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 700;
  transition: color 160ms ease;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-meta {
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "nav copy";
  align-items: center;
  column-gap: clamp(24px, 4vw, 56px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(34px, 5vh, 56px) var(--gutter);
  border-top: 1px solid var(--line);
}

.foot-center {
  grid-area: copy;
  justify-self: end;
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.foot-nav {
  grid-area: nav;
  justify-self: start;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(14px, 1.5vw, 26px);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.foot-nav a {
  white-space: nowrap;
  transition: color 160ms ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 760px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .item,
  .principle {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .grid-3 .item:last-child,
  .grid-4 .principle:last-child {
    border-bottom: 0;
  }

  .item-no {
    margin-bottom: 18px;
  }

  .hero-lede,
  h1 {
    max-width: none;
  }

}

/* Footer stacks before the single line would get too tight */
@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav"
      "copy";
    row-gap: 18px;
    text-align: left;
  }

  .foot-center {
    justify-self: start;
    white-space: normal;
  }

  .foot-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 16px;
  }

  .header-end {
    gap: 14px;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.66rem;
  }

  .lang-switch {
    font-size: 0.66rem;
  }
}

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

  .text-cta,
  .text-cta .arrow,
  .site-nav a,
  .foot-nav a,
  .contact-link {
    transition: none;
  }
}

/* ============================================================
   ARTICLE / MANIFESTO
   ============================================================ */

.article {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 84px) var(--gutter) var(--rhythm);
}

.article-head {
  margin-bottom: clamp(34px, 5vh, 56px);
  padding-bottom: clamp(26px, 4vh, 44px);
  border-bottom: 1px solid var(--line);
}

.article-kicker {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article h1 {
  max-width: 760px;
  margin-top: clamp(16px, 2.4vh, 24px);
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(1.95rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.01em;
}

.article-lede {
  max-width: 48ch;
  margin-top: clamp(20px, 3vh, 30px);
  color: var(--muted);
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  line-height: 1.45;
}

.prose {
  color: #2a3450;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h2 {
  margin-top: clamp(40px, 6vh, 68px);
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

.prose h3 {
  margin-top: 2em;
  color: var(--ink);
  font-family: "Season Serif", Georgia, serif;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.prose p {
  font-size: clamp(1.02rem, 1.1vw, 1.1rem);
  line-height: 1.66;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.prose a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.prose ol,
.prose ul {
  margin-top: 1.15em;
  padding-left: 1.3em;
}

.prose li {
  margin-top: 0.5em;
  font-size: clamp(1.02rem, 1.1vw, 1.1rem);
  line-height: 1.6;
}

.prose li::marker {
  color: var(--soft);
}

.article-cta {
  margin-top: clamp(44px, 6vh, 72px);
  padding-top: clamp(28px, 4vh, 44px);
  border-top: 1px solid var(--line);
}

.sources {
  margin-top: clamp(44px, 6vh, 72px);
  padding-top: clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--line);
}

.sources h2 {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sources ol {
  margin-top: 18px;
  padding-left: 1.3em;
}

.sources li {
  margin-top: 0.6em;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sources a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
}

.sources a:hover {
  color: var(--accent);
}

/* ============================================================
   MANIFESTO : MEDIA SECTIONS
   ============================================================ */

.m-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
  margin-top: clamp(44px, 7vh, 88px);
}

.m-section--reverse .m-text {
  order: 2;
}

.m-section--reverse .m-figure {
  order: 1;
}

.m-text > :first-child {
  margin-top: 0;
}

.m-figure {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.m-figure img {
  width: 100%;
  height: auto;
}

.m-section--center {
  display: block;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .m-section {
    grid-template-columns: 1fr;
    gap: clamp(22px, 4vh, 34px);
  }

  .m-section--reverse .m-text,
  .m-section--reverse .m-figure {
    order: 0;
  }

  .m-figure {
    position: static;
  }
}

/* ============================================================
   MOBILE NAV (burger)
   ============================================================ */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .brand {
    width: 224px;
  }

  .header-end {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    right: var(--gutter);
    z-index: 60;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    padding: 20px 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(21, 40, 74, 0.12);
  }

  .site-header.is-open .header-end {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    font-size: 0.82rem;
  }

  .lang-switch {
    font-size: 0.82rem;
  }

  .lang-switch::before {
    display: none;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

