/* =========================================================
   Kraama Ventures, on the reverse-engineered agency layout.
   Brand tokens: ink, paper and one ultramarine accent;
   Mona Sans + Geist Mono.
   ========================================================= */
@font-face { font-family: "Mona"; src: url("../assets/fonts/mona-text-latin.woff2") format("woff2"); font-weight: 400; font-stretch: 100%; 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: "Mona"; src: url("../assets/fonts/mona-text-latin-ext.woff2") format("woff2"); font-weight: 400; font-stretch: 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mona"; src: url("../assets/fonts/mona-medium-latin.woff2") format("woff2"); font-weight: 580; font-stretch: 108%; 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: "Mona"; src: url("../assets/fonts/mona-medium-latin-ext.woff2") format("woff2"); font-weight: 580; font-stretch: 108%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mona"; src: url("../assets/fonts/mona-display-latin.woff2") format("woff2"); font-weight: 700; font-stretch: 125%; 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: "Mona"; src: url("../assets/fonts/mona-display-latin-ext.woff2") format("woff2"); font-weight: 700; font-stretch: 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/geistmono-latin.woff2") format("woff2"); font-weight: 400; 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: "Geist Mono"; src: url("../assets/fonts/geistmono-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0e0e10;
  --paper: #efebe3;
  --paper-hi: #f8f6f1;
  --blue: #1f3bff;
  --mute-ink: #9a968e;
  --mute-paper: #5f5b54;

  --theme-primary: var(--ink);
  --theme-secondary: var(--paper);
  --btn-bg: var(--blue); --btn-fg: var(--paper);
  --btn-hover-bg: var(--ink); --btn-hover-fg: var(--paper);

  --fs-huge: clamp(2.8rem, 9vw, 9.5rem);
  --fs-100: clamp(2.4rem, 6.2vw, 6.5rem);
  --fs-60: clamp(2.1rem, 4.1vw, 4.25rem);
  --fs-50: clamp(1.5rem, 2.4vw, 2.5rem);
  --fs-32: clamp(1.35rem, 1.75vw, 2rem);
  --fs-24: clamp(1.15rem, 1.45vw, 1.45rem);

  --pad: 7.5vw;
  --ease: cubic-bezier(.75, 0, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Mona", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
html.is-dark {
  --theme-primary: var(--paper); --theme-secondary: var(--ink);
  --btn-hover-bg: var(--paper); --btn-hover-fg: var(--ink);
}
html.on-blue .header { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-hover-bg: var(--ink); --btn-hover-fg: var(--paper); }

/* type helpers */
.display { font-weight: 700; font-stretch: 125%; }
.medium { font-weight: 580; font-stretch: 108%; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(14px, 1.25vw, 18px); background: var(--paper); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; font-family: var(--font); font-weight: 400; font-size: 1rem; line-height: 1.5; color: var(--ink);
  background: transparent; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 580; font-stretch: 108%; }
::selection { background: var(--blue); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.25rem;
  padding-inline: var(--pad); position: relative;
}
main, section, footer { position: relative; }
section, footer { z-index: 2; }

/* section label: hairline + mono "(0n) Name" */
.label {
  grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase;
  padding-top: .9rem; margin-bottom: 2.5rem; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent);
  opacity: .85;
}

/* the brand "k" glyph, drawn from the favicon path */
.glyph-m {
  display: inline-block; background: currentColor;
  -webkit-mask: url("../assets/brand/k-glyph.svg") center / contain no-repeat;
  mask: url("../assets/brand/k-glyph.svg") center / contain no-repeat;
}

/* ---------- WebGL background + grain ---------- */
.bg { position: fixed; inset: 0; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; background: var(--paper); transition: background-color .8s var(--ease); }
html.is-dark .bg { background: var(--ink); }
.bg canvas { width: 100%; height: 100%; display: block; }
.noise {
  position: fixed; inset: -10rem; z-index: 1; pointer-events: none; opacity: .06;
  background-image: var(--noise-img, none); background-repeat: repeat; animation: noise 1.5s steps(2) infinite;
}
html.is-dark .noise { opacity: .09; }
@keyframes noise {
  0% { transform: translate3d(0, 9rem, 0) } 10% { transform: translate3d(-1rem, -4rem, 0) }
  20% { transform: translate3d(-8rem, 2rem, 0) } 30% { transform: translate3d(9rem, -9rem, 0) }
  40% { transform: translate3d(-2rem, 7rem, 0) } 50% { transform: translate3d(-9rem, -4rem, 0) }
  60% { transform: translate3d(2rem, 6rem, 0) } 70% { transform: translate3d(7rem, -8rem, 0) }
  80% { transform: translate3d(-9rem, 1rem, 0) } 90% { transform: translate3d(6rem, -5rem, 0) }
  to { transform: translate3d(-7rem, 0, 0) }
}

/* ---------- buttons ---------- */
.btn-solid {
  display: inline-flex; align-items: center; gap: .65rem; font-size: 1rem; line-height: 1; font-weight: 580; font-stretch: 108%;
  padding: .95rem 1.35rem 1.05rem; border-radius: 2.0625rem; white-space: nowrap; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg); pointer-events: all;
  transition: background-color .25s ease, color .25s ease;
}
.btn-solid svg { width: 14px; transform: translateY(.05rem); transition: transform .3s var(--ease-out); }
.btn-solid:hover { background: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.btn-solid:hover svg { transform: translate(3px, .05rem); }
.btn-solid--ink { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover-bg: var(--blue); --btn-hover-fg: var(--paper); }

.btn-line {
  --c: var(--ink); position: relative; display: inline-flex; align-items: center; text-decoration: none;
  color: var(--c); cursor: pointer; background: none; border: 0; padding: 0;
}
.btn-line__inner { display: flex; align-items: center; height: 46px; padding: 0 20px; font-size: 1rem; line-height: 1; white-space: nowrap; }
.btn-line__text { transition: transform .3s ease-out; }
.btn-line svg { width: 14px; margin-left: 1rem; }
.btn-line__border {
  position: absolute; top: 0; right: 0; width: 100%; height: 46px; border-radius: 2.0625rem;
  border: 2px solid currentColor; pointer-events: none; transition: width .25s ease, transform .3s ease-out, background-color .25s;
}
.btn-line:hover .btn-line__border { width: 46px; transform: translateX(-6px); }
.btn-line:hover .btn-line__text { transform: translateX(-10px); }
.btn-line--white { --c: var(--paper); }
.magnetic { display: inline-block; will-change: transform; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; pointer-events: none;
  display: flex; justify-content: space-between; align-items: center; padding: 1.5rem;
}
.logo {
  pointer-events: all; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: .8rem;
  background: var(--blue); color: var(--paper); text-decoration: none; transition: background-color .4s, transform .4s var(--ease-out);
}
.logo:hover { transform: rotate(-6deg); }
html.on-blue .logo { background: var(--ink); }
.logo .glyph-m { width: 68%; height: 60%; }
.header__hire { margin-right: 4.75rem; }
.tagline {
  position: absolute; top: 0; left: 0; height: 6.25rem; z-index: 10; display: flex; align-items: center; gap: .5em;
  padding-left: calc(1.5rem + 3.25rem + .9rem); font-family: var(--mono); font-size: 12px; line-height: 1; letter-spacing: .04em;
  text-transform: uppercase; color: var(--theme-primary);
}
.tagline a { text-underline-offset: 3px; }

/* ---------- primary navigation (flyout) ---------- */
.nav { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.nav__toggle {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 3; pointer-events: all; cursor: pointer;
  width: 3.25rem; height: 3.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--theme-primary); background: var(--theme-secondary); transition: background-color .4s, border-color .4s;
}
.nav__line { position: absolute; width: 24px; height: 2px; border-radius: 2px; background: var(--theme-primary); transition: transform .3s var(--ease), background-color .3s; }
.nav__line:first-child { transform: translateY(-3px); }
.nav__line:last-child { transform: translateY(3px); }
.nav__flyout { position: absolute; top: 1rem; right: 1.25rem; width: 19rem; z-index: 2; pointer-events: none; }
.nav__bg {
  position: absolute; inset: 0; background: var(--paper-hi); border-radius: 1.25rem; z-index: 0;
  transform: scale(.5); transform-origin: top right; opacity: 0; transition: transform .4s var(--ease) .35s, opacity .3s ease .45s;
}
.nav__menu { position: relative; z-index: 1; padding: 3.75rem 1.875rem 1.875rem; color: var(--ink); }
.nav__menu > ul { display: flex; flex-direction: column; gap: .5rem; }
.nav__menu > ul > li > a, .nav__label { display: block; font-size: 23px; font-weight: 580; font-stretch: 108%; line-height: 1.25; letter-spacing: -.02em; }
.nav__menu a { text-decoration: none; color: var(--ink); transition: color .2s; }
.nav__menu a:hover { color: var(--blue); }
.nav__sub { display: flex; flex-direction: column; gap: .25rem; padding: .4rem 0 .2rem .9rem; border-left: 2px solid #ddd8ce; margin: .3rem 0 .2rem .15rem; }
.nav__sub a { font-size: 1rem; }
.nav__menu > ul > li { opacity: 0; transform: rotateX(90deg); transition: opacity .25s ease .1s, transform 0s .5s; }
.nav__cta { margin-top: 1.5rem; transform: scale(0); transform-origin: left center; transition: transform .25s ease; }
.nav__cta .btn-solid { --btn-bg: var(--blue); --btn-fg: var(--paper); --btn-hover-bg: var(--ink); --btn-hover-fg: var(--paper); }
.nav__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(14,14,16,.25); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.nav.is-open .nav__toggle { background: transparent; border-color: var(--ink); }
.nav.is-open .nav__line { background: var(--ink); }
.nav.is-open .nav__line:first-child { transform: rotate(45deg); }
.nav.is-open .nav__line:last-child { transform: rotate(-45deg); }
.nav.is-open .nav__flyout { pointer-events: all; }
.nav.is-open .nav__bg { transform: scale(1); opacity: 1; transition: transform .5s var(--ease), opacity .4s; }
.nav.is-open .nav__menu > ul > li { opacity: 1; transform: none; transition: opacity .5s ease var(--d), transform .5s ease var(--d); }
.nav.is-open .nav__cta { transform: scale(1); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) .65s; }
.nav.is-open .nav__overlay { opacity: 1; pointer-events: all; }

/* ---------- shared headings ---------- */
.big-heading {
  grid-column: 1 / -1; display: flex; flex-direction: column; font-size: var(--fs-huge);
  font-weight: 700; font-stretch: 125%; line-height: .9; letter-spacing: -.05em;
}
.big-heading .indent { padding-left: 13.5%; }
.big-heading__row { display: flex; justify-content: space-between; align-items: flex-end; }
.big-arrow { width: .62em; height: .62em; flex-shrink: 0; margin-bottom: .08em; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; will-change: transform; }
[data-split="chars"] .w { white-space: nowrap; }
[data-split="chars"] .ch { display: inline-block; }

/* ========================= HERO ========================= */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 7rem 0 1.5rem; }
.hero__wrap { grid-column: 1 / -1; position: relative; }
.hero__word {
  display: flex; flex-direction: column; font-weight: 700; font-stretch: 125%;
  font-size: clamp(3rem, 10.2vw, 12rem); line-height: .86; letter-spacing: -.055em; margin-top: .5rem;
}
.hero__line { display: block; overflow: hidden; padding: .03em 0 .12em; margin-bottom: -.12em; white-space: nowrap; }
.hero__line > span { display: inline-block; will-change: transform; }
.hero__line .nowrap { white-space: nowrap; }
.hero__line.l2 { padding-left: 9%; }
.hero__line.l3 { padding-left: 2%; }
.hero__o {
  position: relative; display: inline-block; width: .6em; height: .6em; margin: 0 .025em;
  border-radius: 50%; overflow: hidden; vertical-align: baseline; isolation: isolate;
  box-shadow: 0 0 0 .045em var(--ink); transition: transform .6s var(--ease-out);
}
/* a whole dish, seen from above: the pan's round shape is the "o", so no zoom that would make it unreadable */
.hero__o img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__o:hover { transform: scale(1.06); }
.hero__intro { position: absolute; right: 1%; bottom: .6rem; max-width: 26ch; font-size: var(--fs-24); line-height: 1.3; }
/* French lines are longer ("construit avant", "qu'on se parle."): smaller, so they clear the intro and never clip */
html[lang="fr"] .hero__word { font-size: clamp(2.6rem, 7.3vw, 8.6rem); }
html[lang="fr"] .hero__line.l2 { padding-left: 5%; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding: 0 1.75rem; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

/* ========================= (01) HOW IT WORKS ========================= */
.approach { padding: 8rem 0 1.5rem; }
.approach__row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.approach__row h2 { flex: 1 1 32rem; max-width: 15em; font-size: var(--fs-60); font-weight: 580; font-stretch: 108%; line-height: 1; letter-spacing: -.035em; }
.approach__row p { flex: 1 1 18rem; max-width: 30rem; font-size: var(--fs-24); line-height: 1.35; }
.approach__items { grid-column: 1 / -1; display: flex; gap: 4.7rem; margin-top: 4rem; }
.approach__items > span { flex: 1; position: relative; display: block; }
.approach__items > span:not(:first-child)::before {
  content: ""; position: absolute; width: 2.2rem; height: 2.2rem; top: 50%; transform: translateY(-50%);
  right: calc(100% + (4.7rem - 2.2rem) / 2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M3 20h33M24 8l12 12-12 12' fill='none' stroke='%230e0e10' stroke-width='2.2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.approach__card {
  display: flex; flex-direction: column; height: 100%; min-height: 21rem; padding: 2.1875rem 2rem;
  background: rgba(255, 255, 255, .42); border-radius: 10px 100px 10px 10px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.approach__step { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; line-height: 1; margin-bottom: 1.6rem; }
.approach__card h3 { font-size: var(--fs-50); font-weight: 580; font-stretch: 108%; line-height: 1; letter-spacing: -.035em; margin-bottom: auto; padding-bottom: 2rem; max-width: 11ch; }
.approach__card p { line-height: 1.45; max-width: 30ch; }

/* ========================= (02) WHAT YOU GET ========================= */
.services { padding: 7rem 0 1.5rem; }
.svc { margin-top: 10vh; padding: 0 1.5rem 6vh; display: flex; flex-direction: column; gap: 16vh; }
.svc__panel { position: sticky; top: max(5.5rem, calc(50vh - 20rem)); }
.svc__card {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5vw; align-items: center;
  padding: 2.75rem calc(var(--pad) - 1.5rem); background: var(--paper-hi); border-radius: 2rem;
  transform-origin: 50% 0; will-change: transform; box-shadow: 0 1px 0 rgba(14,14,16,.06);
}
.svc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.svc__num { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.svc__text h3 { font-size: clamp(2.3rem, 5vw, 5.4rem); font-weight: 580; font-stretch: 108%; line-height: .95; letter-spacing: -.04em; margin-bottom: .5rem; }
.svc__text p { max-width: 30rem; font-size: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .625rem .4rem; }
.tags span { font-size: .95rem; line-height: 1.4; padding: 5px 11px; border-radius: 2rem; border: 2px solid rgba(14,14,16,.13); }
.svc__media { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 33rem; justify-self: end; background: var(--ink); color: var(--paper); border-top-right-radius: 5rem; overflow: hidden; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)) } 50% { transform: translateY(-5%) rotate(var(--r, 0deg)) } }

/* art 1: where customers come from */
.art-sources { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 60% at 60% 40%, #1a2266, var(--ink) 70%); }
.mini-phone { position: relative; z-index: 2; width: 34%; aspect-ratio: 9 / 18; border-radius: 1.5rem; border: 7px solid #1d1d21; background: var(--paper); padding: 12% 9% 9%; display: flex; flex-direction: column; gap: .55rem; box-shadow: 0 2rem 3rem rgba(0,0,0,.5); color: var(--ink); }
.mp-bar { font-family: var(--mono); font-size: .55rem; text-transform: uppercase; letter-spacing: .04em; }
.mp-hero { height: 42%; border-radius: .7rem; background: radial-gradient(70% 70% at 30% 80%, #ff8a3d, #6a2a10 60%, #1d0d06); }
.mp-row { height: .45rem; width: 85%; border-radius: 3px; background: #d6d0c4; } .mp-row.short { width: 55%; }
.mp-btn { margin-top: auto; text-align: center; font-size: .7rem; padding: .55rem; border-radius: 2rem; background: var(--blue); color: var(--paper); font-weight: 580; }
.src { position: absolute; z-index: 3; font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; padding: .55rem .9rem; border-radius: 2rem; background: rgba(239,235,227,.08); border: 1px solid rgba(239,235,227,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: float 6s ease-in-out infinite; }
.src::after { content: ""; position: absolute; top: 50%; width: 3.5rem; border-top: 1px dashed rgba(239,235,227,.4); }
.s1 { left: 8%; top: 22%; } .s1::after { left: 100%; }
.s2 { right: 7%; top: 40%; animation-delay: -2s; } .s2::after { right: 100%; }
.s3 { left: 10%; bottom: 20%; animation-delay: -4s; } .s3::after { left: 100%; }

/* art 2: the maintenance noise you don't get */
.art-noise { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: 0 12%; }
.note { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1.1rem; border-radius: .8rem; background: #1d1d21; border: 1px solid #2c2c31; font-size: .85rem; color: var(--mute-ink); transform: rotate(var(--r, 0deg)); }
.note b { color: var(--paper); font-weight: 580; font-size: 1rem; }
.note::after { content: ""; position: absolute; left: 1rem; right: 1rem; top: 50%; height: 2px; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.is-inview .note::after { animation: strike 6s var(--ease) infinite; }
.n1 { --r: -1.5deg; } .n2 { --r: 1deg; margin-left: 8%; } .n3 { --r: -.5deg; margin-left: 3%; }
.n2::after { animation-delay: .4s !important; } .n3::after { animation-delay: .8s !important; }
@keyframes strike { 0%, 10% { transform: scaleX(0) } 30%, 85% { transform: scaleX(1) } 100% { transform: scaleX(0) } }
.note.ok { background: var(--blue); border-color: var(--blue); color: rgba(239,235,227,.86); margin-top: .6rem; transform: rotate(1.5deg); }
.note.ok::after { display: none; }

/* art 3: ownership */
.art-own { position: absolute; inset: 0; display: grid; place-items: center; }
.own-browser { width: 74%; border-radius: .8rem; overflow: hidden; background: #1a1a1e; border: 1px solid #2c2c31; box-shadow: 0 2rem 3rem rgba(0,0,0,.5); animation: float 8s ease-in-out infinite; }
.own-url { display: block; padding: .7rem 1rem; background: #26262b; font-family: var(--mono); font-size: .8rem; color: var(--paper); }
.own-url::before { content: "●  ●  ●"; color: #4a4a50; margin-right: 1rem; letter-spacing: -.1em; }
.own-code { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.2rem 1.8rem; }
.own-code i { display: block; height: .5rem; width: var(--w); margin-left: var(--x, 0); border-radius: 3px; background: #3a3a40; }
.own-code i:nth-child(2) { background: #5a6bff; } .own-code i:nth-child(4) { background: var(--paper); opacity: .7; }
.own-badge { position: absolute; right: 9%; bottom: 14%; padding: .75rem 1.1rem; border-radius: 2rem; background: var(--paper); color: var(--ink); font-weight: 580; font-stretch: 108%; transform: rotate(-4deg); box-shadow: 0 1rem 2rem rgba(0,0,0,.4); }

/* ========================= (03) WHO IT IS FOR ========================= */
.fw { padding: 6rem 0 3rem; overflow: clip; z-index: 2; }
.fw__heading { grid-column: 1 / -1; justify-self: center; max-width: 16em; text-align: center; font-size: var(--fs-60); font-weight: 580; font-stretch: 108%; line-height: 1; letter-spacing: -.035em; }
.fw__tabs { display: flex; gap: .625rem; margin-top: 2rem; padding-inline: 7%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; justify-content: safe center; scroll-snap-type: x proximity; }
.fw__tabs::-webkit-scrollbar { display: none; }
.fw__tab { padding: .75rem 1.2rem; border: 0; border-radius: 2rem; background: rgba(255,255,255,.5); font-size: 1rem; cursor: pointer; white-space: nowrap; scroll-snap-align: center; transition: background-color .3s ease, color .3s ease; }
.fw__tab:hover { background: #ddd8ce; }
.fw__tab.active { background: var(--ink); color: var(--paper); }
.fw__body { grid-column: 1 / -1; display: flex; align-items: center; gap: 2rem; margin-top: 2rem; }
.fw__nav { position: relative; flex: 0 0 auto; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.fw__nav::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--ink); border-radius: 50%; opacity: 0; transform: scale(.5); transition: all .3s ease; }
.fw__nav svg { width: 3rem; height: 3rem; transition: transform .3s ease; }
.fw__nav:hover::before { opacity: 1; transform: scale(1); }
.fw__nav:hover svg { transform: scale(.5); }
.fw__viewport { flex: 1; min-width: 0; overflow: hidden; border-radius: 20px 130px 20px 20px; }
.fw__track { display: flex; transition: transform .9s var(--ease); }
.fw__slide { flex: 0 0 100%; display: flex; min-height: 350px; background: rgba(255,255,255,.5); border-radius: 20px 130px 20px 20px; overflow: hidden; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.fw__media { flex: 0 0 50%; position: relative; aspect-ratio: 562 / 434; overflow: hidden; }
.fw__content { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: space-between; gap: .875rem; padding: 2rem 2.4rem; }
.fw__content h3 { font-size: var(--fs-50); font-weight: 580; font-stretch: 108%; line-height: 1.02; letter-spacing: -.035em; }
.fw__content p { max-width: 30rem; font-size: 1.1rem; }
.fw__slide .fw__content > * { opacity: 0; transform: translateY(1.5rem); transition: opacity .6s ease .35s, transform .8s var(--ease-out) .35s; }
.fw__slide.is-active .fw__content > * { opacity: 1; transform: none; }
.vmock { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 70% at 70% 20%, #4d63ff, var(--blue) 55%, #1229c9); }
/* a real template first screen in a phone frame, sized by the slot's height so it never clips */
.vmock__phone { height: 84%; aspect-ratio: 480 / 1039; border-radius: 1.4rem; border: 6px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(5, 10, 60, .45); transform: rotate(-4deg); transition: transform .9s var(--ease-out); }
.vmock__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fw__slide.is-active .vmock__phone { transform: rotate(3deg); }
.vmock__cap { position: absolute; left: 1rem; bottom: .9rem; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); opacity: .85; }

/* ========================= DARK ZONE ========================= */
.dark { background: var(--ink); color: var(--paper); }

/* (04) WORK */
.work { padding: 6rem 0 4rem; }
.work__heading { grid-column: 1 / 8; grid-row: 2; line-height: .82; }
.work__heading .indent { margin-top: .6rem; }
.work__aside { grid-column: 8 / 13; grid-row: 2; padding-left: 1rem; }
.work__aside h3 { font-size: clamp(2rem, 3.6vw, 3.8rem); font-weight: 580; font-stretch: 108%; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1rem; }
.work__aside p { color: var(--mute-ink); max-width: 30ch; }
.projects { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem 1.5rem; margin-top: 4.5rem; }
.project { grid-column: span 6; display: block; text-decoration: none; color: var(--paper); }
.project__bar {
  display: flex; justify-content: space-between; align-items: center; font-size: 1rem; line-height: 1;
  border: 1px solid #3a3a3f; border-bottom: 0; border-radius: .625rem .625rem 0 0; padding: .5rem .65rem 1.65rem; margin-bottom: -1.125rem;
}
.project__bar h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 580; font-stretch: 108%; }
.project__bar p { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-ink); }
.project__bar svg { width: .7rem; }
.project--static { cursor: default; }
.project__media { position: relative; z-index: 1; aspect-ratio: 16 / 10; border-radius: .625rem; overflow: hidden; background: #1a1a1e; }
.project__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.project:hover .project__media > img { transform: scale(1.035); }
.project__overlay { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 5% 7%; background: rgba(14,14,16,.82); opacity: 0; transition: opacity .3s; }
.project:hover .project__overlay, .project:focus-visible .project__overlay { opacity: 1; }
.project__overlay .ph { margin-top: auto; font-size: var(--fs-50); font-weight: 580; font-stretch: 108%; line-height: 1.05; letter-spacing: -.03em; }
.project__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: auto 0 0; }
.project__tags li { font-size: .8rem; line-height: 1; padding: 5px 11px 6px; border-radius: 2rem; border: 1px solid var(--paper); }
/* the fourth tile: the salon and clinic templates' first screens on the (03) section's blue, two phones leaning in */
.project__media.tpl { background: radial-gradient(80% 70% at 70% 20%, #4d63ff, var(--blue) 55%, #1229c9); }
.tpl__col { position: absolute; top: 0; bottom: 0; width: 50%; margin: 0; }
.tpl__col:first-child { left: 2%; } .tpl__col:last-child { right: 2%; }
.tpl__phone { position: absolute; top: 8%; left: 50%; height: 72%; aspect-ratio: 480 / 1039; border: clamp(3px, .42vw, 6px) solid var(--ink); border-radius: clamp(.75rem, 1.3vw, 1.4rem); background: var(--ink); overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(5, 10, 60, .45); transform: translateX(-50%) rotate(-4deg); }
.tpl__col:last-child .tpl__phone { transform: translateX(-50%) rotate(4deg); }
.tpl__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl__cap { position: absolute; left: .5rem; right: .5rem; top: 85%; text-align: center; font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); opacity: .85; }

/* client work: real sites shown with consent (src/clients.json); not rendered at all while empty */
.clients { grid-column: 1 / -1; margin-top: 5rem; padding-top: 1.25rem; border-top: 1px solid #3a3a3f; }
.clients__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.clients__h { font-size: clamp(2rem, 3.6vw, 3.8rem); font-weight: 580; font-stretch: 108%; line-height: 1.02; letter-spacing: -.035em; }
.clients__p { max-width: 34ch; color: var(--mute-ink); }
.projects--clients { margin-top: 2.5rem; }

/* (05) PRICE: the page floods ultramarine */
.price { background: var(--blue); color: var(--paper); padding: 6rem 0 7rem; }
.price .label { border-color: rgba(239,235,227,.35); }
/* minmax(0, 1fr): the column must not take its width from the card's content (it pushed the page 6px wide at 360px) */
.stack { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.stack--price { grid-column: 1 / -1; margin-top: 3.5rem; }
.stack__card { grid-area: 1 / 1; transform-origin: 0% 50%; transition: transform .7s var(--ease), opacity .6s var(--ease); will-change: transform; }
.stack__card.is-leaving { transform: translateX(40%) rotate(8deg) !important; opacity: 0 !important; transition: transform .5s var(--ease), opacity .4s ease; }
.stack__next {
  position: absolute; right: 1.6rem; bottom: 1.6rem; z-index: 60; width: 45px; height: 45px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.stack__next::before { content: ""; width: 14px; height: 14px; border-top: 2px solid; border-right: 2px solid; transform: translateX(-25%) rotate(45deg); transition: transform .3s ease; }
.stack__next:hover::before { transform: translateX(-5%) rotate(45deg); }
.pcard {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end; min-height: 60vh; padding: 2.5rem 2.5rem 5.5rem;
  background: var(--paper); color: var(--ink); border-radius: 10px 80px 10px 10px; box-shadow: -1px 0 0 rgba(14,14,16,.08);
}
.pcard__main { display: flex; flex-direction: column; align-self: stretch; }
.pcard__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-paper); margin-bottom: auto; }
.pcard__title { font-weight: 700; font-stretch: 125%; font-size: var(--fs-100); line-height: .92; letter-spacing: -.05em; margin-top: 2rem; max-width: 9ch; }
.pcard__main:has(.pcard__title--wide) { container-type: inline-size; }
.pcard__title--wide { --w: 5.2; max-width: none; font-size: min(var(--fs-100), calc(100cqi / var(--w))); } /* --w: widest line in em, so it never leaves its column */
html[lang="fr"] .pcard__title--wide { --w: 6.85; }
.pcard__title--wide span { display: block; white-space: nowrap; }
.pcard__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding-bottom: .3rem; }
.pcard__side > p { max-width: 32rem; color: var(--mute-paper); }
.pcard__side .pcard__lead { font-size: var(--fs-32); font-weight: 580; font-stretch: 108%; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.pcard__list { display: flex; flex-direction: column; align-self: end; font-size: 1.1rem; width: 100%; }
.pcard__list li { display: flex; gap: .8rem; padding: .85rem 0; border-top: 1px solid #d8d2c6; }
.pcard__list li:last-child { border-bottom: 1px solid #d8d2c6; }
.pcard__list li::before { content: ""; flex: 0 0 .9rem; height: .9rem; margin-top: .3rem; border-radius: 50%; background: var(--blue); }

/* (06) WHO YOU DEAL WITH */
.who { padding: 6rem 0 4rem; }
.who .container { align-items: center; }
.t__heading { grid-column: 1 / 6; font-size: var(--fs-100); font-weight: 580; font-stretch: 108%; line-height: .98; letter-spacing: -.04em; }
.t__col { grid-column: 7 / 13; }
.tcard { min-height: 34rem; display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); color: var(--ink); border-radius: 0 80px 0 0; padding: 2rem 2rem 1.75rem; }
.tcard__mark { width: 3.25rem; height: 3.25rem; border-radius: .8rem; background: var(--blue); -webkit-mask: none; mask: none; position: relative; margin-bottom: 2rem; }
.tcard__mark::after { content: ""; position: absolute; inset: 20% 16%; background: var(--paper); -webkit-mask: url("../assets/brand/k-glyph.svg") center / contain no-repeat; mask: url("../assets/brand/k-glyph.svg") center / contain no-repeat; }
.tcard blockquote { font-size: var(--fs-32); font-weight: 580; font-stretch: 108%; line-height: 1.18; letter-spacing: -.02em; max-width: 24ch; }
.tcard__who { margin-top: auto; padding-top: 2rem; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-paper); }
.tcard .btn-line { margin-top: 1rem; }

/* (07) FAQ */
.faq { padding: 5rem 0 6rem; }
.faq__title { grid-column: 1 / -1; font-size: var(--fs-100); font-weight: 580; font-stretch: 108%; letter-spacing: -.04em; line-height: 1; margin-bottom: 1.5rem; }
.faq__list { grid-column: 1 / -1; }
.faq__item { border-bottom: 1px solid #2a2a2f; }
.faq__q { display: flex; align-items: flex-start; gap: 1rem; font-size: var(--fs-32); font-weight: 580; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.15; cursor: pointer; padding: 1rem 0; max-width: 46rem; }
.faq__q input { position: absolute; opacity: 0; pointer-events: none; }
.faq__icon { width: 1.05ch; flex-shrink: 0; padding-top: .15em; transition: transform .6s var(--ease); }
.faq__q:has(:checked) .faq__icon { transform: rotate(45deg); }
.faq__q:has(:focus-visible) { outline: 2px solid var(--paper); outline-offset: 4px; }
.faq__a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .3s ease; }
.faq__a > div { overflow: hidden; }
.faq__q:has(:checked) + .faq__a { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .6s var(--ease), opacity .3s ease .4s; }
.faq__a p { font-size: 1.15rem; line-height: 1.5; padding: 0 0 1.3rem calc(1rem + 1.05ch); max-width: 50rem; color: #cfcac0; }

/* (08) START: the marquee is its own band; photo and CTA card sit below it, side by side, never overlapping */
.reel { padding: 6rem 0 7rem; color: var(--paper); overflow: hidden; }
.reel__marquee { position: relative; overflow: hidden; pointer-events: none; margin-bottom: 3.5rem; }
.reel__body { align-items: center; row-gap: 2rem; }
.reel__media { grid-column: 1 / 8; position: relative; aspect-ratio: 812 / 511; border-radius: 15rem / 12rem; overflow: hidden; background: #111; }
.reel__media img { width: 100%; height: 114%; margin-top: -7%; object-fit: cover; }
.reel__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(14,14,16,.2), rgba(14,14,16,.7)); }
.reel__card { grid-column: 8 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2.25rem 2rem 2rem; background: var(--paper); color: var(--ink); border-radius: 0 60px 0 0; }
.reel__card .btn-solid { --btn-bg: var(--blue); --btn-fg: var(--paper); --btn-hover-bg: var(--ink); --btn-hover-fg: var(--paper); margin-top: .5rem; }
.reel__h { font-size: var(--fs-50); font-weight: 580; font-stretch: 108%; line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.reel__track { display: flex; align-items: center; width: max-content; font-size: clamp(3rem, 10vw, 10rem); font-weight: 700; font-stretch: 125%; line-height: 1; letter-spacing: -.05em; animation: marquee 26s linear infinite; }
.reel__track > span { padding-right: .22em; white-space: nowrap; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.mlogo { position: relative; width: .78em; height: .78em; margin-right: .22em; padding: 0 !important; border-radius: .17em; background: var(--blue); -webkit-mask: none; mask: none; }
.mlogo::after { content: ""; position: absolute; inset: 25% 15%; background: var(--paper); -webkit-mask: url("../assets/brand/k-glyph.svg") center / contain no-repeat; mask: url("../assets/brand/k-glyph.svg") center / contain no-repeat; }
.reel__note { max-width: 34ch; font-size: 1.1rem; line-height: 1.45; color: var(--mute-paper); }

/* FOOTER */
.footer { padding: 2.5rem 0 2rem; color: var(--paper); }
.footer__grid { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 2.25rem; column-gap: 2rem; }
.wordmark { grid-row: 1; grid-column: 1; display: block; width: min(23.5rem, 100%); height: 3.4rem; background: var(--paper); -webkit-mask: url("../assets/brand/kraama-ventures-editorial.svg") left center / contain no-repeat; mask: url("../assets/brand/kraama-ventures-editorial.svg") left center / contain no-repeat; }
.footer__email {
  position: relative; grid-row: 1; grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: .3em;
  font-size: var(--fs-100); font-weight: 580; font-stretch: 108%; line-height: 1.05;
  letter-spacing: -.04em; text-decoration: none; color: var(--paper);
  background: linear-gradient(var(--blue), var(--blue)) left 100% / 0 .08em no-repeat; transition: background-size .5s var(--ease);
}
.footer__email svg { width: .55em; transition: transform .3s var(--ease-out); }
.footer__email:hover { background-size: 100% .08em; }
.footer__email:hover svg { transform: translateX(.08em); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { display: inline-flex; align-items: baseline; gap: .3rem; font-size: 1rem; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__links svg { width: .65rem; transition: transform .25s ease-in-out; }
.footer__links a:hover svg { transform: translate(25%, -25%); }
.footer__place { justify-self: end; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); }
.footer__newsletter { justify-self: end; border: 2px solid var(--paper); font-size: 1rem; line-height: 1; padding: .8125rem 1.125rem; border-radius: 50px; text-decoration: none; transition: all .3s ease; }
.footer__newsletter:hover { background: var(--paper); color: var(--ink); }
.footer__sectors { display: flex; flex-wrap: wrap; align-items: center; }
.footer__sectors p { width: 100%; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-ink); margin-bottom: .7rem; }
.footer__sectors a { display: inline-block; font-size: .875rem; line-height: 1; padding: .5rem .75rem; margin: .3rem .6rem .3rem 0; border: 1px solid rgba(239,235,227,.3); border-radius: 50px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.footer__sectors a:hover { border-color: var(--paper); background: rgba(239,235,227,.1); }
.footer__copy { justify-self: end; font-size: 1.05rem; }

/* contact form (Netlify forms "contact" and "contact-fr"), under the CTA card */
.cform { grid-column: 1 / -1; position: relative; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(239,235,227,.2); }
.cform__h { font-size: var(--fs-32); font-weight: 580; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1.5rem; }
.cform__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
.cform__field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.cform__field--wide { grid-column: 1 / -1; }
.cform label { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: #cfcac0; }
.cform__opt { text-transform: none; letter-spacing: 0; color: var(--mute-ink); }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 1.1rem; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid rgba(239,235,227,.45); border-radius: 0; padding: .6rem 0; resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: #8f8a82; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: none; border-bottom-color: var(--paper); box-shadow: 0 1px 0 var(--paper); }
.cform__err { display: none; font-size: .9rem; color: #ffb4a8; }
.cform input:user-invalid { border-bottom-color: #ff8a78; }
.cform input:user-invalid + .cform__err { display: block; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__send { margin-top: 1.75rem; border: 0; cursor: pointer; }

/* ========================= DOC PAGES: legal, thanks, paid, 404 ========================= */
.doc { z-index: 2; padding: 8rem 0 5rem; }
.doc__card { grid-column: 2 / 12; background: var(--paper-hi); color: var(--ink); border-radius: 10px 80px 10px 10px; padding: 3rem 3.5rem 3.5rem; box-shadow: 0 1px 0 rgba(14,14,16,.06); }
.doc__h { font-size: var(--fs-100); font-weight: 700; font-stretch: 125%; line-height: .95; letter-spacing: -.045em; margin-bottom: 2.5rem; overflow-wrap: break-word; }
.doc__body { max-width: 46rem; font-size: 1.1rem; line-height: 1.6; }
.doc__body > * + * { margin-top: 1rem; }
.doc__body h2 { font-size: var(--fs-32); font-weight: 580; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.15; margin-top: 2.5rem; }
.doc__body h3 { font-size: 1.15rem; font-weight: 580; font-stretch: 108%; margin-top: 1.75rem; }
.doc__body a:not(.btn-solid) { color: var(--blue); text-underline-offset: 3px; }
.doc-lede { font-size: var(--fs-24); line-height: 1.4; }
.doc-date { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-paper); }
.doc__body .doc-date { margin-top: 2.5rem; }
.facts { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .75rem 2rem; margin: 0; padding: 1.25rem 0; border-block: 1px solid #d8d2c6; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-paper); padding-top: .3rem; }
.facts dd { margin: 0; }
.doc-list { display: grid; gap: .7rem; padding-left: 1.4rem; }
ol.doc-list { list-style: decimal; }
ul.doc-list { list-style: disc; }
.doc__body .doc-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.footer--solid { background: var(--ink); padding-top: 3.5rem; }

/* ========================= REDUCED MOTION ========================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reel__track { animation: none; }
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1024px) {
  .approach__items { gap: 3rem; }
  .approach__items > span:not(:first-child)::before { right: calc(100% + (3rem - 2.2rem) / 2); }
}
@media (max-width: 900px) {
  :root { --pad: 1.25rem; }
  html { font-size: 16px; }
  .container { column-gap: .75rem; }
  .header { padding: 1rem; }
  .nav__toggle { top: 1rem; right: 1rem; }
  .header__hire { margin-right: 4rem; padding: .8rem 1.1rem .85rem; }
  .tagline { display: none; }
  /* phones: the hero is as tall as its content (no empty band), with big type that wraps onto more lines */
  .hero { min-height: 0; justify-content: flex-start; padding: 6.25rem 0 2.5rem; }
  .hero__word { font-size: 16.5vw; line-height: .88; margin-top: .5rem; letter-spacing: -.05em; }
  .hero__line { white-space: normal; }
  .hero__line.l2, .hero__line.l3 { padding-left: 0; }
  html[lang="fr"] .hero__word { font-size: 14vw; }
  html[lang="fr"] .hero__line.l2, html[lang="fr"] .hero__line.l3 { padding-left: 0; }
  .hero__intro { position: static; margin-top: 1.75rem; max-width: 24ch; font-size: 1.3rem; line-height: 1.35; }
  .hero__facts { padding: 2.25rem var(--pad) 0; gap: .5rem 1.25rem; }
  .label { margin-bottom: 1.75rem; }
  .approach { padding: 3.5rem 0 1rem; }
  .approach__items { flex-direction: column; gap: 3rem; margin-top: 2.5rem; }
  .approach__items > span:not(:first-child)::before { right: auto; left: 50%; top: -1.75rem; transform: translate(-50%, -50%) rotate(90deg); }
  .approach__card { min-height: 0; }
  .services { padding: 3.5rem 0 1rem; }
  /* no sticky card stack on phones: the cards sit one under another, nothing faded behind them */
  .svc { padding-inline: .5rem; margin-top: 2rem; gap: 1.25rem; padding-bottom: 1.5rem; }
  .svc__panel { position: relative; top: auto; }
  .svc__card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; border-radius: 1.25rem; }
  /* the illustrations get a box tall enough for their content (the phone and the notes were cut off) */
  .svc__media { order: -1; max-height: none; aspect-ratio: 1 / .92; border-top-right-radius: 3rem; }
  .mini-phone { width: auto; height: 78%; padding: 14% 9% 9%; } .src { font-size: .7rem; }
  .art-noise { padding: 0 7%; gap: .45rem; } .note { padding: .55rem .8rem; font-size: .75rem; } .note b { font-size: .85rem; }
  .note.ok { margin-top: .3rem; }
  .fw { padding: 3.5rem 0 1.5rem; }
  .fw__heading { font-size: 2.1rem; }
  .fw__body { gap: .5rem; }
  .fw__nav { display: none; }
  .fw__slide { flex-direction: column; border-radius: 16px 60px 16px 16px; }
  .fw__viewport { border-radius: 16px 60px 16px 16px; }
  .fw__media, .fw__content { flex-basis: auto; max-width: 100%; }
  .fw__media { aspect-ratio: 4 / 3; }
  .fw__content { padding: 1.5rem; }
  .work__heading, .work__aside { grid-column: 1 / -1; grid-row: auto; }
  .work { padding: 3.5rem 0 2.5rem; }
  .work__aside { padding: 1.5rem 0 0; }
  .project { grid-column: 1 / -1; }
  .project--tpl .project__media { aspect-ratio: 4 / 3; }
  .projects { margin-top: 2rem; }
  .clients { margin-top: 3rem; }
  .projects--clients { margin-top: 1.5rem; }
  .price { padding: 3.5rem 0 3.5rem; }
  .stack--price { margin-top: 2rem; }
  .pcard { grid-template-columns: 1fr; gap: 2rem; min-height: 0; padding: 1.75rem 1.5rem 5.5rem; border-radius: 10px 50px 10px 10px; }
  .pcard__title--wide { font-size: min(6.5rem, calc(100cqi / var(--w))); } /* fills the card width on phones, capped on tablets */
  .stack__next { right: auto; left: 1.5rem; }
  .t__heading, .t__col { grid-column: 1 / -1; }
  .who { padding: 3.5rem 0 2.5rem; }
  .t__heading { margin-bottom: 2rem; }
  .faq { padding: 3rem 0 3rem; }
  .tcard { min-height: 0; border-radius: 0 50px 0 0; padding: 1.5rem; }
  .reel { padding: 3rem 0 3.5rem; }
  .reel__marquee { margin-bottom: 2.5rem; }
  .reel__media, .reel__card { grid-column: 1 / -1; }
  .reel__media { border-radius: 8rem / 6rem; }
  .reel__card { padding: 1.75rem 1.5rem 1.5rem; border-radius: 0 44px 0 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .wordmark, .footer__email { grid-row: auto; grid-column: 1; }
  .footer__email, .footer__place, .footer__newsletter, .footer__copy { justify-self: start; }
  .footer__email { font-size: 13vw; }
  .cform__grid { grid-template-columns: 1fr; }
  .doc { padding: 6rem 0 3rem; }
  .doc__card { grid-column: 1 / -1; padding: 1.75rem 1.4rem 2rem; border-radius: 10px 44px 10px 10px; }
  .doc__h { font-size: min(10vw, 3.4rem); margin-bottom: 1.75rem; hyphens: auto; } /* "Confidentialité" hyphenates instead of breaking anywhere */
  .facts { grid-template-columns: 1fr; gap: .2rem; }
  .facts dd { margin-bottom: .8rem; }
}
