/* julienlescure.io — Quarksup May Review
   Design system extracted from Figma file. Type, color and layout
   patterns kept consistent with the existing site. New content per
   2026-05-13 draft. */

@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;700;800&display=swap");

:root {
  --purple: #401f4c;
  --purple-deep: #32163c;
  --turquoise: #2dffd9;
  --white: #ffffff;
  --grey: #828282;
  --soft-grey: #f2f2f2;
  --page-w: 1512px;
  --pad-x: 120px;
  --pad-x-narrow: 296px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--purple);
  font-family: "Urbanist", "ITC Avant Garde Gothic Std", "Century Gothic", "Avant Garde", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Site shell — was a fixed 1512px canvas; now fluid */
.site {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 74px;
  z-index: 20;
}

.logo {
  display: inline-block;
  position: relative;
  width: 168px;
  line-height: 0;
}
.logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Legacy fallback rules (kept harmless; targets removed from DOM) */
.logo .l1 { color: var(--white); display: block; }
.logo .l2 { color: var(--turquoise); display: block; margin-left: 35px; margin-top: -10px; }
.logo .line {
  position: absolute;
  left: 91px; top: 12px;
  width: 44px; height: 5px;
  background: var(--white);
}

/* Logo on light backgrounds */
.logo--light .l1 { color: var(--purple); }
.logo--light .line { background: var(--purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--white);
}
.nav-links a {
  color: var(--white);
  position: relative;
  padding-bottom: 6px;
  font-weight: 400;
  transition: color .2s ease;
}
.nav-links a.is-active {
  color: var(--turquoise);
  font-weight: 700;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 3px;
  background: var(--turquoise);
}
.nav-links a:hover { color: var(--turquoise); }

/* Language switcher dropdown ------------------------------- */
.lang-switcher {
  position: relative;
  margin-left: 8px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 0 0 6px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
}
.lang-toggle:hover { color: var(--turquoise); }
.lang-caret {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  min-width: 80px;
  background: var(--purple);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 50;
}
.lang-menu[hidden] { display: none; }
.lang-menu li {
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
}
.lang-menu li:hover,
.lang-menu li[aria-selected="true"] {
  color: var(--turquoise);
}

/* ─── Generic section scaffolding ─────────────────────────── */
.section {
  position: relative;
  width: 100%;
  padding: 150px var(--pad-x);
}
.section--purple { background: var(--purple); color: var(--white); }
.section--white  { background: var(--white);  color: var(--purple); }
.section--turq   { background: var(--turquoise); color: var(--purple); }

.section--hero {
  min-height: 929px;
  padding-top: 220px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* "Tiret" — that decorative horizontal bar that sits before titles */
.tiret {
  display: inline-block;
  height: 13px;
  width: 100px;
  background: var(--turquoise);
  vertical-align: middle;
  margin-right: 24px;
}
.tiret--white { background: var(--white); }
.tiret--purple { background: var(--purple); }
.tiret--lg { height: 16px; width: 150px; }
.tiret--xl { height: 28px; width: 200px; }
.tiret--vertical {
  display: block;
  width: 16px;
  height: 150px;
}

/* ─── Section titles ──────────────────────────────────────── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.section-title {
  font-weight: 800;
  font-size: clamp(32px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 56px;
}
.section-title--turq { color: var(--turquoise); }
.section-title--purple { color: var(--purple); }
.section-title--white { color: var(--white); }

.section-lede {
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.35;
  max-width: 980px;
  margin-bottom: 80px;
  letter-spacing: -0.01em;
}

/* ─── Hero mega type ───────────────────────────────────────── */
.hero-mega {
  font-weight: 700;
  font-size: clamp(52px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--turquoise);
  max-width: 1280px;
}
.hero-mega .underline {
  display: inline-block;
  width: 120px;
  height: 16px;
  background: var(--turquoise);
  vertical-align: middle;
  transform: translateY(-12px);
}
.hero-mega .outlined {
  -webkit-text-stroke: 3px var(--turquoise);
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.035em;
}
.hero-mega .second {
  display: block;
  margin-top: 16px;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero-mega .second .underline {
  display: inline-block;
  width: 120px;
  height: 16px;
  background: var(--turquoise);
  vertical-align: middle;
  margin-left: 24px;
  transform: translateY(-12px);
}
.hero-mega .underline--purple { background: var(--purple); }

/* Standalone hero divider — visually replaces the inline .underline
   when it needs to live between the title and the kicker. Equal margins
   above and below for symmetric spacing. */
.hero-divider {
  display: block;
  width: 120px;
  height: 16px;
  background: var(--turquoise);
  margin: 40px 0;
}
.hero-divider + .hero-kicker { margin-top: 40px; }

/* Section divider — like .hero-divider, but for use between a
   section-title and section-lede. A little tighter than the hero. */
.section-divider {
  display: block;
  width: 100px;
  height: 13px;
  background: var(--turquoise);
  margin: 0 0 28px;
}
.section-divider--purple { background: var(--purple); }
.section-divider--white { background: var(--white); }
/* Tighten the title's bottom margin when a divider follows it so the
   visual gap above and below the divider is equal. */
.section-title:has(+ .section-divider) { margin-bottom: 28px; }

.hero-kicker {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  max-width: 720px;
  margin-top: 80px;
  color: var(--white);
}
.hero-kicker--purple { color: var(--purple); }

/* ─── Button ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 264px;
  height: 62px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateX(4px); }
.btn .arrow { width: 30px; height: 14px; flex-shrink: 0; }
.btn--turq { background: var(--turquoise); color: var(--purple); }
.btn--turq .arrow path { fill: var(--purple); }
.btn--outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-arrow {
  width: 30px; height: 16px;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--purple-deep);
  color: var(--white);
  padding: 76px 126px 70px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 56px;
}
.footer .logo { margin-right: 8px; }
.footer__copy {
  font-size: 12px;
  line-height: 22px;
  opacity: 0.85;
  flex: 1 1 100%;
  max-width: none;
  margin-top: 8px;
}
.footer__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex: 1;
}
.footer__nav a:hover { color: var(--turquoise); }
.footer__sep {
  width: 1px; height: 18px; background: rgba(255,255,255,0.3);
}
.footer__addresses {
  display: flex; gap: 48px;
  font-size: 12px; line-height: 18px;
  opacity: 0.85;
}
.footer__addresses h4 {
  margin: 0 0 6px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--turquoise);
}
.footer__social {
  display: flex; gap: 14px;
}
.footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--turquoise); color: var(--purple); border-color: var(--turquoise); }
.footer__social svg { width: 16px; height: 16px; }

/* ─── Page-specific helpers ───────────────────────────────── */
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.gap-l { gap: 64px; }
.gap-m { gap: 32px; }
.gap-s { gap: 16px; }

/* ─── Problem cards (home, section 1) ─────────────────────── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-left: 1px solid rgba(255,255,255,0.2);
}
.problem-card {
  padding: 56px 56px 64px;
  border-right: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.problem-card__num {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turquoise);
}
.problem-card__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.problem-card__row {
  display: flex;
  gap: 20px;
  font-size: 16px;
  line-height: 1.55;
}
.problem-card__row dt {
  flex: 0 0 110px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turquoise);
  padding-top: 4px;
}
.problem-card__row dd {
  margin: 0;
  flex: 1;
  color: rgba(255,255,255,0.92);
}
.problem-card__row dd b { color: var(--white); }
.problem-card__row--after dt { color: var(--white); }

/* ─── Pull-quote ──────────────────────────────────────────── */
.pull-quote {
  padding: 150px var(--pad-x);
  text-align: center;
  background: var(--white);
}
.pull-quote--purple { background: var(--purple); color: var(--turquoise); }
.pull-quote blockquote {
  margin: 0 auto;
  max-width: 1100px;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.pull-quote blockquote::before { content: "“"; }
.pull-quote blockquote::after { content: "”"; }
.pull-quote cite {
  display: block;
  margin-top: 48px;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
}
.pull-quote--purple cite { color: var(--white); }
.pull-quote cite b { font-weight: 700; }

/* small turquoise tiret over quote */
.pull-quote .tiret { margin-bottom: 48px; }

/* When adjacent sections share a background, their paddings stack and
   the gap looks doubled. Zero the touching padding so the visual gap
   equals a normal single-section gap. */
.section--white + .pull-quote:not(.pull-quote--purple) { padding-top: 0 !important; }
.pull-quote:not(.pull-quote--purple) + .section--white { padding-top: 0 !important; }
.section--purple + .pull-quote.pull-quote--purple { padding-top: 0 !important; }
.pull-quote.pull-quote--purple + .section--purple { padding-top: 0 !important; }

/* ─── "Why this happens" — 3 forces ───────────────────────── */
.forces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 96px;
}
.force {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.force__num {
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--turquoise);
  letter-spacing: -0.04em;
}
.force__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  min-height: 86px;
}
.force__body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.moment {
  margin-top: 32px;
  padding: 64px 64px;
  border: 2px solid var(--turquoise);
  border-radius: 12px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.moment h3 {
  flex: 0 0 360px;
  margin: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--turquoise);
}
.moment p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
}

/* ─── Steps / "What I install" ────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}
.step {
  background: rgba(64,31,76,0.04);
  border: 1px solid rgba(64,31,76,0.12);
  border-radius: 12px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps--on-turq .step {
  background: transparent;
  border-color: var(--purple);
}
.step__num {
  font-weight: 700;
  font-size: 80px;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--turquoise);
  margin-bottom: 8px;
}
.steps--on-turq .step__num { color: var(--purple); }
.step__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.step__time {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turquoise);
}
.steps--on-turq .step__time { color: var(--purple); opacity: 0.7; }
.step__lede {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--purple);
  margin: 4px 0 12px;
}
.step__body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(64,31,76,0.85);
}
.steps--on-purple .step {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.steps--on-purple .step__title,
.steps--on-purple .step__body { color: var(--white); }
.steps--on-purple .step__body { color: rgba(255,255,255,0.88); }

/* ─── "What the AI OS does" list ──────────────────────────── */
.bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 56px;
  margin-top: 32px;
}
.bullets li {
  list-style: none;
  font-size: 17px;
  line-height: 1.55;
  padding-left: 28px;
  position: relative;
  color: var(--purple);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--turquoise);
}
.bullets li b { color: var(--purple); }

/* Callout box (Claude note) */
.callout {
  margin-top: 56px;
  background: var(--purple);
  color: var(--white);
  padding: 40px 48px;
  border-radius: 14px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.callout__icon {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--turquoise);
}
.callout__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.callout h4 {
  margin: 0 0 12px;
  font-size: 22px; font-weight: 700;
  color: var(--turquoise);
  letter-spacing: -0.01em;
}
.callout p {
  margin: 0;
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

/* ─── What changes table ─────────────────────────────────── */
.changes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--purple);
}
.change-row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(64,31,76,0.18);
}
.change-row__problem {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--purple);
}
.change-row__after {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(64,31,76,0.92);
}
.change-row__after b { color: var(--purple); }

/* ─── Credentials block ──────────────────────────────────── */
.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
  margin-top: 32px;
}
.credential {
  border-left: 3px solid var(--turquoise);
  padding-left: 28px;
}
.credential--featured {
  grid-column: span 2;
  border-left-width: 5px;
}
.credential h4 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turquoise);
}
.credential p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--white);
}
.credential--featured p { font-size: 22px; }

/* ─── Logo strip ─────────────────────────────────────────── */
.logo-strip {
  width: 100%;
  margin: 64px auto 0;
  max-width: 1340px;
  mix-blend-mode: multiply;
}

.logo-marquee {
  list-style: none;
  margin: 64px 0 0;
  padding: 64px 0 0;
  border-top: 2px solid rgba(64,31,76,0.18);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px 24px;
}
.logo-marquee li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 8px;
  opacity: 0.65;
  transition: opacity .2s ease;
}
.logo-marquee li img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter .2s ease;
}
.logo-marquee li:hover { opacity: 1; }
.logo-marquee li:hover img { filter: none; }

/* ─── LinkedIn band ──────────────────────────────────────── */
.linkedin-band {
  padding: 120px var(--pad-x);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  background: var(--purple);
  color: var(--white);
}
.linkedin-band h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--turquoise);
  max-width: 740px;
}
.linkedin-band p {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.5;
  max-width: 640px;
  color: rgba(255,255,255,0.9);
}

/* ─── Contact form ───────────────────────────────────────── */
.contact-form[hidden],
.contact-confirmation[hidden] { display: none !important; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  width: 100%;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: span 2; }
.field label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}
.field label .opt {
  color: rgba(64,31,76,0.5);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.field input,
.field select,
.field textarea {
  border: none;
  border-bottom: 2px solid var(--purple);
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  color: var(--purple);
  border-radius: 0;
  outline: none;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--turquoise);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(64,31,76,0.35); }
.form-footer {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 32px;
}
.form-footer .note {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(64,31,76,0.7);
  max-width: 360px;
}

/* ─── Misc ──────────────────────────────────────────────── */
.measure { max-width: 980px; }
.measure-l { max-width: 1140px; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Two-column "force" wide */
.split {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 32px;
}
.split h3 {
  margin: 0;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--turquoise);
}
.split p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}
.split + .split { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.18); }

/* Tighter "moment" */
.moment--solo { margin-top: 64px; }

/* Hero photo block (home) */
.hero-photo-row {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 96px;
  align-items: center;
}
.hero-photo {
  position: relative;
  width: 540px;
  height: 700px;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative; z-index: 2;
  filter: grayscale(1) contrast(1.05);
}
.hero-photo .blob {
  position: absolute;
  left: -42px; top: 40px;
  width: 330px; height: 470px;
  background: var(--turquoise);
  mix-blend-mode: screen;
  z-index: 3;
  pointer-events: none;
}

/* Tag pill */
.pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--turquoise);
  color: var(--purple);
}
.pill--ghost {
  background: transparent;
  border: 1px solid var(--turquoise);
  color: var(--turquoise);
}

/* ─── Component detail (How it works) ─────────────────────── */
.component-detail {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  padding: 72px 0;
  border-top: 2px solid rgba(64,31,76,0.15);
}
.component-detail:first-of-type { border-top: 4px solid var(--purple); }
.component-detail__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.component-detail__num {
  font-weight: 700;
  font-size: 120px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--turquoise);
}
.component-detail__time {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 8px 14px;
  border: 2px solid var(--purple);
  border-radius: 999px;
  width: fit-content;
}
.component-detail__right { max-width: 920px; }
.component-detail__title {
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--purple);
  margin: 0 0 28px;
}
.component-detail__lede {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.45;
  color: var(--purple);
  margin: 0 0 18px;
}
.component-detail__body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(64,31,76,0.85);
  margin: 0;
}
.subhead {
  margin: 48px 0 16px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise);
  display: flex;
  align-items: center;
  gap: 12px;
}
.subhead::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--turquoise);
}
.footnote {
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(45,255,217,0.18);
  border-left: 4px solid var(--turquoise);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: var(--purple);
}

/* Credentials layout w/ photo */
.credentials-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  grid-template-areas:
    "text  photo"
    "extras photo";
  column-gap: 96px;
  row-gap: 56px;
  align-items: start;
}
.credentials-text { grid-area: text; }
.credentials-photo { grid-area: photo; align-self: stretch; }
.credentials-extras {
  grid-area: extras;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}
.credentials-text .credential--featured {
  margin-top: 32px;
}
.credentials-photo {
  position: relative;
  width: 480px;
  min-height: 620px;
  margin-top: 60px;
}
.credentials-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative; z-index: 2;
  filter: grayscale(1) contrast(1.05);
}
.credentials-photo .blob {
  position: absolute;
  left: -8%; top: 17%;
  width: 56%; height: 65%;
  background: var(--turquoise);
  mix-blend-mode: screen;
  z-index: 3;
  pointer-events: none;
}

/* ─── Contact page layout ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 96px;
  align-items: start;
}
.contact-grid__left .section-title {
  margin-bottom: 24px;
  line-height: 1.05;
}
.contact-grid__left .section-lede {
  margin-bottom: 48px;
  font-size: 18px;
  font-weight: 500;
}
.contact-meta {
  border-top: 2px solid var(--purple);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-meta__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 14px;
  line-height: 1.5;
  color: var(--purple);
  gap: 16px;
}
.contact-meta__label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turquoise);
  filter: brightness(0.85);
}
.contact-meta a:hover { border-bottom: 1px solid var(--purple); }


/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   Desktop design canvas is 1512px. Below that we progressively
   tighten paddings, collapse grids, and stack two-column layouts.
   The inline widths/paddings on the hero markup are overridden
   with !important here.
   ───────────────────────────────────────────────────────── */

:root {
  --pad-x: 120px;
}

/* Slightly narrower desktop & laptop */
@media (max-width: 1280px) {
  :root {
    --pad-x: 80px;
    --pad-x-narrow: 160px;
  }
  .section { padding: 120px var(--pad-x); }
  .section--hero { padding-top: 180px !important; padding-left: var(--pad-x) !important; padding-right: var(--pad-x) !important; }
  .section--hero > div[style] { width: auto !important; max-width: 940px; }
  .hero-mega { width: auto !important; max-width: 100%; }
  .nav { padding: 0 var(--pad-x); top: 48px; }
  .pull-quote { padding: 120px var(--pad-x) !important; height: auto !important; }
  .footer { padding: 64px var(--pad-x) 60px; }
  .linkedin-band { padding: 100px var(--pad-x); }
  .section-title { margin-bottom: 40px; }
  .section-lede { margin-bottom: 56px; }
  .problem-card { padding: 44px 40px 48px; }
  .forces { gap: 40px; }
  .steps { gap: 24px; }
  .component-detail { gap: 56px; padding: 56px 0; }
  .component-detail__num { font-size: 96px; }
  .credentials-layout {
    grid-template-columns: 1fr 240px;
    grid-template-areas:
      "text  photo"
      "extras extras";
    column-gap: 64px;
  }
  .credentials-photo {
    width: 100%;
    aspect-ratio: 480 / 620;
    height: auto;
    min-height: 0;
    margin-top: 0;
    align-self: end;
  }
  .hero-photo-row { gap: 64px; grid-template-columns: 460px 1fr; }
  .hero-photo { width: 460px; height: 600px; }
  .logo-marquee { grid-template-columns: repeat(6, 1fr); }
  .contact-grid { gap: 64px; grid-template-columns: 420px 1fr; }
}

/* Tablet landscape & below */
@media (max-width: 960px) {
  :root {
    --pad-x: 56px;
    --pad-x-narrow: 80px;
  }
  .nav {
    top: 32px;
    padding: 0 var(--pad-x);
  }
  .logo {
    width: 132px;
  }

  /* Compact mobile nav: hamburger toggle */
  .nav-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent; border: 0;
    color: var(--white); cursor: pointer; padding: 0;
  }
  .nav-toggle svg { width: 26px; height: 26px; }
  .section--turq .nav-toggle,
  .section--white .nav-toggle { color: var(--purple); }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--purple);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 80px var(--pad-x);
    font-size: 28px;
    font-weight: 700;
    z-index: 100;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: var(--white) !important; padding-bottom: 4px; }
  .nav-links a.is-active { color: var(--turquoise) !important; }
  .nav-links a.is-active::after { display: none; }
  .nav-close {
    position: absolute;
    top: 24px; right: var(--pad-x);
    width: 44px; height: 44px;
    background: transparent; border: 0;
    color: var(--white); cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .nav-close svg { width: 24px; height: 24px; }
  .lang-switcher { margin-left: 0; margin-top: 16px; }
  .lang-toggle { font-size: 18px; }
  .lang-menu {
    position: relative; top: 8px; right: auto;
    background: transparent; border: 0; box-shadow: none;
    padding: 4px 0;
  }
  .lang-menu li { padding: 6px 0; font-size: 16px; }

  .section { padding: 96px var(--pad-x); }
  .section--hero {
    min-height: 0 !important;
    padding-top: 140px !important;
    padding-bottom: 40px !important;
  }
  .section--hero > div[style] {
    margin-top: 24px !important;
    width: auto !important;
    max-width: 100%;
  }
  .hero-kicker { font-size: 18px; margin-top: 48px; max-width: 100%; }
  .hero-mega .underline {
    width: 80px; height: 12px; margin-left: 16px;
    transform: translateY(-8px);
  }

  .pull-quote {
    padding: 96px var(--pad-x) !important;
    height: auto !important;
  }
  .pull-quote cite { margin-top: 32px; font-size: 14px; }
  .pull-quote .tiret { margin-bottom: 32px; }

  .section-eyebrow { font-size: 14px; gap: 16px; margin-bottom: 24px; }
  .tiret { width: 60px; height: 9px; margin-right: 16px; }

  /* Grids — collapse */
  .problems-grid { grid-template-columns: 1fr; }
  .problem-card {
    padding: 40px 32px 44px;
    gap: 20px;
  }
  .problem-card__title { font-size: 28px; width: auto !important; }
  .problem-card__row { flex-direction: column; gap: 6px; }
  .problem-card__row dt { flex: none; padding-top: 0; }

  .forces { grid-template-columns: 1fr; gap: 56px; margin-bottom: 64px; }
  .force__title { min-height: 0; font-size: 22px; }
  .force__num { font-size: 48px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .step { padding: 32px 24px 28px; }
  .step__num { font-size: 64px; }
  .step__title { font-size: 20px; }

  .bullets { grid-template-columns: 1fr; gap: 20px; }

  .component-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }
  .component-detail__left { flex-direction: row; align-items: center; gap: 24px; }
  .component-detail__num { font-size: 72px; }

  .change-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .change-row__problem { font-size: 20px; }

  .credentials { grid-template-columns: 1fr; gap: 28px; }
  .credentials-extras { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .credential--featured { grid-column: span 1; }
  .credentials-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo"
      "extras";
    gap: 56px;
  }
  .credentials-photo { height: 380px; max-width: 480px; }
  .credentials-photo {
    width: 100%; max-width: 480px;
    height: 420px;
    margin: 0 auto;
  }

  .hero-photo-row { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { width: 100%; max-width: 480px; height: 560px; margin: 0 auto; }

  .logo-marquee { grid-template-columns: repeat(4, 1fr); gap: 14px 16px; }
  .logo-marquee li { height: 60px; }

  .linkedin-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 80px var(--pad-x);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-form { grid-template-columns: 1fr; gap: 24px; }
  .field--full { grid-column: span 1; }
  .form-footer { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 24px; }
  .form-footer .note { max-width: 100%; }

  /* Footer reflow */
  .footer {
    flex-wrap: wrap;
    gap: 32px 40px;
    padding: 56px var(--pad-x) 48px;
  }
  .footer__nav { flex: 1 1 100%; order: 3; flex-wrap: wrap; gap: 16px; }
  .footer__addresses { flex: 1 1 100%; order: 4; gap: 32px; }
  .footer__social { order: 5; }
  .footer__copy { flex: 1 1 100%; max-width: none; order: 6; }

  .moment { flex-direction: column; gap: 24px; padding: 40px 32px; }
  .moment h3 { flex: none; font-size: 28px; }
  .split { grid-template-columns: 1fr; gap: 16px; }
  .split h3 { font-size: 26px; }

  .callout { padding: 32px; gap: 20px; flex-direction: column; }
  .callout__icon { flex: none; }

  .btn { width: 100%; max-width: 320px; }
}

/* Phone */
@media (max-width: 560px) {
  :root {
    --pad-x: 24px;
  }
  .nav { top: 24px; }
  .section { padding: 72px var(--pad-x); }
  .section--hero {
    padding-top: 120px !important;
    padding-bottom: 32px !important;
  }
  /* Logo: shrink on phone so footer doesn't dominate microcopy.
     Applies to header and footer equally. */
  .logo { width: 88px; }
  .hero-kicker { font-size: 16px; margin-top: 32px; }
  .hero-mega .second { margin-top: 12px; }
  .hero-mega .underline {
    width: 48px; height: 6px;
    margin-left: 12px;
    transform: translateY(-6px);
  }
  .tiret { width: 40px; height: 6px; margin-right: 12px; }

  .section-title { margin-bottom: 28px; }
  .section-lede { margin-bottom: 40px; font-size: 17px; }

  .pull-quote { padding: 72px var(--pad-x) !important; }
  .pull-quote .tiret { margin-bottom: 24px; width: 48px; height: 7px; }

  .steps { grid-template-columns: 1fr; }
  .logo-marquee { grid-template-columns: repeat(3, 1fr); gap: 11px 12px; padding-top: 40px; margin-top: 40px; }
  .logo-marquee li { height: 52px; }

  .problem-card { padding: 32px 24px 36px; }
  .problem-card__title { font-size: 24px; }
  .problem-card__num { font-size: 12px; }

  .force__num { font-size: 40px; }
  .force__title { font-size: 20px; }

  .component-detail { padding: 40px 0; }
  .component-detail__num { font-size: 56px; }
  .component-detail__lede { font-size: 18px; }
  .component-detail__body { font-size: 15px; }
  .subhead { margin-top: 32px; }

  .credentials-photo { height: 420px; }
  .hero-photo { height: 440px; }

  .footer {
    padding: 48px var(--pad-x) 40px;
    gap: 24px 32px;
  }
  .footer .logo { flex: 1 1 100%; }
  .footer__copy { flex: 1 1 100%; max-width: 100%; order: 6; }
  .footer__addresses { flex-direction: column; gap: 20px; }

  .btn { height: 56px; font-size: 16px; }
  .linkedin-band { padding: 64px var(--pad-x); }

  /* Style overrides for inline-style elements */
  section[style*="padding-bottom: 80px"] { padding-bottom: 64px !important; }
}

/* Default: hide mobile-only toggle on desktop */
.nav-toggle, .nav-close { display: none; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-close { display: inline-flex; }
}

/* Lock body scroll while the mobile menu is open */
body.nav-open { overflow: hidden; }

/* ─── Contact confirmation panel ─────────────────────────── */
.contact-confirmation {
  background: var(--purple);
  color: var(--white);
  padding: 64px 56px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: start;
  grid-column: 2;
}
.contact-confirmation .tiret {
  margin-bottom: 16px;
  background: var(--turquoise);
}
.contact-confirmation__title {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--turquoise);
}
.contact-confirmation__body {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  max-width: 520px;
}
.contact-confirmation__body strong {
  font-weight: 700;
  color: var(--turquoise);
}
.contact-confirmation__again {
  margin-top: 16px;
  background: transparent;
  border: 0;
  padding: 0 0 4px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise);
  cursor: pointer;
  border-bottom: 2px solid var(--turquoise);
  transition: opacity .2s ease;
}
.contact-confirmation__again:hover { opacity: 0.75; }

@media (max-width: 720px) {
  .contact-confirmation { padding: 48px 32px; grid-column: 1; }
}
