/* =====================================================================
   ZAKARIA MARCHOUD · Commercial digital WeRocket — Design System
   Bleu marine noble + accents champagne · accents cinétiques
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces — deep navy */
  --ink:            #050A14;
  --bg:             #091022;
  --surface:        #0E1730;
  --surface-2:      #121D3A;
  --surface-3:      #1A2750;

  /* Text */
  --fg:             #EEF2FB;
  --muted:          #A2ADC6;
  --muted-2:        #6C789A;

  /* Brand — navy & champagne */
  --accent:         #3E63DD;   /* royal navy blue, primary CTA */
  --accent-2:       #8FB1FF;   /* light azure, links/highlights */
  --accent-soft:    rgba(62, 99, 221, 0.16);
  --ethic:          #D4B57E;   /* champagne gold — noble / ethical signal */
  --ethic-soft:     rgba(212, 181, 126, 0.14);

  /* Lines */
  --border:         rgba(174, 192, 235, 0.10);
  --border-strong:  rgba(174, 192, 235, 0.22);

  /* Effects */
  --radius:         18px;
  --radius-sm:      12px;
  --radius-lg:      26px;
  --shadow:         0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --shadow-glow:    0 0 0 1px var(--border), 0 30px 80px -32px rgba(62, 99, 221, 0.4);
  --grad:           linear-gradient(120deg, var(--accent), var(--accent-2));
  --grad-text:      linear-gradient(120deg, #C4D4FF, #9FB8FF 55%, #D8C49A);

  /* Type scale — refined / smaller titles */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.06rem);
  --step-1:  clamp(1.12rem, 1.05rem + 0.35vw, 1.28rem);
  --step-2:  clamp(1.3rem, 1.18rem + 0.55vw, 1.6rem);
  --step-3:  clamp(1.55rem, 1.35rem + 1vw, 2.1rem);
  --step-4:  clamp(1.9rem, 1.55rem + 1.7vw, 2.8rem);
  --step-5:  clamp(2.2rem, 1.75rem + 2.5vw, 3.6rem);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --nav-h: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(62, 99, 221, 0.20), transparent 60%),
    radial-gradient(800px 600px at 95% 6%, rgba(143, 177, 255, 0.10), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(212, 181, 126, 0.07), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { color: var(--muted); max-width: 65ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Space Grotesk', sans-serif; font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent-2); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem); }
.section-head p { margin-top: 1rem; font-size: var(--step-1); color: var(--muted); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.45rem; border-radius: 999px; border: 1px solid transparent;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: var(--step-0);
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(62, 99, 221, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(62, 99, 221, 0.85); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); color: var(--fg); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: var(--step-1); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9, 16, 34, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand .logo { width: 38px; height: 38px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--muted-2); font-weight: 400; }
.brand-name .wr { color: var(--accent-2); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  padding: 0.5rem 0.85rem; border-radius: 999px; font-size: var(--step--1); font-weight: 500;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after { content: ""; display: block; height: 2px; margin-top: 3px; background: var(--grad); border-radius: 2px; }
.nav-cta { margin-left: 0.6rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); padding: 0.4rem; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 1.2rem var(--gutter) 2rem;
    background: rgba(9, 16, 34, 0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1rem; font-size: var(--step-0); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 0.5rem 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- WeRocket co-brand ---------- */
.werocket {
  display: inline-flex; align-items: center; gap: 0.38em;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
}
.werocket svg { width: 1.05em; height: 1.05em; color: var(--accent-2); flex: none; }
.werocket .wr-w { color: var(--fg); }
.werocket .wr-r { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cobrand {
  display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  padding: 0.5rem 1rem 0.5rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04);
  font-family: 'Space Grotesk', sans-serif; font-size: var(--step--1); margin-bottom: 1.3rem;
}
.cobrand .role { color: var(--muted); letter-spacing: 0.02em; }
.cobrand .sep { width: 1px; height: 15px; background: var(--border-strong); }
.cobrand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ethic); box-shadow: 0 0 0 4px var(--ethic-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero-inner { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { margin: 0.4rem 0 1.1rem; }
.hero .lead { font-size: var(--step-1); color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.4rem; }
.hero-meta .stat .num { font-family: 'Space Grotesk', sans-serif; font-size: var(--step-3); font-weight: 600; line-height: 1; }
.hero-meta .stat .label { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; }
.hero-orb { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card h3 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.card p { font-size: var(--step-0); }
.card-icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--border);
}
.card-icon svg { width: 25px; height: 25px; }

.service-card { display: flex; flex-direction: column; min-height: 280px; }
.service-card .num { font-family: 'Space Grotesk', sans-serif; font-size: var(--step--1); color: var(--muted-2); letter-spacing: 0.1em; }
.service-card ul { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.service-card ul li, .check-list li { display: flex; gap: 0.55rem; font-size: var(--step--1); color: var(--muted); }
.service-card ul li::before, .check-list li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: var(--ethic); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.check-list { display: grid; gap: 0.7rem; }
.check-list li { font-size: var(--step-0); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 1.3rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 3.5rem; animation: scroll-x 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: 'Space Grotesk', sans-serif; font-size: var(--step-2); font-weight: 600; color: var(--muted-2); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 3.5rem; }
.marquee-track span::after { content: "✦"; color: var(--ethic); font-size: 0.6em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Work / Project cards ---------- */
.work-card { display: flex; flex-direction: column; padding: 0; }
.work-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface-3); }
.work-thumb .browser-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); z-index: 2; border-bottom: 1px solid var(--border);
}
.work-thumb .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); display: block; }
.work-thumb .browser-bar .url { margin-left: 10px; font-size: 11px; color: var(--muted); font-family: 'Space Grotesk', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-art { position: absolute; inset: 34px 0 0 0; }
.work-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.work-body .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.work-body h3 { font-size: var(--step-1); }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.tag { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: rgba(255,255,255,0.03); }
.work-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent-2); font-weight: 600; font-size: var(--step--1); margin-top: 0.4rem; }
.work-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.work-card:hover .work-link svg { transform: translate(3px, -3px); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2), var(--ethic)); }
.tl-item { position: relative; padding: 0 0 2.4rem 3.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 9px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-2); display: grid; place-items: center; }
.tl-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.tl-item.now .tl-dot { border-color: var(--ethic); }
.tl-item.now .tl-dot::after { background: var(--ethic); }
.tl-item .when { font-family: 'Space Grotesk', sans-serif; font-size: var(--step--1); color: var(--accent-2); letter-spacing: 0.05em; }
.tl-item.now .when { color: var(--ethic); }
.tl-item h3 { font-size: var(--step-1); margin: 0.3rem 0 0.4rem; }
.tl-item .where { font-size: var(--step--1); color: var(--muted-2); margin-bottom: 0.6rem; }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 720px) { .statband { grid-template-columns: repeat(2, 1fr); } }
.statband .cell { background: var(--surface); padding: clamp(1.6rem, 3vw, 2.2rem); }
.statband .num { font-family: 'Space Grotesk', sans-serif; font-size: var(--step-3); font-weight: 600; line-height: 1; }
.statband .label { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }

/* ---------- Steps (numbered) ---------- */
.step-num { font-family: 'Space Grotesk', sans-serif; color: var(--accent-2); font-size: var(--step-2); font-weight: 600; }

/* ---------- Pillars ---------- */
.pillar { padding-left: 1.4rem; border-left: 2px solid var(--ethic); }
.pillar h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(62,99,221,0.32), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--fg); }
.field label .req { color: var(--accent-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1.1rem; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--fg); font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface-2); }
.field .help { font-size: 0.78rem; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--muted-2); }
.form-status { font-size: var(--step--1); padding: 0.8rem 1rem; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--ethic-soft); color: var(--ethic); border: 1px solid rgba(212,181,126,0.32); }

.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; }
.contact-method:hover { border-color: var(--accent-2); transform: translateX(4px); }
.contact-method .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.contact-method .ic svg { width: 22px; height: 22px; }
.contact-method .t { font-size: 0.78rem; color: var(--muted-2); letter-spacing: 0.05em; text-transform: uppercase; }
.contact-method .v { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }

/* ---------- Booking (prise de rendez-vous) ---------- */
.booking { position: relative; }
.booking-frame {
  width: 100%; min-height: 760px; display: block;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: #fff;
}
@media (max-width: 600px) { .booking-frame { min-height: 640px; } }
.booking-fallback {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
.booking-fallback .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); border: 1px solid var(--border); }
.booking-fallback .ic svg { width: 28px; height: 28px; }
.booking-fallback h3 { font-size: var(--step-2); }
.booking-fallback p { margin: 0 auto; }

/* ---------- Accordion ---------- */
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; color: var(--fg); padding: 1.3rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: var(--step-1); }
.acc-q .pm { flex: none; width: 24px; height: 24px; position: relative; }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent-2); }
.acc-q .pm::before { width: 14px; height: 2px; }
.acc-q .pm::after { width: 2px; height: 14px; transition: transform 0.3s var(--ease); }
.acc-item.open .pm::after { transform: scaleY(0); }
.acc-a { overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease); }
.acc-a p { padding-bottom: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer-grid a { color: var(--muted); font-size: var(--step--1); display: block; padding: 0.3rem 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--fg); }
.footer-brand p { font-size: var(--step--1); margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted-2); }
.social-row { display: flex; gap: 0.6rem; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: all 0.25s; }
.social-row a:hover { color: var(--fg); border-color: var(--accent-2); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-hero h1 { margin: 1rem 0; max-width: 18ch; }
.page-hero p { font-size: var(--step-1); max-width: 60ch; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: var(--step--1); color: var(--muted-2); }
.breadcrumb a:hover { color: var(--fg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- Photos ---------- */
.hero-photo-mobile { display: none; }
@media (max-width: 900px) {
  .hero-photo-mobile {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 20%;
    border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  }
}
.portrait-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.work-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.contact-photo {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 35%;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.badge-ethic { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--ethic-soft); border: 1px solid rgba(212,181,126,0.3); color: var(--ethic); font-size: var(--step--1); font-weight: 500; }
.badge-ethic svg { width: 15px; height: 15px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
