/* =========================================================
   TOKENS
========================================================= */
:root{
  --bg: #08080a;
  --bg-alt: #0d0d10;
  --surface: rgba(255,255,255,0.045);
  --surface-hover: rgba(255,255,255,0.075);
  --border: rgba(255,255,255,0.1);
  --text: #f4f4f6;
  --text-muted: #9a9aa6;
  --text-dim: #6b6b76;
  --accent: #ff2d3d;
  --accent-strong: #d4111f;
  --accent-soft: rgba(255,45,61,0.14);
  --accent-grad: linear-gradient(180deg, var(--accent), var(--accent-strong));
  --glass-blur: blur(22px) saturate(150%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'PP Monument Extended', 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* Light theme — same accent red and glass-blur recipe, everything else
   flipped. Toggled via the button in the nav (script.js), persisted in
   localStorage, applied pre-paint by the inline script in <head>. */
[data-theme="light"]{
  --bg: #faf9f7;
  --bg-alt: #f1efec;
  --surface: rgba(0,0,0,0.035);
  --surface-hover: rgba(0,0,0,0.06);
  --border: rgba(0,0,0,0.1);
  --text: #17161a;
  --text-muted: #5c5a62;
  --text-dim: #8d8b93;
  --accent-soft: rgba(255,45,61,0.1);
  --shadow: 0 20px 50px rgba(20,15,15,0.12);
}

/* PP Monument Extended — licensed font (Pangram Pangram Foundry), self-hosted from
   /fonts. Only Light (300), Regular (400) and Black (900) exist for this family, so
   headings below are pinned to those exact weights to avoid faux-bold rendering. */
@font-face{
  font-family:'PP Monument Extended';
  src: url('fonts/PPMonumentExtended-Light.otf') format('opentype');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'PP Monument Extended';
  src: url('fonts/PPMonumentExtended-LightItalic.otf') format('opentype');
  font-weight:300;
  font-style:italic;
  font-display:swap;
}
@font-face{
  font-family:'PP Monument Extended';
  src: url('fonts/PPMonumentExtended-Regular.otf') format('opentype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'PP Monument Extended';
  src: url('fonts/PPMonumentExtended-RegularItalic.otf') format('opentype');
  font-weight:400;
  font-style:italic;
  font-display:swap;
}
@font-face{
  font-family:'PP Monument Extended';
  src: url('fonts/PPMonumentExtended-Black.otf') format('opentype');
  font-weight:900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'PP Monument Extended';
  src: url('fonts/PPMonumentExtended-BlackItalic.otf') format('opentype');
  font-weight:900;
  font-style:italic;
  font-display:swap;
}

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

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

img{ max-width:100%; display:block; }

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

/* PP Monument Extended only ships Light/Regular/Black — headings default to Regular
   and the two big display headings (h1, h2) are bumped to Black below. */
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:400; letter-spacing:-0.01em; }
h1,h2{ font-weight:900; letter-spacing:-0.02em; }

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

/* scrollbar */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--surface-hover); border-radius:10px; }

/* =========================================================
   BUTTONS
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s var(--ease), background .25s, border-color .25s, opacity .25s;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--accent-grad);
  border-color:rgba(255,255,255,0.15);
  color:#fff;
  box-shadow:0 10px 30px rgba(255,45,61,0.28);
}
.btn-primary:hover{ box-shadow:0 14px 38px rgba(255,45,61,0.4); }
.btn-ghost{
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border-color:var(--border);
  color:var(--text);
}
.btn-ghost:hover{ background:var(--surface-hover); border-color:rgba(255,45,61,0.4); }
.btn-sm{ padding:10px 20px; font-size:0.85rem; }

/* =========================================================
   NAV
========================================================= */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  background:rgba(8,8,10,0.55);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-size:1.3rem;
  font-weight:900;
}
.nav-logo img{ width:auto; height:42px; }
.nav-logo-dot{ color:var(--accent); }
.nav-logo-light{ font-weight:400; margin-right:-2px; }
.nav-links{
  display:flex;
  gap:32px;
}
.nav-link{
  position:relative;
  font-size:0.92rem;
  color:var(--text-muted);
  transition:color .2s;
}
.nav-link:hover{ color:var(--text); }
.nav-link.is-active{ color:var(--text); }
.nav-link.is-active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  border-radius:2px;
  background:var(--accent);
}

/* =========================================================
   SCROLL PROGRESS BAR
========================================================= */
.scroll-progress{
  position:fixed;
  top:0; left:0;
  width:0%;
  height:3px;
  background:var(--accent-grad);
  z-index:101;
  pointer-events:none;
}

/* =========================================================
   BACK TO TOP
========================================================= */
.back-to-top{
  position:fixed;
  right:24px; bottom:24px;
  z-index:90;
  width:44px; height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  color:var(--text);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.back-to-top svg{ width:18px; height:18px; }
.back-to-top.is-visible{ opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover{ border-color:var(--accent); color:var(--accent); }
@media (max-width:720px){ .back-to-top{ right:16px; bottom:16px; } }
.nav-actions{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  width:22px; height:2px; background:var(--text); border-radius:2px;
  transition:transform .25s, opacity .25s;
}

/* =========================================================
   HERO
========================================================= */
.hero{
  position:relative;
  padding:180px 0 120px;
  overflow:hidden;
}
.hero-glow{
  position:absolute;
  top:-200px; left:50%;
  width:900px; height:900px;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(255,45,61,0.22), rgba(255,45,61,0.06) 45%, transparent 70%);
  filter:blur(40px);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  max-width:820px;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:999px;
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  font-size:0.85rem;
  color:var(--text-muted);
  margin-bottom:28px;
}
.hero-badge .dot{
  width:8px; height:8px; border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,0.18);
}
.hero-title{
  font-size:clamp(2.4rem, 5.6vw, 4.2rem);
  line-height:1.08;
  margin-bottom:26px;
}
.hero-title-accent{
  display:block;
  color:var(--accent);
  font-size:0.46em;
  margin-top:14px;
  letter-spacing:-0.01em;
}
.hero-subtitle{
  font-size:1.15rem;
  color:var(--text-muted);
  max-width:600px;
  margin-bottom:40px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }

/* =========================================================
   MARQUEE
========================================================= */
.marquee{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  overflow:hidden;
  background:var(--bg-alt);
  padding:20px 0;
}
.marquee-track{
  display:flex;
  gap:14px;
  width:max-content;
  animation:scroll 42s linear infinite;
  font-family:var(--font-display);
  font-size:1.1rem;
  color:var(--text-dim);
  white-space:nowrap;
}
.marquee-track span:nth-child(odd){ color:var(--text); }
@keyframes scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* =========================================================
   SECTIONS (generic)
========================================================= */
.section{ padding:120px 0; }
.section-alt{ background:var(--bg-alt); }
.section-head{ max-width:600px; margin-bottom:56px; }
.eyebrow{
  display:block;
  font-size:0.85rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:14px;
}
.section-head h2{
  font-size:clamp(1.7rem, 3.4vw, 2.4rem);
}

/* =========================================================
   PORTFOLIO
========================================================= */
.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:40px;
}
.filter-btn{
  padding:9px 18px;
  border-radius:999px;
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  color:var(--text-muted);
  font-size:0.88rem;
  font-weight:500;
  cursor:pointer;
  transition:all .2s;
}
.filter-btn:hover{ color:var(--text); border-color:rgba(255,45,61,0.4); }
.filter-btn.is-active{
  background:var(--accent-grad);
  color:#fff;
  border-color:transparent;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:24px;
  transition:opacity .2s var(--ease);
}
.project-grid.is-filtering{ opacity:0; }
/* Flagship project: spans two columns and gets a wider, more cinematic crop */
.project-card-featured{ grid-column:span 2; }
.project-card-featured .project-visual{ aspect-ratio:16/9; }
@media (max-width:720px){
  .project-card-featured{ grid-column:span 1; }
  .project-card-featured .project-visual{ aspect-ratio:4/3; }
}
.project-visual-featured-tag{
  position:absolute;
  left:16px; top:16px;
  z-index:2;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.02em;
  color:#fff;
  padding:7px 13px;
  border-radius:999px;
  background:var(--accent-grad);
  box-shadow:0 6px 18px rgba(255,45,61,0.35);
}

/* Play icon shown on cards whose cover represents a video (teaser/intro) */
.project-visual-play{
  position:absolute;
  left:50%; top:50%;
  translate:-50% -50%;
  z-index:2;
  width:56px; height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.3);
  opacity:0.9;
  transition:transform .3s var(--ease), background .3s var(--ease);
}
.project-visual-play svg{ width:22px; height:22px; margin-left:3px; }
.project-card:hover .project-visual-play{
  scale:1.1;
  background:var(--accent);
}
.project-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
  cursor:pointer;
  will-change:transform;
  /* One transition, always on, and script.js is the only thing that ever
     sets `transform` on this element (the 3D tilt) — no CSS :hover transform
     competing with it, which is exactly the kind of conflict that caused
     the cursor-drift bugs earlier in this project. */
  transition:transform .15s var(--ease), border-color .35s, box-shadow .35s;
}
.project-card:hover{
  border-color:rgba(255,45,61,0.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 50px rgba(255,45,61,0.12);
}
.project-card.is-hidden{ display:none; }
.project-visual{
  aspect-ratio:4/3;
  position:relative;
  overflow:hidden;
  background:linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border-bottom:1px solid var(--border);
}
.project-visual img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
/* Parallax/zoom + a light brightness lift on hover — GPU-composited
   (transform + filter), no layout cost, stays smooth at 60fps. Title and
   category are NOT repeated here: .project-info below already shows them,
   so this hover state only adds a discreet "Voir le projet →" badge. */
.project-visual img{
  transition:transform .6s var(--ease), filter .6s var(--ease);
  will-change:transform;
}
.project-card:hover .project-visual img{
  transform:scale(1.05);
  filter:brightness(1.12);
}

.project-visual-badge{
  position:absolute;
  right:16px; bottom:16px;
  z-index:2;
  font-family:var(--font-display);
  font-weight:900;
  font-size:0.78rem;
  letter-spacing:0.02em;
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  opacity:0;
  transform:translateY(10px);
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.project-card:hover .project-visual-badge{
  opacity:1;
  transform:translateY(0);
}
.project-info{
  padding:20px 22px 24px;
  position:relative;
  z-index:2;
}
.project-info h3{ font-size:1.15rem; margin-bottom:6px; }
.project-info p{ color:var(--text-muted); font-size:0.9rem; }
.project-tag{
  display:inline-block;
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:10px;
}

/* =========================================================
   SERVICES
========================================================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:22px;
}

.stats-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:24px;
  margin-top:56px;
  padding-top:40px;
  border-top:1px solid var(--border);
}
.stat{ display:flex; flex-direction:column; gap:4px; text-align:center; }
.stat-number{
  font-family:var(--font-display);
  font-weight:900;
  font-size:2.4rem;
  color:var(--accent);
  line-height:1;
}
.stat-label{ font-size:0.85rem; color:var(--text-muted); }
@media (max-width:860px){
  .stats-strip{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:32px 24px; }
}
@media (max-width:600px){
  .stat-number{ font-size:1.9rem; }
}
.service-card{
  position:relative;
  padding:32px 28px;
  border-radius:var(--radius);
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
  transition:transform .3s var(--ease), border-color .3s;
}
.service-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,45,61,0.4);
}
.service-icon{
  position:relative;
  z-index:2;
  width:46px; height:46px;
  border-radius:12px;
  background:var(--accent-soft);
  border:1px solid rgba(255,45,61,0.35);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent);
  margin-bottom:20px;
}
.service-icon svg{ width:22px; height:22px; }
.service-card h3{ position:relative; z-index:2; font-size:1.1rem; margin-bottom:10px; }
.service-card p{ position:relative; z-index:2; color:var(--text-muted); font-size:0.92rem; }

/* =========================================================
   ABOUT / PARCOURS
========================================================= */
.about-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:64px;
}
/* While .about-timeline is hidden (see index.html), fall back to a single,
   centered column instead of leaving an empty half of the section blank. */
.about-grid:has(.about-timeline[hidden]){
  grid-template-columns:1fr;
  max-width:560px;
  margin:0 auto;
}
.about-timeline h2{ margin-bottom:44px; font-size:clamp(1.7rem, 3.4vw, 2.4rem); }
.timeline{ list-style:none; position:relative; padding-left:28px; border-left:1px solid var(--border); }
.timeline-item{ position:relative; padding-bottom:36px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:"";
  position:absolute;
  left:-33px; top:4px;
  width:10px; height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px var(--accent-soft);
}
.timeline-year{
  font-size:0.8rem;
  color:var(--accent);
  font-weight:600;
  letter-spacing:0.03em;
}
.timeline-item h4{ font-size:1.02rem; margin:6px 0 6px; }
.timeline-item p{ color:var(--text-muted); font-size:0.9rem; }
.timeline-place{ margin-bottom:8px; }
.timeline-more-toggle{
  display:inline-block;
  background:none;
  border:none;
  padding:0;
  font:inherit;
  font-weight:600;
  font-size:0.82rem;
  color:var(--text-muted);
  cursor:pointer;
  transition:color .2s;
}
.timeline-more-toggle:hover{ color:var(--text); }
.timeline-detail{ margin-top:10px; }
.timeline-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:20px;
  margin-left:28px;
  background:none;
  border:none;
  padding:0;
  font:inherit;
  font-weight:600;
  font-size:0.9rem;
  color:var(--accent);
  cursor:pointer;
  transition:opacity .2s;
}
.timeline-toggle:hover{ opacity:0.75; }

.about-text{ padding-top:6px; }
.about-photo{
  position:relative;
  width:380px;
  max-width:85%;
  margin-bottom:32px;
}
.about-photo::before{
  content:"";
  position:absolute;
  inset:-15%;
  background:radial-gradient(circle, rgba(255,45,61,0.35), transparent 70%);
  filter:blur(36px);
  z-index:0;
}
.about-photo img{
  position:relative;
  z-index:1;
  width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,0.55));
}
.about-text p{ color:var(--text-muted); margin-bottom:18px; }

/* =========================================================
   FAQ / ACCORDION
========================================================= */
.accordion{ max-width:760px; }
.accordion-item{
  border-bottom:1px solid var(--border);
}
.accordion-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 4px;
  background:none;
  border:none;
  color:var(--text);
  font-family:var(--font-display);
  font-size:1.02rem;
  text-align:left;
  cursor:pointer;
}
.accordion-icon{
  font-size:1.4rem;
  color:var(--accent);
  text-shadow:0 0 12px var(--accent-soft);
  transition:transform .3s var(--ease);
  flex-shrink:0;
  margin-left:16px;
}
.accordion-item.is-open .accordion-icon{ transform:rotate(45deg); }
.accordion-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s var(--ease);
}
.accordion-panel p{
  color:var(--text-muted);
  padding:0 4px 22px;
  font-size:0.94rem;
  max-width:640px;
}

/* =========================================================
   CONTACT
========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:56px;
}
.contact-form{ display:flex; flex-direction:column; gap:18px; }
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row label{ font-size:0.85rem; color:var(--text-muted); }
.form-row input, .form-row textarea{
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:13px 16px;
  color:var(--text);
  font-family:var(--font-body);
  font-size:0.95rem;
  resize:vertical;
  transition:border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"]{
  border-color:var(--accent);
}
.form-error{
  display:none;
  font-size:0.8rem;
  color:var(--accent);
}
.form-error:not(:empty){ display:block; }
.form-error-general:not(:empty){
  padding:12px 14px;
  border-radius:var(--radius-sm);
  background:var(--accent-soft);
  border:1px solid rgba(255,45,61,0.35);
}
.form-success{
  display:none;
  padding:12px 14px;
  border-radius:var(--radius-sm);
  background:rgba(74,222,128,0.1);
  border:1px solid rgba(74,222,128,0.35);
  color:#4ade80;
  font-size:0.9rem;
}
/* The Formspree AJAX lib toggles this element's content/visibility itself;
   :not(:empty) is a library-agnostic fallback so it displays correctly
   whether the lib shows it via text content, a class, or inline style. */
.form-success:not(:empty){ display:block; }
.contact-form .btn{ align-self:flex-start; margin-top:6px; }
.contact-form .btn[disabled]{ opacity:0.6; cursor:not-allowed; }

.contact-side{
  position:relative;
  overflow:hidden;
  padding:32px;
  border-radius:var(--radius);
  background:var(--surface);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.06);
  height:fit-content;
}
.contact-side > *{ position:relative; z-index:2; }
.contact-email{
  display:flex;
  align-items:center;
  gap:10px;
  background:none;
  border:none;
  color:var(--text);
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
  padding:0;
}
.contact-email svg{ width:20px; height:20px; color:var(--accent); }
.contact-hint{ color:var(--text-dim); font-size:0.8rem; margin-top:8px; }
.contact-detail{ color:var(--text-muted); font-size:0.9rem; margin-top:14px; }
.social-links{
  display:flex;
  gap:20px;
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--border);
}
.social-links a{
  font-size:0.9rem;
  color:var(--text-muted);
  transition:color .2s;
}
.social-links a:hover{ color:var(--accent); }

/* =========================================================
   FOOTER
========================================================= */
.footer{
  border-top:1px solid var(--border);
  background:var(--bg-alt);
  padding-top:64px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:48px;
}
.footer-col{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{
  font-size:0.9rem;
  color:var(--text-muted);
  transition:color .2s;
}
.footer-col a:hover{ color:var(--accent); }
.footer-col-title{
  font-family:var(--font-display);
  font-weight:900;
  font-size:0.78rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin-bottom:4px;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:900;
  font-size:1.15rem;
  color:var(--text);
  margin-bottom:4px;
}
.footer-brand img{ height:35px; width:auto; }
.footer-brand-light{ font-weight:400; }
.footer-tagline{
  font-size:0.88rem;
  color:var(--text-muted);
  max-width:280px;
  line-height:1.5;
}
.footer-social-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.88rem;
  font-weight:600;
  color:var(--text-muted);
  margin-top:4px;
  transition:color .2s;
}
.footer-social-link:hover{ color:var(--accent); }

.footer-email{
  background:none;
  border:none;
  padding:0;
  text-align:left;
  font:inherit;
  font-size:0.9rem;
  font-weight:600;
  color:var(--text);
  cursor:pointer;
  transition:color .2s;
}
.footer-email:hover{ color:var(--accent); }
.footer-detail{ font-size:0.9rem; color:var(--text-muted); }
a.footer-detail:hover{ color:var(--accent); }
.footer-cta{ align-self:flex-start; margin-top:8px; }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:24px 0;
  border-top:1px solid var(--border);
  font-size:0.82rem;
  color:var(--text-dim);
}
.footer-bottom-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}
.footer-bottom-links a{ transition:color .2s; }
.footer-bottom-links a:hover{ color:var(--text); }
.footer-legal-toggle{
  background:none;
  border:none;
  padding:0;
  font:inherit;
  color:inherit;
  cursor:pointer;
  transition:color .2s;
}
.footer-legal-toggle:hover{ color:var(--text); }
.footer-legal{
  border-top:1px solid var(--border);
  background:var(--bg);
}
.footer-legal-inner{
  padding:20px 24px;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:0.8rem;
  color:var(--text-dim);
}
.footer-legal-inner a{ color:var(--text-muted); text-decoration:underline; }
.footer-legal-inner a:hover{ color:var(--accent); }

@media (max-width:860px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-col-brand{ grid-column:1 / -1; }
}
@media (max-width:540px){
  .footer-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   MODAL
========================================================= */
.modal{
  position:fixed; inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  visibility:hidden;
  opacity:0;
  transition:opacity .3s var(--ease), visibility .3s;
}
.modal.is-open{ visibility:visible; opacity:1; }
.modal-backdrop{
  position:absolute; inset:0;
  background:rgba(5,5,8,0.75);
  backdrop-filter:blur(6px);
}
.modal-panel{
  position:relative;
  width:100%;
  max-width:760px;
  max-height:88vh;
  overflow-y:auto;
  background:rgba(20,20,24,0.75);
  backdrop-filter:var(--glass-blur);
  -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
  transform:translateY(18px) scale(0.98);
  transition:transform .35s var(--ease);
}
.modal.is-open .modal-panel{ transform:translateY(0) scale(1); }
.modal-close{
  position:absolute;
  top:16px; right:16px;
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(0,0,0,0.4);
  border:1px solid var(--border);
  color:#fff;
  font-size:1.3rem;
  cursor:pointer;
  z-index:2;
}
.modal-visual{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/9;
  background-color:var(--bg-alt);
  border-bottom:1px solid var(--border);
}
.modal-visual::before{
  content:"";
  position:absolute;
  width:280px; height:280px;
  top:-90px; right:-90px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,45,61,0.32), transparent 70%);
  filter:blur(10px);
  z-index:1;
  pointer-events:none;
}

/* Gallery / carousel — a single slide behaves the same as the old static
   image; projects with a `gallery` (currently only GoSport) get a full
   video-intro + multi-image carousel with arrows, dots and keyboard nav. */
.modal-gallery{ position:absolute; inset:0; overflow:hidden; }
.modal-gallery-track{
  display:flex;
  height:100%;
  transition:transform .5s var(--ease);
  will-change:transform;
}
.modal-slide{
  flex:0 0 100%;
  height:100%;
  position:relative;
}
.modal-slide img, .modal-slide video{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.modal-slide-youtube iframe{
  width:100%; height:100%;
  border:0;
  display:block;
}

/* Plain text divider between groups of slides in a scroll gallery
   (e.g. "Clients" vs "Créations personnelles") */
.modal-slide-heading{
  flex:none;
  height:auto !important;
  padding:40px 32px 8px;
  text-align:center;
}
.modal-slide-heading h4{
  font-family:var(--font-display);
  font-weight:900;
  font-size:1.1rem;
  color:var(--text);
}
.modal-slide-heading p{
  margin-top:6px;
  font-size:0.85rem;
  color:var(--text-muted);
}

/* Name/label printed under a gallery image (e.g. a client's name under
   their commissioned visual) */
.modal-slide-caption{
  margin:8px 0 0;
  font-size:0.8rem;
  color:var(--text-muted);
  text-align:center;
}

/* Before/after comparison — a native range input dragged left-right reveals
   more or less of the "before" image clipped on top of the "after" one.
   Using a real <input type="range"> (rather than custom pointer tracking)
   gets mouse + touch + keyboard dragging for free, with no risk of the
   transform/position conflicts that caused bugs elsewhere in this project. */
/* Sizes itself directly (aspect-ratio + max-height) instead of relying on
   `height:100%` against a parent whose own height is a mix of aspect-ratio
   and CSS Grid stretch — that chain wasn't resolving reliably and made the
   whole comparison slider invisible. */
.compare{
  position:relative;
  width:100%;
  max-width:420px;
  aspect-ratio:9/16;
  max-height:60vh;
  margin:0 auto;
  overflow:hidden;
  background:#000;
}
.compare-after, .compare-before{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}
.compare-before-wrap{ position:absolute; inset:0; overflow:hidden; }
.compare-divider{
  position:absolute;
  top:0; bottom:0;
  left:50%;
  width:2px;
  background:#fff;
  pointer-events:none;
  z-index:2;
  box-shadow:0 0 8px rgba(0,0,0,0.4);
}
.compare-label{
  position:absolute;
  top:14px;
  z-index:2;
  font-family:var(--font-display);
  font-weight:900;
  font-size:0.7rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(6px);
  pointer-events:none;
}
.compare-label-before{ left:14px; }
.compare-label-after{ right:14px; }
.compare-slider{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  margin:0;
  z-index:3;
  cursor:ew-resize;
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
}
.compare-slider::-webkit-slider-runnable-track{ width:100%; height:100%; background:transparent; }
.compare-slider::-moz-range-track{ width:100%; height:100%; background:transparent; }
.compare-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:44px; height:44px;
  border-radius:50%;
  background:rgba(255,255,255,0.92);
  border:2px solid var(--accent);
  box-shadow:0 4px 14px rgba(0,0,0,0.35);
  cursor:ew-resize;
}
.compare-slider::-moz-range-thumb{
  width:40px; height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.92);
  border:2px solid var(--accent);
  box-shadow:0 4px 14px rgba(0,0,0,0.35);
  cursor:ew-resize;
}
.modal-panel.is-scroll-gallery .modal-slide-compare{
  height:auto;
}

.modal-gallery-arrow{
  position:absolute;
  top:50%;
  translate:0 -50%;
  z-index:3;
  width:38px; height:38px;
  border-radius:50%;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;
  font-size:1.4rem;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  transition:opacity .25s var(--ease), background .25s var(--ease);
}
.modal-visual:hover .modal-gallery-arrow{ opacity:1; }
@media (hover:none){
  .modal-gallery-arrow{ opacity:0.85; }
}
.modal-gallery-prev{ left:14px; }
.modal-gallery-next{ right:14px; }
.modal-gallery-arrow:hover{ background:var(--accent); }
.modal-gallery-arrow[hidden]{ display:none; }

.modal-gallery-dots{
  position:absolute;
  left:50%;
  bottom:14px;
  translate:-50% 0;
  z-index:3;
  display:flex;
  gap:6px;
}
.modal-gallery-dot{
  width:6px; height:6px;
  padding:0;
  border:none;
  border-radius:3px;
  background:rgba(255,255,255,0.35);
  cursor:pointer;
  transition:background .25s var(--ease), width .25s var(--ease);
}
.modal-gallery-dot.is-active{ width:18px; background:#fff; }

/* Scroll gallery — used only for projects with a `gallery` field (currently
   just GoSport). A horizontal sliding carousel doesn't suit 19 brand-book
   pages, so this mode stacks every slide vertically instead and lets the
   whole modal scroll top to bottom, in a bigger panel. */
.modal-panel.is-scroll-gallery{
  max-width:960px;
  max-height:94vh;
}
.modal-panel.is-scroll-gallery .modal-visual{
  aspect-ratio:auto;
  height:auto;
}
.modal-panel.is-scroll-gallery .modal-gallery{
  position:static;
  overflow:visible;
}
.modal-panel.is-scroll-gallery .modal-gallery-track{
  display:flex;
  flex-direction:column;
  height:auto;
  gap:3px;
  transform:none !important;
}
.modal-panel.is-scroll-gallery .modal-slide{
  flex:none;
  height:auto;
}
.modal-panel.is-scroll-gallery .modal-slide img,
.modal-panel.is-scroll-gallery .modal-slide video{
  height:auto;
  /* Portrait 9:16 story-format images at full panel width were rendering
     ~1700px tall each — with ~20 of them stacked, that's an enormous
     scroll. Capping height (and letting width shrink to match, centered)
     keeps every slide a reasonable, browsable size regardless of its
     original aspect ratio. */
  max-height:60vh;
  width:auto;
  max-width:100%;
  object-fit:contain;
  margin:0 auto;
  display:block;
}
.modal-panel.is-scroll-gallery .modal-slide-youtube{
  aspect-ratio:16/9;
  height:auto;
}
.modal-panel.is-scroll-gallery .modal-gallery-arrow,
.modal-panel.is-scroll-gallery .modal-gallery-dots{
  display:none;
}

/* Grid variant (`galleryLayout: "grid"`, currently Sports Design): plain
   image slides arrange 3-per-row instead of one full-width row each —
   dozens of portrait images in a single column made for an extremely long
   scroll. Headings, the before/after slider and any video still span the
   full width so they read as section breaks / highlights. */
/* Pinterest/masonry-style columns instead of a fixed grid: each image keeps
   its own natural aspect ratio (nothing cropped) while still packing
   tightly against its neighbors (zero gap) — a plain grid can only do one
   of those two at once (uniform cells force a crop, natural ratios in a
   grid leave gaps), but CSS multi-column layout gives both for free.
   `column-span:all` is what lets headings/compare/video break out to full
   width across an otherwise column-flowed track. */
.modal-panel.is-gallery-grid{ max-width:1200px; }
.modal-panel.is-gallery-grid .modal-gallery-track{
  display:block;
  column-count:4;
  column-gap:0;
}
.modal-panel.is-gallery-grid .modal-slide-heading,
.modal-panel.is-gallery-grid .modal-slide-compare,
.modal-panel.is-gallery-grid .modal-slide-youtube,
.modal-panel.is-gallery-grid .modal-slide-wide,
.modal-panel.is-gallery-grid .modal-slide:has(video){
  column-span:all;
}
.modal-panel.is-gallery-grid .modal-slide:not(.modal-slide-heading):not(.modal-slide-compare):not(:has(video)){
  max-height:none;
  break-inside:avoid;
  margin:0;
}
.modal-panel.is-gallery-grid .modal-slide:not(.modal-slide-heading):not(.modal-slide-compare) img{
  width:100%;
  height:auto;
  max-width:none;
  max-height:none;
  object-fit:cover;
  display:block;
  margin:0;
}
@media (max-width:720px){
  .modal-panel.is-gallery-grid .modal-gallery-track{ column-count:2; }
}

/* grid4: a real CSS grid (not CSS-columns) for a handful of same-ratio
   images — fills left-to-right, row by row, so it reads as a clean 4-up
   grid instead of the "grid" mode's column-by-column masonry fill. Headings/
   compare/youtube/video/wide slides still break out across the full row. */
.modal-panel.is-gallery-grid4{ max-width:1200px; }
.modal-panel.is-gallery-grid4 .modal-gallery-track{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:3px;
}
.modal-panel.is-gallery-grid4 .modal-slide-heading,
.modal-panel.is-gallery-grid4 .modal-slide-compare,
.modal-panel.is-gallery-grid4 .modal-slide-youtube,
.modal-panel.is-gallery-grid4 .modal-slide-wide,
.modal-panel.is-gallery-grid4 .modal-slide:has(video){
  grid-column:1 / -1;
}
.modal-panel.is-gallery-grid4 .modal-slide:not(.modal-slide-heading):not(.modal-slide-compare):not(:has(video)){
  max-height:none;
  margin:0;
}
.modal-panel.is-gallery-grid4 .modal-slide:not(.modal-slide-heading):not(.modal-slide-compare) img{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  display:block;
  margin:0;
}
@media (max-width:720px){
  .modal-panel.is-gallery-grid4 .modal-gallery-track{ grid-template-columns:repeat(2, 1fr); }
}

/* Fullwidth: every slide fills the panel's width edge-to-edge and keeps its
   natural height, instead of the default scroll-gallery mode's height cap
   (which scales each slide to fit ~60vh tall — fine when every slide shares
   a similar aspect ratio, but it makes each slide render at a different,
   inconsistent width when they don't). Used for a project whose slides are
   all crops of the same fixed-width page screenshot cut into sections of
   very different heights (hero banner vs. a tall list of service cards,
   say) — keeping width constant is what keeps their scale consistent. */
.modal-panel.is-gallery-fullwidth .modal-slide img,
.modal-panel.is-gallery-fullwidth .modal-slide video{
  width:100%;
  height:auto;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  margin:0;
  display:block;
}
/* A slide flagged `compact` (e.g. a mobile screenshot mixed in with fullwidth
   desktop ones) opts back out of the full-panel-width rule above, so it
   reads at a size closer to an actual phone rather than blown up to match
   the desktop crops next to it. */
.modal-panel.is-gallery-fullwidth .modal-slide-compact img{
  max-width:380px;
  margin:0 auto;
}

.modal-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.modal-links:empty{ display:none; }
.modal-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:999px;
  font-size:0.85rem;
  font-weight:600;
  color:var(--text);
  background:var(--surface);
  border:1px solid var(--border);
  transition:border-color .2s var(--ease), color .2s var(--ease);
}
.modal-link:hover{ border-color:var(--accent); color:var(--accent); }
.modal-body{ padding:32px; }
.modal-tag{
  display:inline-block;
  font-size:0.72rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.04em;
  color:var(--accent);
  margin-bottom:10px;
}
.modal-body h3{ font-size:1.5rem; margin-bottom:14px; }
.modal-body > p{ color:var(--text-muted); margin-bottom:26px; }
.modal-meta{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  padding-top:22px;
  border-top:1px solid var(--border);
}
.modal-meta span{ display:block; font-size:0.75rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:6px; }
.modal-meta p{ font-size:0.9rem; color:var(--text); }

/* =========================================================
   REVEAL ANIMATION
========================================================= */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
  will-change:opacity, transform;
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* =========================================================
   CURSOR LIGHT (ambient + per-card sheen)
========================================================= */

/* Soft red glow that follows the cursor across the whole page */
.cursor-ambient{
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
  background:radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,45,61,0.16), rgba(255,45,61,0.04) 35%, transparent 60%);
  mix-blend-mode:screen;
}

/* Glass sheen that tracks the cursor locally within a card */
.sheen{ position:relative; overflow:hidden; }
.sheen::before{
  content:"";
  position:absolute; inset:0;
  z-index:1;
  background:radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), transparent 55%);
  opacity:0;
  transition:opacity .3s var(--ease);
  pointer-events:none;
}
.sheen:hover::before{ opacity:1; }

/* Custom cursor that fully replaces the native pointer on fine-pointer
   devices: a small precise dot + a larger ring that trails behind it with
   inertia (the lerp math lives in script.js).

   Structure, deliberately: an OUTER element that script.js positions every
   frame (`transform: translate3d()` only — nothing else ever touches its
   transform), containing an INNER element that does all the visual work
   (size/scale/color transitions, centered on its parent with a plain,
   never-animated `translate:-50% -50%`). Mixing a JS-driven `transform`
   and CSS-driven individual properties (`scale`, `translate`) on the SAME
   element proved unreliable — depending on what was animating, the visible
   circle would drift left/up instead of staying centered on the pointer.
   Splitting position (outer) from appearance (inner) removes the ambiguity
   entirely: each element only ever has one thing controlling its transform. */
@media (pointer:fine){
  * { cursor:none !important; }
}

.cursor-dot,
.cursor-ring{
  position:fixed;
  top:0; left:0;
  width:0; height:0;
  pointer-events:none;
  will-change:transform;
  /* z-index lives here, not on the inner element: `position:fixed` starts
     its own stacking context, so a z-index on the inner child only ranks it
     among its own (nonexistent) siblings and never competes with the rest
     of the page — the modal (z-index 200) was winning and covering the
     cursor entirely once opened. The outer element is what needs to
     out-rank the modal. */
  z-index:10000;
}
.cursor-dot{ z-index:10001; }

.cursor-dot-inner{
  position:absolute;
  top:50%; left:50%;
  translate:-50% -50%;
  width:8px; height:8px;
  border-radius:50%;
  background:var(--accent);
  transition:opacity .2s var(--ease), scale .15s var(--ease);
}
.cursor-dot.is-hidden .cursor-dot-inner{ opacity:0; scale:0; }

.cursor-ring-inner{
  position:absolute;
  top:50%; left:50%;
  translate:-50% -50%;
  width:80px; height:80px;
  scale:0.5;
  border-radius:50%;
  border:1.5px solid rgba(255,45,61,0.6);
  background:rgba(255,45,61,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:scale .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}

.cursor-ring-label{
  font-family:var(--font-display);
  font-weight:900;
  font-size:0.7rem;
  letter-spacing:0.06em;
  color:#fff;
  opacity:0;
  transition:opacity .2s var(--ease);
  white-space:nowrap;
}

/* Hovering a button/link: the ring grows, the dot hides */
.cursor-ring.is-active .cursor-ring-inner{
  scale:0.75;
  background:rgba(255,45,61,0.14);
}

/* Hovering a portfolio card: the ring grows further and shows "VOIR" */
.cursor-ring.is-project .cursor-ring-inner{
  scale:1;
  background:var(--accent);
  border-color:transparent;
}
.cursor-ring.is-project .cursor-ring-label{ opacity:1; }

@media (pointer:coarse), (hover:none){
  * { cursor:auto !important; }
  .cursor-ambient, .cursor-dot, .cursor-ring{ display:none !important; }
}
@media (prefers-reduced-motion: reduce){
  .cursor-ambient{ display:none; }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 860px){
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .about-timeline{ order:1; }
}

@media (max-width: 720px){
  .nav-links{
    position:fixed;
    top:72px; left:0; right:0;
    flex-direction:column;
    gap:0;
    background:var(--bg);
    border-bottom:1px solid var(--border);
    transform:translateY(-130%);
    transition:transform .3s var(--ease);
  }
  .nav-links.is-open{ transform:translateY(0); }
  .nav-link{ padding:16px 24px; border-bottom:1px solid var(--border); }
  .nav-toggle{ display:flex; }
  .nav-actions .btn-sm{ display:none; }
  .hero{ padding:150px 0 90px; }
  .section{ padding:80px 0; }
  .modal-meta{ grid-template-columns:1fr; gap:14px; }
}

/* =========================================================
   THEME TOGGLE (button)
========================================================= */
.theme-toggle{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  color:var(--text-muted);
  cursor:pointer;
  transition:color .2s var(--ease), border-color .2s var(--ease);
}
.theme-toggle:hover{ color:var(--accent); border-color:rgba(255,45,61,0.4); }
.theme-toggle svg{ width:18px; height:18px; }
.theme-toggle .icon-sun{ display:none; }
[data-theme="light"] .theme-toggle .icon-moon{ display:none; }
[data-theme="light"] .theme-toggle .icon-sun{ display:block; }

/* =========================================================
   LIGHT THEME — component overrides
   A handful of surfaces use a hardcoded rgba(255,255,255,…) or
   rgba(0,0,0,…) directly instead of a token, because they encode a specific
   dark-mode convention (a light highlight catching the top edge of a glass
   panel, a red glow "screened" onto a dark backdrop, …). Flipping --bg/--text
   alone doesn't fix these — each needs its own light-mode equivalent here.
========================================================= */
[data-theme="light"] .nav{
  background:rgba(250,249,247,0.7);
}
[data-theme="light"] .project-card,
[data-theme="light"] .service-card,
[data-theme="light"] .contact-side{
  box-shadow:inset 0 1px 0 rgba(0,0,0,0.04);
}
[data-theme="light"] .project-card:hover{
  box-shadow:inset 0 1px 0 rgba(0,0,0,0.04), 0 20px 50px rgba(255,45,61,0.1);
}
[data-theme="light"] .project-visual{
  background:linear-gradient(160deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
}
[data-theme="light"] .sheen::before{
  background:radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,0.05), transparent 55%);
}
[data-theme="light"] .hero-glow{
  background:radial-gradient(circle, rgba(255,45,61,0.14), rgba(255,45,61,0.03) 45%, transparent 70%);
}
[data-theme="light"] .about-photo img{
  filter:drop-shadow(0 24px 40px rgba(20,15,15,0.18));
}
[data-theme="light"] .modal-panel{
  background:rgba(255,255,255,0.85);
}
/* `screen` lightens toward white — invisible on a light background, so the
   ambient cursor glow switches to `multiply`, which darkens/tints instead. */
[data-theme="light"] .cursor-ambient{
  mix-blend-mode:multiply;
  background:radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,45,61,0.12), rgba(255,45,61,0.03) 35%, transparent 60%);
}
