/* =========================================================
   AKOHUNKA MÉDIA — Design System 2026
   ========================================================= */

:root {
  /* Brand colors */
  --brand-orange: #f27b27;
  --brand-orange-dark: #d96716;
  --brand-orange-light: #ff9a4d;
  --brand-teal: #00615a;
  --brand-teal-dark: #004a45;
  --brand-teal-light: #1a847d;
  --brand-yellow: #f2a900;
  --brand-yellow-dark: #d99700;
  --brand-cream: #fef4ea;
  --brand-cream-dark: #fce8d4;

  /* Neutrals (light theme) */
  --bg: #fcfcfb;
  --bg-elevated: #ffffff;
  --bg-muted: #f3f3f0;
  --surface: #ffffff;
  --surface-hover: #fbf8f3;
  --border: rgba(13, 13, 13, 0.06);
  --border-strong: rgba(13, 13, 13, 0.12);
  --text: #0d0d0d;
  --text-muted: #525252;
  --text-soft: #8a8a82;
  --shadow-sm: 0 2px 4px rgba(13, 13, 13, 0.02), 0 4px 8px rgba(13, 13, 13, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 13, 13, 0.04), 0 2px 6px rgba(13, 13, 13, 0.03);
  --shadow-lg: 0 32px 64px -12px rgba(13, 13, 13, 0.12), 0 16px 24px -8px rgba(13, 13, 13, 0.06);
  --shadow-glow: 0 12px 30px -10px rgba(242, 123, 39, 0.6);

  /* Type */
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* Layout */
  --max-w: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --radius-full: 999px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  --bg: #0d0d0c;
  --bg-elevated: #161614;
  --bg-muted: #1c1c1a;
  --surface: #161614;
  --surface-hover: #1f1f1c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f0;
  --text-muted: #b8b8b0;
  --text-soft: #7a7a72;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --brand-cream: #1f1611;
  --brand-cream-dark: #2a1d14;
}

/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image: radial-gradient(circle at 15% 0%, rgba(242, 123, 39, 0.04) 0%, transparent 40%), 
                    radial-gradient(circle at 85% 100%, rgba(0, 97, 90, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

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

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.display-xl {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.display-lg {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.display-md {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.display-sm {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 9rem);
  position: relative;
}

.section-tight {
  padding-block: clamp(3rem, 6vw, 6rem);
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1280px;
  z-index: 100;
  transition: all 0.4s var(--ease-out);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.7rem 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .nav-inner {
  background: rgba(22, 22, 20, 0.7);
}

.nav.scrolled {
  top: 0.5rem;
}

.nav.scrolled .nav-inner {
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-brand-mark {
  width: 32px;
  height: 32px;
  background: var(--brand-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.nav-brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--brand-teal);
  border-radius: 50%;
}

.nav-brand-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  top: 11px;
  left: 11px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s var(--ease-out);
  position: relative;
}

.nav-links a:hover {
  background: var(--bg-muted);
}

.nav-links a.active {
  background: var(--text);
  color: var(--bg);
}

.nav-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-muted);
  transition: all 0.2s var(--ease-out);
}

.theme-toggle:hover {
  background: var(--border);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  place-items: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: grid; }
  /* Spécificité (0,2,0) pour battre .btn { display:inline-flex } défini plus bas */
  .nav-actions .nav-cta-desktop { display: none; }
}

/* CTA "Démarrer" dans le menu déroulant mobile (caché en desktop, le CTA du header prend le relais) */
.mobile-menu .mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-menu .mobile-cta {
    display: inline-flex;
    justify-content: center;
    font-size: 1.05rem;
    border-bottom: none;
    margin-top: 1.5rem;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 6rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  transform: translateY(-2px) scale(1.02);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
}

.btn-brand:hover {
  background: linear-gradient(135deg, var(--brand-orange-light), var(--brand-orange));
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-ghost {
  background: var(--bg-muted);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--border);
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover svg.arrow {
  transform: translateX(3px);
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.hero-pretitle-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.65rem;
}

.hero-pretitle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title .word-accent {
  font-style: italic;
  font-family: "Instrument Serif", "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: var(--brand-orange);
}

.hero-title .word-teal {
  color: var(--brand-teal);
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.hero-meta-item .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Hero visual: animated brand mark */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 580px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.hero-orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-orange), var(--brand-orange-dark));
  filter: blur(0);
  animation: float 8s ease-in-out infinite;
}

.hero-orb::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--brand-teal);
}

.hero-orb::after {
  content: "";
  position: absolute;
  width: 18%;
  height: 18%;
  background: #fff;
  border-radius: 50%;
  top: 28%;
  left: 28%;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--border);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.hero-ring-2 {
  position: absolute;
  inset: 8%;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  animation: spin 50s linear infinite reverse;
}

.hero-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--brand-yellow);
  border-radius: 50%;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }
}

/* Floating decorations */
.deco-blob {
  position: absolute;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
  animation: float 10s ease-in-out infinite alternate;
}

.deco-blob.orange {
  /* background: var(--brand-orange); */
  background: #f27b275e;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  top: -5%;
  right: -150px;
}

.deco-blob.teal {
  background: var(--brand-teal);
  width: 450px;
  height: 450px;
  border-radius: 50%;
  bottom: -100px;
  left: -150px;
  animation-delay: -5s;
}

[data-theme="dark"] .deco-blob {
  opacity: 0.25;
}

/* =========================================================
   Marquee (logos / text)
   ========================================================= */
.marquee {
  overflow: hidden;
  padding: 1.5rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 35s linear infinite;
  padding-right: 3rem;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-soft);
}

.marquee-item .dot {
  width: 14px;
  height: 14px;
  background: var(--brand-orange);
  border-radius: 50%;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Bento grid
   ========================================================= */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.bento-card.span-4 { grid-column: span 12; }
.bento-card.span-6 { grid-column: span 12; }
.bento-card.span-8 { grid-column: span 12; }
.bento-card.span-12 { grid-column: span 12; }

@media (min-width: 700px) {
  .bento-card.span-4 { grid-column: span 6; }
  .bento-card.span-6 { grid-column: span 6; }
  .bento-card.span-8 { grid-column: span 12; }
}

@media (min-width: 1000px) {
  .bento-card.span-4 { grid-column: span 4; }
  .bento-card.span-6 { grid-column: span 6; }
  .bento-card.span-8 { grid-column: span 8; }
  .bento-card.span-12 { grid-column: span 12; }
}

.bento-card.dark {
  background: var(--brand-teal);
  color: #fff;
  border-color: transparent;
}

.bento-card.dark h3,
.bento-card.dark h2 {
  color: #fff;
}

.bento-card.dark .bento-meta {
  color: rgba(255, 255, 255, 0.7);
}

.bento-card.brand {
  background: var(--brand-orange);
  color: #fff;
  border-color: transparent;
}

.bento-card.brand h3,
.bento-card.brand h2 {
  color: #fff;
}

.bento-card.cream {
  background: var(--brand-cream);
  border-color: transparent;
}

.bento-card.yellow {
  background: var(--brand-yellow);
  color: var(--brand-teal-dark);
  border-color: transparent;
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.bento-card.dark .bento-icon,
.bento-card.brand .bento-icon {
  background: rgba(255, 255, 255, 0.15);
}

.bento-icon svg {
  width: 26px;
  height: 26px;
  color: var(--text);
}

.bento-card.dark .bento-icon svg,
.bento-card.brand .bento-icon svg {
  color: #fff;
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.bento-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
}

.bento-card.dark .bento-text,
.bento-card.brand .bento-text {
  color: rgba(255, 255, 255, 0.85);
}

.bento-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* =========================================================
   Section header
   ========================================================= */
.section-head {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: 1rem;
}

.section-head-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-head h2 {
  max-width: 720px;
}

/* =========================================================
   Service list (numbered)
   ========================================================= */
.service-list {
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  position: relative;
  transition: padding 0.3s var(--ease-out);
  cursor: pointer;
}

.service-row:hover {
  padding-left: 1rem;
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease-out);
}

.service-row:hover .service-name {
  color: var(--brand-orange);
}

.service-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease-out);
}

.service-row:hover .service-arrow {
  background: var(--brand-orange);
  color: #fff;
  transform: rotate(-45deg);
}

.service-arrow svg {
  width: 20px;
  height: 20px;
}

/* =========================================================
   Work / Portfolio
   ========================================================= */
.work-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #fff;
}

.work-card.tall { aspect-ratio: 4/5; }
.work-card.wide { aspect-ratio: 1; }

.work-card.bg-orange { background: var(--brand-orange); }
.work-card.bg-teal { background: var(--brand-teal); }
.work-card.bg-yellow { background: var(--brand-yellow); color: var(--brand-teal-dark); }
.work-card.bg-dark { background: #1a1a1a; }

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, transparent 60%, rgba(0,0,0,0.4));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.work-card:hover::before {
  opacity: 1;
}

.work-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}

.work-card:hover .work-card-bg {
  transform: scale(1.05);
}

.work-card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 2;
}

.work-card-content {
  position: relative;
  z-index: 2;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.work-card-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

.work-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}

.work-card:hover .work-card-arrow {
  transform: rotate(-45deg);
  background: #fff;
  color: var(--text);
}

/* Pattern dots background for work cards without image */
.pattern-dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  position: absolute;
  inset: 0;
}

/* =========================================================
   Process / Steps
   ========================================================= */
.process {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--brand-yellow);
  margin-bottom: 0.25rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--brand-orange);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--brand-orange);
}

.cta-banner .btn-primary:hover {
  background: var(--text);
  color: #fff;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--text);
  color: var(--bg);
  padding: clamp(4rem, 7vw, 6rem) 0 2rem;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .footer {
  background: #050505;
  color: var(--text);
}

.footer-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 3rem;
  color: var(--bg);
  word-break: break-word;
}

[data-theme="dark"] .footer-display {
  color: var(--text);
}

.footer-display .word-italic {
  font-style: italic;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--brand-orange);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s var(--ease-out);
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-about {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 320px;
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease-out);
}

.footer-social a:hover {
  background: var(--brand-orange);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* =========================================================
   Page header (sub-pages)
   ========================================================= */
.page-header {
  padding: 9rem 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-header-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.page-header-breadcrumb a:hover {
  color: var(--brand-orange);
}

.page-header h1 {
  max-width: 900px;
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 640px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.35s; opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.4s; opacity: 1; transform: none; }

/* =========================================================
   Forms
   ========================================================= */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(242, 123, 39, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* =========================================================
   Blog
   ========================================================= */
.blog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.blog-card-media {
  aspect-ratio: 16/10;
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.blog-card-media.cover-orange { background: var(--brand-orange); }
.blog-card-media.cover-teal { background: var(--brand-teal); }
.blog-card-media.cover-yellow { background: var(--brand-yellow); }
.blog-card-media.cover-cream { background: var(--brand-cream); }

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.blog-card-cat {
  background: var(--bg-muted);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--text);
}

.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  flex-grow: 1;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.blog-card-foot {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.blog-card-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Featured blog */
.blog-featured {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-cream);
  margin-bottom: 4rem;
}

@media (min-width: 800px) {
  .blog-featured {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.blog-featured-media {
  aspect-ratio: 4/3;
  background: var(--brand-teal);
  position: relative;
  overflow: hidden;
}

.blog-featured-body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-featured h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
}

/* Blog filter */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.blog-filter {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.blog-filter:hover {
  background: var(--border);
}

.blog-filter.active {
  background: var(--text);
  color: var(--bg);
}

/* Blog article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.article-header {
  margin-bottom: 3rem;
  text-align: center;
}

.article-cat {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-cover {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  background: var(--brand-orange);
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.article-content {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
}

.article-content > * + * {
  margin-top: 1.5rem;
}

.article-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-top: 2rem;
}

.article-content blockquote {
  border-left: 3px solid var(--brand-orange);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.article-content a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

.divider {
  height: 1px;
  background: var(--border);
  margin-block: 3rem;
}

/* =========================================================
   Photo / Image helpers
   ========================================================= */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-muted);
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

.photo-tinted {
  position: relative;
  overflow: hidden;
}

.photo-tinted img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-tinted::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.photo-tinted.tint-orange::after { background: rgba(242, 123, 39, 0.6); mix-blend-mode: multiply; }
.photo-tinted.tint-teal::after { background: rgba(0, 97, 90, 0.7); mix-blend-mode: multiply; }
.photo-tinted.tint-yellow::after { background: rgba(242, 169, 0, 0.5); mix-blend-mode: multiply; }
.photo-tinted.tint-dark::after { background: rgba(10, 10, 10, 0.55); }

.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-photo-badge.tl { top: 1.5rem; left: 1.5rem; }
.hero-photo-badge.br { bottom: 1.5rem; right: 1.5rem; }

.hero-photo-badge .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: grid;
  place-items: center;
  color: #fff;
}

.hero-photo-badge .stack-num {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.hero-photo-badge .stack-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Team photo card */
.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-muted);
  position: relative;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 1.25rem;
}

.team-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive tightening */
@media (max-width: 600px) {
  .hero-meta {
    gap: 1.25rem;
    margin-top: 2.5rem;
  }
  .hero-meta-item .num {
    font-size: 1.75rem;
  }
  .hero-meta-item .lbl {
    font-size: 0.78rem;
  }
  .hero-actions .btn-lg {
    padding: 0.95rem 1.4rem;
    font-size: 0.9rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-grid {
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .footer-bottom > div:last-child {
    flex-wrap: wrap;
  }
  .service-row {
    grid-template-columns: 40px 1fr auto;
    gap: 1rem;
    padding-block: 1.5rem;
  }
  .service-arrow {
    width: 38px;
    height: 38px;
  }
  .nav {
    top: 0.5rem;
    width: calc(100% - 1rem);
  }
  .nav-inner {
    padding: 0.45rem 0.45rem 0.45rem 1rem;
  }
  .nav-brand {
    font-size: 1rem;
  }
  .nav-brand-mark {
    width: 28px;
    height: 28px;
  }
  .cta-banner {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  .hero-photo-badge {
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
  }
  .hero-photo-badge .stack-num {
    font-size: 0.95rem;
  }
  .hero-photo-badge .stack-lbl {
    font-size: 0.6rem;
  }
  .hero-photo-badge .dot {
    width: 24px;
    height: 24px;
  }
  .hero-photo-badge svg {
    width: 14px;
    height: 14px;
  }
  .service-block-visual .big {
    font-size: clamp(4rem, 18vw, 7rem);
  }
}

@media (max-width: 480px) {
  .display-xl {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }
  .article-meta {
    gap: 0.75rem;
    font-size: 0.8rem;
  }
}

/* =========================================================
   Scrollbar
   ========================================================= */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
