/* =========================================================================
   UNIMARK — stylesheet
   Agence de croissance digitale, Casablanca

   Structure of this file (search for the numbered headers below):
     00. Design tokens (palette, type, spacing)
     01. Reset & base
     02. Keyframes
     03. Utilities (container, buttons, kickers, media-slot placeholders)
     04. Scroll-reveal
     05. Header
     06. Fullscreen menu
     07. Hero
     08. Manifesto marquee
     09. Client logos
     10. Stats ("chiffres")
     11. Problem statement
     12. Services (tabbed)
     13. Methodology
     14. Case studies ("réalisations")
     15. Founder
     16. Testimonials
     17. Sectors
     18. Creative wall
     19. "We turn down work" statement
     20. FAQ accordion
     21. Final CTA + contact form
     22. Footer
     23. Responsive breakpoints
   ========================================================================= */

/* -------------------------------------------------------------------------
   00. DESIGN TOKENS
   Brand palette is intentionally strict — do not add colors here.
------------------------------------------------------------------------- */
:root {
  --sapphire: #18647A;      /* primary */
  --deep-sapphire: #0D2830; /* dark section backgrounds */
  --sunny: #F9F871;         /* single accent — used sparingly on purpose */
  --ink: #000000;           /* true black, never a tinted black */
  --paper: #FFFFFF;
  --ice: #7FCADB;           /* light tint of sapphire, used for icon strokes */

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --container: 1400px;
  --gutter: clamp(16px, 3vw, 40px);

  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-strong: cubic-bezier(.16,.84,.24,1);
}

/* -------------------------------------------------------------------------
   01. RESET & BASE
------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--deep-sapphire);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sunny); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* -------------------------------------------------------------------------
   02. KEYFRAMES
------------------------------------------------------------------------- */
@keyframes uniHeroMask {
  0%   { transform: rotate(-45deg) scale(.16); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
@keyframes uniHeroMedia { 0%, 35% { opacity: 0; } 100% { opacity: 1; } }
@keyframes uniTitleUp { 0%, 32% { transform: translateY(46px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes uniShine { 0% { background-position: 120% 50%; } 100% { background-position: -20% 50%; } }
@keyframes uniMarqL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes uniMarqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* -------------------------------------------------------------------------
   03. UTILITIES
------------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--sunny); color: var(--ink); padding: 12px 18px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--ink); }

:focus-visible { outline: 2px solid var(--sunny); outline-offset: 2px; }

.rosace-icon { display: block; background-color: currentColor; -webkit-mask: url(../assets/img/rosace-mark.png) center / contain no-repeat; mask: url(../assets/img/rosace-mark.png) center / contain no-repeat; }

/* Reusable placeholder for a not-yet-delivered photo/video.
   HOW TO REPLACE WITH A REAL FILE:
   1. Drop your file in assets/img/ (photos) or assets/video/ (clips).
   2. Delete the placeholder <div class="media-slot ...">…</div>.
   3. Put an <img> or <video> in its place with the SAME classes
      (e.g. class="media-slot media-slot--rosace ratio-4-5") so it keeps
      the same size, aspect ratio and — where noted — the rosace mask. */
.media-slot {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 10px, transparent 10px 20px);
  overflow: hidden;
}
.media-slot img, .media-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-slot__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.72);
  text-align: center;
  line-height: 1.6;
  padding: 0 12px;
}
.media-slot--rosace { -webkit-mask: url(../assets/img/rosace-solid.png) center / contain no-repeat; mask: url(../assets/img/rosace-solid.png) center / contain no-repeat; padding: 22%; }
.media-slot--rosace .media-slot__label { padding: 0; }
.media-slot--tint { background-color: var(--sapphire); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.09) 0 9px, transparent 9px 18px); }
.media-slot--panel { background-color: var(--deep-sapphire); border: 1px solid rgba(255,255,255,.14); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 9px, transparent 9px 18px); }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-9-16 { aspect-ratio: 9/16; }
.ratio-3-2 { aspect-ratio: 3/2; }
.ratio-4-3 { aspect-ratio: 4/3; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 105;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  padding: 18px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  min-height: 44px;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--sunny); color: var(--ink); }
.btn-primary:hover { color: var(--ink); }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.32); }
.btn-outline:hover { color: var(--paper); border-color: #fff; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--paper); }
.btn-sm { padding: 0 18px; height: 40px; font-size: 13px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.55vw, 21px);
  letter-spacing: .005em;
  color: rgba(255,255,255,.72);
  margin: 0 0 22px;
  line-height: 1.35;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   04. SCROLL-REVEAL
   Sections animate in only in response to scroll — never on a timer, and
   never the same fade+slide on every block (see design brief).
------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-x] { opacity: 0; transform: translateX(-26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal-x].is-in { opacity: 1; transform: none; }
[data-reveal-w] { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal-w].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-x] { opacity: 1 !important; transform: none !important; }
  [data-reveal-w] { clip-path: none !important; }
}

/* -------------------------------------------------------------------------
   05. HEADER
------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(13,40,48,.74);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-header__row {
  max-width: var(--container); margin: 0 auto; padding: 13px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { width: 32px; height: 32px; color: #fff; }
.brand__word { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.site-header__actions { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 16px); flex: none; }

.menu-toggle {
  --w2: 18px;
  width: 40px; height: 40px; flex: none;
  background: none; border: 1px solid rgba(255,255,255,.34); border-radius: 999px;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .25s, background .25s;
}
.menu-toggle:hover { --w2: 11px; border-color: #fff; background: rgba(255,255,255,.06); }
.menu-toggle__bar { display: block; width: 18px; height: 1.5px; background: #fff; }
.menu-toggle__bar--mid { width: var(--w2); transition: width .3s var(--ease); }

/* -------------------------------------------------------------------------
   06. FULLSCREEN MENU
------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 120; background: var(--ink);
  transform: translateX(100%); opacity: 0; pointer-events: none;
  transition: transform .55s cubic-bezier(.72,0,.18,1), opacity .35s;
  overflow-y: auto;
}
.menu-overlay.is-open { transform: translateX(0%); opacity: 1; pointer-events: auto; }
.menu-overlay__glow {
  position: absolute; top: -14%; right: -16%; width: min(820px, 80vw); aspect-ratio: 1;
  opacity: .045; pointer-events: none; color: #fff;
}
.menu-overlay__inner {
  position: relative; max-width: var(--container); margin: 0 auto;
  padding: clamp(18px, 3vw, 40px) var(--gutter) clamp(40px, 7vh, 80px);
  min-height: 100%; display: flex; flex-direction: column; gap: clamp(30px, 6vh, 64px);
}
.menu-overlay__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu-close {
  background: none; border: 1px solid rgba(255,255,255,.34); color: #fff; border-radius: 999px;
  padding: 0 20px; height: 44px; font-family: var(--font-display); font-variation-settings: 'wdth' 105;
  font-weight: 700; font-size: 14px; letter-spacing: -.01em; cursor: pointer; display: flex; align-items: center;
  transition: border-color .25s;
}
.menu-close:hover { border-color: #fff; color: #fff; }

.menu-body { flex: 1; display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(30px, 4vw, 70px); align-items: start; }

.menu-nav { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.16); }
.menu-nav__link {
  display: flex; align-items: center; padding: clamp(14px,2vh,20px) 8px; padding-left: 8px;
  border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; background: transparent;
  transition: padding-left .3s var(--ease), background .3s;
}
.menu-nav__link .rosace-icon { width: 14px; height: 14px; flex: none; margin-right: 14px; color: var(--sunny); opacity: 0; transform: rotate(0deg); transition: opacity .3s, transform .5s var(--ease); }
.menu-nav__link:hover, .menu-nav__link:focus-visible, .menu-nav__link.is-active {
  padding-left: 16px; background: rgba(255,255,255,.05); color: #fff;
}
.menu-nav__link:hover .rosace-icon, .menu-nav__link:focus-visible .rosace-icon, .menu-nav__link.is-active .rosace-icon { opacity: 1; transform: rotate(45deg); }
.menu-nav__label { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(28px, 4.2vw, 54px); letter-spacing: -.035em; line-height: 1; }

.menu-panels { position: relative; }
.menu-panel { display: none; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.menu-panel.is-active { display: block; opacity: 1; transform: translateY(0); }
.menu-panel__title {
  font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700; font-size: clamp(19px,1.7vw,24px);
  letter-spacing: -.025em; color: #fff; padding-bottom: 16px; margin: 0 0 clamp(18px,2.4vh,28px); border-bottom: 1px solid rgba(255,255,255,.28);
}
.menu-panel__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(24px,2.6vw,40px) clamp(28px,3vw,56px); }
.menu-panel__group h3 {
  font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 14px; letter-spacing: .01em;
  color: var(--sunny); padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); min-height: 20px;
}
.menu-panel__group ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.menu-panel__group a { display: block; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.78); padding: 11px 0; transition: color .25s, padding-left .25s; }
.menu-panel__group a:hover, .menu-panel__group a:focus-visible { color: #fff; padding-left: 8px; }

.menu-panel__contact { display: flex; flex-direction: column; gap: 18px; }
.menu-panel__contact a { display: flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700; font-size: clamp(18px,1.7vw,22px); letter-spacing: -.02em; color: #fff; transition: color .25s; }
.menu-panel__contact a:hover { color: var(--sunny); }
.menu-panel__contact p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.6); }

.menu-overlay__bottom {
  display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16);
}
.menu-overlay__social { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: rgba(255,255,255,.68); }
.menu-overlay__social a { display: flex; align-items: center; min-height: 44px; transition: color .25s; }

/* -------------------------------------------------------------------------
   07. HERO
------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; background: var(--deep-sapphire);
  display: flex; align-items: flex-end;
  padding: clamp(104px,13vh,170px) var(--gutter) clamp(28px,5vh,56px);
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -18%; right: -24%; width: min(1100px,110vw); aspect-ratio: 1;
  opacity: .05; pointer-events: none; color: #fff;
  animation: uniHeroMask 1.2s var(--ease-strong) both;
}
.hero__grid {
  position: relative; max-width: var(--container); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(28px,4vw,64px); align-items: center;
}
.hero__copy { animation: uniTitleUp 1.2s var(--ease-strong) both; }
.hero h1 {
  font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; letter-spacing: -.03em;
  line-height: 1.03; font-size: clamp(33px,5.4vw,86px); text-wrap: pretty; max-width: min(100%,26ch);
}
.hero h1 span { display: block; color: rgba(255,255,255,.42); text-wrap: balance; }
.hero__subtitle { margin: 26px 0 0; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 66ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(18px,3vw,44px); margin-top: clamp(34px,6vh,60px); align-items: baseline; }
.hero__stats span { font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: rgba(255,255,255,.9); }

.hero__media { animation: uniHeroMask 1.2s var(--ease-strong) both; transform-origin: center; }
.hero__media-frame {
  position: relative; width: 100%; max-width: 270px; aspect-ratio: 4/5;
  background: var(--sapphire);
  -webkit-mask: url(../assets/img/rosace-solid.png) center / contain no-repeat;
  mask: url(../assets/img/rosace-solid.png) center / contain no-repeat;
}
.hero__media-frame .media-slot { position: absolute; inset: 0; padding: 22%; animation: uniHeroMedia 1.2s ease both; }

/* -------------------------------------------------------------------------
   08. MANIFESTO MARQUEE
------------------------------------------------------------------------- */
.manifesto {
  background: var(--sunny); color: var(--ink); padding: clamp(16px,2.2vw,28px) 0;
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.manifesto__track { display: inline-flex; white-space: nowrap; animation: uniMarqL 34s linear infinite; will-change: transform; }
.manifesto__track span {
  font-family: var(--font-display); font-variation-settings: 'wdth' 118; font-weight: 700;
  font-size: clamp(24px,3.8vw,56px); letter-spacing: -.03em; padding-right: .4em;
}

/* -------------------------------------------------------------------------
   09. CLIENT LOGOS
------------------------------------------------------------------------- */
.logos { background: var(--deep-sapphire); padding: clamp(40px,6vh,72px) 0; }
.logos__row {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr));
  gap: clamp(18px,3vw,48px); align-items: center;
}
.logos__row h2 {
  font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700;
  font-size: clamp(21px,2vw,27px); letter-spacing: -.03em; line-height: 1.25; max-width: 22ch;
}
.logos__viewport {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track { display: flex; width: max-content; white-space: nowrap; animation: uniMarqL 30s linear infinite; will-change: transform; }
.logos__group { display: flex; gap: 14px; padding-right: 14px; }
.logo-slot {
  width: 132px; height: 40px; border: 1px solid rgba(255,255,255,.18); flex: none;
  display: flex; align-items: center; justify-content: center; white-space: normal; text-align: center;
}
.logo-slot span { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: .07em; color: rgba(255,255,255,.55); }

/* -------------------------------------------------------------------------
   10. STATS ("chiffres")
------------------------------------------------------------------------- */
.stats {
  background: var(--ink); padding: clamp(44px,11vh,140px) var(--gutter) clamp(80px,13vh,170px);
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 3.4vw, 100% 100%, 0 calc(100% - 3.4vw));
}
.stats__glow { position: absolute; left: -12%; top: -30%; width: min(900px,95vw); aspect-ratio: 1; opacity: .045; pointer-events: none; color: #fff; }
.stats__grid { position: relative; max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(46%,230px),1fr)); gap: clamp(22px,3vw,40px); align-items: start; }
.stat { }
.stat:nth-child(2) { padding-top: clamp(24px,5vw,88px); }
.stat:nth-child(3) { padding-top: clamp(12px,2.4vw,40px); }
.stat:nth-child(4) { padding-top: clamp(30px,6.5vw,120px); }
.stat__num { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(60px,8.4vw,124px); line-height: .9; letter-spacing: -.04em; color: #fff; }
.stat__num--accent { color: var(--sunny); }
.stat__label { margin-top: 14px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.68); max-width: 24ch; }

/* -------------------------------------------------------------------------
   11. PROBLEM STATEMENT
------------------------------------------------------------------------- */
.problem { background: var(--paper); color: var(--ink); padding: clamp(48px,13vh,160px) var(--gutter); margin-top: -3.4vw; }
.problem__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr)); gap: clamp(32px,5vw,90px); }
.problem h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(32px,4.4vw,64px); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.problem__copy { display: flex; flex-direction: column; gap: 22px; max-width: 70ch; }
.problem__copy p { font-size: 17px; line-height: 1.65; color: #1b1b1b; }
.problem__point {
  display: flex; gap: 14px; align-items: flex-start; font-size: 19px; line-height: 1.5; color: var(--sapphire);
  font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; letter-spacing: -.02em;
}
.problem__point .rosace-icon { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--ice); }

/* -------------------------------------------------------------------------
   12. SERVICES (tabbed)
------------------------------------------------------------------------- */
.services { background: var(--deep-sapphire); padding: clamp(44px,11vh,140px) var(--gutter); }
.services__inner { max-width: var(--container); margin: 0 auto; }
.services__intro { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,360px),1fr)); gap: clamp(24px,4vw,72px); align-items: end; }
.services h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(32px,4.6vw,68px); line-height: 1.02; letter-spacing: -.03em; }
.services__intro p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.72); max-width: 46ch; padding-bottom: 8px; }

.tabs { margin-top: clamp(32px,5vh,56px); display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: none; min-height: 48px; padding: 13px 24px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
  transition: background .3s, color .3s, border-color .3s;
}
.tab-btn.is-active { background: var(--sunny); color: var(--ink); border-color: var(--sunny); }

.tab-panels { margin-top: clamp(24px,4vh,44px); border-top: 1px solid rgba(255,255,255,.16); padding-top: clamp(24px,4vh,40px); }
.tab-panel { display: none; gap: clamp(16px,1.8vw,24px); }
.tab-panel.is-active { display: flex; flex-direction: column; opacity: 1; }

.service-card {
  --cr: 0deg; --cb: rgba(255,255,255,.13); --gb: rgba(0,0,0,.34);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: rgba(255,255,255,.022); border: 1px solid var(--cb);
  padding: clamp(20px,1.9vw,26px) clamp(20px,1.9vw,26px) clamp(24px,2.2vw,30px);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.service-card:hover { --cr: 30deg; --cb: rgba(255,255,255,.36); --gb: rgba(0,0,0,.5); background: rgba(24,100,122,.14); transform: translateY(-3px); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.service-card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; background: var(--gb); border: 1px solid rgba(255,255,255,.12); transition: background .35s; color: var(--ice); }
.service-card__rosace { display: block; width: 16px; height: 16px; flex: none; color: rgba(255,255,255,.62); transform: rotate(var(--cr)); transition: transform .7s var(--ease); }
.service-card h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700; font-size: clamp(19px,1.6vw,23px); letter-spacing: -.025em; line-height: 1.1; margin-top: 20px; }
.service-card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.74); max-width: 42ch; }

.services__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: clamp(20px,3.4vh,34px); font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 16px; letter-spacing: -.01em; border-bottom: 1px solid rgba(255,255,255,.4); }

/* -------------------------------------------------------------------------
   13. METHODOLOGY
------------------------------------------------------------------------- */
.methodology { background: var(--sapphire); color: #fff; padding: clamp(48px,12vh,150px) var(--gutter); position: relative; overflow: hidden; }
.methodology__inner { max-width: var(--container); margin: 0 auto; position: relative; }
.methodology h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(30px,4.1vw,60px); line-height: 1.05; letter-spacing: -.03em; max-width: 24ch; text-wrap: balance; }
.methodology__steps-wrap { position: relative; margin-top: clamp(40px,6vh,80px); }

.methodology__line--wide { display: none; position: absolute; inset: 0; pointer-events: none; }
.methodology__line--wide .bar { position: absolute; left: 1%; top: 12%; width: 96%; height: 62%; background: linear-gradient(72deg,#0B3B2E 0%,#1E8F5B 46%,#F9F871 100%); clip-path: polygon(0 100%, 0 calc(100% - 3px), calc(100% - 3px) 0, 100% 0, 100% 3px, 3px 100%); }
.methodology__line--wide .arrow { position: absolute; right: 1%; top: 9%; width: 22px; height: 22px; background: var(--sunny); clip-path: polygon(100% 0, 100% 100%, 0 0); }

.methodology__line--narrow { position: absolute; left: 7px; top: 0; bottom: 0; width: 3px; pointer-events: none; }
.methodology__line--narrow .bar { position: absolute; inset: 0; background: linear-gradient(0deg,#0B3B2E 0%,#1E8F5B 46%,#F9F871 100%); }
.methodology__line--narrow .arrow { position: absolute; left: -10px; top: -17px; width: 23px; height: 23px; background: var(--sunny); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.methodology__grid { position: relative; display: flex; flex-direction: column-reverse; gap: clamp(26px,4vh,40px); padding-left: 34px; }
.method-step__num { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(34px,3.4vw,50px); letter-spacing: -.04em; line-height: 1; color: rgba(255,255,255,.5); }
.method-step__num--accent { color: var(--sunny); }
.method-step h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700; font-size: 24px; letter-spacing: -.03em; margin-top: 12px; }
.method-step p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 34ch; }

/* -------------------------------------------------------------------------
   14. CASE STUDIES ("réalisations")
------------------------------------------------------------------------- */
.work { background: var(--deep-sapphire); padding: clamp(44px,11vh,140px) var(--gutter); }
.work__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: clamp(32px,4vw,72px); align-items: start; }
.work__intro { position: static; top: 110px; }
.work__intro h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(30px,4.1vw,58px); line-height: 1.04; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; }
.work__intro p { margin-top: 22px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.74); max-width: 44ch; }
.work__intro .btn { margin-top: 28px; }

.work__list { display: flex; flex-direction: column; gap: clamp(20px,2.6vw,36px); }
.case-card { --cr: 0deg; border: 1px solid rgba(255,255,255,.14); padding: clamp(14px,1.4vw,20px); transition: border-color .3s; }
.case-card:hover { --cr: 24deg; border-color: rgba(255,255,255,.34); }
.case-card__head { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.case-card__head .rosace-icon { width: 16px; height: 16px; flex: none; color: var(--sapphire); transition: transform .55s var(--ease); transform: rotate(var(--cr)); }
.case-card__head h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 110; font-weight: 700; font-size: clamp(22px,2.2vw,30px); letter-spacing: -.03em; }
.case-card__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.case-card__pills span { border: 1px solid rgba(255,255,255,.26); border-radius: 999px; padding: 7px 15px; font-size: 14px; color: rgba(255,255,255,.78); }
.case-card__stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,140px),1fr)); gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.case-card__stat-num { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(32px,3.4vw,48px); line-height: .95; letter-spacing: -.04em; color: var(--sunny); }
.case-card__stat-label { margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.66); }

/* -------------------------------------------------------------------------
   15. FOUNDER
------------------------------------------------------------------------- */
.founder { background: var(--deep-sapphire); padding: clamp(40px,12vh,150px) var(--gutter); border-top: 1px solid rgba(255,255,255,.1); }
.founder__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr)); gap: clamp(28px,5vw,88px); align-items: start; min-width: 0; }
.founder__media { position: relative; min-width: 0; order: 2; }
.founder__portrait { max-width: 270px; padding: 24%; }
.founder__bts { display: none; position: absolute; right: 0; bottom: -6%; width: 42%; padding: 14px; border: 1px solid rgba(255,255,255,.22); }

.founder__kicker { font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: rgba(255,255,255,.6); }
.founder h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(29px,3.8vw,56px); line-height: 1.05; letter-spacing: -.03em; margin-top: 16px; max-width: 24ch; text-wrap: balance; }
.founder p.lead { margin-top: 24px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 64ch; }
.founder p.lead + p.lead { margin-top: 18px; }

.founder__stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,150px),1fr)); gap: 20px; margin-top: clamp(28px,4vh,40px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.founder__stats .num { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(26px,2.6vw,36px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.founder__stats .label { margin-top: 7px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.62); }

.founder__conviction { margin-top: clamp(26px,4vh,38px); font-family: var(--font-display); font-variation-settings: 'wdth' 108; font-weight: 700; font-size: clamp(19px,2vw,25px); line-height: 1.3; letter-spacing: -.02em; color: var(--sunny); max-width: 34ch; }

.founder__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.founder__links a { min-height: 48px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 12px 22px; font-size: 15px; color: #fff; transition: border-color .25s; }
.founder__links a:hover { border-color: #fff; color: #fff; }
.founder__links a.btn-primary { border-color: var(--sunny); }

/* -------------------------------------------------------------------------
   16. TESTIMONIALS
------------------------------------------------------------------------- */
.testimonials { background: var(--paper); color: var(--ink); padding: clamp(44px,10vh,130px) var(--gutter); clip-path: polygon(0 3.4vw, 100% 0, 100% 100%, 0 100%); }
.testimonials__inner { max-width: 1100px; margin: 0 auto; }
.testimonials h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(30px,4.1vw,58px); line-height: 1.05; letter-spacing: -.03em; }
.testimonials__grid { margin-top: clamp(32px,5vh,56px); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(46%,280px),1fr)); gap: clamp(14px,4vw,64px); }
.testimonial .media-slot { max-height: min(72vh,640px); border: 1px solid rgba(0,0,0,.12); flex-direction: column; gap: 18px; }
.testimonial__play {
  width: clamp(48px,30%,74px); aspect-ratio: 1; border: 0; background: var(--sunny); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: transform .35s, background .3s; position: relative; z-index: 1;
}
.testimonial__play:hover { transform: scale(1.06); background: #fff; }
.testimonial__play span { width: 0; height: 0; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.testimonial__name { margin-top: 18px; font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.testimonial__role { margin-top: 4px; font-size: 16px; color: #4a4a4a; }

/* -------------------------------------------------------------------------
   17. SECTORS
------------------------------------------------------------------------- */
.sectors { background: var(--paper); color: var(--ink); padding: clamp(20px,4vh,40px) var(--gutter) clamp(44px,10vh,120px); }
.sectors__list { max-width: var(--container); margin: 0 auto; border-top: 1px solid rgba(0,0,0,.16); }
.sector-row {
  --o: 0; border-bottom: 1px solid rgba(0,0,0,.16); padding: clamp(20px,2.6vw,34px) 0;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 12px clamp(20px,3vw,48px);
  align-items: baseline; transition: background .3s;
}
.sector-row:hover { --o: 1; background: #F7F7EF; }
.sector-row h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(28px,3.6vw,50px); letter-spacing: -.03em; line-height: 1; display: flex; align-items: center; gap: 14px; }
.sector-row .rosace-icon { width: 18px; height: 18px; flex: none; color: var(--sapphire); opacity: var(--o); transition: opacity .3s; }
.sector-row p { font-size: 17px; line-height: 1.6; color: #333; max-width: 60ch; }

/* -------------------------------------------------------------------------
   18. CREATIVE WALL
------------------------------------------------------------------------- */
.wall { background: var(--deep-sapphire); padding: clamp(44px,10vh,120px) 0; overflow: hidden; }
.wall h2 { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 700; font-size: clamp(30px,4.1vw,58px); line-height: 1.05; letter-spacing: -.03em; }
.wall__row { overflow: hidden; }
.wall__row--top { margin-top: clamp(30px,5vh,54px); }
.wall__row--bottom { margin-top: 16px; }
.wall__track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.wall__row--top .wall__track { animation: uniMarqL 46s linear infinite; }
.wall__row--bottom .wall__track { animation: uniMarqR 52s linear infinite; }
.wall__group { display: flex; gap: 16px; padding-right: 16px; }
.wall-card { white-space: normal; display: flex; align-items: flex-end; justify-content: flex-start; padding: 14px; flex: none; }
.wall-card .media-slot__label { padding: 0; text-align: left; }
.wall-card--reel { width: clamp(150px,15vw,210px); aspect-ratio: 9/16; }
.wall-card--scroll { width: clamp(230px,25vw,340px); aspect-ratio: 3/2; }
.wall-card--identity { width: clamp(200px,22vw,300px); aspect-ratio: 4/3; }

/* -------------------------------------------------------------------------
   19. "WE TURN DOWN WORK" STATEMENT
------------------------------------------------------------------------- */
.refusal { background: var(--ink); padding: clamp(56px,18vh,220px) var(--gutter); position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 3.4vw, 100% 100%, 0 100%); }
.refusal__glow { position: absolute; right: -18%; bottom: -40%; width: min(880px,95vw); aspect-ratio: 1; opacity: .04; pointer-events: none; color: #fff; }
.refusal__inner { position: relative; max-width: var(--container); margin: 0 auto; }
.refusal h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 118; font-weight: 700; font-size: clamp(46px,10.5vw,168px); line-height: .92; letter-spacing: -.045em; max-width: 16ch; }
.refusal p { margin-top: clamp(40px,8vh,90px); font-family: var(--font-body); font-weight: 300; font-size: clamp(20px,2.2vw,29px); line-height: 1.55; letter-spacing: .005em; color: rgba(255,255,255,.84); max-width: 44ch; }

/* -------------------------------------------------------------------------
   20. FAQ ACCORDION
------------------------------------------------------------------------- */
.faq { background: var(--deep-sapphire); padding: clamp(44px,10vh,130px) var(--gutter); }
.faq__inner { max-width: 920px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.16); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.16); }
.faq-item__q {
  width: 100%; background: none; border: 0; color: #fff; text-align: left; padding: 26px 0;
  display: flex; gap: 18px; align-items: center; cursor: pointer; min-height: 56px;
  font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: clamp(18px,2vw,23px); letter-spacing: -.02em;
}
.faq-item__q .rosace-icon { display: block; width: 18px; height: 18px; flex: none; color: var(--sapphire); transform: rotate(0deg); transition: transform .45s var(--ease), color .3s; }
.faq-item.is-open .faq-item__q .rosace-icon { color: var(--sunny); transform: rotate(75deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-item.is-open .faq-item__a { max-height: 360px; }
.faq-item__a p { padding: 0 0 26px 36px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.76); max-width: 66ch; }

/* -------------------------------------------------------------------------
   21. FINAL CTA + CONTACT FORM
------------------------------------------------------------------------- */
.cta-final { background: var(--sunny); color: var(--ink); padding: clamp(52px,15vh,180px) var(--gutter); clip-path: polygon(0 3.4vw, 100% 0, 100% 100%, 0 100%); }
.cta-final__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); gap: clamp(28px,4vw,72px); align-items: start; }
.cta-final h2 { font-family: var(--font-display); font-variation-settings: 'wdth' 115; font-weight: 700; font-size: clamp(36px,5.6vw,84px); line-height: .98; letter-spacing: -.04em; max-width: 20ch; text-wrap: balance; }
.cta-final__lede { font-size: 18px; line-height: 1.6; color: #151500; max-width: 44ch; }

.contact-form { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.contact-form__row { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.contact-form label { font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 13px; letter-spacing: .01em; color: #151500; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.25); color: var(--ink);
  border-radius: 12px; padding: 13px 16px; font-family: var(--font-body); font-size: 15px; line-height: 1.5;
  transition: border-color .2s, background .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(0,0,0,.4); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: rgba(0,0,0,.02); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[type="submit"] { align-self: flex-start; margin-top: 6px; }
.contact-form__note { font-size: 13px; color: #4a4a1a; margin-top: 2px; }
.form-status { display: none; border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; margin-top: 4px; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(0,0,0,.08); color: #103300; border: 1px solid rgba(0,0,0,.18); }
.form-status--error { background: rgba(180,0,0,.08); color: #4a0000; border: 1px solid rgba(180,0,0,.25); }

/* -------------------------------------------------------------------------
   22. FOOTER
------------------------------------------------------------------------- */
.site-footer { background: var(--deep-sapphire); padding: clamp(44px,9vh,110px) 0 0; position: relative; overflow: hidden; }
.site-footer__glow { position: absolute; left: -14%; top: 6%; width: min(760px,90vw); aspect-ratio: 1; opacity: .045; pointer-events: none; color: #fff; }
.site-footer__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(46%,190px),1fr)); gap: clamp(24px,3vw,48px); }
.site-footer__cols h3 { font-family: var(--font-display); font-variation-settings: 'wdth' 105; font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: #fff; }
.site-footer__cols ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; font-size: 15px; color: rgba(255,255,255,.7); }
.site-footer__cols a { display: flex; align-items: center; min-height: 44px; transition: color .25s; }

.site-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(36px,6vh,64px); }
.site-footer__badges span { border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 9px 17px; font-size: 14px; color: rgba(255,255,255,.76); }

.site-footer__legal { margin-top: clamp(28px,5vh,48px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,.55); }
.site-footer__legal-links { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer__legal-links a { display: flex; align-items: center; min-height: 44px; transition: color .25s; }

.site-footer__wordmark { margin-top: clamp(28px,5vh,56px); overflow: hidden; }
.site-footer__wordmark div {
  font-family: var(--font-display); font-variation-settings: 'wdth' 118; font-weight: 800;
  font-size: clamp(88px,17.5vw,268px); line-height: .78; letter-spacing: -.055em; margin-right: -6vw;
  padding-left: clamp(10px,2vw,28px);
  background: linear-gradient(96deg, #2C7E96 0%, #2C7E96 34%, #7FCADB 44%, #F9F871 50%, #7FCADB 56%, #2C7E96 66%, #2C7E96 100%);
  background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: uniShine 6.5s linear infinite;
}

/* -------------------------------------------------------------------------
   23. RESPONSIVE BREAKPOINTS
   Mirrors the breakpoints the design was verified at (see chats/chat1.md):
   700 / 760 / 900 / 1040 / 1060 / 1100 / 1180px.
------------------------------------------------------------------------- */

/* ≥760px — hero media becomes a 9:16 column instead of a 4:5 block */
@media (min-width: 760px) {
  .hero__media-frame { max-width: 380px; aspect-ratio: 9/16; }
  .founder__portrait { max-width: 340px; }
}

/* ≥900px — "desktop" flag: sticky sidebar in case studies, secondary
   founder image appears, portrait moves back to the start of the row */
@media (min-width: 900px) {
  .work__intro { position: sticky; }
  .founder__media { order: 0; }
  .founder__bts { display: flex; }
  .founder__portrait { max-width: 560px; }
}

/* ≥1040px — hero becomes a real two-column layout, 16:9 media */
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
  .hero__media-frame { max-width: none; aspect-ratio: 16/9; }
}

/* ≥1060px — methodology switches from the ascending mobile line to the
   wide diagonal line, numbers laid out as an uneven staircase */
@media (min-width: 1060px) {
  .methodology__line--wide { display: block; }
  .methodology__line--narrow { display: none; }
  .methodology__grid { flex-direction: row; padding-left: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(20px,2.2vw,36px); }
  .method-step:nth-child(1) { padding-top: clamp(48px,10.5vw,192px); }
  .method-step:nth-child(2) { padding-top: clamp(32px,7vw,128px); }
  .method-step:nth-child(3) { padding-top: clamp(16px,3.5vw,64px); }
  .method-step:nth-child(4) { padding-top: 0; }
}

/* ≥700px — menu sub-columns become 2-up */
@media (min-width: 700px) {
  .menu-panel__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* ≥1100px — menu becomes a two-column layout (nav list + panels) */
@media (min-width: 1100px) {
  .menu-body { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
}

/* <520px — the header CTA pill doesn't fit next to the logo and the menu
   toggle at phone widths; the same CTA is the last thing in the fullscreen
   menu, so drop it here rather than let the header overflow/wrap. */
@media (max-width: 519px) {
  .site-header__actions .btn-primary { display: none; }
}

/* ≥760px — service cards become a 2-up grid */
@media (min-width: 760px) {
  .tab-panel.is-active { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
}
/* ≥1180px — service cards become a 3-up grid */
@media (min-width: 1180px) {
  .tab-panel.is-active { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
