/* =========================================================
   Fonts: Jost (SIL Open Font License), self-hosted so no
   visitor data goes to Google (GDPR).
   ========================================================= */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Lemon Spark: Design tokens (from Brand & Design Guidelines)
   ========================================================= */
:root {
  --yellow: #FFEC01;
  --blue: #1800AD;
  --lemon: #FDFFDB;
  --lavender: #E2E7F3;
  --gray: #F5F5F5;
  --white: #FFFFFF;

  --ink: #1B1A2E;          /* body text */
  --ink-soft: #4A4960;     /* secondary text */
  --service-bg: #FBF6C4;   /* soft lemon card on gray (from homepage concept) */

  --r-xl: 28px;            /* large containers */
  --r-lg: 22px;            /* cards */
  --r-pill: 999px;

  --container: 1280px;
  --gutter: 72px;      /* breathing room on the left/right edge of all content */

  --font: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 112px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--stack .section-head__intro {
  margin-top: 20px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;   /* guideline: keep body copy at 600-700px */
}

/* The one highlight style for the whole site: a yellow marker stroke.
   Used for hero words, "both", "system", "visibility"/"structure" and the CTA. */
.mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding-inline: .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* same marker, inverted for use on the yellow CTA background */
.mark--light {
  background: linear-gradient(transparent 58%, var(--white) 58%, var(--white) 92%, transparent 92%);
  padding-inline: .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn--blue   { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: #2410d0; }
.btn--yellow { background: var(--yellow); color: var(--blue); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Logo ---------- */
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.logo--light img { height: 44px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--lemon);
  padding-top: 20px;
  padding-bottom: 96px;
  overflow: hidden;
}

.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 12px 18px 12px 28px;
  max-width: calc(var(--container) - 2 * var(--gutter));
  z-index: 10;
}
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a {
  text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink);
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--yellow); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  padding: 10px 20px; border-radius: var(--r-pill);
  border: 2px solid var(--blue); color: var(--blue) !important; font-weight: 600 !important;
}
.nav__cta:hover { background: var(--blue); color: var(--white) !important; }
.nav__toggle { display: none; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
  padding-top: 88px;
}
.hero__kicker {
  font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 12ch;
}
.hero__lead {
  font-size: 19px; color: var(--ink-soft);
  max-width: 520px; margin-bottom: 36px;
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.hero__blob {
  position: absolute;
  top: -4%; left: -8%;
  width: 72%; height: 78%;
  background: var(--yellow);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
}
.hero__photo {
  position: absolute; margin: 0;
  right: 0; bottom: 0;
  width: 80%; height: 88%;
  border-radius: 50% 50% 46% 54% / 44% 44% 56% 56%;
  overflow: hidden;
  transform: rotate(-8deg);
  background: var(--lavender);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: rotate(8deg) scale(1.15); }
.photo-placeholder {
  width: 100%; height: 100%;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--blue); transform: rotate(8deg);
  font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.photo-placeholder img { width: 78px; height: auto; opacity: .55; }

.hero__sticker {
  position: absolute; left: -2%; bottom: 10%;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: grid; place-content: center; text-align: center;
  line-height: 1.05; transform: rotate(-12deg);
}
.hero__sticker span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.hero__sticker strong { font-size: 20px; font-weight: 700; color: var(--yellow); }

/* =========================================================
   CHALLENGES
   ========================================================= */
.challenges { background: var(--white); }
.challenges__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.challenge {
  position: relative;
  background: var(--lavender);
  border-radius: var(--r-xl);
  padding: 44px 44px 40px;
}
.challenge--b { margin-top: 56px; }  /* subtle asymmetry */
.challenge__num {
  position: absolute; top: 20px; right: 28px;
  font-size: 64px; font-weight: 700; line-height: 1;
  color: var(--white);
}
.challenge__title {
  font-size: 23px; line-height: 1.3; font-weight: 600;
  color: var(--blue); margin-bottom: 20px; max-width: 26ch;
  position: relative;
}
.challenge p { color: var(--ink-soft); max-width: 44ch; }
.challenge__need {
  margin-top: 28px;
  font-weight: 600; font-size: 19px; color: var(--ink) !important;
}
.challenge__need span {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding-inline: .08em;
  color: var(--ink);
}
.challenges__join {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); color: var(--blue);
  display: grid; place-content: center;
  font-size: 36px; font-weight: 500; line-height: 1;
  border: 6px solid var(--white);
  z-index: 2;
}
.challenges__both {
  margin-top: 64px; text-align: center;
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--blue);
  letter-spacing: -.01em;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--gray); }

.service {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  background: var(--service-bg);
  border-radius: var(--r-xl);
  padding: 56px;
  margin-bottom: 32px;
}
.service--flip { margin-left: 64px; background: var(--lemon); }
.service:not(.service--flip) { margin-right: 64px; }

.service__tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 10px;
}
.service__title {
  font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 700;
  color: var(--blue); margin-bottom: 18px; letter-spacing: -.01em;
}
.service__lead { font-weight: 500; font-size: 19px; color: var(--ink); margin-bottom: 12px; }
.service__main p:not(.service__lead) { color: var(--ink-soft); max-width: 54ch; margin-bottom: 32px; }

.service__includes {
  position: relative; z-index: 1;
  align-self: center;
  border-left: 2px solid var(--blue);
  padding-left: 28px;
}
.service__includes-label {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}
.service__list li {
  color: var(--blue); font-weight: 500; font-size: 18px;
  position: relative; padding-left: 20px;
}
.service__list li + li { margin-top: 12px; }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
}

.service__slice {
  position: absolute; right: -60px; bottom: -70px;
  width: 240px; height: 240px;
  color: var(--yellow); opacity: .55;
  pointer-events: none;
}

/* =========================================================
   STATEMENT (bold typographic moment)
   ========================================================= */
.statement { background: var(--white); padding-block: 120px 40px; }
.statement__text {
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  max-width: 22ch;
}


/* =========================================================
   METHOD
   ========================================================= */
.method { background: var(--white); padding-top: 72px; }
.method .section-head { margin-bottom: 72px; }

.method__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
/* dashed growth line rising with the staggered lemons (bottom left to top right:
   with us it goes uphill) */
.method__steps::before {
  content: ""; position: absolute; left: 48px; right: 22%; top: 40px; height: 84px;
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(24, 0, 173, .2) 50%, transparent calc(50% + 1px));
}
.step {
  position: relative;
  padding-top: 0;
}
/* staircase going UP from left to right */
.step:nth-child(1) { margin-top: 84px; }
.step:nth-child(2) { margin-top: 56px; }
.step:nth-child(3) { margin-top: 28px; }
.step:nth-child(4) { margin-top: 0; }

.step__lemon {
  display: block;
  width: 74px; height: auto;
  opacity: var(--ripe);
  margin-bottom: 22px;
  position: relative;
}
.step__num {
  font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--ink-soft);
}
.step h3 {
  font-size: 24px; font-weight: 700; color: var(--blue);
  margin: 4px 0 8px; line-height: 1.15;
}
.step p { color: var(--ink-soft); max-width: 24ch; }
.step--spark h3 span { position: relative; }
.step--spark h3 span::after {
  content: "✦"; position: absolute; right: -22px; top: -12px;
  font-size: 18px; color: var(--yellow);
  -webkit-text-stroke: 1px var(--blue);
}

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { background: var(--white); padding-top: 40px; }
.cta {
  position: relative; overflow: hidden;
  background: var(--yellow);
  border-radius: var(--r-xl);
  padding: 72px 64px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center;
}
.eyebrow--dark { color: var(--blue); }
.cta__title {
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink); max-width: 14ch;
  position: relative; z-index: 1;
}
.cta__side { position: relative; z-index: 1; }
.cta__side p { font-size: 18px; color: var(--ink); margin-bottom: 26px; max-width: 40ch; }
.cta__slice {
  position: absolute; right: -80px; top: -90px;
  width: 300px; height: 300px; color: var(--white); opacity: .45;
}
.cta__lemon {
  position: absolute; left: 46%; bottom: -30px;
  width: 92px; height: auto; opacity: .55;
  transform: rotate(18deg);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--blue); color: rgba(255,255,255,.8); padding: 72px 0 32px; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 16px; }
.footer__col h4 {
  color: var(--yellow); font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.footer__col a {
  display: block; text-decoration: none; margin-bottom: 10px; font-size: 16px;
}
.footer__col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: 14px; opacity: .75;
}

/* =========================================================
   SHARED: nav extras, hero photo, footer contact
   ========================================================= */
.nav__links a[aria-current="page"]:not(.nav__cta)::after { transform: scaleX(1); }
.nav__lang {
  font-size: 14px !important; font-weight: 600 !important; letter-spacing: .08em;
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--lemon);
}
.nav__links a.nav__lang::after { display: none; }
.nav__lang:hover { background: var(--yellow); }

.hero__photo img.hero__cutout { object-fit: cover; object-position: 50% 0; transform: rotate(8deg); transform-origin: 50% 50%; }
.hero__photo--office img { object-position: 36% 50%; }
/* rotate around the centre so the photo stays centred in the tilted shape; slight scale hides the corners */
.hero__photo img.hero__standing { object-position: 50% 0; transform: rotate(8deg) scale(1.06); transform-origin: 50% 50%; }

.footer__contact { margin-top: 22px; display: grid; gap: 6px; font-size: 16px; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }

/* =========================================================
   INNER PAGES
   ========================================================= */
.hero--page { padding-bottom: 80px; }
.hero--page .hero__inner { padding-top: 64px; }
.hero--page .hero__title { font-size: clamp(38px, 5vw, 64px); max-width: 15ch; }
.hero--page .hero__visual { max-width: 400px; }
.hero--solo .hero__inner { grid-template-columns: 1fr; padding-top: 72px; }
.hero--solo .hero__title { max-width: 20ch; }

/* decorative hero (no photo) */
.hero__art-slice {
  position: absolute; right: 2%; bottom: 4%;
  width: 74%; height: auto; aspect-ratio: 1;
  color: var(--blue);
}
.hero__art-lemon {
  position: absolute; left: 6%; top: 12%;
  width: 36%; height: auto; transform: rotate(-16deg);
}

/* two-column text/image story block */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.story--flip .story__media { order: 2; }
.story__media img {
  width: 100%; height: auto; border-radius: var(--r-xl);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.story__media--office img { object-position: 36% 50%; }
.story__body .h2 { margin-bottom: 24px; }
.story__body p { color: var(--ink-soft); font-size: 18px; max-width: 56ch; }
.story__body p + p { margin-top: 16px; }
.story__body .btn-row { margin-top: 32px; }
.story__meta { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--yellow); }
.story__meta strong { display: block; font-size: 20px; color: var(--blue); }
.story__meta span { color: var(--ink-soft); }

.band { background: var(--gray); }
.band--lemon { background: var(--lemon); }

/* detail cards (service deep-dives, contact) */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.detail {
  position: relative; background: var(--lavender); border-radius: var(--r-lg);
  padding: 36px 36px 34px;
}
.band .detail { background: var(--white); }
.detail__label {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px;
}
.detail h3 { font-size: 23px; line-height: 1.25; font-weight: 700; color: var(--blue); margin-bottom: 12px; padding-right: 28px; }
.detail p { color: var(--ink-soft); }
.detail::before {
  content: ""; position: absolute; top: 40px; right: 32px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--yellow);
}
.detail a.detail__value {
  display: inline-block; margin-top: 4px; font-size: 21px; font-weight: 600;
  color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
}
.detail a.detail__value:hover { color: var(--blue); }

.note {
  margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border: 2px dashed rgba(24, 0, 173, .25); border-radius: var(--r-xl); padding: 40px 44px;
}
.note h3 { font-size: 24px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.note p { color: var(--ink-soft); max-width: 62ch; }

/* method page: steps with longer copy */
.method__steps--detailed .step p { max-width: 30ch; }

/* legal / long-form text */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; font-weight: 700; color: var(--blue); margin: 48px 0 14px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0; display: grid; gap: 6px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow);
}
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose address { font-style: normal; color: var(--ink); line-height: 1.7; }
.prose .prose__updated { margin-top: 48px; font-size: 15px; }

/* vCard page */
.vcard-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--lemon); padding: 32px 16px; }
.vcard {
  position: relative; overflow: hidden; width: 100%; max-width: 420px;
  background: var(--white); border-radius: var(--r-xl); padding: 40px 32px 32px; text-align: center;
}
.vcard__logo { display: inline-block; margin-bottom: 28px; }
.vcard__logo img { height: 36px; width: auto; margin-inline: auto; }
.vcard__photo {
  width: 168px; height: 168px; margin: 0 auto 20px; border-radius: 50%;
  overflow: hidden; background: var(--yellow);
}
.vcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.vcard h1 { font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.vcard__role { color: var(--ink-soft); margin: 6px 0 28px; }
.vcard__list { display: grid; gap: 10px; text-align: left; margin-bottom: 28px; }
.vcard__list a {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--gray); border-radius: 16px; text-decoration: none; font-weight: 500;
  overflow-wrap: anywhere;
}
.vcard__list a:hover { background: var(--lemon); }
.vcard__list svg { flex: none; width: 20px; height: 20px; color: var(--blue); }
.vcard .btn { width: 100%; }
.vcard__slice { position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; color: var(--yellow); opacity: .5; pointer-events: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .nav__links { gap: 26px; }
}

@media (max-width: 960px) {
  .section { padding-block: 80px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; gap: 64px; }
  .hero__visual { justify-self: center; max-width: 380px; }
  .challenges__grid { grid-template-columns: 1fr; gap: 24px; }
  .challenge--b { margin-top: 0; }
  .challenges__join { position: relative; left: auto; top: auto; transform: none; margin: -44px auto; }
  .service, .service--flip { grid-template-columns: 1fr; gap: 32px; margin-inline: 0 !important; padding: 40px 32px; }
  .method__steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .method__steps::before { display: none; }
  .step:nth-child(n) { margin-top: 0; }
  .cta { grid-template-columns: 1fr; padding: 56px 36px; gap: 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero--page .hero__inner { padding-top: 48px; }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .story--flip .story__media { order: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .note { grid-template-columns: 1fr; padding: 32px 28px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 15px; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .nav { padding: 10px 12px 10px 18px; }
  .logo img { height: 34px; }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--yellow); border: 0; cursor: pointer;
  }
  .nav__toggle span:not(.sr-only) {
    display: block; width: 18px; height: 2px; background: var(--blue); border-radius: 2px;
    transition: transform .2s ease;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--white); border-radius: var(--r-lg); padding: 14px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 12px 14px; }
  .nav__links a::after { display: none; }
  .nav__cta { text-align: center; margin-top: 6px; }
  .nav__links a.nav__lang { align-self: flex-start; margin: 4px 14px; padding: 6px 12px; }
  .detail { padding: 30px 26px; }
  .prose h2 { font-size: 22px; }

  .hero { padding-bottom: 72px; }
  .hero__kicker { font-size: 19px; }
  .hero__lead { font-size: 17px; }
  .btn-row .btn { width: 100%; }
  .hero__sticker { width: 96px; height: 96px; }
  .hero__sticker strong { font-size: 17px; }
  .challenge { padding: 36px 26px 32px; }
  .challenge__num { position: static; display: block; font-size: 44px; color: var(--blue); opacity: .15; margin-bottom: 8px; }
  .challenge__title { font-size: 20px; }
  .service__slice { width: 180px; height: 180px; }
  .method__steps { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.section--form { background: var(--lavender); }
.contact-form { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-form__intro p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; margin-top: 16px; max-width: 38ch; }
.form {
  background: var(--white); border-radius: var(--r-xl);
  padding: 40px; display: grid; gap: 20px;
  box-shadow: 0 18px 40px -24px rgba(24, 0, 173, .25);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { display: grid; gap: 8px; }
.form__field > span { font-weight: 600; color: var(--blue); font-size: 15px; }
.form__field small { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.form__field input,
.form__field textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  width: 100%; padding: 14px 16px;
  background: var(--gray); border: 2px solid transparent; border-radius: 14px;
  transition: border-color .15s, background .15s;
}
.form__field textarea { resize: vertical; min-height: 160px; }
.form__field input:focus,
.form__field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form__field input:user-invalid,
.form__field textarea:user-invalid { border-color: #C2185B; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha:empty { display: none; }
.form__note { font-size: 14px; color: var(--ink-soft); }
.form__note a { color: var(--blue); }
.form__actions .btn { cursor: pointer; }
.form__actions .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form__status { font-weight: 500; min-height: 1.5em; }
.form__status:empty { display: none; }
.form__status--ok { color: #1B7A3E; background: #E6F6EC; padding: 14px 18px; border-radius: 14px; }
.form__status--error { color: #A3154D; background: #FCE8EF; padding: 14px 18px; border-radius: 14px; }
.form__status--error a { color: inherit; }

@media (max-width: 960px) {
  .contact-form { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
}

/* =========================================================
   MOTION
   Everything below only applies when <html> has the "motion"
   class (set in <head> unless the visitor prefers reduced
   motion). Hidden states use :not(.in) so the finished state is
   always the normal, static design.
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-draw: cubic-bezier(.65, 0, .35, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---- top section: plays once on page load ---- */
@keyframes rise   { from { opacity: 0; translate: 0 26px; } }
@keyframes grow   { from { opacity: 0; scale: .55; rotate: -25deg; } }
@keyframes appear { from { opacity: 0; scale: .9; } }
@keyframes pop    { from { opacity: 0; scale: 0; } }
@keyframes draw-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes bob    { 50% { translate: 0 -10px; } }
@keyframes spin   { to { rotate: 360deg; } }

.motion .hero__kicker        { animation: rise .9s var(--ease-out) .05s both; }
.motion .hero__title         { animation: rise .9s var(--ease-out) .15s both; }
.motion .hero__lead          { animation: rise .9s var(--ease-out) .3s both; }
.motion .hero .btn-row       { animation: rise .9s var(--ease-out) .45s both; }
.motion .hero .hero__blob          { animation: grow 1.2s var(--ease-out) .1s both; }
.motion .hero .hero__photo         { animation: appear 1.1s var(--ease-out) .35s both; }
.motion .hero .hero__sticker       { animation: pop .7s var(--ease-pop) 1.1s both; }
.motion .hero__art-lemon     { animation: pop .7s var(--ease-pop) 1s both, bob 6s ease-in-out 2s infinite; }
.motion .hero .mark {
  background-repeat: no-repeat;
  animation: draw-mark 1.1s var(--ease-draw) .85s both;
}
/* the big lemon slice turns very slowly once it is drawn */
.motion .hero__art-slice.in  { animation: spin 120s linear 2.6s infinite; }
/* the white lemon in the call-to-action box floats gently */
.motion .cta__lemon          { animation: bob 6s ease-in-out infinite; }
.motion .hero .hero__lemon    { animation: bob 6s ease-in-out 1.6s infinite; }

/* ---- on scroll: fade + slide up, staggered ---- */
.motion .rv {
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.motion .rv:not(.in) { opacity: 0; translate: 0 30px; }

/* the "+" between the two challenge cards pops in after them */
.motion .challenges__join.rv { transition: opacity .4s ease .45s, scale .6s var(--ease-pop) .45s; }
.motion .challenges__join.rv:not(.in) { translate: none; scale: .2; }

/* pictures are revealed like a curtain going up. The clip sits on the image,
   never on the observed frame: Safari doesn't detect a fully clipped element
   as visible, so it would stay hidden. */
.motion .story__media.rv:not(.in) { opacity: 1; translate: none; }
.motion .story__media.rv:not(.story__media--shape) img { transition: clip-path 1.2s var(--ease-draw); }
.motion .story__media.rv:not(.story__media--shape):not(.in) img { clip-path: inset(100% 0 0 0); }

/* photo in the blob shape (About page): blob grows, photo appears, sticker pops */
.motion .story__media--shape.rv .hero__blob { transition: opacity .8s ease, scale 1.2s var(--ease-out), rotate 1.2s var(--ease-out); }
.motion .story__media--shape.rv:not(.in) .hero__blob { opacity: 0; scale: .55; rotate: -25deg; }
.motion .story__media--shape.rv .hero__photo { transition: opacity 1s ease .25s, scale 1.1s var(--ease-out) .25s; }
.motion .story__media--shape.rv:not(.in) .hero__photo { opacity: 0; scale: .9; }
.motion .story__media--shape.rv .hero__sticker { transition: opacity .3s ease .9s, scale .7s var(--ease-pop) .9s; }
.motion .story__media--shape.rv:not(.in) .hero__sticker { opacity: 0; scale: 0; }

/* method steps: lemons pop in one after another */
.motion .step.rv .step__lemon {
  transition: opacity .5s ease, scale .7s var(--ease-pop), rotate .7s var(--ease-pop);
  transition-delay: calc(var(--i, 0) * 120ms + .25s);
}
.motion .step.rv:not(.in) .step__lemon { opacity: 0; scale: .3; rotate: -40deg; }

/* yellow dots on detail cards */
.motion .detail.rv::before { transition: scale .5s var(--ease-pop) calc(var(--i, 0) * 120ms + .4s); }
.motion .detail.rv:not(.in)::before { scale: 0; }

/* contact form: the card first, then the fields one by one */
.motion .form > .rv { transition-delay: calc(var(--i, 0) * 90ms + .25s); }
.motion .form > .rv:not(.in) { translate: 0 16px; }

/* ---- lines drawn slowly ---- */
/* highlighter strokes */
.motion .rv-mark { background-repeat: no-repeat; transition: background-size 1.1s var(--ease-draw) .35s; }
.motion .rv-mark:not(.in) { background-size: 0% 100%; }

/* lemon slices: rim, inner ring, then the segments one by one */
.motion .rv-draw .ln {
  stroke-dasharray: var(--len);
  transition: stroke-dashoffset 1.3s var(--ease-draw);
  transition-delay: calc(var(--o, 0) * 130ms + .15s);
}
.motion .rv-draw:not(.in) .ln { stroke-dashoffset: var(--len); }
.motion .rv-draw .dot { transform-box: fill-box; transform-origin: center; transition: scale .5s var(--ease-pop) 1.25s; }
.motion .rv-draw:not(.in) .dot { scale: 0; }

/* the dashed growth line of the Lemon Method draws from left to right */
.motion .rv-line::before { transition: clip-path 1.8s var(--ease-draw) .3s; }
.motion .rv-line:not(.in)::before { clip-path: inset(0 100% 0 0); }

/* Home page: the logo lemon in the frame instead of a photo */
.hero__photo--lemon { display: grid; place-items: center; }
.hero__photo img.hero__lemon {
  width: 56%; height: auto; object-fit: contain;
  transform: rotate(8deg) translate(4%, 2%);
  filter: drop-shadow(0 22px 26px rgba(24, 0, 173, .14));
}

/* About page: photo in the same blob shape as the top sections */
.story__media--shape .hero__visual { justify-self: auto; margin-inline: auto; max-width: 440px; }
.story__media--shape .hero__photo img { height: 100%; aspect-ratio: auto; border-radius: 0; }
