/* ==========================================================================
   Coconect Design · Studio Canvas style system
   ========================================================================== */
:root {
  --color-studio-canvas: #eeeeee;
  --color-paper-white: #ffffff;
  --color-charcoal-ink: #222222;
  --color-graphite: #333333;
  --color-soft-ash: #555555;
  --color-absolute-black: #000000;
  --gradient-absolute-black: linear-gradient(180deg, #000000 0%, #eeeeee 100%);

  --font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-inter-tight: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --shadow-md: rgba(0, 0, 0, 0.1) 0px 2px 15px 0px;

  --pad: clamp(16px, 2.4vw, 32px);
  /* Vertical rhythm: every section uses these two steps, nothing else.
     --sp   half the gap between two sections on the same background (two of them meet: 112px mobile → ~190px desktop)
     --sp-x spacing against a background change or a page edge (dark blocks, footer, hero bottoms) */
  --sp: clamp(56px, 6.5vw, 96px);
  --sp-x: clamp(80px, 9.5vw, 140px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--color-studio-canvas);
  color: var(--color-charcoal-ink);
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* `clip`, not `hidden`: hidden would turn <body> into its own scroll box and break every sticky element */
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: #222; color: #fff; }
:focus-visible { outline: 2px solid #222; outline-offset: 3px; border-radius: 4px; }
[data-theme="dark"] :focus-visible { outline-color: #fff; }
.r4 { border-radius: var(--radius-md); }
.r8 { border-radius: var(--radius-lg); }

/* Type ------------------------------------------------------------------- */
.h-section {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 14em;
}
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word-mask > span { display: inline-block; will-change: transform; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-inter); font-weight: 600; font-size: 16px; line-height: 22.4px; letter-spacing: -0.64px;
  padding: 12px 24px; border-radius: var(--radius-lg);
  text-decoration: none; border: 0; cursor: pointer;
  transition: box-shadow .35s var(--ease-out), background-color .35s, color .35s;
  will-change: transform;
}
.btn--filled { background: var(--color-charcoal-ink); color: var(--color-paper-white); }
.btn--filled:hover, .btn--arrow:hover, .btn--inverse:hover { box-shadow: var(--shadow-md); }
.btn--arrow { background: var(--color-charcoal-ink); color: var(--color-paper-white); border-radius: var(--radius-md); padding: 12px 20px 12px 24px; }
.btn--arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease-out); }
.btn--arrow:hover svg, .work__more:hover .btn--arrow svg { transform: translateX(4px); }
.btn--inverse { background: var(--color-paper-white); color: var(--color-graphite); border: 1px solid var(--color-charcoal-ink); }
.btn--big { padding: 16px 28px; }

.textlink {
  font-weight: 500; color: #000; text-decoration: none; padding: 0; border-radius: 0;
  background: linear-gradient(#000, #000) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.textlink:hover { background-size: 0% 1px; background-position: 100% 100%; }
.ulink {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.ulink:hover { background-size: 100% 1px; }

/* Loader ----------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--color-charcoal-ink); color: var(--color-paper-white);
}
.loader__inner { display: grid; justify-items: center; gap: 28px; }
.loader__word {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .24em; font-weight: 600; font-size: clamp(40px, 7.4vw, 104px);
  line-height: 1; letter-spacing: -0.05em;
}
.loader__mask { display: inline-block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.loader__part { display: inline-block; }
.loader__part--light { color: #8a8a8a; }
.loader__bar { width: min(220px, 50vw); height: 1px; background: #444; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.loader__meta { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: #9a9a9a; }

/* Header ----------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 20px var(--pad) 16px;
  transition: transform .6s var(--ease-out), background-color .4s, color .4s;
}
.header.is-scrolled { background: rgba(238, 238, 238, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header.is-hidden { transform: translateY(-110%); }
.header.is-dark { color: #fff; }
.header.is-dark.is-scrolled { background: rgba(10, 10, 10, .55); }
.header.is-dark .btn--filled { background: #fff; color: #222; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px; margin-right: auto;
  font-family: var(--font-inter-tight); font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark__light { opacity: .5; }
.wordmark__mark {
  width: 14px; height: 14px; border-radius: 4px; background: currentColor;
  transition: transform .7s var(--ease-out);
}
.wordmark:hover .wordmark__mark { transform: rotate(135deg); }
.nav { display: flex; gap: 24px; }
.nav a {
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; line-height: 21px;
  text-decoration: none; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { margin-left: 8px; }
.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-out);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--color-charcoal-ink); color: #fff;
  padding: 110px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu__nav a {
  display: block; font-weight: 600; font-size: clamp(40px, 11vw, 64px); line-height: 1.1; letter-spacing: -0.04em;
  text-decoration: none;
}
.menu__foot { display: grid; gap: 0; }
.menu__foot a, .menu__foot p { font-size: 16px; line-height: 1.66; color: #f7f7f7; text-decoration: none; }
.menu__h { font-weight: 700; color: #fff !important; }

/* Hero ------------------------------------------------------------------- */
/* Text column + collage form one group, centred on screens wider than the group.
   --tw text column, --cw collage width, --hg gap between them, --gl group's left edge. */
.hero {
  position: relative; height: 100svh; min-height: 680px; overflow: hidden;
  --tw: min(42vw, 510px);
  --hg: clamp(24px, 3vw, 56px);
  /* never wider than the room left beside the text, so small laptops and landscape tablets keep the whole collage on screen */
  --cw: min(54vw, calc((100svh - 170px) * 10 / 9), calc(100vw - var(--tw) - var(--hg) - var(--pad) * 2));
  --gl: max(var(--pad), calc((100vw - var(--tw) - var(--hg) - var(--cw)) / 2));
}
/* The collage is a fixed-ratio box: tile layout scales as one piece and never drifts into the text column */
.hero__collage {
  position: absolute; left: calc(var(--gl) + var(--tw) + var(--hg)); top: calc(50% + 34px); transform: translateY(-50%);
  width: var(--cw); aspect-ratio: 10 / 9;
}
/* Wide, short screens: a wider collage arrangement so the picture fills the width instead of leaving a hole */
@media (min-width: 901px) and (min-aspect-ratio: 17 / 10) {
  .hero { --cw: min(60vw, calc((100svh - 150px) * 3 / 2), calc(100vw - var(--tw) - var(--hg) - var(--pad) * 2)); }
  .hero__collage { aspect-ratio: 3 / 2; }
  .hero .tile { left: var(--wx); top: var(--wy); width: var(--ww); }
}
.tile {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--ar); z-index: var(--z);
  will-change: transform;
}
.tile__float, .tile__clip { width: 100%; height: 100%; }
.tile__clip { overflow: hidden; container-type: size; background: #ddd; }
.hero__content {
  position: absolute; left: var(--gl); top: 0; bottom: 0; z-index: 10; width: var(--tw);
  display: flex; flex-direction: column; justify-content: center; padding-top: 68px;
}
.hero__kicker { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; line-height: 21px; color: var(--color-soft-ash); margin-bottom: 20px; }
.hero__title {
  font-weight: 600; font-size: clamp(46px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.04em;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: block; will-change: transform; }
.hero__aside { margin-top: 36px; width: min(380px, 100%); }
.hero__lead { color: var(--color-graphite); line-height: 1.5; }
.hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }

/* Portfolio mockups (the colour lives here, never in the UI) ------------- */
.mk {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg, #111); color: var(--fg);
  padding: 5cqw;
}
.mk img { width: 100%; height: 100%; object-fit: cover; }
.mk__nav {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 4cqw;
  font-family: var(--font-inter); font-weight: 500; font-size: 3.2cqw; line-height: 1; white-space: nowrap;
}
.mk__nav b { font-family: var(--ff); font-weight: 700; font-size: 4.4cqw; margin-right: auto; letter-spacing: -0.01em; }
.mk__title {
  position: relative; z-index: 1;
  font-family: var(--ff); font-weight: 700; font-size: 11cqw; line-height: .95; letter-spacing: -0.02em;
  margin-top: 8cqw;
}
.mk__title--heavy { font-weight: 800; letter-spacing: -0.05em; }
.mk__title--caps { text-transform: uppercase; font-weight: 800; font-size: 14cqw; }
.mk__btn {
  align-self: flex-start; margin-top: 5cqw;
  background: var(--ac); color: var(--bg); padding: 2.2cqw 4cqw; border-radius: 1cqw;
  font-family: var(--font-inter); font-weight: 600; font-size: 3.2cqw; white-space: nowrap;
}
.mk__btn--inv { background: #fff; color: var(--bg); }
.mk__img { overflow: hidden; border-radius: 1.2cqw; }
.mk-a .mk__img { flex: 1; margin-top: 6cqw; min-height: 0; }
.mk-b .mk__split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin-top: 6cqw; }
.mk-b .mk__split > div:first-child { display: flex; flex-direction: column; }
.mk-b .mk__title { font-size: 8.5cqw; margin-top: 0; }
.mk-c { padding: 5cqw; }
.mk-c .mk__img { position: absolute; inset: 0; border-radius: 0; }
.mk-c .mk__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%); }
.mk-c .mk__title { margin-top: auto; font-size: 12cqw; font-weight: 400; }
.mk-c .mk__title--caps { font-weight: 800; }
.mk-d .mk__title { font-size: 12cqw; }
.mk-d .mk__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 6cqw; }

/* Manifesto -------------------------------------------------------------- */
.manifesto { padding: var(--sp-x) var(--pad) var(--sp); }
.manifesto__text {
  font-weight: 600; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.15; letter-spacing: -0.04em;
  max-width: 19em;
}
.manifesto__text .w { display: inline; }
.inline-img {
  display: inline-block; width: 1.9em; height: .8em; vertical-align: -0.04em;
  margin: 0 .1em; border-radius: var(--radius-md); overflow: hidden;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__foot {
  margin-top: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.manifesto__foot p { max-width: 420px; color: var(--color-graphite); }

/* Services --------------------------------------------------------------- */
.services { position: relative; padding: var(--sp) var(--pad) var(--sp-x); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.services__intro { max-width: 340px; color: var(--color-graphite); }
.svc-list { margin-top: 64px; }
.svc { position: relative; }
.svc__link {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 220px;
  align-items: center; gap: 32px; padding: 36px 0; text-decoration: none;
  transition: opacity .5s var(--ease-out);
}
.svc__line, .svc-end .svc__line {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-charcoal-ink);
  transform-origin: left;
}
.svc-end { position: relative; height: 1px; }
.svc__name {
  font-weight: 600; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em;
  /* hover shift uses `translate`, GSAP reveals use `transform`: they never fight */
  transition: translate .7s var(--ease-out);
}
.svc__desc { color: var(--color-graphite); max-width: 420px; }
.svc__tags { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); text-align: right; }
.svc__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .svc-list:hover .svc__link { opacity: .3; }
  .svc-list .svc__link:hover { opacity: 1; }
  .svc__link:hover .svc__name { translate: 20px 0; }
}

/* Method (peak) ---------------------------------------------------------- */
.method { position: relative; }
.method__panel { background: var(--color-absolute-black); color: var(--color-paper-white); }
.method__stage {
  height: 100svh; min-height: 640px;
  display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px);
  align-items: center; padding: 100px calc(var(--pad) * 2) 48px;
}
.method__title { max-width: 9em; }
.steps { margin-top: 40px; }
.step {
  display: grid; grid-template-rows: auto 0fr; padding: 12px 0;
  border-top: 1px solid #2a2a2a; opacity: .62;
  transition: opacity .5s, grid-template-rows .6s var(--ease-out);
}
.step.is-active { opacity: 1; grid-template-rows: auto 1fr; }
.step__name {
  justify-self: start; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left;
  font: 700 16px/1.66 var(--font-inter);
}
.step:not(.is-active):hover { opacity: .85; }
.step__txt { overflow: hidden; min-height: 0; color: #bdbdbd; font-size: 15px; line-height: 1.5; }
.steps__progress { height: 2px; background: #2a2a2a; margin-top: 4px; }
.steps__progress span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }

.build { width: 100%; display: grid; justify-items: center; }
.build__browser {
  width: min(100%, calc((100svh - 220px) * 1.6)); aspect-ratio: 16 / 10;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; color: #222;
  will-change: transform; position: relative;
}

/* Play overlay: the build only runs when the visitor asks for it */
.build__play {
  display: none; position: absolute; left: 0; right: 0; top: 36px; bottom: 0; z-index: 3;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; color: var(--color-charcoal-ink);
  transition: opacity .5s var(--ease-out), visibility .5s;
}
.motion .build__play { display: flex; }
.build__play.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.build__play-icon {
  position: relative; display: grid; place-items: center; width: 84px; height: 84px;
  border-radius: var(--radius-lg); background: var(--color-charcoal-ink);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.build__play-icon::after { content: ""; margin-left: 6px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.build__play-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); border: 1px solid var(--color-charcoal-ink);
  animation: playRing 2.4s var(--ease-out) infinite;
}
@keyframes playRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.45); opacity: 0; } }
.build__play:hover .build__play-icon { transform: scale(1.06); box-shadow: var(--shadow-md); }
.build__play-label { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; }

.build__ctrl { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.build__toggle {
  display: none; place-items: center; width: 32px; height: 32px; padding: 0; cursor: pointer;
  border: 1px solid #555; border-radius: var(--radius-md); background: transparent; color: #fff;
  transition: background-color .3s, border-color .3s;
}
.motion .build__toggle { display: inline-grid; }
.build__toggle:hover { background: #fff; border-color: #fff; color: #222; }
.build__toggle-icon { position: relative; display: block; width: 12px; height: 12px; }
/* default: play triangle */
.build__toggle-icon::before { content: ""; position: absolute; left: 2px; top: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
/* playing: pause bars */
.build__toggle.is-playing .build__toggle-icon::before,
.build__toggle.is-playing .build__toggle-icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 12px; border: 0; background: currentColor; }
.build__toggle.is-playing .build__toggle-icon::before { left: 1px; }
.build__toggle.is-playing .build__toggle-icon::after { left: 7px; }
/* finished: replay arrow */
.build__toggle.is-done .build__toggle-icon::before {
  left: 0; top: 0; width: 12px; height: 12px; box-sizing: border-box; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
}
.build__toggle.is-done .build__toggle-icon::after {
  content: ""; position: absolute; left: 7px; top: -2px; border-left: 5px solid currentColor; border-top: 3px solid transparent; border-bottom: 3px solid transparent; transform: rotate(-30deg);
}
.build__bar {
  flex: none; height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: #f3f3f3; border-bottom: 1px solid #e3e3e3;
}
.build__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d3d3; }
.build__url {
  margin-left: 14px; flex: 1; max-width: 320px; height: 22px; border-radius: 4px; background: #fff;
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 12px; color: #555;
}
.build__url-txt { display: inline-block; }
.build__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 11px; color: #fff; background: #222;
  padding: 4px 8px; border-radius: 4px;
}
.build__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.build__caption { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: #9a9a9a; height: 21px; overflow: hidden; }
.build__phase { display: inline-block; }

.site {
  --m-bg: #F3E6D0; --m-fg: #3A1F12; --m-ac: #CF4A22; --m-soft: #6B4A38;
  position: relative; flex: 1; container-type: size; overflow: hidden;
  background: var(--m-bg); color: var(--m-fg);
}
.site__grid {
  position: absolute; inset: 0 4%; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.6%;
}
.site__grid span { background: rgba(34, 34, 34, .05); transform-origin: top; transform: scaleY(0); }
.b { position: absolute; }
.b--logo { left: 4%; top: 5%; width: 22%; height: 6%; }
.b--menu { left: 44%; top: 5%; width: 32%; height: 6%; }
.b--cta  { left: 82%; top: 4%; width: 14%; height: 8%; }
/* every block ends inside the frame (bottom row stops at 96%) */
.b--h1   { left: 4%; top: 18%; width: 46%; height: 22%; }
.b--p    { left: 4%; top: 43%; width: 38%; height: 11%; }
.b--btn  { left: 4%; top: 57%; width: 17%; height: 8%; }
.b--hero { left: 52%; top: 17%; width: 44%; height: 48%; }
.b--c1   { left: 4%; top: 70%; width: 29.3%; height: 26%; }
.b--c2   { left: 35.3%; top: 70%; width: 29.3%; height: 26%; }
.b--c3   { left: 66.7%; top: 70%; width: 29.3%; height: 26%; }
.b__wire { position: absolute; inset: 0; border: 1px dashed #9a9a9a; border-radius: 4px; opacity: 0; }
.b__sk { position: absolute; inset: 0; background: #e7e7e7; border-radius: 4px; opacity: 0; }
.b__ct { position: absolute; inset: 0; display: flex; align-items: center; }
.site__logo { white-space: nowrap; font-family: 'Fraunces', serif; font-weight: 700; font-size: 2.8cqw; letter-spacing: -0.01em; }
.site__menu { gap: 3.2cqw; font-size: 1.6cqw; font-weight: 500; justify-content: flex-end; }
.site__cta { justify-content: center; background: var(--m-ac); color: #fff; border-radius: .6cqw; font-size: 1.5cqw; font-weight: 600; }
.site__h1 { align-items: flex-start; font-family: 'Fraunces', serif; font-weight: 700; font-size: 4.9cqw; line-height: .98; letter-spacing: -0.02em; }
.site__p { align-items: flex-start; font-size: 1.6cqw; line-height: 1.45; color: var(--m-soft); }
.site__btn { justify-content: center; background: var(--m-fg); color: var(--m-bg); border-radius: .6cqw; font-size: 1.5cqw; font-weight: 600; }
.site__img { overflow: hidden; border-radius: .8cqw; }
.site__img img, .site__card img { width: 100%; height: 100%; object-fit: cover; }
.site__card { flex-direction: column; align-items: stretch; }
.site__card img { flex: 1; min-height: 0; border-radius: .8cqw; }
.site__card span { flex: none; font-size: 1.6cqw; font-weight: 600; padding-top: .8cqw; }

.fade-band { height: 34vh; margin-top: -2px; position: relative; background: var(--gradient-absolute-black); }

/* Audience --------------------------------------------------------------- */
.audience { padding: var(--sp) 0; overflow: hidden; }
.audience__head {
  padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.audience__head p { max-width: 340px; color: var(--color-graphite); }
.marquee { margin-top: 56px; white-space: nowrap; }
.marquee + .marquee { margin-top: 12px; }
.marquee__track {
  display: inline-flex; align-items: center;
  font-weight: 600; font-size: clamp(56px, 9vw, 128px); line-height: 1; letter-spacing: -0.05em;
  will-change: transform; padding-bottom: .08em;
}
/* spacing lives on each item (not `gap`) so a duplicated track loops without a jump */
.marquee__track > * { flex: none; margin-right: clamp(16px, 2vw, 32px); }
.marquee--ghost .marquee__track { color: #858585; }
.mq-img { flex: none; width: 1.5em; height: .74em; border-radius: var(--radius-md); overflow: hidden; }
.mq-img img { width: 100%; height: 100%; object-fit: cover; }

/* Work ------------------------------------------------------------------- */
.work { position: relative; padding: var(--sp) 0; }
.work__head {
  padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.work__intro { max-width: 520px; }
.work__intro p { margin-top: 24px; max-width: 380px; color: var(--color-graphite); }
/* Without motion the rail is a normal horizontal scroller; with motion it loops by itself */
.work__rail { margin-top: 56px; padding-left: var(--pad); overflow-x: auto; scrollbar-width: none; }
.work__rail::-webkit-scrollbar { display: none; }
.motion .work__rail { overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.work__rail.is-drag, .work__rail.is-drag .wcard { cursor: grabbing; }
.work__rail img { -webkit-user-drag: none; }
/* no padding on the track itself: its width must be exactly twice one set of cards */
.work__track { display: flex; align-items: flex-start; width: max-content; will-change: transform; }
.wcard { flex: none; width: var(--w); margin-top: calc(var(--off) * .7); margin-right: 3vw; cursor: grab; }
.wcard__media { position: relative; overflow: hidden; container-type: size; height: var(--h); background: #ddd; }
.wcard__media img { transition: transform 1s var(--ease-out); }
.wcard:hover .wcard__media img { transform: scale(1.05); }
.wcard__media .mk { padding: 4cqw; }
.wcard__title { margin-top: 16px; font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: -0.64px; }
.wcard__meta { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }
.work__more { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; text-decoration: none; }
.work__more-txt { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; }

/* Studio ----------------------------------------------------------------- */
.studio { padding: var(--sp) var(--pad) var(--sp-x); }
.studio__body { max-width: 720px; }
/* Tablets and up: title across, promise and button on the left, the three values beside them */
@media (min-width: 700px) {
  .studio__body {
    max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "title title" "lead values" "btn values";
    gap: 0 clamp(32px, 5vw, 96px); align-items: start;
  }
  .studio__body .h-section { grid-area: title; }
  .studio__lead { grid-area: lead; }
  .studio__body .values { grid-area: values; margin: 24px 0 0; }
  .studio__body > .btn { grid-area: btn; justify-self: start; margin-top: 32px; }
}
.studio__lead { margin-top: 24px; max-width: 600px; font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; color: var(--color-graphite); }
.values { margin: 40px 0; }
.value { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; }
.value__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #222; transform-origin: left; }
.value strong { font-weight: 700; letter-spacing: -0.64px; }
.value span:last-child { color: var(--color-graphite); }

/* CTA -------------------------------------------------------------------- */
.cta { background: var(--color-charcoal-ink); color: #fff; padding: var(--sp-x) var(--pad) var(--sp); overflow: hidden; }
.cta__title { font-weight: 600; font-size: clamp(46px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.04em; max-width: 10em; }
.cta__grid { margin-top: 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta__lead { max-width: 420px; color: #bdbdbd; }
.cta__contacts {
  margin-top: var(--sp); padding-top: 24px; border-top: 1px solid #3a3a3a;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.cta__contacts span { display: block; font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: #8f8f8f; margin-bottom: 8px; }
.cta__contacts a, .cta__contacts p { font-weight: 600; font-size: clamp(19px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.03em; color: #fff; word-break: break-word; }

/* Footer ----------------------------------------------------------------- */
.footer { padding: var(--sp-x) var(--pad) 20px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__col a, .footer__col span { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; line-height: 21px; text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__col--intro p { max-width: 300px; color: var(--color-graphite); }
.footer__h { font-weight: 700; font-size: 16px; line-height: 1.66; margin-bottom: 4px; }
.footer__giant {
  margin: var(--sp) 0 16px; display: flex; justify-content: space-between;
  font-weight: 700; font-size: 19.6vw; line-height: .78; letter-spacing: -0.06em; white-space: nowrap;
  overflow: hidden; padding-bottom: .04em;
}
.footer__giant span { display: inline-block; }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; border-top: 1px solid #d4d4d4;
  font-size: 13px; line-height: 1.66; letter-spacing: -0.11px; color: var(--color-soft-ash);
}
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: #222; }
.footer__top { margin-left: auto; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .svc__link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc__tags { display: none; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }

  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding: calc(64px + var(--sp)) var(--pad) 32px; }
  .hero__content { position: relative; left: auto; top: auto; bottom: auto; width: auto; display: block; padding-top: 0; order: 1; }
  .hero__collage { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; width: auto; aspect-ratio: auto; order: 2; height: 112vw; max-height: 720px; margin: 36px calc(var(--pad) * -1) 0; }
  .tile { left: var(--mx); top: var(--my); width: var(--mw); }
  .hero__aside { width: 100%; margin-top: 28px; }


  .svc__link { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .svc__thumb { display: block; margin-top: 8px; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; }
  .svc__thumb img { width: 100%; height: 100%; object-fit: cover; }

  .method__stage { grid-template-columns: 1fr; align-content: center; gap: 24px; padding: 88px var(--pad) 28px; }
  .method__title { font-size: 30px; max-width: 12em; }
  .steps { margin-top: 16px; }
  .step { padding: 8px 0; }
  .step__txt { font-size: 14px; }
  .build__browser { width: 100%; }
  .build__bar { height: 28px; }
  .build__url { font-size: 11px; height: 18px; margin-left: 8px; }
  .build__caption { font-size: 13px; }
  .build__ctrl { margin-top: 10px; justify-content: flex-start; }
  .build__play { top: 28px; gap: 10px; }
  .build__play-icon { width: 56px; height: 56px; }
  .build__play-icon::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; margin-left: 4px; }
  .build__play-label { font-size: 13px; }
  .fade-band { height: 24vh; }

  .work__rail { margin-top: 36px; }
  .wcard { width: 68vw; margin-top: 0; margin-right: 14px; }
  .wcard__media { height: auto; aspect-ratio: 4 / 5; }

  .studio__lead { font-size: 17px; }
  .value { grid-template-columns: 1fr; gap: 4px; }
  .cta__contacts { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 16px; }
  .footer__col a, .footer__col span { overflow-wrap: anywhere; }
  .footer__col--intro { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .hero__title, .phero__title { font-size: clamp(40px, 11.6vw, 60px); }
  .marquee__track { font-size: 15vw; }
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */

/* Extra mockup parts ----------------------------------------------------- */
.mk__p { position: relative; z-index: 1; font-family: var(--font-inter); font-size: 3cqw; line-height: 1.4; margin-top: 3cqw; opacity: .8; }
.mk__split--hero .mk__title { font-size: 7.4cqw; }
.mk-a .mk__split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin-top: 6cqw; }
.mk-a .mk__split > div:first-child { display: flex; flex-direction: column; }
.mk-a .mk__split .mk__title { margin-top: 0; }
.mk-a .mk__split .mk__img { margin-top: 0; }

.mk-dash .mk__title { font-size: 10cqw; margin-top: 7cqw; }
.dash { margin-top: auto; font-family: var(--font-inter); font-size: 3.4cqw; font-weight: 500; position: relative; z-index: 1; }
.dash li { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 0; border-top: 1px solid rgba(239, 255, 214, .18); }
.dash i { position: relative; flex: none; width: 4.4cqw; height: 4.4cqw; border-radius: 1cqw; background: var(--ac); }
.dash i::after {
  content: ""; position: absolute; left: 34%; top: 16%; width: 28%; height: 52%;
  border: solid var(--bg); border-width: 0 .7cqw .7cqw 0; transform: rotate(45deg);
}
.dash span { margin-left: auto; opacity: .7; }

.mk-shop .mk__title { font-size: 8cqw; font-weight: 400; margin-top: 6cqw; }
.shop { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin-top: 5cqw; }
.shop__item { display: flex; flex-direction: column; min-height: 0; }
.shop__item .mk__img { flex: 1; min-height: 0; }
.shop__item span { font-family: var(--ff); font-size: 3.8cqw; margin-top: 2cqw; }
.shop__item em {
  align-self: flex-start; margin-top: 1.5cqw; font-style: normal;
  font-family: var(--font-inter); font-weight: 600; font-size: 2.3cqw;
  background: var(--ac); color: #fff; padding: 1.2cqw 2.4cqw; border-radius: .8cqw;
}

/* Hero ------------------------------------------------------------------- */
.phero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); align-items: center; gap: 32px;
  padding: calc(64px + var(--sp)) var(--pad) var(--sp);
}
.phero__text { position: relative; z-index: 2; }
.phero__title { font-weight: 600; font-size: clamp(46px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.phero__lead { margin-top: 32px; max-width: 440px; color: var(--color-graphite); }
.phero__index { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.phero__index a {
  display: inline-block; padding: 8px 14px; border: 1px solid var(--color-charcoal-ink); border-radius: var(--radius-md);
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; line-height: 21px; text-decoration: none;
  transition: background-color .35s, color .35s;
}
.phero__index a:hover { background: var(--color-charcoal-ink); color: #fff; }
.phero__deck { position: relative; height: min(72svh, 680px); }
.deck__card { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 4 / 5; will-change: transform; }
.deck__float, .deck__clip { width: 100%; height: 100%; }
.deck__clip { position: relative; overflow: hidden; container-type: size; background: #ddd; }
.deck__label {
  position: absolute; left: 4cqw; bottom: 4cqw; z-index: 3;
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 13px; line-height: 1;
  background: var(--color-charcoal-ink); color: #fff; padding: 7px 10px; border-radius: var(--radius-md);
}

/* Detail (sticky frame + blocks) ----------------------------------------- */
.detail {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px);
  align-items: start; padding: 0 var(--pad);
}
.detail__visual {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.frame {
  width: min(100%, calc((100svh - 200px) * 4 / 3)); aspect-ratio: 4 / 3;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; will-change: transform;
}
.frame__bar {
  flex: none; height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: #f3f3f3; border-bottom: 1px solid #e3e3e3;
}
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d3d3; }
.frame__url {
  margin-left: 14px; flex: 1; max-width: 320px; height: 22px; border-radius: 4px; background: #fff; overflow: hidden;
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 12px; color: #555;
}
.frame__url-txt, .frame__name { display: inline-block; }
.frame__screens { position: relative; flex: 1; }
.screen { position: absolute; inset: 0; overflow: hidden; container-type: size; background: #fff; }
.screen > * { width: 100%; height: 100%; }
.screen .mk { padding: 4cqw 4.5cqw; }
/* The frame is landscape: scale the mockup typography down from the portrait tiles */
.screen .mk__nav { font-size: 2.1cqw; gap: 3cqw; }
.screen .mk__nav b { font-size: 3cqw; }
.screen .mk__p { font-size: 2.1cqw; }
.screen .mk__btn { font-size: 2cqw; padding: 1.5cqw 2.8cqw; margin-top: 3.5cqw; }
.screen .mk-b .mk__title { font-size: 7cqw; }
.screen .mk-b .mk__split, .screen .mk-a .mk__split { margin-top: 4.5cqw; }
.screen .mk__split--hero .mk__title { font-size: 6.4cqw; }
.screen .mk-dash .mk__title { font-size: 6.6cqw; margin-top: 4cqw; }
.screen .dash { font-size: 2.2cqw; }
.screen .dash li { padding: 1.7cqw 0; gap: 2cqw; }
.screen .dash i { width: 3cqw; height: 3cqw; border-radius: .7cqw; }
.screen .dash i::after { border-width: 0 .5cqw .5cqw 0; }
.screen .mk-shop .mk__title { font-size: 6cqw; margin-top: 4cqw; }
.screen .shop { margin-top: 4cqw; }
.screen .shop__item span { font-size: 2.7cqw; }
.screen .shop__item em { font-size: 1.7cqw; padding: 1cqw 2cqw; }
.frame__caption { margin-top: 16px; height: 21px; overflow: hidden; font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }

/* Before / after */
.ba { position: relative; }
.ba__old {
  position: absolute; inset: 0; padding: 4cqw; text-align: center;
  background: #d4d0c8; color: #000; font-family: "Times New Roman", Times, serif;
}
.old__title { font-size: 4.6cqw; font-weight: 700; color: #800000; }
.old__links { margin-top: 2cqw; font-size: 2.6cqw; color: #0000ee; }
.old__body {
  display: flex; gap: 3cqw; margin-top: 4cqw; padding: 3cqw; text-align: left;
  background: #fff; border: 2px outset #eee;
}
.old__body img { width: 34%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.5) contrast(.85); }
.old__body p { font-size: 2.6cqw; line-height: 1.3; }
.old__body u { color: #0000ee; }
.old__foot { margin-top: 3cqw; font-size: 2cqw; font-style: italic; color: #444; }
.ba__new { position: absolute; inset: 0; }
.ba__rail { position: absolute; inset: 0; pointer-events: none; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ba__handle b {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 12px; line-height: 1; white-space: nowrap;
  background: var(--color-charcoal-ink); color: #fff; padding: 6px 9px; border-radius: var(--radius-md);
}
.ba__handle b:first-child { right: 10px; }
.ba__handle b:last-child { left: 10px; }

.detail__list { padding-bottom: 8vh; }
.sv { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px 0; }
.sv__name { font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.sv__lead { margin-top: 20px; max-width: 480px; font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; color: var(--color-graphite); }
.sv__h { margin-top: 40px; font-weight: 700; font-size: 16px; line-height: 1.66; }
.sv__list { margin-top: 8px; width: 100%; max-width: 520px; }
.sv__list li { position: relative; padding: 12px 0; }
.sv__list li:last-child { box-shadow: inset 0 -1px 0 rgba(34, 34, 34, .18); }
.sv__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-charcoal-ink); transform-origin: left; opacity: .5; }
.sv__item { display: block; }
.sv__for { margin-top: 24px; max-width: 480px; color: var(--color-graphite); }
.sv__for strong { color: var(--color-charcoal-ink); margin-right: 4px; }
.sv .btn { margin-top: 28px; }

/* Included --------------------------------------------------------------- */
.fade-band--down { background: linear-gradient(180deg, #eeeeee 0%, #222222 100%); margin-top: 0; }
.incl { background: var(--color-charcoal-ink); color: #fff; padding: 40px var(--pad) var(--sp-x); }
.incl__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.incl__intro { max-width: 360px; color: #bdbdbd; }
.incl__grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 16px; }
.incl__item { border-top: 1px solid #3a3a3a; padding: 24px 24px 0 0; }
.incl__icon { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.incl__item h3 { margin-top: 20px; font-weight: 700; font-size: 16px; line-height: 1.66; }
.incl__item p { color: #f7f7f7; opacity: .72; line-height: 1.66; }

/* FAQ -------------------------------------------------------------------- */
.faq {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 64px; align-items: start;
  padding: var(--sp-x) var(--pad);
}
.faq__head p { margin-top: 24px; color: var(--color-graphite); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -0.03em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-charcoal-ink); transform-origin: left; }
.qa-end { position: relative; height: 1px; }
.qa__i { position: relative; flex: none; width: 18px; height: 18px; transition: transform .6s var(--ease-out); }
.qa__i::before, .qa__i::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor;
  transition: transform .6s var(--ease-out);
}
.qa__i::after { transform: rotate(90deg); }
.qa:not(.is-open) summary:hover .qa__i { transform: rotate(90deg); }
.qa.is-open .qa__i::after, .qa[open] .qa__i::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: 28px; max-width: 600px; color: var(--color-graphite); }

@media (max-width: 900px) {
  .phero { display: flex; flex-direction: column; align-items: stretch; }
  .phero__deck { height: 74vw; max-height: 560px; margin-top: 8px; }
  .deck__card { width: 46%; }
  .deck__label { font-size: 11px; padding: 5px 7px; }

  .detail { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .detail__visual {
    top: 0; height: auto; z-index: 5; margin: 0 calc(var(--pad) * -1);
    padding: 14px var(--pad) 12px; background: var(--color-studio-canvas);
  }
  .frame { width: 100%; aspect-ratio: 16 / 10; }
  .frame__bar { height: 28px; }
  .frame__url { font-size: 11px; height: 18px; margin-left: 8px; }
  .frame__caption { display: none; }
  .sv { min-height: 0; padding: 56px 0; }
  .sv__lead { font-size: 17px; }

  .incl__grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .incl__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.ahero { position: relative; min-height: 100svh; overflow: hidden; padding: calc(64px + var(--sp)) var(--pad) var(--sp); }
.ahero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.ahero__title { font-weight: 600; font-size: clamp(46px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.ahero__lead { max-width: 360px; color: var(--color-graphite); }
.strip { margin-top: 56px; height: 62vh; min-height: 380px; display: flex; gap: 16px; align-items: flex-start; }
.strip__panel { flex: var(--f); min-width: 0; height: calc(100% - var(--o)); margin-top: var(--o); display: flex; flex-direction: column; will-change: transform; }
.strip__mask { flex: 1; min-height: 0; overflow: hidden; border-radius: var(--radius-lg); }
.strip__mask img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.strip__panel figcaption { margin-top: 12px; font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }

.story { padding: var(--sp) var(--pad); }
.story__body { max-width: 760px; }
/* Tablets and up: the story on the left, the key facts beside it */
@media (min-width: 700px) {
  .story__body {
    max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 clamp(32px, 5vw, 96px); align-items: start;
  }
  .story__body .h-section { grid-column: 1 / -1; }
  .story__body .facts { margin-top: 24px; }
}
.story__text p { margin-top: 24px; max-width: 560px; font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; color: var(--color-graphite); }
.facts { margin: 56px 0 0; max-width: 640px; }
.fact { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; }
.fact:last-child { box-shadow: inset 0 -1px 0 rgba(34, 34, 34, .2); }
.fact__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-charcoal-ink); transform-origin: left; }
.fact dt { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }
.fact dd { margin: 0; font-weight: 500; }

.vals { position: relative; overflow-x: clip; }
.vals__stage {
  min-height: 100svh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px;
  align-items: center; padding: var(--sp) var(--pad);
}
.vals__intro { margin-top: 24px; max-width: 360px; color: var(--color-graphite); }
.vals__progress { margin-top: 40px; width: 220px; height: 2px; background: #d2d2d2; }
.vals__progress span { display: block; height: 100%; background: var(--color-charcoal-ink); transform: scaleX(0); transform-origin: left; }
.vals__stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vcard {
  display: flex; flex-direction: column; min-height: 340px; padding: 32px;
  background: var(--color-paper-white); border: 1px solid #e2e2e2; border-radius: var(--radius-xl);
}
.vcard__img { width: 42%; aspect-ratio: 4 / 3; overflow: hidden; margin-left: auto; }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; }
.vcard__word { margin-top: auto; padding-top: 24px; font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.vcard__txt { margin-top: 16px; max-width: 420px; font-size: 17px; line-height: 1.5; color: var(--color-graphite); }
.motion .vals__stage { height: 100svh; }
.motion .vals__stack { position: relative; display: block; height: min(66svh, 560px); cursor: pointer; }
.motion .vcard { position: absolute; left: 50%; top: 50%; width: min(540px, 100%); height: 100%; will-change: transform; }

.where {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center;
  padding: var(--sp) var(--pad) var(--sp-x);
}
.where__lead { margin: 24px 0 32px; max-width: 440px; color: var(--color-graphite); }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map__arcs path { fill: none; stroke: var(--color-charcoal-ink); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.map__city circle { fill: var(--color-charcoal-ink); }
.map__city text { font-family: var(--font-inter-tight); font-weight: 500; font-size: 13px; fill: var(--color-soft-ash); }
.map__dot { fill: var(--color-charcoal-ink); }
.map__origin text { font-family: var(--font-inter); font-weight: 700; font-size: 16px; letter-spacing: -0.03em; fill: var(--color-charcoal-ink); }
.map__pulse { fill: none; stroke: var(--color-charcoal-ink); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease-out) infinite; }
.map__pulse--2 { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }

@media (max-width: 900px) {
  .strip { height: 92vw; min-height: 0; gap: 8px; margin-top: 40px; }
  .strip__panel figcaption { font-size: 13px; }
  .story__text p { font-size: 17px; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .vals__stage { grid-template-columns: 1fr; gap: 28px; padding: var(--sp) var(--pad); align-content: center; }
  .motion .vals__stage { height: auto; min-height: 0; }
  .vals__progress { margin-top: 20px; }
  .vals__stack { grid-template-columns: 1fr; }
  .motion .vals__stack { height: min(52svh, 440px); }
  .vcard { padding: 22px; min-height: 280px; overflow: hidden; }
  .vcard__img { width: 34%; }
  .vcard__word { font-size: 44px; }
  .vcard__txt { font-size: 15px; }
  .where { grid-template-columns: 1fr; gap: 40px; }
  .map { width: 100%; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .map__city text { font-size: 22px; }
  .map__origin text { font-size: 26px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .map__city text { font-size: 17px; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.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; }

.chero {
  min-height: 74svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px;
  align-items: end; padding: calc(64px + var(--sp)) var(--pad) var(--sp);
}
.chero__title { font-weight: 600; font-size: clamp(46px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.chero__lead { max-width: 400px; color: var(--color-graphite); margin-bottom: 32px; }
.clist li {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 0;
}
.clist li:last-child { box-shadow: inset 0 -1px 0 rgba(34, 34, 34, .2); }
.clist__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-charcoal-ink); transform-origin: left; }
.clist__label, .clist__meta { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }
.clist__value { font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.03em; text-decoration: none; overflow-wrap: break-word; }
.copy {
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 13px; line-height: 1; cursor: pointer;
  padding: 7px 10px; border: 1px solid var(--color-charcoal-ink); border-radius: var(--radius-md);
  background: transparent; color: var(--color-charcoal-ink); transition: background-color .3s, color .3s;
}
.copy:hover, .copy.is-done { background: var(--color-charcoal-ink); color: #fff; }
.copy--inv { border-color: #fff; color: #fff; }
.copy--inv:hover, .copy--inv.is-done { background: #fff; color: #222; }

.cform { padding: var(--sp) var(--pad); }
.cform__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cform__intro { max-width: 340px; color: var(--color-graphite); }
.cform__form, .cform__done { max-width: 1180px; margin-top: 56px; }
.sentence {
  font-weight: 600; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.45; letter-spacing: -0.035em; color: var(--color-charcoal-ink);
}
.fp { white-space: nowrap; }
.field { position: relative; display: inline-block; vertical-align: baseline; margin: 0 0 0 .06em; }
.field input, .field select {
  font: inherit; letter-spacing: inherit; color: inherit; line-height: 1.15;
  background: transparent; border: 0; border-radius: 0; padding: 0 .04em .02em; margin: 0;
  border-bottom: 2px dashed rgba(34, 34, 34, .35); outline: none; min-width: 3ch; max-width: 100%;
}
.field input::placeholder { color: #6b6b6b; font-weight: 500; opacity: 1; }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-charcoal-ink);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.field:focus-within::after, .field.is-filled::after { transform: scaleX(1); }
.field.is-invalid input { border-bottom: 3px solid var(--color-charcoal-ink); }
.field.is-invalid input::placeholder { color: #3d3d3d; }
.field--select select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: .9em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .1em center / .45em auto;
}
.field input:focus-visible, .field select:focus-visible { outline: none; }

.cform__more { margin-top: 56px; display: grid; gap: 12px; max-width: 760px; }
.cform__label { font-weight: 700; font-size: 16px; line-height: 1.66; }
.cform__label span { font-weight: 400; color: var(--color-soft-ash); }
.cform__more textarea {
  width: 100%; min-height: 160px; resize: vertical; padding: 18px 20px;
  font: 400 17px/1.5 var(--font-inter); color: var(--color-charcoal-ink);
  background: var(--color-paper-white); border: 1px solid #dcdcdc; border-radius: var(--radius-lg);
  transition: border-color .3s;
}
.cform__more textarea:focus { outline: none; border-color: var(--color-charcoal-ink); }
.consent { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; max-width: 760px; cursor: pointer; color: var(--color-graphite); font-size: 15px; line-height: 1.5; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1.5px solid var(--color-charcoal-ink); border-radius: var(--radius-md); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: background-color .25s;
}
.consent input::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg) scale(0); transition: transform .3s var(--ease-out); }
.consent input:checked { background: var(--color-charcoal-ink); }
.consent input:checked::after { transform: translateY(-1px) rotate(45deg) scale(1); }
.consent.is-invalid input { border-width: 2.5px; }
.cform__errors { margin-top: 20px; max-width: 760px; }
.cform__errors:empty { display: none; }
.cform__errors ul { padding: 16px 20px; border: 1px solid var(--color-charcoal-ink); border-radius: var(--radius-lg); background: var(--color-paper-white); }
.cform__errors li { font-size: 15px; line-height: 1.6; }
.cform__errors li::before { content: "· "; font-weight: 700; }
.cform__actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cform__note { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }
.cform__done:focus { outline: none; }
.cform__done-title { font-weight: 600; font-size: clamp(46px, 6.2vw, 80px); line-height: 1; letter-spacing: -0.04em; }
.cform__done-text { margin: 24px 0 28px; max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--color-graphite); }
.cform__again { background-color: transparent; border: 0; cursor: pointer; font: 500 16px var(--font-inter); }

.next { position: relative; padding: var(--sp) var(--pad) var(--sp-x); }
.timeline { position: relative; z-index: 1; margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.timeline__track { position: absolute; left: var(--pad); right: var(--pad); height: 1px; background: #cfcfcf; top: var(--track-top, 0); }
.timeline__track span { display: block; height: 100%; background: var(--color-charcoal-ink); transform: scaleX(0); transform-origin: left; }
.tstep__dot {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--color-charcoal-ink); background: var(--color-studio-canvas);
  transition: background-color .4s, transform .6s var(--ease-out);
}
.tstep.is-on .tstep__dot { background: var(--color-charcoal-ink); transform: scale(1.15); }
.tstep__name { margin-top: 28px; font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.04em; }
.tstep p { margin-top: 12px; max-width: 340px; color: var(--color-graphite); }

.direct { background: var(--color-charcoal-ink); color: #fff; padding: var(--sp-x) var(--pad) var(--sp); overflow: hidden; }
.direct__kicker { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: #a8a8a8; }
.direct__mail {
  display: block; margin-top: 24px; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 6.4vw; line-height: 1; letter-spacing: -0.05em; color: #fff;
}
.direct__mail span { display: inline-block; padding-bottom: .06em; background: linear-gradient(#fff, #fff) 0 100% / 0% 2px no-repeat; transition: background-size .7s var(--ease-out); }
.direct__mail:hover span { background-size: 100% 2px; }
.direct__row {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #3a3a3a;
  display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap;
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: #a8a8a8;
}
.direct__row a { font-family: var(--font-inter); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; color: #fff; }

@media (max-width: 900px) {
  .chero { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .clist li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .clist__label { grid-column: 1 / -1; }
  .cform__form, .cform__done { margin-top: 40px; }
  .sentence { font-size: clamp(24px, 7vw, 34px); line-height: 1.55; }
  .timeline { grid-template-columns: 1fr; gap: 40px; padding-left: 36px; }
  .timeline__track { display: none; }
  .tstep { position: relative; }
  .tstep__dot { position: absolute; left: -36px; top: 4px; }
  .tstep__name { margin-top: 0; }
  .timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: #cfcfcf; }
  .direct__mail { font-size: 6.8vw; letter-spacing: -0.04em; }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.lhero { padding: calc(64px + var(--sp)) var(--pad) var(--sp); }
.lhero__title { font-weight: 600; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.04em; }
.lhero__meta { margin-top: 20px; font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }
.lhero__intro { margin-top: 24px; max-width: 640px; font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; color: var(--color-graphite); }

.legal {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 100px);
  align-items: start; padding: 0 var(--pad) var(--sp-x);
}
.legal__toc { position: sticky; top: 100px; }
.legal__toc-title { font-weight: 700; font-size: 16px; line-height: 1.66; margin-bottom: 8px; }
.legal__toc a {
  position: relative; display: block; padding: 6px 0 6px 14px; text-decoration: none;
  font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--color-soft-ash);
  transition: color .3s;
}
.legal__toc a::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--color-charcoal-ink);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out);
}
.legal__toc a:hover, .legal__toc a.is-active { color: var(--color-charcoal-ink); }
.legal__toc a.is-active::before { transform: scaleY(1); }
.legal__body { max-width: 780px; }
.lsec { position: relative; padding: 40px 0 44px; scroll-margin-top: 90px; }
.lsec__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--color-charcoal-ink); transform-origin: left; }
.lsec h2 { font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.04em; }
.lsec p, .lsec li { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--color-graphite); }
.lsec ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; }
.lsec li { margin-top: 8px; }
.lsec strong { color: var(--color-charcoal-ink); }
.ldl { margin: 20px 0 0; }
.ldl > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid #d6d6d6; }
.ldl > div:last-child { border-bottom: 1px solid #d6d6d6; }
.ldl dt { font-family: var(--font-inter-tight); font-weight: 500; font-size: 15px; color: var(--color-soft-ash); }
.ldl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.todo {
  display: inline; padding: 1px 6px; border: 1px dashed var(--color-charcoal-ink); border-radius: var(--radius-md);
  background: var(--color-paper-white); font-family: var(--font-inter-tight); font-weight: 500; font-size: .92em; color: var(--color-charcoal-ink);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.todo::before { content: "À compléter : "; font-weight: 700; }

@media (max-width: 900px) {
  .lhero__intro { font-size: 17px; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: relative; top: auto; }
  .legal__toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .legal__toc a { padding: 6px 10px; border: 1px solid #cfcfcf; border-radius: var(--radius-md); }
  .legal__toc a::before { display: none; }
  .ldl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Portrait tablets: the phone layout, but using the extra width -------- */
@media (min-width: 601px) and (max-width: 900px) {
  .hero__collage { width: min(100%, 620px); height: auto; max-height: none; aspect-ratio: 375 / 420; margin: 48px auto 0; }
  .svc__link { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: 32px; align-items: start; }
  .svc__name, .svc__desc { grid-column: 1; }
  .svc__thumb { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; aspect-ratio: 4 / 3; }
  .wcard { width: 42vw; margin-right: 20px; }
  .cta__contacts { grid-template-columns: 1fr 1fr; }
  .cta__contacts > :first-child { grid-column: 1 / -1; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phero__deck { height: 58vw; }
  .deck__card { width: 36%; }
  .chero { gap: 56px; }
}

/* Touch screens: links get a finger-sized hit area without changing the look */
@media (pointer: coarse) {
  .nav a { padding: 10px 0; }
  .footer__col { gap: 0; }
  .footer__col a { padding: 6px 0; }
  .footer__legal a { padding: 10px 0; }
  .legal__toc a { padding-top: 10px; padding-bottom: 10px; }
}

/* Reduced motion: every state is visible and still ---------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
