/* Shared styles — index.html & tarifs.html */
:root {
    --orange: #ff442b;
    --ink: #151414;
    --ink-2: #4f4a4a;
    --ghost: #ebeaea;
    --line: #c4bfbf;
    --row-line: #e0e0e0;
    --btn-line: #7a7a7a;
    --dark: #121111;
    --paper: #ffffff;
    --card: #ffffff;        /* project & plan cards */
    --soft: #f6f5f5;        /* light grey panels */
    --btn-bg: #fafafa;
    --invert-bg: #151414;   /* dark callout boxes on light sections */
    --hero-bg: #fdfdfd;     /* sampled from the portrait's studio background */
    --pad: 20px;
    --display: "Inter", "Inter Display", system-ui, sans-serif;
    --mono: "DM Mono", ui-monospace, monospace;
    --ease: cubic-bezier(.65, 0, .35, 1);
    /* Fluid type scale: min at ~375px wide, max at ~1440px wide */
    --fs-marquee: clamp(104px, 17vw + 35px, 280px);
    --fs-roles: clamp(28px, 2.9vw + 22px, 64px);
    --fs-intro: clamp(30px, 4vw + 14px, 72px);
    --fs-svc: clamp(34px, 3.6vw + 20px, 72px);
    --fs-svc-num: clamp(100px, 14.3vw + 46px, 252px);
    --fs-card: clamp(34px, 2.8vw + 24px, 64px);
    --fs-quote: clamp(22px, 2.1vw + 14px, 44px);
    --nav-h: 76px;
    color-scheme: light;
  }

  /* ---------- Dark mode ----------
     Follows the device setting by default; the nav toggle forces light or dark
     (html[data-theme], remembered in the browser — see cookies.html). */
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ink: #f2efed; --ink-2: #b4adab; --ghost: #332f2f; --line: #3d3838; --row-line: #2b2828;
      --btn-line: #6b6464; --dark: #0b0a0a; --paper: #151313; --card: #1f1c1c; --soft: #1f1c1c;
      --btn-bg: #1f1c1c; --invert-bg: #0b0a0a; --hero-bg: #020202; color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --ink: #f2efed; --ink-2: #b4adab; --ghost: #332f2f; --line: #3d3838; --row-line: #2b2828;
    --btn-line: #6b6464; --dark: #0b0a0a; --paper: #151313; --card: #1f1c1c; --soft: #1f1c1c;
    --btn-bg: #1f1c1c; --invert-bg: #0b0a0a; --hero-bg: #020202; color-scheme: dark;
  }
  /* Smooth colour change when toggling */
  html.theme-anim body, html.theme-anim main, html.theme-anim section, html.theme-anim .label,
  html.theme-anim .card, html.theme-anim .plan, html.theme-anim .vs-col, html.theme-anim .btn {
    transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease) !important;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
  body {
    background: var(--orange);
    color: var(--ink);
    font-family: var(--display);
    font-optical-sizing: auto;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; }

  /* ---------- Custom cursor (mouse/trackpad only) ----------
     Thin ring that follows the mouse. "difference" blending keeps it visible on white and dark
     sections. Over clickable elements it grows and fills, which inverts what's underneath. */
  .cursor {
    position: fixed; left: 0; top: 0; z-index: 200;
    width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 1px solid #fff; background: rgba(255,255,255,0);
    mix-blend-mode: difference; pointer-events: none;
    opacity: 0; will-change: transform;
    transition: opacity .3s linear, background-color .3s var(--ease), border-width .3s var(--ease);
  }
  .cursor.is-visible { opacity: 1; }
  .cursor.is-hover { background: rgba(255,255,255,1); }
  .cursor.is-text { border-width: 1.5px; }
  @media not all and (hover: hover) and (pointer: fine) { .cursor { display: none; } }

  /* ---------- Preloader ---------- */
  .loader {
    position: fixed; inset: 0; z-index: 100;
    background: var(--dark);
    transition: transform 1s var(--ease);
  }
  body.loaded .loader { transform: translateY(-100%); }

  /* ---------- Main wrapper (footer reveal) ---------- */
  main { position: relative; z-index: 2; background: var(--paper); }
  .footer-space { height: 100vh; pointer-events: none; }

  /* ---------- Rolling text (hover) ---------- */
  .roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
  .roll span { display: block; transition: transform .5s var(--ease); }
  .roll span + span { position: absolute; left: 0; top: 100%; }
  a:hover .roll > span { transform: translateY(-100%); }
  .roll span.xs-hide { display: inline; transition: none; }

  /* ---------- Nav ---------- */
  .nav {
    position: fixed; top: 0; left: var(--pad); right: var(--pad);
    z-index: 50;
    display: grid; grid-template-columns: repeat(5, 1fr);
    align-items: start; padding-top: 20px;
    mix-blend-mode: exclusion; color: #fff;
    font-size: clamp(14px, .6vw + 9.5px, 18px); line-height: 1.4;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  /* bigger hit area without changing the look */
  .nav a { padding: 10px 0; }
  .nav.hide { opacity: 0; transform: translateY(-20px); pointer-events: none; }
  .nav a:not(:first-child):not(:last-of-type) { justify-self: center; }
  .nav a[aria-current="page"] .roll > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
  .nav a:last-of-type { justify-self: end; }

  /* Light / dark toggle (last item of the nav) */
  .nav { grid-template-columns: repeat(5, 1fr) auto; column-gap: 20px; }
  .theme-toggle {
    position: relative; width: 32px; height: 32px; margin-top: 4px; padding: 0;
    border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit;
    display: grid; place-items: center; cursor: pointer;
  }
  .theme-toggle svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
  /* The icon shows the CURRENT mode: sun in light mode, moon in dark mode */
  .theme-toggle .i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
  :root[data-theme="dark"] .theme-toggle .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
  :root[data-theme="dark"] .theme-toggle .i-moon { opacity: 1; transform: none; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
    :root:not([data-theme="light"]) .theme-toggle .i-moon { opacity: 1; transform: none; }
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; height: 100vh; height: 100svh; min-height: 560px;
    background: var(--hero-bg); overflow: hidden;
    /* same timing as .hero-img-dark opacity: photo background and hero background stay identical */
    transition: background-color .45s var(--ease) !important;
  }
  .hero-img {
    position: absolute; bottom: 0; left: 50%;
    height: 100%; width: auto; max-width: none;
    transform: translateX(-50%) scale(1.35);
    transform-origin: 50% 40%;
    transition: transform 1.8s cubic-bezier(.22, 1, .36, 1) .35s;
  }
  body.loaded .hero-img { transform: translateX(-50%) scale(1); }
  /* Dark portrait sits on top of the light one. Its opacity uses exactly the same duration and
     easing as the background-colour change (.theme-anim), so the photo's own background always
     matches the hero background — no visible rectangle during the switch. */
  .hero-img-dark {
    opacity: 0;
    transition: transform 1.8s cubic-bezier(.22, 1, .36, 1) .35s, opacity .45s var(--ease);
  }
  :root[data-theme="dark"] .hero-img-dark { opacity: 1; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hero-img-dark { opacity: 1; }
  }
  /* Light portrait underneath: trimmed by 1px on each side so its white edge can never show
     through the anti-aliased edge of the dark portrait, and hidden once dark mode is fully in
     (delay = fade duration). Coming back to light it reappears instantly, under the dark photo. */
  .hero-img:not(.hero-img-dark) {
    clip-path: inset(0 1px);
    transition: transform 1.8s cubic-bezier(.22, 1, .36, 1) .35s, opacity 0s linear 0s;
  }
  :root[data-theme="dark"] .hero-img:not(.hero-img-dark) {
    opacity: 0; transition: transform 1.8s cubic-bezier(.22, 1, .36, 1) .35s, opacity 0s linear .45s;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hero-img:not(.hero-img-dark) {
      opacity: 0; transition: transform 1.8s cubic-bezier(.22, 1, .36, 1) .35s, opacity 0s linear .45s;
    }
  }

  .marquee {
    position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-58%);
    overflow: hidden; mix-blend-mode: exclusion; color: #fff;
    height: calc(var(--fs-marquee) * .845); display: flex; align-items: center;
  }
  .marquee-track { display: flex; white-space: nowrap; will-change: transform; }
  .marquee h1, .marquee .m-item {
    font-size: var(--fs-marquee); font-weight: 500; letter-spacing: -0.04em;
    line-height: .786; padding-right: 0.22em; white-space: nowrap;
  }

  .socials {
    position: absolute; left: 16px; bottom: 48px;
    display: flex; flex-direction: column; gap: 16px;
    mix-blend-mode: exclusion; color: #fff; font-size: 18px; line-height: 1.4;
  }
  .socials a { display: flex; align-items: center; gap: 12px; padding: 4px 0 4px 4px; margin: -4px 0; }
  .socials svg { width: 18px; height: 18px; flex: none; }

  .roles {
    position: absolute; right: 28px; bottom: 48px; text-align: right;
    mix-blend-mode: exclusion; color: #fff;
  }
  .roles { font-size: var(--fs-roles); font-weight: 600; letter-spacing: -0.033em; line-height: 1; }
  .roles > span:not(.sr-only) { display: block; margin-top: .125em; }
  /* Visible to search engines and screen readers only */
  .sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  /* ---------- Section label ---------- */
  .label {
    position: sticky; top: 0; z-index: 5; height: 49px;
    border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 12px;
    padding: 0 var(--pad); color: var(--orange);
    transition: top .4s var(--ease);
  }
  /* When the nav comes back (scrolling up), section labels slide below it instead of colliding */
  body.nav-in .label { top: var(--nav-h); }
  /* ...and the strip above it (behind the nav) is filled with the label's own background,
     so page content never shows through between the nav and the label */
  .label::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
    height: calc(var(--nav-h) + 2px); background: inherit;
    opacity: 0; pointer-events: none; transition: opacity .25s linear;
  }
  body.nav-in .label.stuck::before { opacity: 1; }
  .label .sl { font-family: "Inter", sans-serif; font-size: 16px; font-weight: 400; }
  .label h2 { font-size: 18px; font-weight: 600; line-height: 24px; }
  .label-bg { background: var(--paper); }

  /* ---------- Reveal text ---------- */
  .reveal .w { display: inline-block; white-space: nowrap; text-indent: 0; }
  .reveal .c { color: var(--ghost); transition: color .25s linear; }
  .reveal .c.on { color: var(--ink); }
  .reveal .hl .c.on { color: var(--orange); }

  /* ---------- Intro ---------- */
  .intro { position: relative; padding-bottom: clamp(80px, 8vw, 120px); }
  .intro-big {
    max-width: 1240px; margin: clamp(56px, 8vw, 120px) auto 0; padding: 0 var(--pad);
    font-size: var(--fs-intro); font-weight: 600; letter-spacing: -0.04em; line-height: 1.03;
    text-indent: 23.5%;
  }
  /* Starts at the middle of the page, never wider than 530px, never past the right edge */
  .intro-side { margin: clamp(40px, 4vw, 60px) var(--pad) 0 max(var(--pad), 51.2%); max-width: 530px; }
  .body {
    font-size: 18px; line-height: 1.4; letter-spacing: 0.01em; color: var(--ink-2);
  }
  .btn {
    position: relative; display: inline-flex; margin-top: 60px;
    padding: 20px 40px; border-radius: 56px; overflow: hidden;
    background: var(--btn-bg); border: 1px solid var(--btn-line);
    font-size: 18px; line-height: 25.2px; color: var(--ink-2);
    isolation: isolate;
  }
  .btn .roll span + span { color: #fafafa; }
  .btn::before {
    content: ""; position: absolute; z-index: -1;
    left: 50%; top: 50%; width: 1px; height: 1px; border-radius: 50%;
    background: var(--orange); transform: translate(-50%, -50%) scale(0);
    transition: transform .6s var(--ease);
  }
  .btn:hover::before { transform: translate(-50%, -50%) scale(268); }
  .btn:hover { border-color: var(--orange); }

  /* ---------- Services ---------- */
  .services { position: relative; padding-bottom: clamp(100px, 12vw, 180px); }
  .svc {
    display: grid; grid-template-columns: 1fr minmax(0, 806px); column-gap: 40px;
    padding: 0 clamp(20px, 4.5vw, 65px) 0 var(--pad); margin-top: clamp(64px, 7.5vw, 108px);
  }
  .svc + .svc { margin-top: clamp(120px, 20vw, 295px); }
  .svc-num {
    position: sticky; top: 96px; align-self: start;
    font-family: var(--mono); font-weight: 300; font-size: var(--fs-svc-num);
    line-height: .873; letter-spacing: -0.02em;
    color: var(--paper); -webkit-text-stroke: 1px var(--ink);
    padding-top: 60px; transition: top .4s var(--ease);
  }
  body.nav-in .svc-num { top: calc(96px + var(--nav-h) - 49px); }
  .svc h3 {
    font-size: var(--fs-svc); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
    overflow-wrap: break-word; hyphens: auto;
  }
  .svc .body { margin: 22px 0 0 14px; max-width: 576px; }
  .svc ul { list-style: none; margin-top: clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--row-line); }
  /* min-height (not height) so long service names can wrap on small screens */
  .svc li {
    position: relative; min-height: 52px; border-top: 1px solid var(--row-line);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 13px 20px 13px 21px; overflow: hidden; cursor: default;
  }
  .svc li h4 {
    position: relative; z-index: 1; font-size: 18px; font-weight: 600; line-height: 24px;
    transition: color .35s var(--ease), transform .45s var(--ease);
  }
  .svc li span {
    position: relative; z-index: 1; font-family: var(--mono); font-size: 18px;
    line-height: 26px; letter-spacing: 0.01em; color: var(--ink-2);
    transition: color .35s var(--ease);
  }
  .svc li::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
    background: var(--orange); transition: height .45s var(--ease);
  }
  /* hover effects only on devices with a real pointer (avoids "stuck" hovers after a tap) */
  @media (hover: hover) {
    .svc li:hover::before { height: 100%; }
    .svc li:hover h4 { color: #fff; transform: translateX(10px); }
    .svc li:hover span { color: #fff; }
  }

  /* ---------- Projects ---------- */
  .projects { position: relative; background: var(--dark); padding-bottom: 60px; }
  .projects .label { background: var(--dark); }
  /* Stacking cards (sticky) — only when the screen is big enough; see the media query below */
  .p-wrap { height: calc(100vh + 200px); }
  .p-wrap:last-child { height: 100vh; }
  .p-sticky {
    position: sticky; top: 0; height: 100vh;
    padding: 60px var(--pad) 20px;
  }
  .card {
    height: 100%; max-height: 820px; max-width: 1880px; margin: 0 auto;
    background: var(--card); border-radius: 20px;
    padding: 12px; display: grid; grid-template-columns: 1fr clamp(360px, 36vw, 500px); gap: 10px;
    transform-origin: 50% 0; will-change: transform;
  }
  .card-img {
    border-radius: 16px; overflow: hidden; position: relative;
    background: #d9d6d6;
  }
  .card-img .ph {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--mono); font-size: 14px; color: #8a8585; letter-spacing: .04em;
    background:
      linear-gradient(135deg, rgba(255,255,255,.35), rgba(0,0,0,.06)),
      repeating-linear-gradient(45deg, #dedbdb 0 1px, transparent 1px 14px);
    transition: transform 1.2s var(--ease);
  }
  .card-img img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 1.2s var(--ease);
  }
  @media (hover: hover) {
    .card:hover .card-img .ph, .card:hover .card-img img { transform: scale(1.04); }
  }
  .card .body + .body, .intro-side .body + .body { margin-top: 16px; }
  .card-txt { padding: clamp(20px, 2.2vw, 32px); display: flex; flex-direction: column; }
  .year { font-family: var(--mono); font-size: 18px; line-height: 26px; letter-spacing: .01em; }
  .card h3 {
    font-size: var(--fs-card); font-weight: 600; letter-spacing: -0.033em; line-height: 1;
    margin-top: 20px; max-width: 416px;
  }
  .card .body { margin-top: clamp(20px, 2.4vw, 36px); max-width: 450px; }
  .tags { margin-top: auto; max-width: 416px; }
  .tags p { font-size: 18px; line-height: 25.2px; letter-spacing: .01em; color: var(--ink-2); padding: 4px 0; }
  .tags p + p { border-top: 1px solid var(--line); }
  .tags { padding-top: 24px; }

  /* Tablets, phones and short screens: cards simply follow each other (no sticky stacking),
     image on top and text below so nothing is ever cut off */
  @media (max-width: 1023px), (max-height: 759px) {
    .p-wrap, .p-wrap:last-child { height: auto; }
    .p-sticky { position: relative; height: auto; padding: 20px var(--pad) 0; }
    .p-wrap:first-of-type .p-sticky { padding-top: 24px; }
    .card { height: auto; max-height: none; transform: none !important; filter: none !important; }
  }
  @media (max-width: 1023px) {
    .card { grid-template-columns: 1fr; }
    .card-img { aspect-ratio: 16 / 11; }
    .card-txt { padding: 24px 12px 12px; }
    .card h3, .card .body, .tags { max-width: 640px; }
  }
  @media (min-width: 1024px) and (max-height: 759px) {
    .card-img { min-height: 440px; }
  }
  /* Stacked cards on laptop-height screens: tighter spacing so long project texts keep a readable size */
  @media (min-width: 1024px) and (min-height: 760px) and (max-height: 899px) {
    .card h3 { margin-top: 12px; }
    .card .body { margin-top: 16px; }
    .card .body + .body { margin-top: 10px; }
    .tags { padding-top: 14px; }
    .tags p { font-size: 16px; line-height: 21px; padding: 3px 0; }
  }

  /* ---------- Testimonials ---------- */
  .testi { position: relative; }
  .t-inner { position: relative; padding: clamp(80px, 9.7vw, 140px) 120px clamp(100px, 8.3vw, 120px) clamp(20px, 26vw - 120px, 256px); }
  .t-count {
    position: absolute; top: calc(clamp(80px, 9.7vw, 140px) + (var(--fs-quote) * 1.14 - 26px) / 2);
    left: clamp(20px, 26vw - 120px, 256px);
    font-family: var(--mono); font-size: 18px; line-height: 26px; letter-spacing: .01em;
  }
  .t-count b { font-weight: 400; color: var(--orange); }
  .t-count i { font-style: normal; color: var(--line); }
  .t-quote {
    max-width: 960px;
    font-size: var(--fs-quote); font-weight: 600; letter-spacing: -0.025em; line-height: 1.14;
    text-indent: clamp(72px, 11.7vw, 169px); transition: opacity .4s var(--ease);
  }
  .t-quote.fade { opacity: 0; }
  .t-author { margin-top: 44px; display: flex; gap: 7px; transition: opacity .4s var(--ease); }
  .t-author.fade { opacity: 0; }
  .t-author h4 { font-size: 18px; font-weight: 600; line-height: 24px; }
  .t-author .body { margin-top: 0; }
  .avatars {
    position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px;
  }
  .avatars button {
    width: 72px; height: 72px; border-radius: 80px; padding: 4px;
    background: var(--paper); border: 0; cursor: pointer; transition: background .3s;
  }
  .avatars button.active { background: var(--orange); }
  .avatars .av {
    width: 64px; height: 64px; border-radius: 84px; display: grid; place-items: center;
    font-size: 18px; font-weight: 600; color: #fff;
    filter: grayscale(1); transition: filter .4s;
  }
  .avatars button.active .av, .avatars button:hover .av { filter: grayscale(0); }
  .end-space { height: 96px; background: var(--paper); }

  /* ---------- Footer ---------- */
  footer {
    position: fixed; inset: 0; z-index: 1; height: 100vh; overflow: hidden;
    background:
      radial-gradient(ellipse at 70% 30%, #3a3434 0%, transparent 60%),
      radial-gradient(ellipse at 20% 80%, #2a2323 0%, transparent 55%),
      #141212;
    color: #fff;
  }
  footer .f-bg { position: absolute; inset: 0; }
  footer .marquee { top: 84px; transform: none; }
  .f-info {
    position: absolute; left: var(--pad); bottom: 0; max-width: 45%;
    padding-bottom: 20px; mix-blend-mode: exclusion; font-size: 18px; line-height: 25.2px;
  }
  .f-info p + p { margin-top: 4px; }
  .f-info strong { font-weight: 700; }
  .f-info a:hover { text-decoration: underline; }
  .f-social { display: flex; gap: 58px; margin-top: 58px; }
  .f-social a { display: flex; align-items: center; gap: 12px; }
  .f-social svg { width: 18px; height: 18px; }
  .to-top {
    position: absolute; top: 20px; right: var(--pad);
    width: 44px; height: 44px; border-radius: 50%; background: #fff;
    display: grid; place-items: center; color: var(--ink);
    transition: transform .4s var(--ease);
  }
  .to-top:hover { transform: translateY(-4px); }
  .to-top svg { width: 18px; height: 18px; }

  /* ---------- Contact form ---------- */
  .f-form {
    position: absolute; right: var(--pad); bottom: 20px; width: 620px; max-width: 50%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
  }
  .f-field { position: relative; display: flex; flex-direction: column; gap: 6px; }
  .f-field.full { grid-column: 1 / -1; }
  .f-field label {
    font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
    text-transform: uppercase; color: rgba(255,255,255,.55);
  }
  .f-field input, .f-field select, .f-field textarea {
    font: inherit; font-size: 18px; line-height: 25.2px; color: #fff;
    background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3);
    padding: 6px 0 10px; border-radius: 0; outline: none; width: 100%;
    transition: border-color .3s var(--ease);
  }
  .f-field textarea { resize: none; height: 96px; }
  .f-field input::placeholder, .f-field textarea::placeholder { color: rgba(255,255,255,.3); }
  .f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--orange); }
  .f-field select {
    appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 18px;
  }
  .f-field select:invalid { color: rgba(255,255,255,.3); }
  .f-field.invalid input, .f-field.invalid select, .f-field.invalid textarea { border-color: var(--orange); }
  .f-field.invalid label { color: var(--orange); }
  .f-err { font-size: 13px; line-height: 1.35; color: var(--orange); }
  .f-err:empty { display: none; }
  .f-field select option { color: var(--ink); background: #fff; }
  .f-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
  .f-status { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.7); }
  .f-status.error { color: var(--orange); }
  .f-form .btn { margin-top: 0; background: #fff; border-color: #fff; color: var(--ink); cursor: pointer; font-family: inherit; }
  .f-form .btn .roll span + span { color: #fff; }
  .f-form .btn:hover { border-color: var(--orange); }
  .f-form .btn:disabled { opacity: .6; pointer-events: none; }

  /* Footer: on short or narrow screens the form no longer fits in a fixed full-screen footer,
     so it becomes a normal section that scrolls */
  @media (max-height: 760px), (max-width: 1023px) {
    .footer-space { display: none; }
    footer {
      position: relative; inset: auto; height: auto; min-height: 100vh; z-index: 2; overflow: hidden;
      padding: calc(84px + var(--fs-marquee) * .845 + 32px) var(--pad) 20px;
    }
    .f-form { position: relative; right: auto; bottom: auto; width: auto; max-width: 720px; margin-bottom: 56px; }
    .f-info { position: relative; left: auto; bottom: auto; max-width: none; }
  }

  /* ---------- Responsive ---------- */
  /* Tablet */
  @media (max-width: 1023px) {
    .t-inner { padding-right: 112px; }
  }

  /* Phone */
  @media (max-width: 809px) {
    :root { --nav-h: 58px; }
    .nav { grid-template-columns: 1fr repeat(5, auto); column-gap: 14px; padding-top: 8px; white-space: nowrap; }

    /* Hero: social links become one row at the very bottom, job titles sit just above */
    .socials { left: var(--pad); bottom: 12px; flex-direction: row; gap: 18px; font-size: 15px; }
    .socials a { gap: 7px; padding: 10px 0; margin: 0; }
    .socials svg { width: 16px; height: 16px; }
    .roles { right: var(--pad); bottom: 72px; }

    .intro-big { text-indent: 15%; }
    .intro-side { margin-left: var(--pad); max-width: none; }
    .btn { margin-top: 36px; }

    .svc, .svc + .svc { grid-template-columns: 1fr; padding: 0 var(--pad); }
    .svc-num { position: static; padding-top: 0; margin-bottom: 20px; }
    .svc .body { margin-left: 0; }
    .svc li { padding-left: 14px; padding-right: 14px; }
    .svc li h4 { font-size: 16px; line-height: 22px; }

    /* Testimonials: avatars move under the quote */
    .t-inner { padding: 72px var(--pad) 150px; }
    .t-count { top: calc(72px + (var(--fs-quote) * 1.14 - 26px) / 2); left: var(--pad); }
    .avatars { top: auto; bottom: 56px; left: var(--pad); right: auto; transform: none; flex-direction: row; }
    .avatars button { width: 56px; height: 56px; padding: 3px; }
    .avatars .av { width: 50px; height: 50px; font-size: 15px; }

    footer { padding-top: calc(72px + var(--fs-marquee) * .845 + 28px); }
    footer .marquee { top: 72px; }
    .to-top { top: 14px; }
    .f-form { grid-template-columns: 1fr; }
    .f-bottom { flex-direction: column-reverse; align-items: stretch; }
    .f-form .btn { justify-content: center; }
    .f-info { font-size: 16px; }
    .f-info a { display: inline-block; padding: 10px 0; }
    .f-info p + p { margin-top: 0; }
    .f-social { gap: 8px 24px; margin-top: 24px; flex-wrap: wrap; }
    .f-social a { padding: 10px 0; }
  }

  /* Small phones (narrower than an iPhone SE / Galaxy S) */
  @media (max-width: 374px) {
    .nav { font-size: 13px; column-gap: 11px; }
    .nav .roll span.xs-hide { display: none; }
    .socials { gap: 14px; font-size: 14px; }
    .socials svg { display: none; }
    .svc li { padding-left: 10px; padding-right: 10px; }
  }

  /* Landscape phones: very short screen, keep the hero readable */
  @media (max-height: 500px) and (orientation: landscape) {
    :root { --fs-marquee: clamp(80px, 28vh, 150px); --fs-roles: clamp(24px, 8vh, 40px); }
    .hero { min-height: 420px; }
    .marquee { top: 42%; }
    .socials { gap: 8px; }
    .roles { bottom: 56px; }
  }

  /* =====================================================================
     Nav: "À propos" is dropped on small phones to keep 4 links on one line
     ===================================================================== */
  @media (max-width: 559px) {
    .nav .nav-opt { display: none; }
    .nav { grid-template-columns: 1fr repeat(4, auto); }
  }

  /* Home: "Voir les tarifs" button under service 01 */
  .svc-cta { margin-top: 32px; }

  /* =====================================================================
     PAGE TARIFS
     ===================================================================== */

  /* ---------- Hero ---------- */
  .page-hero {
    position: relative; height: 100vh; height: 100svh; min-height: 560px;
    background: var(--paper); overflow: hidden;
  }
  .page-hero .marquee { color: var(--ink); mix-blend-mode: normal; }
  .ph-tagline {
    position: absolute; left: var(--pad); bottom: 48px; max-width: min(560px, 40vw);
    font-size: clamp(20px, 1vw + 12px, 28px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-2);
  }
  .ph-tagline strong { color: var(--ink); font-weight: 600; }
  .ph-kicker {
    display: block; margin-bottom: 14px;
    font-family: var(--mono); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--orange);
  }
  .page-hero .roles { color: var(--ink); mix-blend-mode: normal; }

  /* ---------- Plans ---------- */
  .plans { position: relative; background: var(--dark); color: var(--ink); padding-bottom: clamp(60px, 7vw, 100px); }
  .plans .label { background: var(--dark); }
  .plans-intro {
    color: #fff; max-width: 1240px; margin: clamp(48px, 6vw, 88px) auto 0; padding: 0 var(--pad);
    display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap;
  }
  .plans-intro h2 { font-size: var(--fs-svc); font-weight: 600; letter-spacing: -0.03em; line-height: 1; max-width: 760px; }
  .plans-intro p { color: rgba(255,255,255,.65); max-width: 380px; }
  .plans-grid {
    max-width: 1400px; margin: clamp(36px, 4vw, 56px) auto 0; padding: 0 var(--pad);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch;
  }
  .plan {
    position: relative; background: var(--card); border-radius: 20px; padding: clamp(24px, 2.4vw, 36px);
    display: flex; flex-direction: column;
  }
  /* fixed height so the "Recommandé" badge doesn't push the featured card's content down */
  .plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 28px; }
  .plan-num { font-family: var(--mono); font-size: 18px; color: var(--ink-2); }
  .plan h3 { font-size: clamp(32px, 2vw + 14px, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 18px; }
  .plan-pitch { margin-top: 12px; min-height: 2.8em; }
  .plan-badge {
    font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
    background: var(--ink); color: #fff; border-radius: 40px; padding: 6px 12px; white-space: nowrap;
  }
  .plan-price { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--row-line); }
  .plan-price .amount { font-size: clamp(44px, 3vw + 20px, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
  .plan-price .per { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 4px; }
  .plan-price .setup { margin-top: 10px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
  .plan-price .setup strong { color: var(--ink); font-weight: 600; }
  .plan ul { list-style: none; margin-top: 24px; border-bottom: 1px solid var(--row-line); }
  .plan li {
    display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 0;
    border-top: 1px solid var(--row-line); font-size: 16px; line-height: 1.35;
  }
  .plan li svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
  .plan li.off { color: #a8a2a2; }
  .plan li.off svg { color: #c9c4c4; }
  .plan li b { font-weight: 600; }

  /* Recommended plan */
  /* The orange card always keeps dark text, in light and dark mode */
  .plan.is-featured { background: var(--orange); --ink: #151414; --ink-2: #4f4a4a; color: var(--ink); }
  .plan.is-featured .plan-num, .plan.is-featured .plan-pitch,
  .plan.is-featured .plan-price .per, .plan.is-featured .plan-price .setup { color: rgba(21,20,20,.78); }
  .plan.is-featured .plan-price, .plan.is-featured ul, .plan.is-featured li { border-color: rgba(21,20,20,.18); }
  .plan.is-featured li svg { color: var(--ink); }

  /* "Custom project" line under the plans (e-commerce / 10+ pages) */
  .plans-custom {
    max-width: 1400px; margin: 32px auto 0; padding: 0 var(--pad);
    display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
  }
  .plans-custom .body { color: rgba(255,255,255,.75); max-width: 720px; }
  .plans-custom .body strong { color: #fff; font-weight: 600; }
  .plans-custom .btn { margin-top: 0; background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
  .plans-custom .btn .roll span + span { color: #fff; }
  .plans-custom .btn:hover { border-color: var(--orange); }  .plans-note { max-width: 1400px; margin: 20px auto 0; padding: 0 var(--pad); color: rgba(255,255,255,.55); font-family: var(--mono); font-size: 14px; }

  /* ---------- Why subscribe ---------- */
  .why { position: relative; padding-bottom: clamp(80px, 9vw, 140px); }
  .why .intro-big { margin-bottom: clamp(48px, 6vw, 88px); }
  .versus {
    max-width: 1240px; margin: 0 auto; padding: 0 var(--pad);
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  }
  .vs-col { border-radius: 20px; padding: clamp(24px, 2.4vw, 36px); background: var(--soft); }
  .vs-col.is-sub { background: var(--invert-bg); color: #fff; }
  .vs-col h3 { font-size: clamp(26px, 1.4vw + 14px, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
  .vs-col .ph-kicker { color: var(--ink-2); }
  .vs-col.is-sub .ph-kicker { color: var(--orange); }
  .vs-col ul { list-style: none; margin-top: 24px; }
  .vs-col li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(0,0,0,.1); font-size: 17px; line-height: 1.4; color: var(--ink-2); }
  .vs-col.is-sub li { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
  .vs-col li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
  .vs-col li .x { color: #b3adad; }
  .vs-col.is-sub li svg { color: var(--orange); }

  .body strong.ink { color: var(--ink); font-weight: 600; }

  /* Inline text link */
  .text-link { color: var(--ink); border-bottom: 1px solid var(--orange); padding: 8px 0 2px; transition: color .3s; }
  @media (hover: hover) { .text-link:hover { color: var(--orange); } }

  /* ---------- Hero quick links (pricing) ---------- */
  .ph-jump { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 18px; font-size: 16px; color: var(--ink); }
  .ph-jump a { padding: 6px 0; border-bottom: 1px solid currentColor; }

  /* ---------- Visual identity pricing ---------- */
  .identity { position: relative; padding-bottom: clamp(80px, 9vw, 140px); }
  .id-grid {
    max-width: 1240px; margin: clamp(48px, 6vw, 88px) auto 0; padding: 0 var(--pad);
    display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(40px, 5vw, 80px); align-items: start;
  }
  .id-intro { position: sticky; top: 96px; transition: top .4s var(--ease); }
  body.nav-in .id-intro { top: calc(96px + var(--nav-h) - 49px); }
  .id-intro h2 { font-size: clamp(34px, 2.6vw + 16px, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
  .id-intro .body { margin-top: 20px; }
  .id-intro .body strong { color: var(--ink); font-weight: 600; }
  .id-list { list-style: none; border-bottom: 1px solid var(--row-line); }
  .id-list li {
    position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 8px 20px; align-items: start;
    padding: 24px 0; border-top: 1px solid var(--row-line);
  }
  .id-num { font-family: var(--mono); font-size: 18px; line-height: 30px; color: var(--orange); }
  .id-main h3 { font-size: clamp(20px, .6vw + 16px, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
  .id-main .body { margin-top: 8px; font-size: 16px; max-width: 460px; }
  .id-price { text-align: right; white-space: nowrap; line-height: 1.1; }
  .id-price small { display: block; font-family: var(--mono); font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }
  .id-price span { display: block; margin: 4px 0; font-size: clamp(26px, 1vw + 18px, 34px); font-weight: 600; letter-spacing: -0.03em; }
  .id-note {
    max-width: 1240px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0 var(--pad);
  }
  .id-note {
    display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  }
  .id-note > div {
    flex: 1 1 520px; background: var(--invert-bg); color: #fff; border-radius: 20px; padding: clamp(24px, 2.6vw, 40px);
  }
  .id-note h3 { font-size: clamp(24px, 1.2vw + 16px, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
  .id-note .body { margin-top: 12px; color: rgba(255,255,255,.78); max-width: 640px; }
  .id-note .btn { margin-top: 0; }
  @media (max-width: 1023px) {
    .id-grid { grid-template-columns: 1fr; }
    .id-intro { position: static; }
  }
  @media (max-width: 559px) {
    .id-list li { grid-template-columns: 32px 1fr; }
    .id-price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
    .id-price small, .id-price span { display: inline; margin: 0; }
    .id-price span { font-size: 26px; }
    .id-note .btn { width: 100%; justify-content: center; }
  }

  /* ---------- Legal pages (cookies) ---------- */
  .page-hero.legal-hero { height: auto; min-height: 0; overflow: visible; }
  .legal-hero-inner {
    max-width: 1240px; margin: 0 auto;
    padding: clamp(130px, 14vw, 200px) var(--pad) clamp(56px, 6vw, 96px);
  }
  .legal-hero h1 { font-size: var(--fs-svc); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
  .legal-lead { margin-top: 24px; max-width: 640px; font-size: clamp(19px, .6vw + 15px, 24px); line-height: 1.35; color: var(--ink-2); }
  .legal-lead strong { color: var(--ink); font-weight: 600; }
  .legal-section { position: relative; padding-bottom: clamp(80px, 9vw, 140px); }
  .legal { max-width: 820px; margin: clamp(40px, 5vw, 72px) auto 0; padding: 0 var(--pad); }
  .legal h2 {
    display: flex; gap: 14px; align-items: baseline;
    margin-top: clamp(48px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--ink);
    font-size: clamp(22px, .8vw + 16px, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
  }
  .legal h2 span { font-family: var(--mono); font-size: 16px; font-weight: 400; color: var(--orange); }
  .legal h3 { margin-top: 28px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
  .legal .body { margin-top: 14px; }
  .legal .body strong { color: var(--ink); font-weight: 600; }
  .legal .text-link { word-break: break-word; }
  .legal-list { margin-top: 14px; padding-left: 0; list-style: none; }
  .legal-list li {
    position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--row-line);
    font-size: 17px; line-height: 1.45; color: var(--ink-2);
  }
  .legal-list li:last-child { border-bottom: 1px solid var(--row-line); }
  .legal-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
  .legal-list strong { color: var(--ink); font-weight: 600; }
  .legal-table-wrap { margin-top: 24px; overflow-x: auto; }
  .legal-table { width: 100%; border-collapse: collapse; font-size: 16px; }
  .legal-table th, .legal-table td { padding: 14px 12px; text-align: left; border-top: 1px solid var(--row-line); }
  .legal-table thead th { border-top: 0; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); }
  .legal-table tbody th { font-weight: 600; }
  .legal-table tbody tr:last-child > * { border-bottom: 1px solid var(--row-line); }
  .legal-table td { font-family: var(--mono); color: var(--ink-2); }
  @media (max-width: 559px) {
    .legal-table th, .legal-table td { padding: 12px 6px; font-size: 14px; }
    .legal-table thead th { font-size: 11px; }
  }

  /* Fixed footer on short laptop screens (e.g. 1366×768): smaller "Me contacter" band so the
     form — even with error messages — never runs into it */
  @media (min-width: 1024px) and (min-height: 761px) and (max-height: 940px) {
    footer { --fs-marquee: clamp(96px, 18vh, 280px); }
  }

  /* Privacy notice under the contact form */
  .f-privacy { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.5); }
  .f-privacy a { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; }
  .f-privacy a:hover { color: #fff; }

  /* Anti-spam field: kept out of sight (not display:none, which some bots detect) */
  .f-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

  /* Contact form: optional marks, project chips, reassurance line */
  .f-field .f-opt { text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.35); }
  .f-label {
    font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
    text-transform: uppercase; color: rgba(255,255,255,.55);
  }
  .f-field.invalid .f-label { color: var(--orange); }
  .f-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
  .f-field .chip {
    position: relative; font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none;
    color: #fff; cursor: pointer;
  }
  .chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .chip span {
    display: block; padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  }
  .chip:hover span { border-color: #fff; }
  .chip input:checked + span { background: #fff; border-color: #fff; color: var(--ink); }
  .chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
  .f-field.invalid .chip span { border-color: var(--orange); }
  .f-field.invalid .chip input:checked + span { border-color: #fff; }
  .f-field select:has(option[value=""]:checked) { color: rgba(255,255,255,.3); }
  .f-field textarea { height: 76px; }
  .f-side { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
  .f-bottom .btn { flex: none; } /* a long status message must never squeeze the "Envoyer" button */
  .f-reassure { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: rgba(255,255,255,.75); }
  .f-reassure span::before { content: "✓"; margin-right: 6px; color: var(--orange); font-weight: 700; }
  .f-status:empty { display: none; }

  /* ---------- Contact form: "message sent" panel ----------
     Opens as a circle from the "Envoyer" button and covers the whole form;
     the tick draws itself, then the lines rise one after another. */
  .f-sent {
    position: absolute; inset: -12px; z-index: 3;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: clamp(24px, 2.6vw, 40px); border-radius: 22px; outline: none;
    background: var(--orange); color: #151414;
    clip-path: circle(0% at 88% 90%); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s linear .8s;
  }
  .f-sent.show { clip-path: circle(150% at 88% 90%); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
  .f-sent-icon { width: 68px; height: 68px; flex: none; fill: none; stroke: #151414; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
  .f-sent-icon circle { stroke-dasharray: 227; stroke-dashoffset: 227; transition: stroke-dashoffset .7s var(--ease) .4s; }
  .f-sent-icon path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .45s var(--ease) .95s; }
  .f-sent.show .f-sent-icon circle, .f-sent.show .f-sent-icon path { stroke-dashoffset: 0; }
  .f-sent > :not(.f-sent-icon) { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .f-sent.show > :not(.f-sent-icon) { opacity: 1; transform: none; }
  .f-sent.show .f-sent-kicker { transition-delay: .5s; }
  .f-sent.show .f-sent-title { transition-delay: .6s; }
  .f-sent.show .f-sent-text { transition-delay: .7s; }
  .f-sent.show .f-sent-recap { transition-delay: .8s; }
  .f-sent.show .f-sent-again { transition-delay: .9s; }
  .f-sent-kicker { margin-top: 22px; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
  .f-sent-title { margin-top: 8px; font-size: clamp(30px, 2.2vw + 14px, 48px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
  .f-sent-text { margin-top: 14px; max-width: 520px; font-size: 18px; line-height: 1.45; color: rgba(21,20,20,.85); }
  .f-sent-text strong { color: #151414; font-weight: 600; overflow-wrap: anywhere; }
  .f-sent-recap { margin-top: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .03em; color: rgba(21,20,20,.7); }
  .f-sent .f-sent-again { margin-top: 24px; background: #151414; border-color: #151414; color: #fff; }
  .f-sent .f-sent-again::before { background: #fff; }
  .f-sent .f-sent-again .roll span + span { color: #151414; }
  .f-sent .f-sent-again:hover { border-color: #151414; }
  /* Short laptop screens (fixed footer, compact form): a slightly smaller panel content */
  @media (min-width: 1024px) and (max-height: 940px) {
    .f-sent-icon { width: 56px; height: 56px; }
    .f-sent-kicker { margin-top: 16px; }
    .f-sent-title { font-size: clamp(28px, 1.6vw + 14px, 40px); }
    .f-sent-text { font-size: 16px; }
    .f-sent .f-sent-again { margin-top: 18px; }
  }
  /* Short laptop screens with the fixed footer: tighter form so it stays clear of the band */
  @media (min-width: 1024px) and (min-height: 761px) and (max-height: 940px) {
    .f-form { row-gap: 10px; }
    .f-field textarea { height: 60px; }
  }

  /* ---------- Quick contact bar (phones) ---------- */
  .m-cta { display: none; }
  @media (max-width: 809px) {
    .m-cta {
      position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
      display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 4px; padding: 4px;
      background: #141212; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
      box-shadow: 0 10px 30px rgba(0,0,0,.25);
      transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none;
      transition: transform .5s var(--ease), opacity .3s var(--ease);
    }
    .m-cta.show { transform: none; opacity: 1; pointer-events: auto; }
    .m-cta a {
      display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px;
      border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap;
    }
    .m-cta a:active { background: rgba(255,255,255,.1); }
    .m-cta a.is-main { background: var(--orange); color: #fff; }
    .m-cta svg { width: 17px; height: 17px; flex: none; }
  }
  @media (max-width: 359px) { .m-cta a { font-size: 13px; gap: 5px; } .m-cta svg { width: 15px; height: 15px; } }

  /* Footer legal link */
  .f-legal { margin-top: 10px; font-size: 15px; }
  .f-legal a { text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
  .f-legal a:hover { opacity: 1; }

  /* ---------- FAQ ---------- */
  .faq { position: relative; padding-bottom: clamp(80px, 9vw, 140px); }
  .faq-list { max-width: 1000px; margin: clamp(48px, 6vw, 88px) auto 0; padding: 0 var(--pad); border-bottom: 1px solid var(--row-line); }
  .faq details { border-top: 1px solid var(--row-line); }
  .faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 0; font-size: clamp(18px, .5vw + 15px, 22px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .pm { position: relative; width: 20px; height: 20px; flex: none; }
  .faq summary .pm::before, .faq summary .pm::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink);
    transition: transform .35s var(--ease), background-color .35s;
  }
  .faq summary .pm::after { transform: rotate(90deg); }
  .faq details[open] summary .pm::after { transform: rotate(0deg); }
  .faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--orange); }
  .faq details .body { padding: 0 44px 24px 0; max-width: 760px; }
  .faq details .body + .body { margin-top: -10px; }
  @media (hover: hover) { .faq summary:hover { color: var(--orange); } }

  /* ---------- Plan rules (under the 3 plans) ---------- */
  .plan-terms {
    list-style: none; max-width: 1400px; margin: 32px auto 0; padding: 0 var(--pad);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .plan-terms li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; color: #fff; }
  .plan-terms strong { display: block; font-size: clamp(20px, .8vw + 14px, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
  .plan-terms span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.62); }

  /* ---------- After 12 months ---------- */
  .after {
    max-width: 1400px; margin: clamp(48px, 6vw, 88px) auto 0; padding: 0 var(--pad); color: #fff;
    display: grid; grid-template-columns: 4fr 8fr; gap: 28px clamp(32px, 4vw, 64px); align-items: start;
  }
  .after-head h3 { font-size: clamp(28px, 1.6vw + 16px, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
  .after-head .body { margin-top: 14px; color: rgba(255,255,255,.7); }
  .after-head .body strong, .after-grid .body strong { color: #fff; font-weight: 600; }
  .after-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .after-grid li {
    border-radius: 20px; padding: clamp(20px, 2vw, 28px);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  }
  .after-num { font-family: var(--mono); font-size: 16px; color: var(--orange); }
  .after-grid h4 { margin-top: 14px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
  .after-grid .body { margin-top: 8px; font-size: 16px; color: rgba(255,255,255,.72); }

  /* ---------- Launch pack (logo + site) ---------- */
  .pack { position: relative; padding: 0 var(--pad) clamp(80px, 9vw, 140px); }
  .pack-card {
    max-width: 1240px; margin: 0 auto; border-radius: 24px; padding: clamp(28px, 3.5vw, 56px);
    background: var(--orange); color: #151414;
    display: grid; grid-template-columns: 1fr auto; gap: 32px clamp(32px, 5vw, 80px); align-items: end;
  }
  .pack .ph-kicker { color: #151414; }
  .pack h2 { font-size: var(--fs-svc); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
  .pack .body { margin-top: 16px; max-width: 560px; color: rgba(21,20,20,.8); }
  .pack-price { text-align: right; }
  .pack-price s { font-size: 20px; color: rgba(21,20,20,.6); }
  .pack-price .amount { font-size: clamp(44px, 3vw + 20px, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
  .pack-price .setup { margin-top: 6px; font-size: 16px; color: rgba(21,20,20,.8); }
  .pack .btn { margin-top: 20px; background: #151414; border-color: #151414; color: #fff; }
  .pack .btn::before { background: #fff; }
  .pack .btn .roll span + span { color: #151414; }
  .pack .btn:hover { border-color: #151414; }

  /* Social media starting price */
  .id-from { margin-top: 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: var(--ink-2); }
  .id-from small { font-family: var(--mono); font-size: 14px; }
  .id-from span { font-size: clamp(34px, 1.6vw + 22px, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
  .id-intro .btn { margin-top: 28px; }

  @media (max-width: 1199px) {
    .plan-terms { max-width: 920px; }
    .after { grid-template-columns: 1fr; max-width: 920px; }
    .plans-custom { max-width: 920px; }
  }
  @media (max-width: 809px) {
    .after-grid { grid-template-columns: 1fr; }
    .pack-card { grid-template-columns: 1fr; }
    .pack-price { text-align: left; }
    .plan-terms { grid-template-columns: 1fr; gap: 20px; }
  }
  @media (max-width: 419px) {
    .plan-terms strong { font-size: 19px; }
    .plan-terms span { font-size: 14px; }
    .pack .btn { width: 100%; justify-content: center; }
  }

  /* ---------- Final CTA ---------- */
  .final-cta { position: relative; padding-bottom: clamp(80px, 9vw, 140px); }
  .final-cta .intro-side { margin-top: clamp(32px, 3vw, 48px); }

  /* ---------- Responsive (pricing) ---------- */
  /* Plans: 3 cards side by side only when each card is wide enough */
  @media (max-width: 1199px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 920px; }
    .plan-pitch { min-height: 0; }
  }
  /* Tablets / small laptops: each plan becomes a wide card — name & price left, features right */
  @media (min-width: 700px) and (max-width: 1199px) {
    .plan { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-content: start; }
    .plan > :not(ul) { grid-column: 1; }
    .plan ul { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; align-self: start; }
  }
  @media (max-width: 809px) {
    .ph-tagline { bottom: 24px; max-width: none; right: var(--pad); }
    .page-hero .marquee { top: 38%; }
    .page-hero .roles { bottom: auto; top: calc(38% + var(--fs-marquee) * .5); right: var(--pad); }
    .versus { grid-template-columns: 1fr; }
    .faq details .body { padding-right: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  }
