/* ==========================================================================
   Julien Dollé - freelance website
   Tokens · base · components · sections
   ========================================================================== */

/* Self-hosted fonts (Geist, Instrument Serif - SIL OFL) */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/geist-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/geist-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --paper: #f4f3ee;
  --paper-2: #ebe9e1;
  --card: #fbfaf7;
  --ink: #0e0d16;
  --ink-2: #17151f;
  --ink-3: #221f2d;
  --text: #15141c;
  --muted: #45434f;
  --faint: #6b6978;
  --line: rgba(14, 13, 22, .1);
  --line-strong: rgba(14, 13, 22, .2);
  --line-dark: rgba(255, 255, 255, .1);

  --accent: #4a3aff;
  --accent-2: #6a5cff;
  --accent-soft: #e6e3ff;
  --lime: #c8f53c;
  --coral: #ff6b4a;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-label: "Instrument Serif", Georgia, serif;

  --container: 1480px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

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

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

/* --------------------------------------------------------------------------
   Eyebrows, titles
-------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-style: italic;
  font-size: 20px;
  line-height: 1.2;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, .95); }

.section { position: relative; padding-block: clamp(56px, 8vw, 96px); }

.section-head { max-width: none; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head--center { max-width: none; }
.section-head--split { max-width: none; }

.section-title {
  font-size: clamp(36px, 5.4vw, 68px);
}
.section-title .serif { color: var(--accent); }
.section-lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  max-width: none;
}
.section-head--split .section-lead, .section-head--center .section-lead, .pricing__head .section-lead { max-width: none; }

/* --------------------------------------------------------------------------
   Buttons
-------------------------------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 99px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.btn::before {
  /* liquid fill that rises from the cursor side */
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--hover-bg, var(--accent));
  transform: translateY(102%);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform .55s var(--ease), border-radius .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--hover-fg, #fff); transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.btn:hover svg { transform: translateX(3px); }
.btn > span, .btn > svg { position: relative; pointer-events: none; }

.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 60px; font-size: 16.5px; }
.btn--block { width: 100%; }

.btn--accent { --bg: var(--accent); --hover-bg: var(--ink); box-shadow: 0 10px 30px -10px rgba(74, 58, 255, .6); }
.btn--accent:hover { box-shadow: 0 16px 40px -12px rgba(14, 13, 22, .5); }
.btn--ink { --hover-bg: var(--accent); }
.btn--ghost {
  --bg: transparent; --fg: var(--text); --hover-bg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--lime { --bg: var(--lime); --fg: var(--ink); --hover-bg: #fff; --hover-fg: var(--ink); }

.link-underline {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
  padding-bottom: 2px;
  justify-self: end;
}
.link-underline:hover { background-size: 100% 1px; }
.link-underline svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Tags & badges
-------------------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(14, 13, 22, .05);
}
.tags--light li { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .95); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  font-family: var(--font-label);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  border: 1px solid var(--line-dark);
  color: #fff;
}
.badge--live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 245, 60, .6); animation: ping 2s infinite;
}
.badge--soon { color: var(--lime); border-color: rgba(200, 245, 60, .4); }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(200, 245, 60, .6); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(200, 245, 60, 0); }
}

/* --------------------------------------------------------------------------
   Scroll progress
-------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--lime));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* --------------------------------------------------------------------------
   Header
-------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 14px var(--gutter);
  transition: transform .6s var(--ease), padding .4s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
  height: 56px;
  padding: 0 8px 0 14px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.header.is-scrolled .header__inner {
  background: rgba(251, 250, 247, .72);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgba(14, 13, 22, .25);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: auto; height: 38px; transition: transform .6s var(--ease); filter: drop-shadow(0 0 8px rgba(255, 43, 214, .35)); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__name { display: flex; flex-direction: column; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; font-size: 16px; }
.brand__tag { font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.brand--light .brand__tag { color: rgba(255, 255, 255, .95); }

.nav { position: relative; margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative; z-index: 1;
  display: block;
  padding: 8px 15px; white-space: nowrap;
  border-radius: 99px;
  font-size: 15px;
  color: var(--muted);
  transition: color .3s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__pill {
  position: absolute; top: 0; left: 0; height: 100%;
  border-radius: 99px;
  background: rgba(14, 13, 22, .06);
  opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav.has-pill .nav__pill { opacity: 1; }

.header__cta { margin-left: 8px; }

.lang {
  --pad: 3px;
  position: relative;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  margin-left: 12px; padding: var(--pad);
  border-radius: 99px;
  background: rgba(14, 13, 22, .05);
  box-shadow: inset 0 0 0 1px var(--line);
  flex-shrink: 0;
  isolation: isolate;
}
/* sliding thumb */
.lang::before {
  content: "";
  position: absolute; z-index: -1;
  top: var(--pad); bottom: var(--pad); left: var(--pad);
  width: calc((100% - var(--pad) * 2) / 2);
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 14px -6px rgba(74, 58, 255, .7);
  transition: transform .45s var(--ease);
}
.lang[data-active="en"]::before { transform: translateX(100%); }
.lang__btn {
  min-width: 40px; padding: 6px 12px;
  background: none; border: 0;
  border-radius: 99px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted);
  transition: color .3s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active, .lang__btn.is-active:hover { color: #fff; }
.lang__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu-open .header .lang { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-dark); }
.menu-open .header .lang__btn:not(.is-active) { color: rgba(255, 255, 255, .95); }

.burger {
  display: none;
  position: relative;
  flex: none;
  width: 38px; height: 38px;
  margin-left: auto; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--ink);
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.8px; border-radius: 2px;
  background: #fff;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85;
  display: flex; align-items: center; justify-content: center;
  padding: 100px var(--gutter) 48px;
  background: var(--ink);
  color: #fff;
  clip-path: circle(0 at calc(100% - 40px) 42px);
  transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 42px); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { width: 100%; max-width: 420px; text-align: center; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: clamp(32px, 9vw, 48px); font-weight: 500; letter-spacing: -.03em;
  opacity: 0;
  transform: translateY(100%);
  /* closing: just fade out, then reset the slide once the overlay has shrunk */
  transition: opacity .25s, transform 0s .8s;
}
.mobile-menu.is-open a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .25s; color: var(--lime); }
.menu-open .header .brand { color: #fff; }
.menu-open .header .brand__tag { color: rgba(255, 255, 255, .95); }
.menu-open .header .burger { background: var(--lime); }
.menu-open .header .burger span { background: var(--ink); }
.menu-open .header .header__inner { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }

/* --------------------------------------------------------------------------
   Hero
-------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 640px;
  padding: calc(var(--header-h) + 20px) 0 64px;
  overflow: hidden;
}
.hero__inner { flex: 1; align-content: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 64px 64px; } }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob--a { width: 520px; height: 520px; top: -10%; right: 4%; background: #cfc9ff; animation: float-a 18s var(--ease-in-out) infinite alternate; }
.blob--b { width: 380px; height: 380px; bottom: -6%; right: 30%; background: #e5f9a6; opacity: .6; animation: float-b 22s var(--ease-in-out) infinite alternate; }
.blob--c { width: 300px; height: 300px; top: 30%; left: -6%; background: #ffd9cc; opacity: .45; animation: float-a 26s var(--ease-in-out) infinite alternate-reverse; }
@keyframes float-a { to { transform: translate(-60px, 80px) scale(1.1); } }
@keyframes float-b { to { transform: translate(80px, -60px) scale(.9); } }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.hero__title {
  font-size: clamp(46px, 5.7vw, 86px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .serif {
  position: relative;
  color: var(--accent);
  font-size: 1.08em;
  letter-spacing: -.02em;
  padding-right: .06em;
}
.hero__title .serif::after {
  /* hand-drawn underline */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.02em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 140 4, 297 10' fill='none' stroke='%23c8f53c' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
  clip-path: inset(0 100% 0 0);
  animation: underline 1s var(--ease) 1.3s forwards;
}
@keyframes underline { to { clip-path: inset(0 0 0 0); } }

.hero__lead {
  margin-top: 28px;
  max-width: 62ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
}

.hero__lead-rest { display: block; }

.rotator {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  max-width: 100%;
  height: 1.6em;
  overflow: hidden;
  color: var(--accent);
  font-weight: 500;
}
.rotator__track { display: block; transition: transform .7s var(--ease); }
.rotator__track span { display: block; height: 1.6em; line-height: 1.6em; white-space: nowrap; }
.rotator__track.no-anim { transition: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: auto; margin-bottom: 0;
  padding-block: 0 clamp(24px, 4vh, 44px);
  border-top: 0;
}
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px clamp(16px, 2.2vw, 36px) 0 0;
  border-top: 1px solid var(--line-strong);
}
  content: ""; position: absolute; top: -1px; left: 0;
  width: 44px; height: 3px; background: var(--accent);
}
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 600; letter-spacing: -.05em; line-height: .95;
}

/* Intro sequence ----------------------------------------------------------- */
.js [data-intro] { opacity: 0; transform: translateY(24px); }
.js .hero__title [data-intro] { opacity: 1; transform: translateY(105%); }
.js .hero__visual[data-intro] { transform: translateY(30px) scale(.97); }
.is-loaded [data-intro] {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 100ms);
}

/* Hero visual -------------------------------------------------------------- */
.hero__visual { position: relative; perspective: 1400px; }
.build {
  position: relative;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease);
}
.build__svg { width: 100%; height: auto; overflow: visible; }

.b-stroke { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.b-dot { fill: #e4e2ea; }
.b-dot--1 { fill: #ff6b4a; } .b-dot--2 { fill: #ffc53d; } .b-dot--3 { fill: #34c759; }
.b-url { fill: #f2f1f6; }
.b-url__text { font-family: var(--font-sans); font-size: 10px; fill: var(--faint); }

/* Every block first draws its outline, then fills in */
.b-el {
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
}
.is-loaded .b-el {
  animation: draw .9s var(--ease) forwards, fill-in .6s var(--ease) forwards, unstroke .6s ease forwards;
  animation-delay: calc(var(--d) + .6s), calc(var(--d) + 1.2s), calc(var(--d) + 1.5s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; } }
@keyframes unstroke { to { stroke-opacity: 0; } }

.b-fill-ink { fill: var(--ink); }
.b-fill-soft { fill: #dddbe6; }
.b-fill-line { fill: #fff; }
.b-fill-line { stroke: var(--line-strong); }
.is-loaded .b-fill-line { animation: draw .9s var(--ease) forwards; animation-delay: calc(var(--d) + .6s); }
.b-fill-accent { fill: url(#g-accent); }
.b-fill-accent-soft { fill: var(--accent-soft); }
.b-fill-lime { fill: #e8fbb0; }
.b-fill-coral { fill: #ffe0d8; }
.b-fill-sky { fill: url(#g-sky); }
.b-fill-card { fill: #f7f6fb; }

.b-img { opacity: 0; transform-box: fill-box; }
.is-loaded .b-img { animation: img-in 1s var(--ease) 2.2s forwards; }
@keyframes img-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.b-sun { transform-box: fill-box; transform-origin: center; animation: sun 6s ease-in-out infinite alternate; }
@keyframes sun { to { transform: translateY(8px) scale(1.12); } }

.b-card { transform-box: fill-box; transform-origin: center; }
.is-loaded .b-card { animation: card-bob 6s ease-in-out infinite; animation-delay: calc(var(--d) + 2.5s); }
@keyframes card-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }

.b-cta { transform-box: fill-box; transform-origin: center; }
.is-loaded .b-cta { animation: draw .9s var(--ease) forwards, fill-in .6s var(--ease) forwards, unstroke .6s ease forwards, press 6s var(--ease) 4s infinite; animation-delay: 1.5s, 2.1s, 2.4s, 4s; }
@keyframes press { 0%, 38%, 50%, 100% { transform: none; } 42% { transform: scale(.92); } }

/* Code editor */
.code { opacity: 0; transform: translateY(30px); transform-box: fill-box; }
.is-loaded .code { animation: pop-in 1s var(--ease) .9s forwards; }
@keyframes pop-in { to { opacity: 1; transform: none; } }
.code__file { font-family: var(--font-sans); font-size: 10px; fill: #8f8d99; }
.cl { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.is-loaded .cl { animation: type-line 8s var(--ease) infinite; animation-delay: calc(var(--i) * .35s + 1.4s); }
@keyframes type-line {
  0% { transform: scaleX(0); }
  8%, 78% { transform: scaleX(1); }
  86%, 100% { transform: scaleX(0); }
}
.code__caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Phone */
.phone { opacity: 0; transform: translateY(40px); }
.is-loaded .phone { animation: phone-in 1.2s var(--ease) 1.6s forwards, phone-float 7s ease-in-out 2.8s infinite; }
@keyframes phone-in { to { opacity: 1; transform: none; } }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Pointer clicks the CTA, on a loop */
.pointer { opacity: 0; }
.is-loaded .pointer { animation: pointer 6s var(--ease-in-out) 4s infinite; }
@keyframes pointer {
  0% { opacity: 0; transform: translate(300px, 330px); }
  10% { opacity: 1; }
  38% { transform: translate(134px, 229px); }
  42% { transform: translate(134px, 229px) scale(.85); }
  46% { transform: translate(134px, 229px); }
  70% { opacity: 1; transform: translate(134px, 229px); }
  85%, 100% { opacity: 0; transform: translate(220px, 300px); }
}
.click-ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-loaded .click-ring { animation: click-ring 6s ease-out 4s infinite; }
@keyframes click-ring {
  0%, 41% { opacity: 0; transform: scale(.4); }
  42% { opacity: .9; transform: scale(.4); }
  58% { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; }
}

/* Floating chips over the composition */
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 40px -20px rgba(20, 18, 58, .35), 0 0 0 1px var(--line);
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
}
.is-loaded .chip { animation: chip-in .9s var(--ease) both, chip-float 6s ease-in-out infinite; }
.chip--perf { top: -2%; right: -2%; animation-delay: 2.6s, 3.5s !important; }
.chip--seo { top: 14%; left: -4%; animation-delay: 2.9s, 3.8s !important; }
.chip--stack { bottom: -4%; right: 22%; animation-delay: 3.2s, 4.1s !important; }
@keyframes chip-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.gauge { width: 40px; height: 40px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 4; }
.gauge__track { stroke: #e7f8e9; }
.gauge__val { stroke: #22b04b; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-loaded .gauge__val { animation: gauge 1.6s var(--ease) 2.8s forwards; }
@keyframes gauge { to { stroke-dashoffset: 0; } }
.chip--perf { padding-right: 18px; }
.chip__num { position: absolute; left: 14px; width: 40px; text-align: center; font-size: 12px; font-weight: 700; color: #1a8a3c; }
.chip__lbl { color: var(--muted); }
.chip--seo svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip--stack img { width: 18px; height: 18px; margin-right: -4px; }
.chip--stack span { margin-left: 6px; }

/* --------------------------------------------------------------------------
   Spotlight (shared): radial glow following the cursor
-------------------------------------------------------------------------- */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(74, 58, 255, .1), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight]::after {
  /* glowing border that follows the cursor */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(74, 58, 255, .7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
[data-spotlight]:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   Why / bento
-------------------------------------------------------------------------- */
.why { background: linear-gradient(180deg, var(--paper), var(--paper-2)); border-top: 1px solid var(--line-strong); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "perf perf one"
    "own  refs local"
    "human human human";
  gap: 16px;
}
.bento__item--perf { grid-area: perf; }
.bento__item--one { grid-area: one; }
.bento__item--own { grid-area: own; }
.bento__item--refs { grid-area: refs; }
.bento__item--local { grid-area: local; }
.bento__item--human { grid-area: human; }

.bento__item {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.bento__item:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(20, 18, 58, .35); }
.bento__item h3 { font-size: 23px; margin-bottom: 8px; }
.bento__item p { color: var(--muted); font-size: 15.5px; max-width: 48ch; }

.perf-gauges { display: flex; gap: clamp(16px, 4vw, 48px); margin-bottom: auto; padding-bottom: 30px; }
.pg { position: relative; display: grid; justify-items: center; gap: 8px; }
.pg svg { width: clamp(76px, 9vw, 104px); height: auto; transform: rotate(-90deg); }
.pg circle { fill: none; stroke-width: 5; }
.pg__track { stroke: #e3f6e6; }
.pg__val { stroke: #22b04b; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.is-in .pg__val { stroke-dashoffset: calc(100 - var(--v)); }
.pg > span {
  position: absolute; top: 0; left: 0; right: 0;
  height: clamp(76px, 9vw, 104px);
  display: grid; place-items: center;
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; color: #1a8a3c; letter-spacing: -.03em;
}
.pg small { font-size: 13px; color: var(--muted); }

.avatar-stack { display: flex; align-items: center; margin-bottom: auto; padding-bottom: 30px; }
.avatar {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 600; font-size: 15px;
}
.avatar--me { background: var(--ink); color: var(--lime); }
.avatar--you { background: var(--accent-soft); color: var(--accent); }
.link-line { width: 80px; height: 20px; }
.link-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: .04 .04; stroke-linecap: round; animation: dash-flow 1.2s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -.08; } }
.bento__item--one:hover .avatar--me { animation: nudge-r .8s var(--ease); }
.bento__item--one:hover .avatar--you { animation: nudge-l .8s var(--ease); }
@keyframes nudge-r { 50% { transform: translateX(10px); } }
@keyframes nudge-l { 50% { transform: translateX(-10px); } }

.key { width: 84px; height: 84px; margin-bottom: auto; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.key * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.is-in .key * { stroke-dashoffset: 0; }
.is-in .key path { transition-delay: .4s; }
.bento__item--own:hover .key { transform: rotate(-20deg) translateX(6px); }

.bento__item--refs { background: var(--ink); color: #fff; border-color: var(--ink); }
.bento__item--refs p { color: rgba(255, 255, 255, .95); }
.refs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.refs li {
  padding: 7px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  font-size: 14px;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.refs li:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.bento__item--refs[data-spotlight]::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 245, 60, .7), transparent 60%); }

.pin-map { width: 100%; max-width: 220px; height: auto; margin-bottom: auto; overflow: visible; }
.coast { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.coast--2 { stroke: #b9b2ff; transition-delay: .2s; }
.is-in .coast { stroke-dashoffset: 0; }
.pin { fill: var(--coral); transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: translateY(-30px); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .8s, opacity .3s .8s; }
.pin circle { fill: #fff; }
.is-in .pin { opacity: 1; transform: none; }
.bento__item--local:hover .pin { animation: pin-bounce .8s var(--ease); }
@keyframes pin-bounce { 40% { transform: translateY(-10px); } }
.pin-pulse { fill: none; stroke: var(--coral); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* --------------------------------------------------------------------------
   Work (dark)
-------------------------------------------------------------------------- */
.work {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.work::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 0%, rgba(74, 58, 255, .35), transparent 70%),
    radial-gradient(500px 400px at 0% 60%, rgba(200, 245, 60, .08), transparent 70%);
}
.work .section-title .serif { color: var(--lime); }
.work .section-lead { color: rgba(255, 255, 255, .95); }

.projects { display: grid; gap: clamp(44px, 6vw, 80px); position: relative; }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.project--reverse .project__media { order: 2; }

.project__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease), box-shadow .6s var(--ease);
}
.project__media:hover { box-shadow: 0 50px 100px -40px rgba(74, 58, 255, .55); }
.project__browser {
  display: flex; align-items: center; gap: 14px;
  height: 36px; padding: 0 14px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-dark);
}
.project__dots { display: flex; gap: 6px; }
.project__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.project__media:hover .project__dots i:nth-child(1) { background: #ff6b4a; }
.project__media:hover .project__dots i:nth-child(2) { background: #ffc53d; }
.project__media:hover .project__dots i:nth-child(3) { background: #34c759; }
.project__dots i { transition: background-color .3s; }
.project__url {
  flex: 1; max-width: 260px; margin-inline: auto;
  padding: 3px 12px; border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  font-family: var(--font-sans); font-size: 11.5px; color: rgba(255, 255, 255, .95);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.project__media img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  transition: transform 1.2s var(--ease), clip-path 1.4s var(--ease);
}
.project__media:hover img { transform: scale(1.04); }
.js .project[data-reveal] .project__media img { clip-path: inset(0 0 100% 0); }
.js .project.is-in .project__media img { clip-path: inset(0 0 0 0); }

.project__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .95); margin-bottom: 18px; }
.project__title { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 18px; }
.project__info p { color: rgba(255, 255, 255, .95); margin-bottom: 22px; }
.project__info .btn { margin-top: 6px; }
.project__info .tags + .btn { margin-top: 28px; }

.project__media--soon {
  display: grid; place-items: center;
  aspect-ratio: 16 / 10.6;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px),
    var(--ink-2);
}
.soon-svg { width: 82%; height: auto; }
.soon-frame { fill: none; stroke: rgba(200, 245, 60, .5); stroke-width: 1.5; stroke-dasharray: .015 .01; animation: dash-flow-2 20s linear infinite; }
@keyframes dash-flow-2 { to { stroke-dashoffset: -1; } }
.soon-el { fill: rgba(255, 255, 255, .06); animation: skeleton 2.4s ease-in-out infinite; }
.soon-el:nth-child(3) { animation-delay: .15s; } .soon-el:nth-child(4) { animation-delay: .3s; }
.soon-el:nth-child(6) { animation-delay: .45s; } .soon-el:nth-child(7) { animation-delay: .6s; }
.soon-el:nth-child(8) { animation-delay: .75s; } .soon-el:nth-child(9) { animation-delay: .9s; }
.soon-el--acc { fill: rgba(200, 245, 60, .35); }
@keyframes skeleton { 50% { fill-opacity: .4; } }
.soon-label {
  position: absolute; bottom: 18px; left: 50%; translate: -50% 0;
  padding: 6px 14px; border-radius: 99px;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-label); font-style: italic; font-size: 16px; letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   Contact (dark)
-------------------------------------------------------------------------- */
.contact {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.contact__bg::before {
  content: ""; position: absolute; width: 640px; height: 640px; top: -200px; left: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 58, 255, .32), transparent 68%);
  animation: contact-drift 22s ease-in-out infinite alternate;
}
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%);
  mask-image: linear-gradient(to bottom, transparent, #000 60%);
  animation: contact-dots 14s linear infinite;
}
@keyframes contact-drift { to { transform: translate(55vw, 160px) scale(1.2); } }
@keyframes contact-dots { to { background-position: 28px 28px; } }

.contact__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.contact__title { margin-top: 20px; font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -.045em; line-height: 1; }
.contact__title .serif { display: block; margin-top: .15em; color: var(--lime); }
.contact__lead { font-size: 18px; color: rgba(255, 255, 255, .95); max-width: none; }
.contact__links { grid-column: 1 / -1; margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact__links a {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-height: 220px; padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 60%);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .95);
  transition: color .3s, border-color .3s, background-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.contact__links a::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 245, 60, .22), transparent);
  opacity: 0; transition: opacity .5s var(--ease);
}
.contact__links a::after {
  content: "\2197"; position: absolute; top: 24px; right: 24px;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-dark);
  font-size: 17px; color: rgba(255, 255, 255, .95);
  transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease);
}
.contact__links a:hover { color: #fff; border-color: rgba(200, 245, 60, .45); transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.contact__links a:hover::before { opacity: 1; }
.contact__links a:hover::after { background: var(--lime); border-color: var(--lime); color: var(--ink); transform: rotate(45deg); }
.contact__links svg {
  width: 52px; height: 52px; padding: 13px; border-radius: 16px; margin-bottom: auto; flex: none;
  background: rgba(200, 245, 60, .12); color: var(--lime);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.contact__label { display: block; margin: 36px 0 6px; font-family: var(--font-label); font-style: italic; font-size: 17px; letter-spacing: 0; color: rgba(255, 255, 255, .95); }
.contact__value { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Footer
-------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #fff; padding: 20px 0 30px; position: relative; overflow: hidden; }
.footer__grid { border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.footer__title { font-family: var(--font-label); font-style: italic; font-size: 17px; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .95); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:not(.brand) {
  color: rgba(255, 255, 255, .95); font-size: 15px;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 1px no-repeat;
  transition: color .3s, background-size .45s var(--ease);
}
.footer__col a:not(.brand):hover { color: var(--lime); background-size: 100% 1px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; gap: 14px 28px;
  padding-top: 28px; border-top: 1px solid var(--line-dark);
  font-size: 14px; color: rgba(255, 255, 255, .95);
}
.footer__bottom a:hover { color: #fff; }
.to-top {
  margin-left: 0;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  transition: background-color .4s var(--ease), color .4s, transform .5s var(--ease);
}
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: var(--lime); color: var(--ink); transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Scroll reveal
-------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .section-title[data-reveal], .js .contact__title[data-reveal] { filter: blur(12px); transform: translateY(30px) scale(.98); transform-origin: 0 100%; transition-property: opacity, transform, filter; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .service-card[data-reveal].is-in:hover { transform: translateY(-6px); transition-delay: 0s; }
.js .bento__item[data-reveal].is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* --------------------------------------------------------------------------
   Responsive
-------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__link { padding: 8px 11px; }
  .brand__tag { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav, .header__cta { display: none; }
  .lang { margin-left: auto; }
  .burger { display: block; }

  .hero { height: auto; min-height: 100svh; padding: calc(var(--header-h) + 30px) 0 120px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; margin-top: 32px; }

  .link-underline { justify-self: start; }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "vit vit" "app app" "wp lp" "mt rf";
  }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "perf perf" "one own" "refs local" "human human"; }

  .offer { grid-template-columns: 1fr; min-height: 0; }
  .offer__visual { padding: 76px 24px 20px; }
  .offer__visual svg { max-width: 260px; }

  .project, .project--reverse { grid-template-columns: 1fr; }
  .project--reverse .project__media { order: 0; }


  .faq__inner, .contact__inner { grid-template-columns: 1fr; }
  .contact__links { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .offer__body { padding: 24px 20px 28px; }
  .offers__btn { width: 44px; height: 44px; }
  body { font-size: 16px; }
  .header { padding: 10px 12px; }
  .header__inner { padding: 0 6px 0 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title { font-size: clamp(38px, 11.5vw, 56px); }
  .hero__title .word { white-space: normal; }
  .hero__title .serif { display: inline-block; white-space: nowrap; }
  .chip { font-size: 12px; padding: 8px 11px; }
  .chip--perf { padding-right: 14px; }
  .chip__num { left: 11px; top: 50%; margin-top: -.6em; line-height: 1.2; }
  .chip--seo { left: 0; top: 10%; }
  .chip--stack { right: 4%; bottom: -8%; }
  .chip--perf { top: -8%; right: 0; }

  .services__grid { grid-template-columns: 1fr; grid-template-areas: "vit" "app" "wp" "lp" "mt" "rf"; }
  .service-card { padding: 24px; }
  .service-card--wide { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .service-card--wide .service-card__body { flex: 1 1 auto; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "perf" "one" "own" "refs" "local" "human"; }
  .bento__item { min-height: 0; padding: 24px; }
  .perf-gauges { gap: 14px; }

  .pricing__switch button { padding: 10px 20px; }

  .faq__content p, .faq__steps { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Reduced motion
-------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .rotator__track { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* --------------------------------------------------------------------------
   Legal notice pages
-------------------------------------------------------------------------- */
.legal { max-width: 780px; margin: 0 auto; padding: calc(var(--header-h, 80px) + 70px) var(--gutter) 90px; }
.legal__title { margin-top: 14px; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.045em; line-height: 1; }
.legal__title .serif { color: var(--accent); }
.legal__block { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal__block h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 14px; }
.legal__block p, .legal__block li, .legal__block dd { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.legal__block p + p { margin-top: 12px; }
.legal__block ul { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.legal__block strong { color: var(--text); font-weight: 600; }
.legal__list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.legal__list dt { font-weight: 500; color: var(--text); }
.legal__email { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { padding: 10px 0; }
.legal-footer .footer__bottom { border-top: 0; padding: 26px 0; }
.legal-footer a { color: rgba(255, 255, 255, .95); }
.legal-footer a:hover { color: var(--lime); }
@media (max-width: 640px) { .legal__list { grid-template-columns: 1fr; gap: 2px; } .legal__list dd { margin-bottom: 10px; } }

/* --------------------------------------------------------------------------
   Presentation
-------------------------------------------------------------------------- */
.about { background: linear-gradient(180deg, var(--paper), var(--paper-2)); border-top: 1px solid var(--line-strong); }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust .bento__item { min-height: 340px; grid-area: auto; }
.trust .bento__item p { max-width: none; }
.cap { width: 96px; height: 84px; margin-bottom: auto; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.cap * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.is-in .cap * { stroke-dashoffset: 0; }
.is-in .cap path + path { transition-delay: .3s; }
.bento__item--train:hover .cap { transform: translateY(-6px) rotate(-4deg); }

/* --------------------------------------------------------------------------
   Pricing
-------------------------------------------------------------------------- */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.vitrine, .wpcard, .hosting { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); }
.vitrine { background: var(--card); border: 1px solid var(--line); }
.vitrine__name, .wpcard h3, .hosting__title { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; }
.vitrine__sub, .wpcard__sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.tiers { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tier { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.tier__label { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.tier__price { font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; }
.tier__meta { font-size: 14px; color: var(--muted); }
.check-list { margin-top: 22px; display: grid; gap: 9px; font-size: 16px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.vitrine__note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-strong); font-size: 14.5px; color: var(--muted); }

.wpcard { background: var(--accent-soft); }
.wpcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wpcard__price { font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -.04em; color: var(--accent); white-space: nowrap; }
.wpcard__intro { margin-top: 22px; font-weight: 500; }
.wpcard .check-list { margin-top: 14px; }

.hosting { margin-top: 16px; background: var(--ink); color: #fff; }
.hosting__lead { margin-top: 10px; color: rgba(255, 255, 255, .95); max-width: none; }
.hosting__opts { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hopt { padding: 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.hopt--main { border-color: rgba(200, 245, 60, .5); }
.hopt__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hopt h4 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.hopt__price { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--lime); white-space: nowrap; }
.hopt__price small { font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, .95); letter-spacing: 0; }
.hopt .check-list { margin-top: 16px; font-size: 15.5px; color: rgba(255, 255, 255, .95); }
.hopt .check-list li::before { border-color: var(--lime); }
.pricing__fine { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* Contact: centered layout with a wide email bar */
.contact { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line-dark); }
.contact__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 20px; }
.contact__copy { display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(44px, 7vw, 96px); }
.contact__lead { max-width: 52ch; margin: 0; }
.contact__links { width: 100%; max-width: 680px; margin-top: 20px; grid-template-columns: 1fr; }
.contact__links a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 20px; min-height: 0; padding: 22px 80px 22px 24px; text-align: left; }
.contact__links a::after { top: 50%; margin-top: -19px; }
.contact__links svg { margin: 0; grid-row: 1 / span 2; align-self: center; }
.contact__label { margin: 0 0 2px; align-self: end; }
.contact__links a > span { display: block; }
.contact__value { font-size: clamp(18px, 2.2vw, 24px); }

.mobile-menu.is-open li:last-child a { color: var(--lime); }

/* Intro → presentation: the second block slides over the hero as a rounded sheet */
.about { background: #14183f; color: #fff; border-top: 0; border-radius: 44px 44px 0 0; margin-top: -44px; z-index: 2; }
.about .eyebrow { color: rgba(255, 255, 255, .95); }
.about .section-title .serif { color: var(--lime); }
.about .section-lead { color: rgba(255, 255, 255, .95); }
.about .section-lead strong { color: #fff; }
.about .link-underline { color: var(--lime); }
.about .bento__item { color: var(--text); }

@media (max-width: 980px) {
  .trust, .offer-grid { grid-template-columns: 1fr; }
  .about { border-radius: 28px 28px 0 0; margin-top: -28px; }
}
@media (max-width: 640px) {
  .tiers, .hosting__opts { grid-template-columns: 1fr; }
  .contact__links a { padding: 20px 64px 20px 18px; column-gap: 14px; }
}

.wpcard__note { margin-top: 22px; padding-top: 16px; border-top: 1px dashed rgba(74, 58, 255, .3); font-size: 14.5px; color: var(--muted); }

@media (max-width: 380px) {
  .brand__name { display: none; }
}

@media (max-width: 980px) {
  .trust .bento__item { min-height: 0; }
  .trust .cap, .trust .key { margin-bottom: 36px; }
  .trust .avatar-stack { padding-bottom: 0; margin-bottom: 36px; }
}

.trust .bento__item h3 { margin-bottom: 16px; }
