/* =====================================================================
   Armoires Exemple - style.css
   Luxury design system: deep charcoal, warm wood, crisp off-white.
   Sections: 1) Tokens  2) Reset/base  3) Layout  4) Components
             5) Sections  6) Footer  7) Motion  8) Responsive
   ===================================================================== */

/* ---------- 1) DESIGN TOKENS ---------- */
:root {
  /* Core palette - Lin & Noyer (warm light) */
  --charcoal-900: #241e18;   /* warm espresso (footer / dark accents) */
  --charcoal-800: #2e2720;   /* warm dark surface */
  --charcoal-700: #38302a;   /* raised dark surface */
  --charcoal-600: #43392f;

  --wood-deep:    #8a6a3a;   /* deep brass */
  --wood:         #b0894f;   /* brushed brass - primary accent */
  --wood-light:   #d8c3a0;   /* champagne highlight (on dark) */
  --brass:        #b0894f;   /* brushed brass */

  --cream:        #faf7f1;   /* warm near-white (text on dark) */
  --bone:         #f1ebdf;
  --sand:         #e6ddcc;

  /* Semantic roles */
  --bg:            #f6f2ea;          /* linen */
  --bg-alt:        #efe8da;          /* deeper warm band */
  --bg-dark:       var(--charcoal-800);
  --surface:       #ffffff;
  --text:          #2a241f;          /* espresso */
  --text-soft:     #6f6258;          /* warm muted */
  --text-faint:    #9b8f81;
  --text-on-dark:  #f7f1e6;          /* warm alabaster on dark */
  --text-on-dark-soft: #c3b4a1;      /* warm taupe on dark */
  --accent:        var(--wood);
  --accent-strong: var(--wood-deep);
  --line:          #e6dccb;
  --line-dark:     rgba(247, 241, 230, 0.14);

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.22vw, 1.12rem);
  --fs-lead:    clamp(1.12rem, 1rem + 0.6vw, 1.35rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-hero:    clamp(2.6rem, 1.6rem + 5vw, 5.4rem);

  /* Spacing & rhythm */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);

  /* Shape & depth */
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.10);
  --shadow:    0 18px 50px -22px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.6);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;
}

/* ---------- 2) RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: 6rem; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p { text-wrap: pretty; }
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--wood); color: #141414; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -120%;
  z-index: 200;
  background: var(--charcoal-800);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3) LAYOUT ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}
.eyebrow--light {
  color: var(--wood-light);      /* champagne, legible on the dark hero */
  letter-spacing: 0.15em;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.8rem; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.7rem;
  opacity: 0.7;
}

.section__head { max-width: 56ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section__title { font-size: var(--fs-h2); color: var(--text); }
.section__intro {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  margin-top: 1.1rem;
  line-height: 1.55;
}

/* ---------- 4) COMPONENTS ---------- */
/* Buttons */
.btn {
  --btn-bg: var(--charcoal-800);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--solid { --btn-bg: var(--wood); --btn-fg: #141414; }
.btn--solid:hover { --btn-bg: #b3966e; }

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--cream);
  border-color: rgba(247, 241, 230, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.18); border-color: var(--cream); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header[data-elevated] {
  background: rgba(248, 244, 236, 0.85);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.site-header[data-elevated] .brand { color: var(--text); }
.site-header[data-elevated] .brand__cab,
.site-header[data-elevated] .brand__seam { stroke: var(--accent-strong); }
.site-header[data-elevated] .brand__name { text-shadow: none; }
.site-header[data-elevated] .nav__list a { color: var(--text-soft); text-shadow: none; }
.site-header[data-elevated] .nav__list a:hover { color: var(--text); }
.site-header[data-elevated] .nav__list a::after { background: var(--brass); }
.site-header[data-elevated] .nav-toggle span { background: var(--text); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--cream); }
.brand__mark { display: inline-grid; place-items: center; }
.brand__cab { fill: none; stroke: var(--wood-light); stroke-width: 1.6; }
.brand__seam { stroke: var(--wood-light); stroke-width: 1.2; }
.brand__knob { fill: var(--brass); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.9rem; list-style: none; padding: 0; }
.nav__list a {
  position: relative;
  color: rgba(247, 241, 230, 0.9);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-block: 0.3rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  transition: color 0.25s var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--wood-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__list a:hover { color: var(--cream); }
.nav__list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel - hidden by default everywhere; revealed only inside
   the mobile breakpoint when the hamburger toggles it open (see app.js). */
.mobile-nav {
  background: rgba(250, 247, 241, 0.98);
  backdrop-filter: blur(10px);
  padding: 1rem var(--gutter) 2rem;
  display: none;
  gap: 1.2rem;
}
.mobile-nav__list { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.mobile-nav__list a {
  display: block;
  color: var(--text-soft);
  font-size: 1.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

/* ---- Navigation breakpoint: desktop (>=1024px) vs mobile/tablet ---- */
/* Desktop: sleek single-row nav only - the mobile menu is fully removed. */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav-toggle,
  .mobile-nav { display: none !important; }
}
/* Mobile / tablet: hamburger replaces the inline nav. The panel appears
   only when the toggle sets [hidden] -> false (app.js initMobileNav). */
@media (max-width: 1023.98px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: grid; }
}

/* Cards (services) */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sand); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--bone), #fff);
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.card__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--accent-strong);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.card__title { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.card__text { color: var(--text-soft); }

/* ---------- 5) SECTIONS ---------- */
/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: max(680px, 100svh);
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
/* Layering: bg(0) < 3D canvas / media(1) < scrim(2) < content(3) */
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s var(--ease) 0.1s;
}
.hero.is-3d-ready .hero__canvas { opacity: 1; }

.hero__scrim {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(18,13,9,0.95) 0%, rgba(18,13,9,0.82) 22%, rgba(18,13,9,0.62) 44%, rgba(18,13,9,0.55) 100%),
    radial-gradient(140% 130% at 56% 44%, rgba(18,13,9,0) 20%, rgba(18,13,9,0.38) 54%, rgba(18,13,9,0.72) 100%),
    linear-gradient(180deg, rgba(18,13,9,0.52) 0%, rgba(18,13,9,0) 16%);
}
.hero__content {
  position: relative;
  z-index: 3;
  width: min(44%, 600px);
  margin-left: clamp(1.25rem, 5vw, 7rem);
  padding-top: clamp(7rem, 12vh, 11rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
}
.hero__content > * { animation: heroIn 0.9s var(--ease) both; }
.hero__content > *:nth-child(1) { animation-delay: 0.15s; }
.hero__content > *:nth-child(2) { animation-delay: 0.28s; }
.hero__content > *:nth-child(3) { animation-delay: 0.42s; }
.hero__content > *:nth-child(4) { animation-delay: 0.56s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.45);
}
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-on-dark-soft);
  max-width: 42ch;
  text-wrap: balance;                /* clean, balanced line breaks */
  margin-bottom: 2.4rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 3;
  display: grid; justify-items: center; gap: 0.6rem;
  color: var(--text-on-dark-soft);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--wood-light), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* Hero media fallback - used when WebGL is unavailable, on small
   screens, or with reduced-motion. Paths come from content.json. */
.hero__media {
  position: absolute; inset: 0;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a1a, #141414);
}
.hero__media img,
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease);
  animation: heroKenBurns 28s ease-in-out infinite alternate;
}
.hero__media.is-ready img,
.hero__media.is-ready video { opacity: 0.9; }

@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .hero__media video { animation: none; transform: none; }
  .hero__canvas { transition: none; }
}

/* Approche / steps */
.approche { background: var(--bg); }
.approche__positioning {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  max-width: 70ch;
  padding-left: 1.4rem;
  border-left: 3px solid var(--wood);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.steps {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.6rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--wood);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.6rem;
}
.step__title { font-size: 1.18rem; font-weight: 600; font-family: var(--font-body); margin-bottom: 0.5rem; }
.step__text { color: var(--text-soft); font-size: 0.98rem; }

/* Services */
.services { background: var(--bg-alt); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.2rem, 0.8rem + 1.5vw, 2rem);
}

/* Réalisations / showcase */
.realisations { background: var(--bg); color: var(--text); --text-on-dark: var(--text); --text-on-dark-soft: var(--text-soft); }
.realisations .section__title { color: var(--text); }
.realisations .section__intro { color: var(--text-on-dark-soft); }
.realisations .eyebrow { color: var(--accent-strong); }

/* Bento grid: asymmetric modules that lock to a flat baseline */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: row;
  gap: 24px;
}
.showcase__item {
  position: relative;
  grid-column: span 1;
  grid-row: span 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  cursor: pointer;
}
/* span roles assigned in JS by VISIBLE order (re-packed on every filter) */
.showcase__item--hero { grid-column: span 2; grid-row: span 2; }
.showcase__item--tall { grid-column: span 1; grid-row: span 2; }
.showcase__item--wide { grid-column: span 2; grid-row: span 1; }
.showcase__item--cell { grid-column: span 1; grid-row: span 1; }
.showcase__item--full { grid-column: 1 / -1; grid-row: span 1; }
.showcase__item--full2 { grid-column: 1 / -1; grid-row: span 2; }

.showcase__media {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.showcase__item:hover .showcase__media,
.showcase__item:focus-within .showcase__media { transform: scale(1.03); }

.showcase__placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(115deg, rgba(176, 137, 79,0.06) 0 12px, rgba(176, 137, 79,0.10) 12px 26px),
    linear-gradient(160deg, var(--bg-alt), var(--sand));
  color: var(--accent-strong);
}
.showcase__placeholder svg { width: 40px; height: 40px; opacity: 0.5; fill:none; stroke: currentColor; stroke-width: 1.3; }

.showcase__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(transparent 35%, rgba(10, 10, 10,0.82));
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.showcase__item:hover .showcase__overlay,
.showcase__item:focus-within .showcase__overlay { opacity: 1; transform: translateY(0); }
.showcase__tag {
  align-self: flex-start;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--charcoal-900); background: var(--wood-light);
  padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.showcase__title { color: var(--cream); font-size: 1.2rem; font-weight: 500; }
.showcase__caption { color: var(--text-on-dark-soft); font-size: 0.9rem; margin-top: 0.2rem; }
.showcase__play {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(10, 10, 10,0.55); backdrop-filter: blur(4px);
  border: 1px solid rgba(249, 249, 249,0.3);
}
.showcase__play::before {
  content: ""; width: 0; height: 0;
  border-left: 10px solid var(--cream);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  margin-left: 2px;
}

/* Testimonials */
.testimonials { background: var(--bg); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.2rem, 0.8rem + 1.5vw, 2rem);
}
/* Google rating badge */
.greview {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.9rem 1.6rem;
  margin-bottom: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
}
.greview__g { width: 26px; height: 26px; display: inline-grid; place-items: center; }
.greview__g svg { width: 100%; height: 100%; fill: #4285f4; }
.greview__num { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; color: var(--text); }
.greview__meta { display: grid; gap: 0.25rem; }
.greview__stars { display: inline-flex; gap: 2px; }
.greview__stars svg { width: 18px; height: 18px; fill: #e0a836; }
.greview__count { color: var(--text-soft); font-size: 0.92rem; }
.greview__count strong { color: var(--text); font-weight: 600; }
.greview__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--brass); color: var(--accent-strong);
  padding: 0.62rem 1.35rem; border-radius: 999px;
  font-size: 0.9rem; letter-spacing: 0.02em; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.greview__cta:hover, .greview__cta:focus-visible { background: var(--brass); color: #fff; outline: none; }

/* review cards */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote__stars { display: inline-flex; gap: 2px; margin-bottom: 1rem; }
.quote__stars svg { width: 18px; height: 18px; fill: #e0a836; }
.quote__text { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--text); margin: 0 0 1.4rem; line-height: 1.55; }
.quote__by { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: auto; }
.quote__author { font-weight: 600; }
.quote__loc { color: var(--text-faint); font-size: 0.9rem; }
.quote__source { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text-faint); font-size: 0.78rem; white-space: nowrap; }
.quote__source svg { width: 14px; height: 14px; fill: currentColor; }

/* Contact */
/* =====================================================================
   CONTACT - architectural dark layout (obsidian + brass hairlines)
   ===================================================================== */
.contact {
  background: var(--bg);
  color: var(--text);
  --text-on-dark: var(--text);
  --text-on-dark-soft: var(--text-soft);
  padding-block: clamp(4.5rem, 3rem + 6vw, 7.5rem);
}
.contact .section__title { color: var(--text-on-dark); }
.contact .section__intro { color: var(--text-on-dark-soft); }
.contact .eyebrow { color: var(--brass); }

/* primary vectors: phone + email in massive serif, framed by brass hairlines */
.contact__primary {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  margin-top: clamp(2.5rem, 1.6rem + 3vw, 4rem);
  border-top: 1px solid rgba(176, 137, 79, 0.28);
  border-bottom: 1px solid rgba(176, 137, 79, 0.28);
}
.contact__vector {
  display: flex; flex-direction: column; gap: 0.7rem;
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem) 0;
  color: var(--text-on-dark);
}
.contact__vector--email {
  padding-left: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-left: 1px solid rgba(176, 137, 79, 0.28);
}
.contact__vector-label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
}
.contact__vector-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 0.85rem + 2.3vw, 2.4rem);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--text-on-dark);
  transition: color 0.3s var(--ease);
}
.contact__vector--phone .contact__vector-value { font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.2rem); }
.contact__vector--email .contact__vector-value { font-size: clamp(1.2rem, 0.85rem + 1.6vw, 1.9rem); white-space: nowrap; }
.contact__vector-tag {
  display: block; margin-top: 0.55rem;
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
}
.contact__vector:hover .contact__vector-value,
.contact__vector:focus-visible .contact__vector-value { color: var(--brass); }

/* asymmetric 3-column detail grid */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.contact__col-title {
  font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--brass);
  margin-bottom: 1.6rem;
}

/* col 1 - philosophy / value indicators */
.contact__values { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.contact__value { position: relative; display: grid; gap: 0.25rem; padding-left: 1.4rem; }
.contact__value::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass);
}
.contact__value-title { color: var(--text-on-dark); font-weight: 500; font-size: 1.02rem; }
.contact__value-text { color: var(--text-on-dark-soft); font-size: 0.92rem; line-height: 1.55; }

/* col 2 - the spaces */
.contact__places { list-style: none; padding: 0; display: grid; gap: 1.6rem; }
.contact__place { display: grid; gap: 0.3rem; }
.contact__place-label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-on-dark-soft);
}
.contact__place-value { color: var(--text-on-dark); font-weight: 500; line-height: 1.5; }
a.contact__place-value { transition: color 0.3s var(--ease); }
a.contact__place-value:hover { color: var(--brass); }
.contact__place-sub { color: var(--text-on-dark-soft); font-size: 0.88rem; }

/* col 3 - signature quote */
.contact__signature { margin: 0; border-left: 2px solid #c5a880; padding-left: 16px; }
.contact__quote {
  font-family: var(--font-display); font-style: italic;
  text-wrap: pretty;
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.45rem);
  line-height: 1.5; color: var(--text-on-dark);
}
.contact__signature-by { display: block; margin-top: 1rem; font-size: 0.9rem; color: var(--text-on-dark-soft); }
.contact__signature-name { color: var(--brass); font-weight: 600; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.6rem; }
}
@media (max-width: 620px) {
  .contact__primary { grid-template-columns: 1fr; }
  .contact__vector--email {
    padding-left: 0; border-left: 0;
    border-top: 1px solid rgba(176, 137, 79, 0.28);
  }
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.contact__details { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1.3rem; }
.contact__details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__details svg {
  flex: none; width: 22px; height: 22px; margin-top: 3px;
  fill: none; stroke: var(--accent-strong); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.contact__detail-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.contact__detail-value { color: var(--text); font-weight: 500; }
a.contact__detail-value:hover { color: var(--accent-strong); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.16);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.82rem; color: var(--text-faint); }
.form__success {
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--wood-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  color: var(--accent-strong);
  font-size: 0.95rem;
}

/* ---------- 6) FOOTER ---------- */
.site-footer {
  background: var(--charcoal-900);
  color: var(--text-on-dark-soft);
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding-bottom: 3rem;
}
.brand__name--footer { color: var(--cream); display: inline-block; margin-bottom: 1rem; }
.footer__blurb { max-width: 40ch; color: var(--text-on-dark-soft); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}
.footer__col-title {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wood-light); margin-bottom: 1rem; font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer__col a { color: var(--text-on-dark-soft); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--cream); }
.footer__bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  color: var(--text-faint);
}

/* ---------- 7) MOTION / REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease) var(--reveal-delay, 0s),
              transform 0.8s var(--ease) var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@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; animation-delay: 0s !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 8) RESPONSIVE ---------- */
@media (max-width: 920px) {
  .contact__layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; grid-auto-flow: row dense; }
  .showcase__item--hero { grid-column: span 2; grid-row: span 2; }
  .showcase__item--tall { grid-column: span 1; grid-row: span 2; }
  .showcase__item--wide,
  .showcase__item--full { grid-column: span 2; grid-row: span 1; }
  .showcase__item--full2 { grid-column: 1 / -1; grid-row: span 2; }
  .showcase__item--cell { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .showcase__item,
  .showcase__item--hero,
  .showcase__item--tall,
  .showcase__item--wide,
  .showcase__item--full,
  .showcase__item--full2,
  .showcase__item--cell { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
  .footer__bar { flex-direction: column; }
}

/* =====================================================================
   9) BELOW-THE-FOLD ADDITIONS
      a) Clé en main - 3-part pillar grid
      b) Portfolio expand cue + lightbox modal
      c) Contact - human-service assurances + founder signature
   ===================================================================== */

/* ---------- 9a) Clé en main pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
}
.pillar {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pillar::before {                 /* accent bar that draws in on hover */
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--wood), var(--brass));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--sand); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.pillar__num {
  font-family: var(--font-display);
  font-size: 2.4rem; line-height: 1;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--ease);
}
.pillar:hover .pillar__num { color: var(--wood); }
.pillar__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--bone), #fff);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pillar:hover .pillar__icon { transform: rotate(-6deg) scale(1.06); border-color: var(--wood-light); }
.pillar__icon svg { width: 27px; height: 27px; fill: none; stroke: var(--accent-strong); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar__title { font-size: var(--fs-h3); margin-bottom: 0.55rem; }
.pillar__text { color: var(--text-soft); margin-bottom: 1.3rem; }
.pillar__points { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.pillar__points li { position: relative; padding-left: 1.6rem; color: var(--text); font-size: 0.97rem; }
.pillar__points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wood); box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.16);
}

/* ---------- 9b) Portfolio expand cue ---------- */
.showcase__item { cursor: pointer; }
.showcase__expand {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(4px);
  border: 1px solid rgba(249, 249, 249, 0.3);
  color: var(--cream); font: 300 24px/1 var(--font-body);
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.showcase__expand::before { content: "+"; margin-top: -2px; }
.showcase__item:hover .showcase__expand,
.showcase__item:focus-within .showcase__expand { opacity: 1; transform: scale(1); }

/* ---------- 9b) Lightbox modal ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.4rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }      /* beat the base display:grid */
.lightbox.is-open { opacity: 1; }
.lightbox__frame {
  margin: 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  max-height: 100%;
}
.lightbox__stage { display: flex; align-items: center; justify-content: center; width: 100%; max-height: 78vh; }
.lightbox__media {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #141414;
  transform: scale(0.96); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.lightbox.is-open .lightbox__media { transform: scale(1); opacity: 1; }
.lightbox__placeholder {
  width: min(72vw, 760px); aspect-ratio: 16 / 10;
  display: grid; place-items: center; border-radius: var(--radius);
  background:
    repeating-linear-gradient(115deg, rgba(197, 168, 128,0.10) 0 12px, rgba(197, 168, 128,0.12) 12px 26px),
    linear-gradient(160deg, var(--charcoal-600), var(--charcoal-800));
}
.lightbox__placeholder svg { width: 48px; height: 48px; fill: none; stroke: var(--wood-light); stroke-width: 1.3; opacity: 0.6; }
.lightbox__caption { text-align: center; color: var(--cream); display: grid; gap: 0.3rem; max-width: 62ch; }
.lightbox__tag {
  justify-self: center;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--charcoal-900); background: var(--wood-light);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.lightbox__title { font-family: var(--font-display); font-size: 1.4rem; }
.lightbox__sub { color: var(--text-on-dark-soft); font-size: 0.95rem; }
.lightbox__close,
.lightbox__nav {
  flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(18, 18, 18, 0.5);
  border: 1px solid rgba(249, 249, 249, 0.25);
  color: var(--cream); cursor: pointer;
  font-size: 1.9rem; line-height: 1;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); font-size: 1.7rem; z-index: 2; }
.lightbox__nav:hover,
.lightbox__close:hover { background: var(--wood-deep); border-color: var(--wood-light); transform: scale(1.06); }
.lightbox__counter {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%);
  color: var(--text-on-dark-soft); font-size: 0.85rem; letter-spacing: 0.12em;
}

/* ---------- 9c) Contact - assurances + founder signature ---------- */
.assurances { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.2rem; }
.assurance { display: flex; gap: 1rem; align-items: flex-start; }
.assurance__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--bone), #fff); border: 1px solid var(--line);
}
.assurance__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-strong); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.assurance__body { display: grid; gap: 0.15rem; }
.assurance__title { font-weight: 600; color: var(--text); }
.assurance__text { color: var(--text-soft); font-size: 0.95rem; }
.host {
  margin: 2.4rem 0 0;
  padding: 1.5rem 1.7rem;
  border-left: 3px solid var(--wood);
  background: rgba(197, 168, 128, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.host__line { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.16rem; color: var(--text); line-height: 1.5; }
.host__by { display: block; margin-top: 0.8rem; font-size: 0.9rem; color: var(--text-faint); }
.host__name { color: var(--accent-strong); font-weight: 600; }

/* ---------- 9) responsive ---------- */
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
  .lightbox__nav--prev { left: 0.6rem; }
  .lightbox__nav--next { right: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__media, .pillar, .pillar__icon, .showcase__expand { transition: none; }
}

/* ---------- 10) ultra-wide scaling ---------- */
@media (min-width: 1700px) { :root { --container: 1440px; } }
@media (min-width: 2200px) { :root { --container: 1640px; } }

/* Hero split-screen: text column left, kitchen fills the right (desktop only) */
@media (max-width: 920px) {
  .hero__content { width: auto; max-width: 60ch; margin-left: auto; margin-right: auto; }
}

/* =====================================================================
   11) CONTACT - call / email CTAs (form removed; focus on calling)
   ===================================================================== */
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.contact__actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.8rem);
  max-width: 920px;
  margin: clamp(2rem, 1rem + 3vw, 3.5rem) auto 0;
}
.contact-cta {
  display: grid;
  justify-items: start;
  gap: 0.3rem;
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.contact-cta:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-cta__icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); margin-bottom: 0.45rem;
}
.contact-cta__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-cta__label { font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; opacity: 0.82; }
.contact-cta__value { font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.01em; word-break: break-word; }
.contact-cta__note { font-size: 0.95rem; color: var(--text-soft); margin-top: 0.25rem; }

/* primary = phone : brushed brass, dark text - the eye-catcher */
.contact-cta--phone {
  background: var(--wood);
  border-color: var(--wood);
  color: #141414;
  box-shadow: 0 22px 55px -26px rgba(197, 168, 128, 0.75);
}
.contact-cta--phone .contact-cta__icon { border-color: rgba(20, 20, 20, 0.28); background: rgba(20, 20, 20, 0.06); }
.contact-cta--phone .contact-cta__note { color: rgba(20, 20, 20, 0.72); }
.contact-cta--phone:hover { background: #b3966e; border-color: #b3966e; }

/* supporting row: reassurances + address/hours + founder signature */
.contact__support {
  max-width: 920px;
  margin: clamp(2rem, 1rem + 3vw, 3.5rem) auto 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}
.contact__aside { display: grid; gap: 1.4rem; }
.contact__support .assurances { margin-top: 0; }
.contact__support .host { margin-top: 0; }

@media (max-width: 760px) {
  .contact__actions { grid-template-columns: 1fr; }
  .contact__support { grid-template-columns: 1fr; }
}

/* =====================================================================
   12) STYLES / CATEGORY SHOWCASE (replaces Services) + gallery filters
   ===================================================================== */
.categories { background: var(--bg-alt); }
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.6rem + 1.5vw, 2rem);
}
.category {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  display: grid;
  gap: 1.2rem;
  align-content: start;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.category:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sand); }
.category__head {
  display: flex; align-items: center; gap: 0.85rem;
  width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--text);
}
.category__icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--bone), #fff); border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.category__icon svg { width: 25px; height: 25px; fill: none; stroke: var(--accent-strong); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.category__title { flex: 1; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; }
.category__cue { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--accent-strong); opacity: 0; transform: translateX(-4px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.category:hover .category__head .category__cue { opacity: 1; transform: none; }
.category:hover .category__icon { border-color: var(--wood-light); }
.category__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.category__chip {
  font: inherit; font-size: 0.92rem; cursor: pointer;
  padding: 0.46rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.category__chip:hover { background: var(--wood); border-color: var(--wood); color: #141414; transform: translateY(-2px); }

/* unified dual-axis filter dashboard (lives in the dark Réalisations section) */
.portfolio-filters {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
}
.filter-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 2rem;
}
.filter-row--cats { gap: 0.5rem 2.4rem; }
.filter-row.is-disabled { opacity: 0.3; pointer-events: none; }
.filter-tag {
  position: relative;
  font: inherit; cursor: pointer;
  background: none; border: 0; padding: 0.25rem 0.1rem;
  color: var(--text-soft);
  transition: color 0.3s var(--ease);
}
.filter-row--cats .filter-tag { font-size: 1.02rem; letter-spacing: 0.05em; }
.filter-row--styles .filter-tag { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; }
.filter-tag:hover { color: var(--text); }
.filter-tag:focus-visible { outline: none; color: var(--text); }
.filter-tag.is-active { color: var(--text); }
.filter-tag::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s var(--ease);
}
.filter-tag.is-active::after { transform: scaleX(1); }

/* buttery rearrange fade when tags change */
.showcase { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.showcase.is-rearranging { opacity: 0; transform: scale(0.985); }

/* empty state */
.showcase__empty {
  text-align: center; color: var(--text-on-dark-soft);
  font-size: 1rem; padding: 3rem 1rem 0.5rem;
}

/* filtered-out tiles */
.showcase__item.is-hidden { display: none; }

@media (max-width: 880px) { .categories__grid { grid-template-columns: 1fr; } }

/* photo-count badge on gallery tiles (multi-photo projects) */
.showcase__count {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream); background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(249, 249, 249, 0.25);
  padding: 0.22rem 0.6rem; border-radius: 999px;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.showcase__item:hover .showcase__count,
.showcase__item:focus-within .showcase__count { opacity: 1; transform: none; }

/* secondary line under a contact detail (phone / poste under address) */
.contact__detail-sub {
  display: block; margin-top: 0.2rem;
  font-size: 0.85rem; color: var(--text-soft);
}

/* footer social buttons */
.footer__socials {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.footer__social {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(249, 249, 249, 0.05);
  border: 1px solid var(--line-dark);
  color: var(--wood-light);
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__social svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.footer__social:hover,
.footer__social:focus-visible { transform: translateY(-2px); color: #fff; border-color: transparent; }
.footer__social[data-brand="facebook"]:hover,
.footer__social[data-brand="facebook"]:focus-visible { background: #1877f2; }
.footer__social[data-brand="linkedin"]:hover,
.footer__social[data-brand="linkedin"]:focus-visible { background: #0a66c2; }
.footer__social[data-brand="houzz"]:hover,
.footer__social[data-brand="houzz"]:focus-visible { background: #4dbc15; }
.footer__social[data-brand="indeed"]:hover,
.footer__social[data-brand="indeed"]:focus-visible { background: #2557a7; }

/* =====================================================================
   CARRIÈRES - internal view switcher (Matte Obsidian & Brushed Brass)
   ===================================================================== */
.page-view[hidden] { display: none; }

.careers {
  background: var(--bg);
  color: var(--text);
  --text-on-dark: var(--text);
  --text-on-dark-soft: var(--text-soft);
  padding-top: clamp(7rem, 5rem + 6vw, 10rem);
  padding-bottom: clamp(4.5rem, 3rem + 6vw, 8rem);
  min-height: 100vh;
}
.careers__back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--brass);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.careers__back:hover { color: var(--text); gap: 0.75rem; }

.careers__head { max-width: 72ch; margin-bottom: clamp(2.6rem, 1.8rem + 3vw, 4.5rem); }
.careers__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.2rem);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-on-dark); margin-bottom: 1.6rem;
}
.careers__lead { color: var(--text-soft); line-height: 1.75; margin-bottom: 1.1rem; max-width: 70ch; }

.careers__list { border-top: 1px solid rgba(176, 137, 79, 0.28); }
.career { border-bottom: 1px solid rgba(176, 137, 79, 0.28); }
.career__head {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 0.5rem 1.5rem;
  padding: clamp(1.3rem, 1rem + 1vw, 2rem) 0;
  color: var(--text-on-dark);
}
.career__title {
  grid-column: 1; grid-row: 1;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  transition: color 0.3s var(--ease);
}
.career__head:hover .career__title,
.career__head:focus-visible .career__title { color: var(--brass); }
.career__meta {
  grid-column: 1; grid-row: 2;
  display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem;
  color: var(--text-on-dark-soft); font-size: 0.84rem;
}
.career__meta-item { display: inline-flex; align-items: baseline; }
.career__meta-k {
  color: var(--brass); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.64rem; margin-right: 0.45rem;
}
.career__chevron {
  grid-column: 2; grid-row: 1 / span 2;
  position: relative; width: 22px; height: 22px; flex: 0 0 auto;
  transition: transform 0.45s var(--ease);
}
.career__chevron::before, .career__chevron::after {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1.5px; margin-top: -0.75px; background: var(--brass);
}
.career__chevron::after { transform: rotate(90deg); }
.career.is-open .career__chevron { transform: rotate(135deg); }

.career__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.career.is-open .career__panel { grid-template-rows: 1fr; }
.career__panel-inner { overflow: hidden; }
.career__body { padding: 0.4rem 0 2.2rem; max-width: 70ch; }
.career__subtitle {
  font-family: var(--font-body); font-weight: 600;
  color: var(--text-on-dark); font-size: 1rem;
  margin: 1.6rem 0 0.9rem;
}
.career__subtitle:first-child { margin-top: 0.4rem; }
.career__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.career__points li {
  position: relative; padding-left: 1.4rem;
  color: var(--text-on-dark-soft); line-height: 1.55;
}
.career__points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brass);
}

@media (max-width: 560px) { .career__chevron { grid-row: 1; align-self: start; margin-top: 0.4rem; } }
@media (prefers-reduced-motion: reduce) { .career__panel, .career__chevron, .careers__back { transition: none; } }

/* careers: application form + Postuler pill + view transition */
.careers__apply { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); max-width: 640px; }
.careers__apply-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-on-dark); margin-bottom: 1rem;
}
.careers__apply-sub { color: var(--text-soft); line-height: 1.7; margin-bottom: 2.4rem; }
.careers__apply-sub a { color: var(--brass); transition: color 0.3s var(--ease); }
.careers__apply-sub a:hover { color: var(--text); }
.apply-form { display: grid; gap: 1.6rem; }
.apply-field { display: grid; gap: 0.5rem; }
.apply-field label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
.apply-field label span { color: var(--brass); }
.apply-field input, .apply-field select {
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(42, 36, 31, 0.22);
  padding: 0.65rem 0; color: var(--text);
  font: inherit; border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.apply-field input:focus, .apply-field select:focus { outline: none; border-bottom-color: var(--brass); }
.apply-field select { cursor: pointer; }
.apply-field select option { background: var(--surface); color: var(--text); }
.apply-form__submit { justify-self: start; margin-top: 0.8rem; }

.career__apply {
  margin-top: 1.8rem;
  display: inline-flex; align-items: center;
  background: none; border: 1px solid var(--brass); color: var(--brass);
  padding: 0.6rem 1.5rem; border-radius: 999px;
  font: inherit; font-size: 0.85rem; letter-spacing: 0.05em; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.career__apply:hover, .career__apply:focus-visible { background: var(--brass); color: #141414; outline: none; }

@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page-view.is-entering { animation: viewIn 0.45s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .page-view.is-entering { animation: none; } }


/* Carrieres a un fond clair des le haut de page, alors que l entete est
   coloree pour le hero sombre et ne s assombrit qu apres 24px de defilement.
   Sur cette vue, on force tout de suite la version lisible. */
.is-careers .brand { color: var(--text); }
.is-careers .nav__list a { color: var(--text-soft); text-shadow: none; }
.is-careers .nav__list a:hover { color: var(--text); }
.is-careers .nav-toggle span { background: var(--text); }
