/* Self-hosted variable fonts (Fontsource, OFL) — no Google Fonts CDN */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Grifilt — shared styles (nav, footer, buttons, sub-pages, responsive)
   Palette : #F7F6F2 fond clair · #121212 encre · #EEEE22 jaune · #B8860B or
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F7F6F2;
  color: #121212;
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4, .display { font-family: 'Bricolage Grotesque', sans-serif; }

/* ---------- Keyframes (shared with homepage) ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blob { 0%,100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 50% { border-radius: 58% 42% 38% 62% / 56% 58% 42% 44%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cubeSpinA { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }
@keyframes cubeSpinB { from { transform: rotateX(18deg) rotateY(360deg); } to { transform: rotateX(18deg) rotateY(0deg); } }
@keyframes cubeSpinC { from { transform: rotateX(-28deg) rotateY(45deg) rotateZ(0deg); } to { transform: rotateX(-28deg) rotateY(405deg) rotateZ(0deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes bob2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(22px); } }

/* ---------- Scroll progress ---------- */
#scrollbar-track {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: rgba(17,17,17,0.06);
}
#scrollbar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg,#B8860B,#EEEE22);
  transform: scaleX(0); transform-origin: left center; will-change: transform;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 72px);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  background: rgba(16,16,16,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.4s ease;
}
.nav.is-scrolled { box-shadow: 0 10px 34px rgba(17,17,17,0.10); }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { color: #F7F6F2; text-decoration: none; opacity: 0.78; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EEEE22; color: #121212; text-decoration: none;
  font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 100px;
  white-space: nowrap;
}
.nav-cta .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #121212; }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: #F7F6F2; margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-mobile {
  display: none; position: fixed; top: 65px; left: 0; right: 0; z-index: 99;
  background: #101010;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 18px clamp(20px, 5vw, 72px) 26px;
  flex-direction: column; gap: 4px;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  color: #F7F6F2; text-decoration: none; font-size: 17px; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile a:last-child { border-bottom: 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-right { gap: 14px; }
  .nav-cta { font-size: 13px; padding: 10px 16px; }
}

/* ---------- Buttons ---------- */
.btn-dark, .btn-yellow, .btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 17px 30px; border-radius: 100px;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
}
.btn-dark { background: #121212; color: #F7F6F2; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,17,17,0.25); }
.btn-yellow { background: #EEEE22; color: #121212; font-weight: 700; }
.btn-yellow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(238,238,34,0.4); }
.btn-outline { background: transparent; color: #121212; border: 1.5px solid rgba(17,17,17,0.2); padding: 17px 28px; }
.btn-outline:hover { border-color: rgba(17,17,17,0.5); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Homepage responsive grids ---------- */
.stats-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.about-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 90px); align-items: center;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  #hero { padding-top: 112px !important; padding-bottom: 48px !important; }
  #hero h1 { margin-bottom: 20px !important; }
  #cube-scene { top: -4% !important; }
}
@media (max-width: 640px) {
  #cube-scene { opacity: 0.35; }
}

/* ---------- Sub-pages (services, articles, contact) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: #14120E; color: #F7F6F2;
  padding: 168px clamp(20px, 5vw, 72px) 72px;
}
.page-hero .glow {
  position: absolute; top: -140px; right: -100px; width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,238,34,0.22), transparent 70%);
  filter: blur(24px); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #EEEE22; margin-bottom: 16px;
}
.eyebrow.gold { color: #B8860B; }
.page-hero h1 {
  font-weight: 700; font-size: clamp(34px, 5.5vw, 68px);
  line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 22px; max-width: 900px;
}
.page-hero .lead {
  font-size: clamp(16px, 2vw, 20px); line-height: 1.55; opacity: 0.72;
  max-width: 640px; margin: 0;
}
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 14px; opacity: 0.6; font-weight: 600; }

.page-body { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px); }
.page-body-inner { max-width: 820px; margin: 0 auto; }
.page-body-wide { max-width: 1180px; margin: 0 auto; }

/* Article / long-form typography */
.prose { font-size: 17px; line-height: 1.7; }
.prose h2 {
  font-weight: 600; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em;
  line-height: 1.15; margin: 2.2em 0 0.6em;
}
.prose h3 { font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin: 1.8em 0 0.5em; }
.prose p { margin: 0 0 1.2em; opacity: 0.85; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.55em; opacity: 0.85; }
.prose strong { font-weight: 700; opacity: 1; }
.prose img { border-radius: 18px; height: auto; }
.prose hr { border: 0; border-top: 1.5px solid rgba(17,17,17,0.12); margin: 2.4em 0; }
.prose a { color: #876306; font-weight: 600; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  border-left: 3px solid #EEEE22; background: #ECEAE2; border-radius: 0 14px 14px 0;
  font-weight: 500;
}
.prose .note {
  margin: 1.6em 0; padding: 20px 24px; border-radius: 16px;
  background: #ECEAE2; font-size: 15.5px;
}

/* Feature list on service pages */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin: 34px 0 8px; padding: 0; list-style: none;
}
.feature-grid li {
  background: #FFFFFF; border: 1px solid rgba(17,17,17,0.08); border-radius: 18px;
  padding: 22px 24px; font-size: 15.5px; line-height: 1.55;
}
.feature-grid li strong { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; margin-bottom: 6px; }
@media (max-width: 700px) { .feature-grid { grid-template-columns: 1fr; } }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .post-grid, .post-grid.cols-3 { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  background: #FFFFFF; border: 1px solid rgba(17,17,17,0.08); border-radius: 24px;
  padding: 30px; text-decoration: none; color: #121212;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(17,17,17,0.10); }
.post-card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #B8860B; background: rgba(184,134,11,0.1);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 14px;
}
.post-card h3 { font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 10px; }
.post-card p { font-size: 15px; line-height: 1.55; opacity: 0.65; margin: 0; }
.post-card .foot { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 600; opacity: 0.6; }
.post-card .arrow {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: #121212; color: #EEEE22; align-items: center; justify-content: center; font-size: 15px;
}

/* Brand logos & service icons */
.hero-badge {
  width: 62px; height: 62px; border-radius: 18px;
  background: rgba(247,246,242,0.07); border: 1px solid rgba(247,246,242,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.hero-badge img { height: 32px; width: 32px; }
.hero-badge svg { width: 30px; height: 30px; color: #EEEE22; }
.hero-badge.on-light { background: #FFFFFF; border-color: rgba(17,17,17,0.1); }

.svc-badge {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: #FFFFFF; border: 1px solid rgba(17,17,17,0.1);
  box-shadow: 0 4px 14px rgba(17,17,17,0.08);
  display: flex; align-items: center; justify-content: center;
}
.svc-badge img { width: 24px; height: 24px; }
.svc-badge svg { width: 22px; height: 22px; color: #B8860B; }
.svc-badge-row { display: flex; gap: 8px; flex: none; }
.svc-badge-row .svc-badge { width: 36px; height: 36px; border-radius: 11px; }
.svc-badge-row .svc-badge img { width: 20px; height: 20px; }

.platform-band { text-align: center; }
.platform-band .label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #B8860B; margin-bottom: 24px;
}
.platform-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding: 0; margin: 0; list-style: none;
}
.platform-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #FFFFFF; border: 1px solid rgba(17,17,17,0.08); border-radius: 100px;
  padding: 10px 18px 10px 12px; font-size: 14px; font-weight: 700; color: #121212;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
}
.platform-chip:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(17,17,17,0.1); }
.platform-chip img { width: 22px; height: 22px; }

.contact-icon {
  width: 46px; height: 46px; border-radius: 14px; background: #121212; color: #EEEE22;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.contact-icon svg { width: 22px; height: 22px; }

/* Portfolio — browser-window mockup cards */
.work-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 1000px) { .work-grid { grid-template-columns: 1fr; max-width: 640px; } }
.work-card {
  display: flex; flex-direction: column;
  background: #FFFFFF; border: 1px solid rgba(17,17,17,0.08); border-radius: 24px;
  overflow: hidden; text-decoration: none; color: #121212;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(17,17,17,0.13); }
.browser { border-bottom: 1px solid rgba(17,17,17,0.07); }
.browser-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #ECEAE2;
}
.browser-bar .dots { display: flex; gap: 5px; }
.browser-bar .dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.browser-bar .dots span:nth-child(1) { background: #F06057; }
.browser-bar .dots span:nth-child(2) { background: #F5BE4F; }
.browser-bar .dots span:nth-child(3) { background: #61C454; }
.browser-bar .url {
  flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; opacity: 0.55;
  background: #F7F6F2; border-radius: 100px; padding: 4px 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-view { position: relative; height: 240px; overflow: hidden; }
.browser-view .shot, .phone .screen .shot {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.work-card:hover .browser-view .shot { transform: scale(1.03); }
.browser-view > .scene { position: absolute; inset: 0; padding: 22px 24px; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.work-card:hover .browser-view > .scene { transform: scale(1.04); }
.work-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #B8860B; background: rgba(184,134,11,0.1); padding: 5px 11px; border-radius: 100px;
}
.work-body h3 { font-weight: 600; font-size: 23px; letter-spacing: -0.015em; margin: 2px 0 0; }
.work-body p { font-size: 14.5px; line-height: 1.55; opacity: 0.65; margin: 0; flex: 1; }
.work-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; margin-top: 6px;
}
.work-link .arrow {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  background: #121212; color: #EEEE22; align-items: center; justify-content: center; font-size: 13px;
  transition: transform 0.3s ease;
}
.work-card:hover .work-link .arrow { transform: translate(2px, -2px); }

/* Phone mockups — responsive band */
.phones-band { margin-top: clamp(56px, 8vw, 90px); }
.phones-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.phones-head p { font-size: 15.5px; line-height: 1.6; opacity: 0.65; margin: 12px 0 0; }
.phones-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 34px);
  align-items: end;
}
@media (max-width: 900px) { .phones-grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; } }
.phone-wrap { text-align: center; }
.phone {
  border-radius: 36px; background: #121212; padding: 10px;
  box-shadow: 0 26px 54px rgba(17,17,17,0.22);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.phone-wrap:hover .phone { transform: translateY(-8px); }
.phone-wrap:nth-child(2) .phone, .phone-wrap:nth-child(4) .phone { margin-bottom: 26px; }
.phone .screen { position: relative; border-radius: 27px; overflow: hidden; height: clamp(300px, 30vw, 400px); background: #F7F6F2; }
.phone .notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 17px; border-radius: 100px; background: #121212; z-index: 6;
}
.phone .mini-scene { position: absolute; inset: 0; padding: 26px 18px 16px; }
.phone-wrap .name { font-size: 13.5px; font-weight: 700; margin-top: 14px; opacity: 0.7; }

/* ---------- Services hub (/services/) ----------
   Desktop: interactive editorial index + sticky preview panel.
   Mobile: dedicated stacked-card layout. */
.svc-hub {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 4.5vw, 70px); align-items: start;
}
.svc-index { list-style: none; margin: 0; padding: 0; }
.svc-row a {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 24px 10px; text-decoration: none; color: #121212;
  border-bottom: 1.5px solid rgba(17,17,17,0.12);
  transition: padding-left 0.35s cubic-bezier(0.16,1,0.3,1), background 0.35s ease;
}
.svc-row:first-child a { border-top: 1.5px solid rgba(17,17,17,0.12); }
.svc-row a::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 4px;
  border-radius: 100px; background: #EEEE22;
  transform: scaleY(0); transform-origin: center; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.svc-row a.is-active { padding-left: 24px; }
.svc-row a.is-active::before { transform: scaleY(1); }
.svc-row .num {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 13px; font-weight: 700;
  color: #B8860B; width: 30px; flex: none;
}
.svc-row .name {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600;
  font-size: clamp(21px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.05; flex: 1;
}
.svc-row .desc { display: none; }
.svc-row .row-badge { display: none; }
.svc-row .go {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: #121212; color: #EEEE22; align-items: center; justify-content: center;
  font-size: 15px; opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.svc-row a.is-active .go { opacity: 1; transform: none; }

.svc-preview {
  position: sticky; top: 108px; min-height: 480px;
  background: #121212; color: #F7F6F2; border-radius: 30px; overflow: hidden;
}
.svc-pane {
  position: absolute; inset: 0; padding: clamp(30px, 3vw, 46px);
  display: flex; flex-direction: column; align-items: flex-start;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.svc-pane.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.svc-pane .pane-glow {
  position: absolute; top: -110px; right: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,238,34,0.28), transparent 70%); filter: blur(20px);
}
.svc-pane .hero-badge { margin-bottom: 20px; }
.svc-pane .pane-num {
  position: absolute; top: 24px; right: 34px;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(64px, 6vw, 96px); line-height: 0.8; opacity: 0.1;
}
.svc-pane h2 {
  font-weight: 600; font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 14px; max-width: 90%;
}
.svc-pane p { font-size: 16px; line-height: 1.6; opacity: 0.7; margin: 0 0 22px; }
.svc-pane .pane-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-pane .pane-tags span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #EEEE22; border: 1px solid rgba(238,238,34,0.4);
  padding: 6px 12px; border-radius: 100px;
}
.svc-pane .btn-yellow { margin-top: auto; font-size: 15px; padding: 15px 26px; }

@media (max-width: 900px) {
  /* Mobile: the index becomes a stack of tappable cards, preview panel disappears */
  .svc-hub { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
  .svc-index { display: flex; flex-direction: column; gap: 14px; }
  .svc-row a, .svc-row:first-child a {
    flex-wrap: wrap; align-items: center; gap: 6px 14px;
    background: #FFFFFF; border: 1px solid rgba(17,17,17,0.09) !important; border-radius: 20px;
    padding: 20px 20px 22px;
    box-shadow: 0 6px 18px rgba(17,17,17,0.05);
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
  }
  .svc-row a:active { transform: scale(0.98); }
  .svc-row a::before { display: none; }
  .svc-row a.is-active { padding-left: 20px; }
  .svc-row .row-badge { display: flex; }
  .svc-row .row-badge .hero-badge {
    width: 52px; height: 52px; border-radius: 15px; margin-bottom: 0;
    background: #F7F6F2; border-color: rgba(17,17,17,0.08);
  }
  .svc-row .row-badge .hero-badge svg { color: #B8860B; }
  .svc-row .row-badge > div { display: flex; gap: 6px; margin-bottom: 0 !important; }
  .svc-row .num { display: none; }
  .svc-row .name { font-size: 20px; flex: 1; min-width: 0; }
  .svc-row .desc {
    display: block; width: 100%; order: 4;
    font-size: 14px; line-height: 1.5; opacity: 0.6; margin-top: 6px;
  }
  .svc-row .go { opacity: 1; transform: none; width: 30px; height: 30px; font-size: 13px; }
}

/* Blog pagination */
.pagination {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 46px;
}
.page-btn {
  min-width: 44px; height: 44px; padding: 0 14px;
  border-radius: 100px; border: 1.5px solid rgba(17,17,17,0.18);
  background: transparent; color: #121212;
  font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease;
}
.page-btn:hover:not(:disabled):not(.is-current) { border-color: rgba(17,17,17,0.55); transform: translateY(-2px); }
.page-btn.is-current { background: #121212; color: #EEEE22; border-color: #121212; cursor: default; }
.page-btn:disabled { opacity: 0.35; cursor: default; }

/* CTA block reused across pages */
.cta-block {
  max-width: 1180px; margin: 0 auto;
  background: #121212; color: #F7F6F2; border-radius: 32px;
  padding: clamp(44px, 6vw, 80px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-block .glow {
  position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%);
  width: 520px; height: 320px;
  background: radial-gradient(circle, rgba(238,238,34,0.4), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.cta-block h2 {
  font-weight: 700; font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.0; letter-spacing: -0.03em; margin: 0 auto 18px; max-width: 720px;
  position: relative; z-index: 1;
}
.cta-block p { font-size: clamp(15px, 2vw, 18px); line-height: 1.5; opacity: 0.7; max-width: 520px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta-block .btn-yellow { position: relative; z-index: 1; font-size: 17px; padding: 19px 36px; }

/* Breadcrumb-ish back link */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; text-decoration: none; color: #121212;
  margin-bottom: 10px;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #121212; color: #F7F6F2; padding: 60px clamp(20px, 5vw, 72px) 40px; }
.footer-grid {
  max-width: 1180px; margin: 0 auto 42px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.footer-grid img { height: 30px; width: auto; display: block; margin-bottom: 16px; }
.footer-grid .blurb { font-size: 14px; line-height: 1.6; opacity: 0.55; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #EEEE22; margin: 0 0 16px; }
.footer-col a { display: block; color: #F7F6F2; text-decoration: none; font-size: 14.5px; opacity: 0.65; margin-bottom: 10px; }
.footer-col a:hover { opacity: 1; }
.footer-col p { font-size: 14.5px; opacity: 0.65; margin: 0 0 10px; line-height: 1.5; }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; opacity: 0.55;
}
.footer-social { display: flex; gap: 14px; }
.footer-social img { width: 22px; height: 22px; opacity: 0.85; transition: opacity 0.2s ease, transform 0.2s ease; }
.footer-social a:hover img { opacity: 1; transform: translateY(-2px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
