/* Split – every section is a 50/50 split screen. Prefix: sp- */

:root {
  --bg: #ffffff;
  --ink: #17171c;
  --ink-2: #55565f;
  --line: #e3e3e8;
  --accent: #2b2b80;
  --indigo: #2b2b80;
  --coral: #ff6a55;
  --saffron: #f5b82e;
  --night: #17171c;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(28px, 5.5vw, 104px);
  --pad-y: clamp(48px, 7vw, 120px);
  --top-h: 72px;
}

body.theme-split { font-size: 1.0625rem; line-height: 1.6; }
.theme-split h1, .theme-split h2, .theme-split h3, .theme-split h4 { font-weight: 700; letter-spacing: -0.03em; }
.theme-split a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* ---------- header ---------- */
.sp-top {
  display: flex; align-items: center; gap: 2rem;
  min-height: var(--top-h);
  padding: 0.75rem var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.sp-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.sp-brand__mark { display: flex; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex: none; }
.sp-brand__mark i { flex: 1; background: var(--indigo); }
.sp-brand__mark i + i { background: var(--coral); }
.sp-brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; }
.sp-brand__sub { font-size: 0.85rem; color: var(--ink-2); }
.sp-nav { display: flex; gap: 0.25rem 1.6rem; margin-left: auto; flex-wrap: wrap; }
.sp-nav a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; text-decoration: none; font-weight: 500; }
.sp-nav a:hover { text-decoration: underline; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; }
.sp-dot--coral { background: var(--coral); }
.sp-dot--saffron { background: var(--saffron); }
.sp-dot--ink { background: var(--night); }
.sp-dot--indigo { background: var(--indigo); }
.sp-lang { font-weight: 600; text-decoration: none; padding: 0.4rem 0.8rem; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.9rem; }
.sp-lang span { color: var(--ink-2); font-weight: 400; }
.sp-lang:hover { background: var(--ink); color: #fff; }
.sp-lang:hover span { color: #fff; }

/* ---------- the split ---------- */
.sp-sec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.sp-field {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 64px) var(--pad-x);
  overflow: hidden;
}
.sp--right .sp-field { order: 2; }
.sp-body { min-height: 100vh; padding: var(--pad-y) var(--pad-x); }
.sp-body > * { max-width: 36rem; }

.sp--indigo { --field: var(--indigo); }
.sp--coral { --field: var(--coral); }
.sp--saffron { --field: var(--saffron); }
.sp--ink { --field: var(--night); }
/* the colour fills the whole half; only the field's content is sticky */
.sp-sec { background: linear-gradient(90deg, var(--field) 50%, #fff 50%); }
.sp-sec.sp--right { background: linear-gradient(90deg, #fff 50%, var(--field) 50%); }
.sp--indigo .sp-field, .sp--ink .sp-field { color: #fff; }
.sp--coral .sp-field, .sp--saffron .sp-field { color: var(--ink); }
.sp--indigo .sp-field :focus-visible, .sp--ink .sp-field :focus-visible { outline-color: #fff; }

.sp-mark { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.95rem; }
.sp-glyph { width: 16px; height: 16px; flex: none; border-radius: 50%; background: currentColor; }
.sp-glyph--half { border-radius: 16px 16px 0 0; height: 8px; }
.sp-glyph--quarter { border-radius: 16px 0 0 0; }
.sp-glyph--ring { background: none; border: 3px solid currentColor; }
.sp-field h2 {
  margin-top: auto;
  font-size: clamp(3rem, 5.8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
  hyphens: manual;
  overflow-wrap: normal;
}
.sp-field__note { margin-top: 1.75rem; max-width: 34ch; font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
.sp--ink .sp-field__note { color: rgb(255 255 255 / 0.78); }

/* ---------- hero ---------- */
.sp-hero { min-height: calc(100vh - var(--top-h)); }
.sp-hero .sp-field { position: relative; height: calc(100vh - var(--top-h)); min-height: 560px; }
.sp-hero h1 {
  margin-top: auto; margin-bottom: auto;
  position: relative; z-index: 1;
  font-size: clamp(3.4rem, 6.6vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 700;
  max-width: 9ch;
}
.sp-hero__shape { position: absolute; right: -9vw; bottom: -12vw; width: 30vw; aspect-ratio: 1; }
.sp-hero__shape i { position: absolute; inset: 0; border-radius: 50%; background: var(--coral); }
.sp-hero__shape i + i { inset: auto; left: -52%; top: 26%; width: 46%; height: auto; aspect-ratio: 2 / 1; background: var(--saffron); border-radius: 999px 999px 0 0; }
.sp-hero__body { min-height: 0; display: flex; flex-direction: column; justify-content: center; align-self: stretch; }
.sp-hero__lead { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.45; letter-spacing: -0.01em; }
.sp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 2.25rem; }
.sp-btn {
  display: inline-flex; padding: 1rem 1.75rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transition: background-color 0.2s;
}
.sp-btn:hover { background: var(--indigo); }
.sp-tel { font-weight: 600; font-size: 1.1rem; }
.sp-facts { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--ink); }
.sp-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.sp-facts dt { color: var(--ink-2); font-size: 0.92rem; }
.sp-facts dd { font-weight: 600; }

/* ---------- content blocks ---------- */
.sp-block + .sp-block { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sp-block h3 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1; margin-bottom: 1.1rem; }
.sp-big { font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.5; }
.sp-sub { margin-top: 2.25rem; margin-bottom: 0.5rem; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0; color: var(--ink-2); font-weight: 600; }
.sp-table div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.sp-table div:last-child { border-bottom: 1px solid var(--line); }
.sp-table dt { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.sp-table dd { color: var(--ink-2); hyphens: auto; -webkit-hyphens: auto; }
.sp-aside { margin-top: 1.75rem; padding-left: 1.1rem; border-left: 4px solid var(--coral); color: var(--ink-2); }
.sp-list { margin-top: 1.5rem; display: grid; }
.sp-list li { position: relative; padding: 0.8rem 0 0.8rem 1.9rem; border-top: 1px solid var(--line); font-weight: 500; }
.sp-list li:last-child { border-bottom: 1px solid var(--line); }
.sp-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

/* ---------- approach ---------- */
.sp-phases { margin-top: 2.25rem; display: grid; gap: 0; max-width: 26rem; padding: 0; list-style: none; }
.sp-phases li { display: flex; align-items: baseline; gap: 1rem; padding: 0.55rem 0; border-top: 1.5px solid rgb(23 23 28 / 0.85); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -0.02em; }
.sp-phases li span { font-size: 0.85em; width: 1.4rem; }
.sp-lede { font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; }
.sp-steps { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: clamp(36px, 4vw, 56px); padding: 0; list-style: none; }
.sp-steps li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.5rem; }
.sp-steps__n {
  grid-row: span 2;
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--saffron); font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
}
.sp-steps h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 1.9rem); align-self: end; margin-bottom: 0.3rem; }
.sp-steps p { color: var(--ink-2); }
.sp-small { margin-top: clamp(72px, 9vw, 120px); padding: clamp(28px, 3.5vw, 48px); border-radius: 4px; background: #fbf3df; }
.sp-small h3 { font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; margin-bottom: 1rem; }
.sp-small p + p { margin-top: 0.9rem; }
.sp-faq { margin-top: clamp(64px, 8vw, 104px); }
.sp-faq h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.2vw, 2rem); margin-bottom: 0.75rem; }
.sp-faq details { border-top: 1px solid var(--ink); }
.sp-faq details:last-of-type { border-bottom: 1px solid var(--ink); }
.sp-faq summary { position: relative; padding: 1.1rem 2.5rem 1.1rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::before, .sp-faq summary::after { content: ""; position: absolute; right: 0.3rem; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform 0.25s; }
.sp-faq summary::after { transform: rotate(90deg); }
.sp-faq details[open] summary::after { transform: rotate(0); }
.sp-faq details p { padding: 0 2.5rem 1.25rem 0; color: var(--ink-2); }

/* ---------- products ---------- */
.sp-prod { position: relative; padding-left: 4.5rem; }
.sp-prod + .sp-prod { margin-top: clamp(56px, 7vw, 96px); }
.sp-prod__chip { position: absolute; left: 0; top: 0.35rem; width: 2.75rem; height: 2.75rem; }
.sp-prod__chip--1 { border-radius: 0 50% 50% 50%; transform: rotate(45deg) scale(0.85); background: var(--indigo); }
.sp-prod__chip--2 { border-radius: 8px; background: var(--coral); width: 1.9rem; margin-left: 0.4rem; }
.sp-prod__chip--3 { border-radius: 0 0 999px 999px; height: 1.4rem; top: 1rem; background: var(--saffron); }
.sp-prod h3 { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.sp-prod__meta { margin: 0.5rem 0 1rem; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.sp-more { display: inline-block; margin-top: 1.1rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.sp-more:hover { color: var(--indigo); border-color: var(--coral); }

/* ---------- contact ---------- */
.sp-contact .sp-field h2 { font-size: clamp(2.8rem, 5vw, 5.6rem); line-height: 0.95; overflow-wrap: break-word; }
.sp-contact .sp-body { display: flex; flex-direction: column; justify-content: center; }
.sp-contact__dl { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 1.75rem; }
.sp-contact__dl dt { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 0.2rem; }
.sp-contact__big { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.sp-contact__big a { text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) 0 100% / 100% 3px no-repeat; padding-bottom: 3px; }
.sp-contact__big a:hover { color: var(--indigo); }

/* ---------- footer ---------- */
.sp-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-foot__field { padding: clamp(36px, 4vw, 64px) var(--pad-x); background: var(--night); color: #fff; }
.sp-foot__field p:last-child { color: rgb(255 255 255 / 0.75); font-size: 0.95rem; }
.sp-foot__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.06em; line-height: 0.9; margin-bottom: 0.5rem; }
.sp-foot__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: end; gap: 1.25rem 2rem; padding: clamp(36px, 4vw, 64px) var(--pad-x); font-size: 0.95rem; color: var(--ink-2); }
.sp-foot__links { display: flex; flex-direction: column; gap: 0.2rem; }
.sp-foot__links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sp-foot__links a:hover { text-decoration: underline; }
.sp-foot__copy { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- legal pages: a split too ---------- */
.theme-split .legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
.theme-split .legal::before { content: ""; background: radial-gradient(circle at 70% 78%, var(--coral) 0 18%, transparent 18.2%), radial-gradient(circle at 70% 78%, transparent 0 26%, var(--saffron) 26.2%), var(--indigo); position: sticky; top: 0; height: 100vh; }
.theme-split .legal__inner { padding: var(--pad-y) var(--pad-x); max-width: none; margin: 0; }
.theme-split .legal h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.05em; }
.theme-split .legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.theme-split .legal a { color: var(--indigo); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .sp-brand__sub { display: block; max-width: 8.5rem; font-size: 0.72rem; line-height: 1.2; }
  .sp-nav { gap: 0.25rem 1.1rem; }
  .sp-table div { grid-template-columns: 1fr; gap: 0.25rem; }
  .sp-foot__body { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .sp-top { flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.75rem 20px; }
  .sp-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 0.25rem 0.5rem; font-size: 0.9rem; }
  .sp-nav a { gap: 0.35rem; }
  .sp-dot { width: 7px; height: 7px; }
  .sp-brand__sub { max-width: 7.5rem; font-size: 0.68rem; }
  .sp-brand__name { font-size: 1.3rem; }
  .sp-lang { padding: 0.3rem 0.6rem; font-size: 0.85rem; }
  .sp-lang { margin-left: auto; }
  .sp-sec, .sp-foot { grid-template-columns: 1fr; }
  .sp-field, .sp-hero .sp-field { position: relative; height: auto; min-height: 0; padding: 40px 20px 44px; }
  .sp--right .sp-field { order: 0; }
  .sp-sec, .sp-sec.sp--right { background: #fff; }
  .sp-field { background: var(--field); }
  .sp-field h2 { margin-top: 2.5rem; font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .sp-hero h1 { margin: 3rem 0 1rem; font-size: clamp(3rem, 13vw, 4.4rem); }
  .sp-hero__shape { width: 46vw; right: -16vw; bottom: -18vw; }
  .sp-body { min-height: 0; padding: 48px 20px 72px; }
  .sp-hero__body { padding-top: 36px; }
  .sp-phases { margin-top: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .sp-steps li { grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; }
  .sp-steps__n { width: 3.25rem; height: 3.25rem; font-size: 1.4rem; }
  .sp-prod { padding-left: 3.5rem; }
  .sp-facts div { grid-template-columns: 7rem minmax(0, 1fr); }
  .theme-split p, .theme-split li, .theme-split dd { hyphens: auto; -webkit-hyphens: auto; }
  .theme-split .legal { grid-template-columns: 1fr; }
  .theme-split .legal::before { position: static; height: 20px; }
  .sp-foot__field, .sp-foot__body { padding: 36px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-btn, .sp-faq summary::before, .sp-faq summary::after { transition: none; }
}
