/* SENEP website (senep.cloud) - Brand Manual v2.0: palette 3.1, Montserrat 4.2, Consolas for the code voice 4.6,
   the generative art of 5.4 (canvas, assets/js/art.js) and the dissolving edge of the proposal art (7.3). */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2?v=06b16db7a9") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-ext.woff2?v=54d9a78b7f") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --purple: #4A385F;
  --blue: #28A9E1;
  --magenta: #EB008B;
  --orange: #FAAF3F;
  --lavender: #99A0C3;
  --gray: #8C8C8C;
  --mist: #F3F4F8;
  --haze: #E6E7F0;
  --tint: #CCD0E1;
  --white: #FFFFFF;
  --ink-soft: rgba(74, 56, 95, .78);
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--purple);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }                  /* hidden always wins over a display rule */
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--purple); color: var(--white); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
/* on Deep Purple the ring is orange (magenta would be 2.4:1 there) */
.nav:not(.solid) :focus-visible, .hero :focus-visible, .promise :focus-visible, .foot :focus-visible, .page-404 :focus-visible { outline-color: var(--orange); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--purple); padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }

.sq { display: inline-block; flex: none; width: .5em; height: .5em; }
.sq-blue { background: var(--blue); }
.sq-magenta { background: var(--magenta); }
.sq-orange { background: var(--orange); }

/* ------------------------------------------------------------ type */
.kicker {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: .86rem;
  letter-spacing: .02em;
  color: var(--purple);
  text-wrap: balance;
}
.kicker .c { color: var(--magenta); }
.kicker-dark { color: var(--tint); }
.kicker-dark .c { color: var(--orange); }

.display {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.display b { font-weight: 600; }
.lead {
  margin: 26px 0 0;
  max-width: 46ch;
  font-weight: 300;
  font-size: clamp(1.25rem, 1.35vw, 1.3rem);   /* Light only from 20 px (manual 4.3) */
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.cursor {
  display: inline-block;
  width: .085em;
  height: .8em;
  margin-left: .06em;
  vertical-align: -.07em;
  background: var(--orange);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 17px 24px 17px 26px;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn-sq { width: 9px; height: 9px; background: var(--orange); transition: transform .45s var(--ease); }
.btn:hover .btn-sq { transform: translateX(5px) scale(1.25); }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--white); color: var(--purple); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); }
.btn-light:hover { box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .7); }
.btn-dark { background: var(--purple); color: var(--white); box-shadow: 0 18px 40px -24px rgba(74, 56, 95, .9); }
.btn-dark:hover { box-shadow: 0 24px 54px -24px rgba(74, 56, 95, 1); }
.btn-dark[disabled] { opacity: .65; cursor: progress; }
.btn-small { padding: 10px 16px; font-size: .86rem; gap: 0; }

.link-arrow { position: relative; font-weight: 600; font-size: .97rem; text-decoration: none; padding: 6px 26px 6px 0; }
.link-arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 1.5px; background: currentColor;
  transition: width .35s var(--ease);
}
.link-arrow::before {
  content: ""; position: absolute; right: 0; top: calc(50% - 4px); width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0;
}
.link-arrow:hover::after { width: 20px; }
.link-light { color: var(--white); }

/* ------------------------------------------------------------ header */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.nav-row { display: flex; align-items: center; gap: 32px; }
.nav-logo { position: relative; display: block; width: 211px; height: 49px; flex: none; }   /* 200 px drawing: the minimum (manual 2.7) */
.nav-logo img { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity .45s var(--ease); }
.logo-light { opacity: 0; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; font-size: .9rem; font-weight: 500; text-decoration: none; opacity: .86; transition: opacity .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--orange); transition: right .35s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { right: 0; }
.nav-end { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; }
.lang button { background: none; border: 0; padding: 4px 2px; cursor: pointer; opacity: .78; transition: opacity .3s; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav .btn-small { background: rgba(255, 255, 255, .12); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.nav .btn-small:hover { background: var(--white); color: var(--purple); }

.nav.solid {
  background: rgba(255, 255, 255, .9);
  color: var(--purple);
  box-shadow: 0 1px 0 var(--haze), 0 18px 40px -36px rgba(74, 56, 95, .5);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
}
.nav.solid .logo-dark { opacity: 0; }
.nav.solid .logo-light { opacity: 1; }
.nav.solid .btn-small { background: var(--purple); color: var(--white); box-shadow: none; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--purple);
  color: var(--white);
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background: url("/assets/img/code-dark.jpg?v=7a441bbce8") center / cover no-repeat;
  opacity: .16;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 70%);
  mask-image: linear-gradient(100deg, transparent 8%, #000 70%);
}
.hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 120px; }
.hero-title {
  margin: 0;
  max-width: 7.2em;
  font-weight: 600;
  font-size: clamp(3.4rem, 8.6vw, 8.4rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.hero-lead {
  margin: 34px 0 0;
  max-width: 24ch;
  font-weight: 300;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
  text-wrap: balance;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 34px; margin-top: 44px; }
.disciplines {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin: 72px 0 0; padding: 0; list-style: none;
  font-size: .84rem; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .78);
}
.disciplines li { display: flex; align-items: center; gap: 10px; }
.disciplines .sq { width: 8px; height: 8px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 54px; background: rgba(153, 160, 195, .35); overflow: hidden; }
.scroll-cue span { position: absolute; left: -2px; top: -8px; width: 5px; height: 8px; background: var(--orange); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -8px; } 70%, 100% { top: 54px; } }

/* ------------------------------------------------------------ who we are */
.who { padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 10vw, 130px); }
.who-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.who-text { margin: 0; font-weight: 300; font-size: clamp(1.25rem, 1.45vw, 1.32rem); line-height: 1.68; color: var(--ink-soft); text-wrap: pretty; }
.who-text b { font-weight: 600; color: var(--purple); }

.name {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: nowrap;
  margin-top: clamp(70px, 9vw, 120px); padding-top: 44px;
}
/* hairlines on the content column, like every other rule on the page */
.name::before, .foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--haze); }
.name-letter { position: relative; display: flex; align-items: baseline; font-size: clamp(3.2rem, 9.6vw, 9.6rem); }
.name-letter b { font-weight: 300; font-size: 1em; line-height: .82; letter-spacing: -.04em; }
.name-letter span { margin-left: .2em; font-size: clamp(.72rem, 1.05vw, 1.02rem); font-weight: 500; letter-spacing: .02em; color: var(--ink-soft); }
.name-letter .sq { position: absolute; left: .108em; top: -24px; width: 10px; height: 10px; }   /* on the stem of E, N, E, P */
.name-letter:first-child .sq { left: .035em; }                                                 /* the S: over its curve */
.name-amp { font-weight: 300; font-size: clamp(2rem, 5.4vw, 5.2rem); line-height: .9; color: var(--lavender); }

/* ------------------------------------------------------------ what we do */
.what { position: relative; overflow: hidden; padding: clamp(110px, 12vw, 160px) 0 clamp(170px, 16vw, 220px); background: var(--mist); }
.what-art {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85;
  /* calmer behind the heading and the text (manual 5.4: the art never sits behind small type) */
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .35) 38%, #000 72%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .35) 38%, #000 72%);
}
.what .wrap { position: relative; }
.section-head { max-width: 800px; }

.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: clamp(48px, 6vw, 76px) 0 0; padding: 0; list-style: none; }
.area {
  position: relative; overflow: hidden;
  padding: 30px 24px 32px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--haze);
  border-radius: 16px;
  box-shadow: 0 30px 60px -50px rgba(74, 56, 95, .55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.js .area[data-reveal] { transition: opacity 1s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.area::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent, var(--blue)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.area:hover, .js .area[data-reveal].in:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -46px rgba(74, 56, 95, .7); }
.area:hover::before { transform: scaleX(1); }
.acc-blue { --accent: var(--blue); }
.acc-magenta { --accent: var(--magenta); }
.acc-orange { --accent: var(--orange); }
.area img { width: 56px; height: 56px; }
.area h3 { margin: 26px 0 10px; font-size: 1.02rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.area p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

.path { margin-top: clamp(64px, 7vw, 96px); }
.path-label { margin: 0 0 22px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.path-lane { position: relative; padding-top: 52px; }
.path-art { position: absolute; left: 0; top: 0; width: 100%; height: 44px; }
.path-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.path-steps li { display: flex; flex-direction: column; gap: 6px; }
.path-steps .mono { font-size: .82rem; color: var(--magenta); }
.path-steps b { font-weight: 600; font-size: 1.04rem; }

/* ------------------------------------------------------------ promise */
.promise {
  position: relative; z-index: 2;
  padding: clamp(130px, 13vw, 180px) 0 clamp(140px, 14vw, 190px);
  background: var(--purple);
  color: var(--white);
}
.promise-photo {
  position: absolute; inset: 0;
  background: url("/assets/img/code-dark.jpg?v=7a441bbce8") center / cover no-repeat;
  opacity: .12;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%);
}
.promise-inner { position: relative; text-align: center; }
.promise-inner .kicker { display: inline-block; }
.promise-title { margin: 0; font-weight: 600; font-size: clamp(3.2rem, 9vw, 8.6rem); line-height: .95; letter-spacing: -.035em; }
.promise-text {
  margin: 38px auto 0; max-width: 32ch;
  font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.5;
  color: rgba(255, 255, 255, .9); text-wrap: balance;
}
.pillars {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
  margin: clamp(80px, 9vw, 120px) 0 0; padding: 0; list-style: none; text-align: left;
}
.pillars li { padding-top: 26px; border-top: 1px solid rgba(153, 160, 195, .32); }
.pillars b { display: block; font-weight: 300; font-size: clamp(3rem, 5vw, 4.6rem); line-height: .9; color: var(--lavender); }
.pillars h3 { margin: 22px 0 10px; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.pillars .pl-es { margin: -6px 0 10px; font-size: .84rem; color: var(--tint); }
.pillars .pl-es:empty { display: none; }
.pillars p { margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .78); text-wrap: pretty; }

.edge { position: absolute; left: 0; width: 100%; height: 72px; fill: var(--purple); pointer-events: none; overflow: hidden; }
.edge-top { top: -71px; }
.edge-bottom { bottom: -71px; }

/* ------------------------------------------------------------ contact */
.contact { padding: clamp(150px, 15vw, 210px) 0 clamp(110px, 11vw, 150px); }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.channels { margin: 48px 0 0; padding: 0; list-style: none; }
.channels li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--haze); font-size: .98rem; }
.channels li:last-child { border-bottom: 1px solid var(--haze); }
.channels .label { padding-top: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }   /* label: Bold, +20%, capitals (4.3) */
.channels a { font-weight: 600; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.channels a:hover { background-size: 100% 2px; }

.form {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--white);
  border: 1px solid var(--haze);
  border-radius: 22px;
  box-shadow: 0 50px 90px -60px rgba(74, 56, 95, .55);
}
.topics { margin: 0 0 30px; padding: 0; border: 0; }
.topics legend, .field label { display: block; margin-bottom: 12px; padding: 0; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.field label small { font-size: .74rem; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--gray); }
.topic-row { display: flex; flex-wrap: wrap; gap: 10px; }
.topic {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--tint);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.topic .sq { width: 8px; height: 8px; }
.topic:hover { border-color: var(--purple); }
.topic[aria-checked="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.field-full { grid-column: 1 / -1; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 8px 0 12px;
  background: transparent; border: 0; border-bottom: 1.5px solid var(--tint); border-radius: 0;
  font-size: 1.02rem; color: var(--purple);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--purple); box-shadow: 0 1.5px 0 var(--purple); }
.field [aria-invalid="true"] { border-bottom-color: var(--magenta) !important; box-shadow: 0 1.5px 0 var(--magenta) !important; }
.err { min-height: 1.3em; margin: 6px 0 4px; font-size: .8rem; color: var(--purple); }
/* the text stays in Deep Purple (magenta is 4.3:1 on white); a magenta square marks it */
.err:not(:empty)::before, .form-status.bad::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; vertical-align: 1px; background: var(--magenta); }
.check { display: flex !important; align-items: flex-start; gap: 12px; margin: 4px 0 0 !important; font-size: .9rem !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple); }
.check a { font-weight: 600; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-end { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 18px; }
.form-status { margin: 0; flex: 1 1 220px; font-size: .92rem; line-height: 1.5; }
.form-status.ok { color: var(--purple); font-weight: 600; }
.form-status.bad { color: var(--purple); }
.form.sent .fields, .form.sent .topics, .form.sent .btn-send { display: none; }
.form.sent .form-status { font-size: 1.15rem; padding: 24px 0 8px; }
.form.sent .form-status::before { content: ""; display: block; width: 14px; height: 14px; margin-bottom: 18px; background: var(--orange); }

/* ------------------------------------------------------------ footer */
.foot { position: relative; padding: clamp(80px, 9vw, 110px) 0 36px; background: var(--purple); color: rgba(255, 255, 255, .86); font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 232px; height: auto; }
.foot-label { margin: 0 0 14px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tint); }
.foot p { margin: 0; line-height: 1.8; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.social { display: flex; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .3s; }
.social a:hover { background: rgba(255, 255, 255, .22); text-decoration: none; }
.social svg { width: 16px; height: 16px; fill: var(--white); }
.foot-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 70px; padding-top: 26px; font-size: .84rem; color: rgba(255, 255, 255, .66); }
.foot-bottom::before { background: rgba(153, 160, 195, .26); }
.foot-slogan { font-weight: 600; color: var(--white); }   /* the slogan in Montserrat SemiBold; only the // is code */
.foot-slogan .c { margin-right: .3em; font-weight: 400; color: var(--orange); }

/* ------------------------------------------------------------ policies (terms, privacy, refunds) */
.legal-page .nav { position: absolute; }                 /* the header scrolls away with the purple band */
.legal-page .nav-end { margin-left: auto; }               /* no section links here: language and Contact to the right */
.legal-hero {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(64px, 7vw, 96px);
  background: var(--purple); color: var(--white);
}
.legal-hero .promise-photo { opacity: .1; }
.legal-hero-inner { position: relative; }
.legal-hero h1 { margin: 0; max-width: 16ch; font-weight: 600; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.legal-version { margin: 28px 0 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.legal-version span { display: block; margin-top: 4px; color: var(--tint); }
.legal { padding: clamp(120px, 13vw, 170px) 0 clamp(90px, 10vw, 130px); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(40px, 7vw, 110px); align-items: start; }
.legal-doc { max-width: 780px; }
.legal-doc > :first-child { margin-top: 0; }
.legal-intro { margin: 0 0 12px; font-weight: 300; font-size: 1.25rem; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.legal-note { margin: 0 0 36px; padding: 16px 20px; border-left: 3px solid var(--orange); background: var(--mist); font-size: .94rem; line-height: 1.6; color: var(--purple); }
.legal-doc h2 { display: flex; align-items: baseline; gap: 14px; margin: 64px 0 18px; font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; scroll-margin-top: 24px; }
.legal-doc h3 { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 14px; font-size: 1.1rem; font-weight: 600; line-height: 1.35; scroll-margin-top: 24px; }
.legal-doc .n { flex: none; min-width: 1.6em; font-family: var(--mono); font-size: .8em; font-weight: 400; color: var(--magenta); }
/* a part (Part I, A, B...) opens a group of numbered sections */
.legal-doc h2.legal-part { display: block; margin-top: 80px; padding-top: 30px; border-top: 1px solid var(--haze); font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.legal-doc h2.legal-part .tag { display: block; margin-bottom: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.legal-doc p, .legal-doc li, .legal-doc dd { font-size: 1.02rem; line-height: 1.75; color: rgba(74, 56, 95, .9); }
.legal-doc p { margin: 0 0 14px; text-wrap: pretty; }
.legal-doc b, .legal-doc strong { font-weight: 600; color: var(--purple); }
.legal-doc a { font-weight: 600; color: var(--purple); text-decoration: underline; text-decoration-color: var(--tint); text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: text-decoration-color .3s; }
.legal-doc a:hover { text-decoration-color: var(--orange); }
.legal-list { margin: 0 0 16px; padding: 0; list-style: none; }
.legal-list li { position: relative; margin: 0 0 12px; padding-left: 24px; }
.legal-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--blue); }
.legal-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 6px 0 18px; padding: 0; list-style: none; }
.legal-links li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--haze); }
.legal-links li span { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.legal-links li a { font-size: .95rem; }
.legal-contact { margin: 8px 0 28px; }
.legal-contact div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--haze); }
.legal-contact div:last-child { border-bottom: 1px solid var(--haze); }
.legal-contact dt { padding-top: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--purple); }
.legal-contact dd { margin: 0; }
.legal-close { margin: 40px 0 0 !important; font-weight: 300; font-size: 1.25rem !important; line-height: 1.6 !important; color: var(--ink-soft); text-wrap: pretty; }
.legal-home { margin: 36px 0 0 !important; }
.legal-home a { text-decoration: none; }
/* side index: the three policies, the current one marked */
.legal-aside { position: sticky; top: 32px; }
.legal-aside ul { margin: 0; padding: 0; list-style: none; }
.legal-aside li { border-top: 1px solid var(--haze); }
.legal-aside li:last-child { border-bottom: 1px solid var(--haze); }
.legal-aside a { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: .92rem; font-weight: 500; line-height: 1.4; text-decoration: none; color: var(--ink-soft); transition: color .3s; }
.legal-aside a::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--tint); transition: background-color .3s; }
.legal-aside a:hover { color: var(--purple); }
.legal-aside a[aria-current="page"] { font-weight: 600; color: var(--purple); }
.legal-aside a[aria-current="page"]::before { background: var(--orange); }
.legal-aside .foot-label { color: var(--ink-soft); }
@media (max-width: 960px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-aside { position: static; order: -1; }
}
@media (max-width: 720px) {
  .legal-links { grid-template-columns: 1fr; }
  .legal-contact div { grid-template-columns: 1fr; gap: 4px; }
}

/* ------------------------------------------------------------ reveal (only when JavaScript runs) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.still [data-reveal], .still .cursor, .still .scroll-cue span { transition: none !important; animation: none !important; }
.still .hero { min-height: var(--still-h, 900px) !important; }
@media (max-width: 960px) { .still .hero-inner { padding-top: calc(var(--still-h, 900px) * .44) !important; } }

/* ------------------------------------------------------------ 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; background: var(--purple); color: var(--white); text-align: center; padding: 40px 20px; }
.page-404 img { width: 232px; margin: 0 auto 64px; }
.page-404 h1 { margin: 0; font-weight: 600; font-size: clamp(3rem, 10vw, 7rem); letter-spacing: -.03em; line-height: 1; }
.page-404 p:not(.kicker) { margin: 24px auto 40px; max-width: 34ch; font-weight: 300; font-size: 1.25rem; color: rgba(255, 255, 255, .86); }
.page-404 p[hidden] { display: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  /* five items: three on the first row, two halves on the second, no empty cell */
  .areas, .pillars { grid-template-columns: repeat(6, 1fr); }
  .areas > li, .pillars > li { grid-column: span 2; }
  .areas > li:nth-child(n+4), .pillars > li:nth-child(n+4) { grid-column: span 3; }
  .pillars { row-gap: 44px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .hero { align-items: flex-end; }
  .hero-inner { padding-top: 44vh; padding-top: 44svh; padding-bottom: 96px; }
  .hero-photo { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
  .who-grid, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .areas, .pillars { grid-template-columns: 1fr 1fr; }
  .areas > li, .pillars > li, .areas > li:nth-child(n+4), .pillars > li:nth-child(n+4) { grid-column: auto; }
  .areas > li:last-child, .pillars > li:last-child { grid-column: 1 / -1; }
  /* the path runs down the left side: one marker per step */
  .path-lane { padding: 0 0 0 34px; }
  .path-art { width: 14px; height: 100%; }
  .path-steps { grid-template-columns: 1fr; row-gap: 22px; }
  .fields { grid-template-columns: 1fr; }
  .channels li { grid-template-columns: 1fr; gap: 4px; }
  .name-letter span { display: none; }
  .name-letter .sq { top: -18px; width: 8px; height: 8px; }
  .nav-end { gap: 16px; }
}
@media (max-width: 480px) {
  .nav .btn-small { display: none; }          /* the logo keeps its minimum size; the hero has the button */
  .areas, .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions { gap: 18px 26px; }
  .disciplines { flex-direction: column; gap: 12px; }
  .btn { padding: 15px 20px; }
}
/* short phones: the isotype right under the header, the text right under it, the button on the first screen */
@media (max-width: 480px) and (max-height: 700px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 38vw + 40px); }   /* art.js fits the isotype in that space (70% wide) */
  .hero .kicker { margin-bottom: 16px; }
  .hero-lead { margin-top: 22px; }
  .hero-actions { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .scroll-cue span { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .area, .js .area[data-reveal], .area::before, .btn, .btn-sq { transition: none; }
}
