/* ==========================================================
   COM DESIGN STUDIO: Stylesheet v2
   Fraunces + Inter · Logo transparent + glow · Unique layouts
   ========================================================== */

/* ==========================================================
   DESIGN TOKENS
   ========================================================== */
:root {
  /* Brand */
  --charcoal: #2C2C2C;
  --charcoal-soft: #3E3A35;
  --charcoal-deep: #1E1C1A;
  --taupe: #8B7355;
  --taupe-light: #B09775;
  --taupe-dark: #6B5740;
  --cream: #F5F0EA;
  --cream-soft: #FAF7F2;
  --paper: #FFFFFF;
  --line: rgba(44, 44, 44, 0.08);
  --line-strong: rgba(44, 44, 44, 0.18);
  --muted: #6B6B6B;
  --form-bg: #2A2622;

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --maxw: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Radius */
  --r-pill: 999px;
  --r-frame: 2px;
}

/* ==========================================================
   RESET
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--taupe); color: var(--cream); }

/* ==========================================================
   TYPOGRAPHY: Fraunces (display) + Inter (body)
   Larger, clearer, more structured
   ========================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; }
em {
  font-style: italic;
  color: var(--taupe);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-block;
}
.lede {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 350;
  line-height: 1.4;
  color: var(--charcoal-soft);
  max-width: 52ch;
}

/* ==========================================================
   LAYOUT PRIMITIVES
   ========================================================== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--cream { background: var(--cream-soft); }

.divider {
  width: 48px; height: 1px; background: var(--taupe);
  margin: 1.25rem 0;
}
.divider--center { margin: 1.25rem auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================
   LOGO: SVG with neon-shine glow only, NO background pill
   ========================================================== */
.brand {
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand:hover { transform: scale(1.02); }
.brand:active { transform: scale(0.98); }

.brand__logo {
  height: 108px; /* bigger as requested */
  width: auto;
  display: block;
  background: transparent;
  /* Neon shine: soft cream glow around logo on light header */
  filter:
    drop-shadow(0 0 10px rgba(245, 240, 234, 0.55))
    drop-shadow(0 0 22px rgba(245, 240, 234, 0.25));
  transition: height 0.4s var(--ease), filter 0.4s var(--ease);
}

/* On dark hero: stronger cream halo so the dark logo glows */
.header.is-transparent:not(.is-scrolled) .brand__logo {
  filter:
    drop-shadow(0 0 14px rgba(245, 240, 234, 0.85))
    drop-shadow(0 0 28px rgba(245, 240, 234, 0.55))
    drop-shadow(0 0 48px rgba(245, 240, 234, 0.3));
}

/* When scrolled: header is cream, softer glow but still subtle shine */
.header.is-scrolled .brand__logo {
  height: 76px;
  filter:
    drop-shadow(0 0 8px rgba(245, 240, 234, 0.4))
    drop-shadow(0 0 16px rgba(176, 151, 117, 0.15));
}

/* Hide the old PNG-swap classes (we use a single SVG now) */
.brand__logo--dark { display: none; }
.brand__logo--light { display: none; }
.brand__logo--svg { display: block; }

@media (max-width: 900px) {
  .brand__logo { height: 84px; }
  .header.is-scrolled .brand__logo { height: 62px; }
}

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
  background: rgba(245, 240, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header.is-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1.75rem var(--gutter);
}
.header.is-transparent:not(.is-scrolled) { color: var(--cream); }
.header.is-scrolled {
  background: rgba(245, 240, 234, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem var(--gutter);
  box-shadow: 0 1px 0 var(--line);
}

/* Brand: header link */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

/* ==========================================================
   NAV: positioned outside header, fixed to viewport
   ========================================================== */
.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  position: fixed;
  top: 0;
  right: var(--gutter);
  height: 94px; /* matches header default height */
  z-index: 110;
  transition: height 0.4s var(--ease);
}
.header.is-scrolled + .nav,
.header.is-scrolled ~ .nav { height: 58px; }
.header:not(.is-transparent):not(.is-scrolled) + .nav { height: 72px; }

.nav > a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.header.is-transparent:not(.is-scrolled) ~ .nav > a { color: var(--cream); }
.nav > a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--taupe);
  transition: width 0.35s var(--ease);
}
.nav > a:hover::after,
.nav > a.is-active::after { width: 100%; }
.nav > a.is-active { color: var(--taupe); }

.nav-cta { display: none !important; }
@media (min-width: 1100px) {
  .nav-cta {
    display: inline-flex !important;
    padding: 1.05rem 2.9rem; /* wider so H and M have breathing room */
    background: var(--taupe);
    color: var(--cream) !important;
    border-radius: var(--r-pill);
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    font-weight: 600;
    position: relative;
    overflow: visible;
    transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    box-shadow:
      0 8px 22px rgba(139, 115, 85, 0.28),
      0 0 0 0 rgba(176, 151, 117, 0.45);
    animation: navFadeIn 0.7s var(--ease) 0.6s both, ctaWarmth 2.8s ease-in-out 1.3s infinite;
  }
  .nav-cta::after { display: none; }
  .nav-cta::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg,
      rgba(176, 151, 117, 0.35) 0%,
      rgba(139, 115, 85, 0.15) 50%,
      rgba(176, 151, 117, 0.35) 100%);
    filter: blur(12px);
    opacity: 0.55;
    z-index: -1;
    transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
  }
  .nav-cta:hover {
    background: var(--taupe-dark);
    transform: translateY(-2px) scale(1.03);
    animation: none;
    box-shadow:
      0 14px 34px rgba(139, 115, 85, 0.55),
      0 0 0 6px rgba(176, 151, 117, 0.14);
  }
  .nav-cta:hover::before {
    opacity: 1;
    filter: blur(16px);
  }
}

/* Breathing warmth glow for the CTA */
@keyframes ctaWarmth {
  0%, 100% {
    box-shadow:
      0 6px 18px rgba(139, 115, 85, 0.25),
      0 0 0 0 rgba(176, 151, 117, 0.45);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(139, 115, 85, 0.4),
      0 0 0 10px rgba(176, 151, 117, 0);
  }
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 120;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s var(--ease);
}
.nav-toggle:hover { background: rgba(44, 44, 44, 0.05); }
.nav-toggle span {
  display: block;
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), opacity 0.2s var(--ease);
  pointer-events: none;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    z-index: 150;
    /* Visible circle background on any backdrop */
    background: rgba(245, 240, 234, 0.92);
    border: 1px solid rgba(139, 115, 85, 0.25);
    box-shadow: 0 2px 8px rgba(30, 28, 26, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .nav-toggle:hover,
  .nav-toggle:active {
    background: rgba(245, 240, 234, 1);
    border-color: var(--taupe);
  }

  /* On transparent hero, invert: dark circle with light bars */
  .header.is-transparent:not(.is-scrolled) .nav-toggle {
    background: rgba(44, 44, 44, 0.55);
    border: 1px solid rgba(245, 240, 234, 0.35);
    color: var(--cream);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .header.is-transparent:not(.is-scrolled) .nav-toggle:hover,
  .header.is-transparent:not(.is-scrolled) .nav-toggle:active {
    background: rgba(44, 44, 44, 0.75);
    border-color: rgba(245, 240, 234, 0.6);
  }

  /* When nav is open, toggle fixed visible */
  body.nav-locked .nav-toggle {
    background: var(--cream) !important;
    border-color: var(--taupe) !important;
    color: var(--charcoal) !important;
  }

  /* Lock body scroll when menu open */
  body.nav-locked {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  /* Brand stays clickable above nav */
  .brand { z-index: 150; position: relative; }

  /* MOBILE NAV: fullscreen overlay with dvh support for iOS Safari */
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important; /* dynamic viewport height: correct on iOS */
    background: var(--cream) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 5rem 2rem 3rem !important;
    z-index: 140 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; /* prevent scroll chain to body */
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav > a {
    font-family: var(--font-display) !important;
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--charcoal) !important;
    padding: 0.5rem 1rem !important;
    height: auto !important;
    flex-shrink: 0;
  }
  .nav > a::after { display: none !important; }
  .nav > a.is-active { color: var(--taupe) !important; }
  .nav-cta {
    display: inline-block !important;
    margin-top: 1.75rem !important;
    font-size: 0.85rem !important;
    padding: 1.25rem 3.5rem !important; /* wider for H and M breathing room */
    letter-spacing: 0.16em !important;
    flex-shrink: 0;
  }

  /* CRITICAL: hide WhatsApp button when nav is open so it doesn't overlap */
  body.nav-locked .whatsapp { display: none !important; }
  body.nav-locked .cookies { display: none !important; }

  /* Prominent close (X) button at top-right of the open mobile menu */
  .nav-close {
    position: absolute !important;
    top: 1.5rem;
    right: 1.5rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1.25rem 0.8rem 1rem;
    background: var(--charcoal);
    color: var(--cream);
    border: 1.5px solid var(--charcoal);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 200;
    box-shadow: 0 8px 22px rgba(30, 28, 26, 0.25);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    animation: navCloseFade 0.5s var(--ease) 0.15s both;
  }
  .nav-close:hover {
    background: var(--taupe);
    border-color: var(--taupe);
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(139, 115, 85, 0.4);
  }
  .nav-close:active { transform: scale(0.97); }
  .nav-close svg { stroke: currentColor; flex-shrink: 0; }
  .nav-close__text { line-height: 1; }
  @keyframes navCloseFade {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
  }
}

/* Hide the close button outside mobile (desktop nav has no need for it) */
.nav-close { display: none; }

/* ==========================================================
   BUTTONS: warm, rounded, friendly
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(44, 44, 44, 0.22);
}
.btn:active { transform: translateY(0); }

.btn--gold {
  border-color: var(--taupe);
  background: var(--taupe);
  color: var(--cream);
}
.btn--gold:hover {
  background: var(--taupe-dark);
  border-color: var(--taupe-dark);
  color: var(--cream);
  box-shadow: 0 14px 38px rgba(139, 115, 85, 0.38);
}

.btn--ghost-light {
  border-color: rgba(245, 240, 234, 0.8);
  color: var(--cream);
}
.btn--ghost-light:hover {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

.btn .arrow {
  width: 16px; height: 1.5px; background: currentColor; position: relative; border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.btn .arrow::after {
  content: "";
  position: absolute; right: -1px; top: -3.5px;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}
.btn:hover .arrow { width: 22px; }

/* ==========================================================
   HERO: with large logo feature
   ========================================================== */
.hero {
  position: relative;
  /* Full viewport hero with iOS Safari support.
     Browser picks the last supported value:
     - vh: fallback (large viewport, may overflow on initial Safari load)
     - svh: smallest viewport (always fits, never overflows)
     - dvh: dynamic viewport (adjusts as address bar shows/hides) */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  padding-top: 6rem;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: slowZoom 22s var(--ease) forwards;
}
@keyframes slowZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(30, 28, 26, 0.65) 0%,
    rgba(30, 28, 26, 0.4) 40%,
    rgba(30, 28, 26, 0.92) 100%);
}

/* Hero with Maria portrait: gradient diagonal, Maria visible right side */
.hero__media--portrait img {
  object-position: 62% 30%; /* show Maria's face/upper body, slightly right */
}
.hero__media--portrait::after {
  background:
    linear-gradient(100deg,
      rgba(30, 28, 26, 0.82) 0%,
      rgba(30, 28, 26, 0.62) 35%,
      rgba(30, 28, 26, 0.28) 58%,
      rgba(30, 28, 26, 0.45) 100%),
    linear-gradient(180deg,
      rgba(30, 28, 26, 0.3) 0%,
      rgba(30, 28, 26, 0) 30%,
      rgba(30, 28, 26, 0) 70%,
      rgba(30, 28, 26, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__text {
  animation: fadeUp 1.3s var(--ease) 0.3s backwards;
  max-width: 820px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow { color: var(--cream); opacity: 0.9; margin-bottom: 1.5rem; }
.hero h1 {
  color: var(--cream);
  max-width: 18ch;
  margin-bottom: 2rem;
  font-weight: 300;
  /* Bigger, more prominent headline for impact */
  font-size: clamp(3.25rem, 9.5vw, 7.5rem) !important;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  color: var(--cream);
  font-style: italic;
  font-weight: 350;
  opacity: 1;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  font-weight: 800; /* bold, more prominent */
  letter-spacing: 0.3em;
  text-transform: uppercase;
  max-width: none; /* allow full line, prevent narrow wrap */
  margin-bottom: 2.75rem;
  opacity: 0.95;
  line-height: 1.6;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
/* Desktop: force single line so all 3 categories stay together */
@media (min-width: 900px) {
  .hero__sub { white-space: nowrap; }
}
.hero__ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Mobile-specific hero adjustments: full-screen image, text at bottom */
@media (max-width: 700px) {
  .hero {
    /* iOS Safari: cascade of viewport units (dvh works on Safari 15.4+)
       Browser picks last supported value */
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    max-height: none;
    padding-top: 0;
    /* Respect iOS home indicator + bottom toolbar safe area */
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }
  .hero__media img {
    object-position: center center;
    animation: none !important;
  }
  .hero__media--portrait img {
    /* Maria photo: center composition, face visible in upper area, full body visible */
    object-position: center 35%;
  }
  .hero__media::after,
  .hero__media--portrait::after {
    /* Lighter at top so Maria is fully visible, stronger gradient only at bottom for text legibility */
    background: linear-gradient(180deg,
      rgba(30, 28, 26, 0.25) 0%,
      rgba(30, 28, 26, 0.1) 35%,
      rgba(30, 28, 26, 0.55) 70%,
      rgba(30, 28, 26, 0.95) 100%) !important;
  }
  .hero__content {
    padding-bottom: 1rem;
  }
  .hero__eyebrow {
    font-size: 0.65rem !important;
    letter-spacing: 0.22em;
    margin-bottom: 0.85rem !important;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.6rem) !important;
    max-width: 100%;
    line-height: 1.02 !important;
    margin-bottom: 1.25rem !important;
    letter-spacing: -0.025em;
  }
  .hero__sub {
    font-size: 0.7rem !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase;
    max-width: 100%;
    margin-bottom: 1.75rem;
    line-height: 1.5;
    opacity: 0.95;
    font-weight: 800 !important;
    white-space: nowrap; /* keep on one line even on mobile */
    overflow: visible;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .hero__ctas .btn {
    justify-content: center;
    padding: 0.95rem 1.5rem;
  }
}

/* ==========================================================
   SECTION HEAD
   ========================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
}
.section-head__title { max-width: 32ch; flex: 1 1 auto; }
@media (max-width: 700px) {
  .section-head { align-items: flex-start; margin-bottom: 2rem; }
  .section-head .btn { font-size: 0.75rem; padding: 0.85rem 1.5rem; }
}

/* ==========================================================
   PROJECT CARDS: smaller with themed frame
   ========================================================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 1240px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

.work-card {
  cursor: pointer;
  display: block;
  transition: transform 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-3px); }

/* FRAMED image: smaller, subtler frame */
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cream-soft);
  /* Thinner taupe frame */
  padding: 5px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  box-shadow: 0 6px 18px rgba(30, 28, 26, 0.06);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.work-card:hover .work-card__media {
  border-color: var(--taupe);
  box-shadow:
    0 1px 0 rgba(139, 115, 85, 0.15) inset,
    0 18px 42px rgba(139, 115, 85, 0.18);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.04); }

.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  gap: 1rem;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}
.work-card__title em { font-style: italic; color: var(--taupe); }
.work-card__info {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 500;
}
.work-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* ==========================================================
   ABOUT TEASER (home)
   ========================================================== */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about-teaser { grid-template-columns: 5fr 6fr; }
}
.about-teaser__img {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  padding: 5px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  max-width: 460px;
  width: 100%;
}
.about-teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__text h2 { margin-bottom: 1.5rem; }
.about-teaser__text p { margin-bottom: 1rem; color: var(--charcoal-soft); font-size: 1.05rem; line-height: 1.7; }
.about-teaser__quote {
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important;
  font-style: italic;
  color: var(--taupe) !important;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-left: 2px solid var(--taupe-light);
  margin: 0.5rem 0 1.25rem !important;
}

/* ==========================================================
   STATS
   ========================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(245, 240, 234, 0.15);
  border-bottom: 1px solid rgba(245, 240, 234, 0.15);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}
.stat__num sup { font-size: 0.4em; color: var(--taupe-light); margin-left: 4px; font-weight: 300; }
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-light);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { padding: 2rem 0; border-top: 1px solid var(--line-strong); }
.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.testimonial__author { font-size: 0.9rem; font-weight: 600; color: var(--charcoal); }
.testimonial__role {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band {
  text-align: center;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  background: var(--charcoal);
  color: var(--cream);
}
.cta-band h2 {
  color: var(--cream);
  max-width: 18ch;
  margin: 0 auto 2rem;
}
.cta-band h2 em { color: var(--taupe-light); }
.cta-band p {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 350;
  opacity: 0.86;
  line-height: 1.55;
}
.cta-band__contacts {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 52ch;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--cream);
  opacity: 0.85;
}
.cta-band__contacts li { line-height: 1.5; }
.cta-band__contacts a {
  color: var(--taupe-light);
  text-decoration: underline;
  text-decoration-color: rgba(176, 151, 117, 0.4);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s var(--ease);
}
.cta-band__contacts a:hover { text-decoration-color: var(--taupe-light); }

/* ==========================================================
   PAGE INTRO (inner pages)
   ========================================================== */
.page-intro {
  padding: calc(var(--section-y) + 5rem) 0 var(--section-y);
  border-bottom: 1px solid var(--line);
}
.page-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .page-intro__grid { grid-template-columns: 5fr 6fr; align-items: end; }
}
.page-intro h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1;
}
.page-intro h1 em { font-style: italic; color: var(--taupe); }
.page-intro__desc {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 350;
  line-height: 1.5;
  color: var(--charcoal-soft);
  max-width: 52ch;
}

/* ==========================================================
   PORTFOLIO
   ========================================================== */
.filters {
  display: flex;
  gap: 0.5rem;
  margin: 3rem 0 4rem;
  flex-wrap: wrap;
}
.filter {
  padding: 0.7rem 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--charcoal-soft);
  transition: all 0.3s var(--ease);
  border-radius: var(--r-pill);
  background: transparent;
  font-weight: 600;
}
.filter:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter.is-active {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 600px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }

/* Portfolio cards: smaller, more compact for 4-column grid */
.portfolio-grid .work-card__media {
  aspect-ratio: 4 / 5;
  padding: 4px;
}
.portfolio-grid .work-card__title {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}
.portfolio-grid .work-card__info {
  font-size: 0.68rem;
}
.portfolio-grid .work-card__tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
}
.portfolio-grid .work-card__meta {
  margin-top: 0.85rem;
  gap: 0.5rem;
}

/* ==========================================================
   PROJECT DETAIL
   ========================================================== */
.project-hero {
  padding: calc(var(--section-y) + 5rem) 0 3rem;
}
.project-hero__meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.project-hero__meta-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.project-hero__meta-item .value { font-size: 1.05rem; font-weight: 500; }
.project-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.project-hero h1 em { font-style: italic; color: var(--taupe); }
.project-hero__desc {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 350;
  line-height: 1.55;
  max-width: 60ch;
  color: var(--charcoal-soft);
}

.project-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: var(--section-y);
  padding: 10px;
  border: 1px solid rgba(139, 115, 85, 0.35);
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; }

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--section-y);
}
@media (min-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(260px, auto);
  }
  .gallery-item--full { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .gallery-item--large { grid-column: span 7; aspect-ratio: 4 / 3; }
  .gallery-item--small { grid-column: span 5; aspect-ratio: 4 / 3; }
  .gallery-item--tall { grid-column: span 5; grid-row: span 2; aspect-ratio: 3 / 4; }
  .gallery-item--wide { grid-column: span 7; aspect-ratio: 3 / 2; }
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 6px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); cursor: zoom-in; }
.gallery-item:hover img { transform: scale(1.03); }
.project-cover img { cursor: zoom-in; }

/* ==========================================================
   VIEW ALL TRIGGER: CTA button to open full-size gallery
   ========================================================== */
.view-all-trigger-wrap {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(245, 240, 234, 0.5) 50%,
      transparent 100%);
}
.view-all-trigger-wrap__eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin-bottom: 1rem;
}
.view-all-trigger-wrap__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--charcoal);
}
.view-all-trigger-wrap__title em { font-style: italic; color: var(--taupe); }
.view-all-trigger-wrap__hint {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--charcoal-soft);
  margin: 0 auto 1.75rem;
  max-width: 48ch;
  line-height: 1.55;
  font-weight: 350;
}
.view-all-trigger-wrap__btn {
  font-size: 0.85rem !important;
  padding: 1.15rem 2.5rem !important;
  letter-spacing: 0.18em !important;
}

/* ==========================================================
   LIGHTBOX: Full-screen image viewer with navigation
   ========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 18, 16, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: clamp(1rem, 3vw, 3rem);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__stage {
  position: relative;
  max-width: min(95vw, 1600px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* clicks pass through to background for close */
}
.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  transition: opacity 0.3s var(--ease);
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__img.is-loading { opacity: 0; }

.lightbox__btn {
  position: absolute;
  background: rgba(245, 240, 234, 0.08);
  border: 1px solid rgba(245, 240, 234, 0.18);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: auto;
}
.lightbox__btn:hover {
  background: rgba(176, 151, 117, 0.35);
  border-color: rgba(176, 151, 117, 0.8);
  transform: scale(1.06);
}
.lightbox__btn:active { transform: scale(0.95); }
.lightbox__btn svg { stroke: currentColor; }

.lightbox__close {
  top: clamp(1rem, 2.5vw, 2rem);
  right: clamp(1rem, 2.5vw, 2rem);
  width: 48px;
  height: 48px;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
}
.lightbox__prev { left: clamp(0.75rem, 2vw, 2rem); }
.lightbox__next { right: clamp(0.75rem, 2vw, 2rem); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

.lightbox__counter {
  position: absolute;
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(20, 18, 16, 0.6);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 240, 234, 0.12);
  pointer-events: auto;
}

.lightbox__caption {
  position: absolute;
  bottom: clamp(3.75rem, 6vw, 4.75rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  text-align: center;
  max-width: min(60ch, 80vw);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  opacity: 0.85;
  line-height: 1.4;
  pointer-events: none;
}

/* Mobile lightbox refinements */
@media (max-width: 700px) {
  .lightbox__close {
    width: 42px;
    height: 42px;
    top: 1rem;
    right: 1rem;
  }
  .lightbox__prev,
  .lightbox__next {
    width: 44px;
    height: 44px;
    bottom: 1rem;
    top: auto;
    transform: none;
  }
  .lightbox__prev:hover,
  .lightbox__next:hover { transform: scale(1.06); }
  .lightbox__prev { left: 1rem; }
  .lightbox__next { right: 1rem; }
  .lightbox__counter {
    bottom: 1rem;
    font-size: 0.65rem;
    padding: 0.4rem 0.85rem;
  }
  .lightbox__caption {
    bottom: 3.75rem;
    font-size: 0.85rem;
    padding: 0 1rem;
  }
}

/* Body lock when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

/* ==========================================================
   BEFORE / AFTER SLIDER (drag handle, interactive)
   ========================================================== */
.before-after-section {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
}
.before-after-section__head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 56ch;
}
.before-after-section__head .eyebrow {
  color: var(--taupe);
  margin-bottom: 0.5rem;
  display: block;
}
.before-after-section__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.before-after-section__head p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  color: var(--charcoal-soft);
  font-weight: 350;
  line-height: 1.55;
  margin: 0;
}

/* Compact "Before" gallery: small thumbnails to show starting state */
.before-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
@media (min-width: 700px) {
  .before-strip { grid-template-columns: repeat(4, 1fr); }
}
.before-strip__label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.before-strip__label::before,
.before-strip__label::after {
  content: "";
  height: 1px;
  background: var(--taupe);
  opacity: 0.4;
  flex: 1;
}
.before-strip__label::before { max-width: 30px; }
.before-strip__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  filter: grayscale(45%) brightness(0.95);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
  cursor: zoom-in;
}
.before-strip__item:hover {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.02);
}
.before-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Interactive Before/After drag slider for paired comparisons */
.ba-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  border-radius: 4px;
  background: var(--charcoal);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  touch-action: none;
}
.ba-compare__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-compare__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-compare__layer--after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s; /* will be controlled by JS */
}
.ba-compare__chip {
  position: absolute;
  top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: #F5F0EA;
  background: rgba(30, 28, 26, 0.78);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  pointer-events: none;
  z-index: 3;
}
.ba-compare__chip--before { left: 1rem; }
.ba-compare__chip--after { right: 1rem; background: rgba(139, 115, 85, 0.9); }
.ba-compare__handle {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 2px;
  background: rgba(245, 240, 234, 0.95);
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
  z-index: 4;
  pointer-events: none;
}
.ba-compare__handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(30, 28, 26, 0.3);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  color: var(--taupe);
}
.ba-compare__handle-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--taupe-light);
  color: var(--cream);
}
.ba-compare__handle-btn svg { width: 22px; height: 22px; }
.ba-compare__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F5F0EA;
  background: rgba(30, 28, 26, 0.7);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  animation: hintFade 4s ease 0.8s forwards;
  z-index: 3;
}
@keyframes hintFade {
  0% { opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Gallery sections (rooms) on project pages */
.project-gallery-section {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
}
.gallery-section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 56ch;
}
.gallery-section-head .eyebrow {
  color: var(--taupe);
  margin-bottom: 0.5rem;
  display: block;
}
.gallery-section-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}
.gallery-section-head p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  color: var(--charcoal-soft);
  font-weight: 350;
  line-height: 1.55;
  margin: 0;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 1rem;
  flex-wrap: wrap;
}
.project-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  font-weight: 600;
}
.project-nav a:hover { color: var(--charcoal); }
.project-nav a span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--taupe);
  font-weight: 400;
}
.project-nav__next { text-align: right; }

/* ==========================================================
   SERVICES: 4-column table grid with bullets, animated
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--cream-soft);
}
@media (min-width: 700px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-col {
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
  position: relative;
  border-top: 1px solid var(--line);
  transition: background 0.5s var(--ease), transform 0.4s var(--ease);
  overflow: hidden;
}
.service-col:first-child { border-top: none; }
@media (min-width: 700px) {
  .service-col { border-top: none; border-left: 1px solid var(--line); }
  .service-col:nth-child(odd) { border-left: none; }
  .service-col:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .service-col { border-left: 1px solid var(--line); border-top: none; }
  .service-col:first-child { border-left: none; }
  .service-col:nth-child(n+3) { border-top: none; }
}

/* Subtle fill reveal on hover */
.service-col::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
  z-index: 0;
}
.service-col:hover::before { transform: translateY(0); }
.service-col > * { position: relative; z-index: 1; }

.service-col__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--taupe);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: 300;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.service-col:hover .service-col__num {
  color: var(--taupe-dark);
  transform: translateX(4px);
}

.service-col h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.service-col h3 em { font-style: italic; color: var(--taupe); }

.service-col__desc {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 350;
  font-style: italic;
}

.service-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.service-col li {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  padding: 0.65rem 0 0.65rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease), color 0.35s var(--ease);
}
.service-col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--taupe);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.service-col:hover li {
  color: var(--charcoal);
  padding-left: 1.5rem;
}
.service-col:hover li::before {
  background: var(--taupe-dark);
  transform: scale(1.4);
}

.service-col__cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-col__cta:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* Keep old class aliases hidden but available: no breakage */
.services-stack { display: none; }

/* ==========================================================
   ABOUT: more compact
   ========================================================== */
.about-hero { padding: calc(var(--section-y) + 5rem) 0 3rem; }
.about-hero__text { max-width: 62ch; }
.about-hero h1 em { font-style: italic; color: var(--taupe); }

.about-compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-compact-grid { grid-template-columns: 5fr 6fr; gap: 4rem; }
}
.about-compact-grid__img {
  aspect-ratio: 4 / 5;
  padding: 8px;
  border: 1px solid rgba(139, 115, 85, 0.35);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
}
.about-compact-grid__img img { width: 100%; height: 100%; object-fit: cover; }
.about-compact-grid__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
}
.about-compact-grid__text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  float: left;
  line-height: 0.85;
  padding: 0.4rem 0.6rem 0 0;
  color: var(--taupe);
  font-weight: 500;
  font-style: italic;
}

.values-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 700px) { .values-compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values-compact { grid-template-columns: repeat(4, 1fr); } }
.value-compact { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.value-compact__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--taupe);
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.value-compact h4 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.value-compact h4 em { font-style: italic; color: var(--taupe); }
.value-compact p { color: var(--charcoal-soft); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================
   TEAM: compact row with animated round avatars
   ========================================================== */
.team-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(2rem, 4vw, 3.5rem) !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 0 var(--gutter);
}
@media (max-width: 700px) {
  .team-row {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    max-width: 320px !important;
  }
}

.team-row__member {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 0 !important;
  animation: teamFadeIn 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.15s);
}
@keyframes teamFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.team-row__img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  padding: 4px !important;
  background: var(--cream);
  border: 1px solid rgba(139, 115, 85, 0.3);
  flex-shrink: 0 !important;
  margin-bottom: 1.25rem !important;
  position: relative !important;
  filter: grayscale(20%);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.5s var(--ease);
  box-shadow: 0 6px 20px rgba(30, 28, 26, 0.06);
  cursor: pointer;
}
.team-row__img::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.team-row__member:hover .team-row__img {
  filter: grayscale(0%);
  transform: translateY(-4px) scale(1.03);
  border-color: var(--taupe);
  box-shadow: 0 12px 32px rgba(139, 115, 85, 0.22);
}
.team-row__member:hover .team-row__img::before {
  opacity: 0.35;
  transform: scale(1.05);
}
.team-row__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

.team-row__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 5px;
  color: var(--charcoal);
  transition: color 0.4s var(--ease);
}
.team-row__name em { font-style: italic; color: var(--taupe); }
.team-row__member:hover .team-row__name { color: var(--taupe); }

.team-row__role {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.team-row__bio {
  font-size: 0.86rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
  max-width: 26ch;
}

/* Keep old class hidden */
.team-compact { display: none; }

/* ==========================================================
   BLOG
   ========================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4vw, 3rem);
}
@media (min-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { cursor: pointer; display: block; }
.blog-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: 6px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  transition: border-color 0.4s var(--ease);
}
.blog-card:hover .blog-card__media { border-color: var(--taupe); }
.blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__meta {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.blog-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 0.75rem; line-height: 1.15; }
.blog-card h3 em { font-style: italic; }
.blog-card__excerpt {
  font-size: 0.96rem;
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.blog-card__read {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 3px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  font-weight: 600;
}
.blog-card:hover .blog-card__read { color: var(--taupe); border-color: var(--taupe); }

/* Single article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--section-y) + 5rem) var(--gutter) var(--section-y);
}
.article__meta {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.article h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  line-height: 1.1;
}
.article h1 em { font-style: italic; color: var(--taupe); }
.article__lede {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 350;
  line-height: 1.5;
  color: var(--charcoal-soft);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-strong);
}
.article__body p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--charcoal-soft);
  margin-bottom: 1.5rem;
}
.article__body h2 { font-size: 1.75rem; margin: 3rem 0 1rem; }
.article__body img {
  margin: 2.5rem 0;
  width: 100%;
  padding: 6px;
  border: 1px solid rgba(139, 115, 85, 0.3);
}
.article__body blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  padding: 2rem 0 2rem 2rem;
  border-left: 2px solid var(--taupe);
  margin: 2.5rem 0;
  color: var(--charcoal);
  font-weight: 400;
}
.article__body a {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ==========================================================
   CONTACT: dark form + highlighted info
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 4vw, 4rem);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; } }

.contact-info h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 3.5vw, 2.75rem); }
.contact-info h2 em { font-style: italic; color: var(--taupe); }
.contact-info__lede {
  margin-bottom: 2rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 42ch;
}

/* Contact items: minimal inline icons in theme color */
.contact-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.contact-item:first-of-type { border-top: 1px solid var(--line-strong); }
.contact-item:last-of-type { border-bottom: 1px solid var(--line-strong); }
.contact-item:hover { padding-left: 0.4rem; }
.contact-item__icon {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  flex-shrink: 0;
  color: var(--taupe);
}
.contact-item__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
}
.contact-item__label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item__value {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--charcoal);
}
.contact-item__value em { font-style: italic; color: var(--taupe); font-family: var(--font-display); }
.contact-item__value a { color: inherit; transition: color 0.25s var(--ease); }
.contact-item__value a:hover { color: var(--taupe); }

/* Hide old card classes */
.contact-detail-card { display: none; }

/* Contact form: dark background */
.contact-form {
  background: var(--form-bg);
  color: var(--cream);
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 1px solid rgba(139, 115, 85, 0.25);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(30, 28, 26, 0.15);
}
.contact-form h3 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.contact-form h3 em { color: var(--taupe-light); }
.contact-form__sub {
  color: rgba(245, 240, 234, 0.7);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.field { margin-bottom: 1.4rem; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-light);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 234, 0.25);
  padding: 0.7rem 0;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--cream);
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23B09775' fill='none' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 24px;
}
.field select option { background: var(--form-bg); color: var(--cream); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--taupe-light); }
.field input::placeholder, .field textarea::placeholder {
  color: rgba(245, 240, 234, 0.35); opacity: 1;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.checkbox-field {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.checkbox-field input {
  width: 18px; height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--taupe);
}
.checkbox-field label {
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245, 240, 234, 0.82);
  line-height: 1.55;
  margin-bottom: 0;
  font-weight: 400;
}
.checkbox-field a {
  text-decoration: underline;
  text-decoration-color: var(--taupe-light);
  text-underline-offset: 3px;
  color: var(--cream);
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  border: 1px solid var(--taupe-light);
  color: var(--taupe-light);
  background: rgba(176, 151, 117, 0.08);
  display: none;
  border-radius: 4px;
  line-height: 1.55;
}
.form-status.is-visible { display: block; }
.form-status.is-error {
  border-color: #E88A8A;
  color: #E88A8A;
  background: rgba(232, 138, 138, 0.08);
}

.map-wrap {
  margin-top: 4rem;
  padding: 8px;
  border: 1px solid rgba(139, 115, 85, 0.35);
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: var(--cream-soft);
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(0.96);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2rem;
}
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 240, 234, 0.12);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brand-logo {
  height: 110px; /* slightly bigger as requested */
  width: auto;
  margin-bottom: 1.75rem;
  display: block;
  background: transparent;
  /* Same neon-shine as header logo on dark hero, no background pill */
  filter:
    drop-shadow(0 0 14px rgba(245, 240, 234, 0.85))
    drop-shadow(0 0 28px rgba(245, 240, 234, 0.55))
    drop-shadow(0 0 48px rgba(245, 240, 234, 0.3));
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.footer__brand-logo:hover {
  transform: scale(1.02);
}
@media (max-width: 700px) {
  .footer__brand-logo { height: 92px; }
}
.footer__brand h3 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.footer__brand h3 em { font-style: italic; color: var(--taupe-light); }
.footer__brand p {
  color: rgba(245, 240, 234, 0.72);
  max-width: 40ch;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 350;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe-light);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.7rem; font-size: 0.94rem; }
.footer__top a { color: rgba(245, 240, 234, 0.78); transition: color 0.25s var(--ease); }
.footer__top a:hover { color: var(--cream); }

.footer__bottom {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(245, 240, 234, 0.55);
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(245, 240, 234, 0.55); }
.footer__legal a:hover { color: var(--cream); }

.credit {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.74rem;
  color: rgba(245, 240, 234, 0.35);
  letter-spacing: 0.04em;
}
.credit a {
  color: var(--taupe-light) !important;
  border-bottom: 1px solid rgba(176, 151, 117, 0.3);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.credit a:hover {
  color: var(--cream) !important;
  border-color: var(--cream);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(245, 240, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--taupe);
  border-color: var(--taupe);
  transform: translateY(-2px);
}
.socials svg { width: 15px; height: 15px; fill: var(--cream); }

/* ==========================================================
   WHATSAPP: brand-themed (charcoal with taupe glow)
   !important forces override of any cached/legacy green styles
   ========================================================== */
.whatsapp {
  position: fixed !important;
  right: clamp(1rem, 3vw, 1.75rem) !important;
  bottom: clamp(1rem, 3vw, 1.75rem) !important;
  z-index: 95 !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #2C2C2C !important;
  background-color: #2C2C2C !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow:
    0 10px 28px rgba(30, 28, 26, 0.3),
    0 0 0 0 rgba(139, 115, 85, 0.55) !important;
  animation: whatsappGlow 2.8s ease-in-out infinite !important;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease) !important;
  border: 1.5px solid rgba(139, 115, 85, 0.5) !important;
  color: #F5F0EA !important;
  cursor: pointer;
}
.whatsapp:hover {
  transform: scale(1.08) !important;
  background: #8B7355 !important;
  background-color: #8B7355 !important;
  border-color: #8B7355 !important;
  box-shadow:
    0 16px 42px rgba(139, 115, 85, 0.45),
    0 0 0 8px rgba(139, 115, 85, 0.15) !important;
  animation: none !important;
}
.whatsapp svg {
  width: 28px !important;
  height: 28px !important;
  fill: #F5F0EA !important;
  color: #F5F0EA !important;
  display: block;
  /* Centered cleanly by flex parent, no offset needed */
}
.whatsapp svg path { fill: #F5F0EA; }
@keyframes whatsappGlow {
  0%, 100% {
    box-shadow:
      0 10px 28px rgba(30, 28, 26, 0.3),
      0 0 0 0 rgba(139, 115, 85, 0.55);
  }
  50% {
    box-shadow:
      0 10px 28px rgba(30, 28, 26, 0.3),
      0 0 0 16px rgba(139, 115, 85, 0);
  }
}

/* ==========================================================
   COOKIE BANNER
   ========================================================== */
.cookies {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 380px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.5rem;
  z-index: 96;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  border-radius: 4px;
  border: 1px solid rgba(139, 115, 85, 0.25);
}
.cookies.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.cookies h4 { font-size: 1.15rem; color: var(--cream); margin-bottom: 0.5rem; }
.cookies p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(245, 240, 234, 0.78);
  margin-bottom: 1rem;
}
.cookies p a { text-decoration: underline; color: var(--taupe-light); }
.cookies__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookies button {
  padding: 0.6rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 234, 0.3);
  color: var(--cream);
  border-radius: var(--r-pill);
  transition: all 0.25s var(--ease);
  font-weight: 600;
}
.cookies button.primary { background: var(--taupe); border-color: var(--taupe); }
.cookies button:hover {
  background: var(--cream); color: var(--charcoal); border-color: var(--cream);
}
@media (max-width: 600px) {
  .cookies { left: 1rem; right: 1rem; bottom: 5.5rem; max-width: none; }
}

/* ==========================================================
   LEGAL PAGES
   ========================================================== */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--section-y) + 5rem) var(--gutter) var(--section-y);
}
.legal-page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; }
.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--taupe);
}
.legal-page p { color: var(--charcoal-soft); margin-bottom: 1rem; line-height: 1.75; }
.legal-page ul { margin: 0 0 1rem 1.5rem; color: var(--charcoal-soft); }
.legal-page li { margin-bottom: 0.5rem; line-height: 1.65; }
.legal-page__updated { font-size: 0.88rem; color: var(--muted); margin-bottom: 2rem; }
.legal-page a { color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }

.back-link {
  display: inline-flex;
  gap: 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  transition: color 0.3s var(--ease);
  font-weight: 600;
}
.back-link:hover { color: var(--charcoal); }
.back-link::before { content: "←"; }

/* ==========================================================
   FUTURISTIC ACCENTS: grain, scroll indicator, shimmers
   ========================================================== */

/* Page entry: auto fade-in via CSS, JS just exits */
body {
  opacity: 1;
  animation: pageEnter 0.5s ease both;
}
@keyframes pageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.is-exiting {
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: none;
}

/* Magnetic buttons: CTA follow cursor subtly */
.btn--gold, .nav-cta {
  --mx: 0px;
  --my: 0px;
  will-change: transform;
}
.btn--gold {
  transform: translate(var(--mx), var(--my));
}
@media (min-width: 1100px) {
  .nav-cta {
    transform: translate(var(--mx), var(--my)) !important;
  }
}

/* Reveal-on-scroll utility classes */
.reveal, .reveal-up, .reveal-scale {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-up { transform: translateY(28px); }
.reveal-scale { transform: scale(0.96); }
.reveal.is-visible,
.reveal-up.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Filter animations */
.filter-in {
  animation: filterFadeIn 0.5s var(--ease) both;
}
@keyframes filterFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero: subtle film grain overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(176, 151, 117, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 240, 234, 0.2) 0%, transparent 50%);
  mix-blend-mode: overlay;
  animation: grainShift 12s ease-in-out infinite alternate;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-3%, 2%); }
}

/* Hero: scroll indicator, bottom-right */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.5s forwards;
}
.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--cream) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}
@media (max-width: 900px) {
  .hero__scroll { display: none !important; }
}

/* ==========================================================
   CAROUSEL: Infinite marquee auto-scroll
   ========================================================== */
.carousel {
  position: relative;
  margin-top: 2.5rem;
  overflow: hidden;
  /* Edge fade masks for subtle fade on left/right */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}
.carousel:hover .carousel__track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Slides are flex items now with explicit width */
.carousel__slide {
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 420px);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.5s var(--ease);
}
.carousel__slide:hover { transform: translateY(-6px); }

.carousel__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--charcoal);
  padding: 5px;
  border: 1px solid rgba(139, 115, 85, 0.3);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.carousel__slide:hover .carousel__media {
  border-color: var(--taupe);
  box-shadow: 0 24px 56px rgba(30, 28, 26, 0.18);
}
.carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.5s var(--ease);
  filter: grayscale(10%) brightness(0.97);
}
.carousel__slide:hover .carousel__media img {
  transform: scale(1.07);
  filter: grayscale(0%) brightness(1);
}
.carousel__overlay {
  position: absolute;
  left: 5px; right: 5px; bottom: 5px;
  padding: 1.25rem 1.4rem;
  color: var(--cream);
  background: linear-gradient(to top,
    rgba(30, 28, 26, 0.92) 0%,
    rgba(30, 28, 26, 0.55) 65%,
    transparent 100%);
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.carousel__slide:hover .carousel__overlay {
  transform: translateY(0);
  opacity: 1;
}
.carousel__tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-light);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.carousel__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.4rem;
  color: var(--cream);
}
.carousel__title em { font-style: italic; color: var(--taupe-light); }
.carousel__loc {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.78);
  font-weight: 500;
}

/* Hide old navigation UI (marquee doesn't need them) */
.carousel__btn { display: none !important; }
.carousel__dots { display: none !important; }

/* ==========================================================
   SERVICES PREVIEW (home): 4 column grid, cards cu animații
   ========================================================== */
.services-preview {
  position: relative;
}
.services-preview__grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
  margin-top: 2.5rem !important;
}
@media (min-width: 600px) {
  .services-preview__grid { grid-template-columns: 1fr 1fr !important; }
}
@media (min-width: 1100px) {
  .services-preview__grid { grid-template-columns: repeat(4, 1fr) !important; }
}

.svc-preview {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding: clamp(1.75rem, 2.5vw, 2.25rem) !important;
  background: var(--cream-soft) !important;
  border: 1px solid var(--line) !important;
  text-decoration: none !important;
  color: inherit !important;
  overflow: hidden !important;
  isolation: isolate;
  min-height: 260px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--taupe-light) 25%,
    var(--taupe) 50%,
    var(--taupe-light) 75%,
    transparent 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  opacity: 0.4;
  transition: background-position 1.2s var(--ease), opacity 0.4s var(--ease);
}
.svc-preview::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(180deg, rgba(176,151,117,0.06) 0%, rgba(139,115,85,0.02) 100%);
  transition: width 0.6s var(--ease);
  z-index: -1;
}
.svc-preview:hover {
  transform: translateY(-6px) !important;
  background: var(--cream) !important;
  border-color: rgba(139, 115, 85, 0.35) !important;
  box-shadow: 0 20px 50px rgba(30, 28, 26, 0.08) !important;
}
.svc-preview:hover::before {
  background-position: 0 0;
  opacity: 1;
}
.svc-preview:hover::after { width: 100%; }

.svc-preview__num {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-size: 2.5rem !important;
  color: var(--taupe) !important;
  line-height: 1 !important;
  display: block !important;
  margin-bottom: 1.5rem !important;
  font-weight: 300 !important;
  transition: transform 0.5s var(--ease), color 0.4s var(--ease);
  letter-spacing: -0.02em;
}
.svc-preview:hover .svc-preview__num {
  transform: translateX(6px);
  color: var(--taupe-dark);
}

.svc-preview h3 {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  margin: 0 0 0.4rem 0 !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: var(--charcoal) !important;
  display: block !important;
}
.svc-preview__sub {
  display: block !important;
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-size: 0.92rem !important;
  color: var(--taupe) !important;
  line-height: 1.35 !important;
  margin: 0 0 0.9rem 0 !important;
  font-weight: 400 !important;
}
.svc-preview p {
  font-size: 0.9rem !important;
  color: var(--charcoal-soft) !important;
  line-height: 1.6 !important;
  margin: 0 0 1.5rem 0 !important;
  display: block !important;
  flex: 1;
}
.svc-preview__link {
  display: inline-block !important;
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  color: var(--taupe) !important;
  font-weight: 600 !important;
  transition: letter-spacing 0.35s var(--ease);
  margin-top: auto;
}
.svc-preview:hover .svc-preview__link { letter-spacing: 0.3em; }

/* ==========================================================
   FAQ: Accordion cu animație smooth
   ========================================================== */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq__item {
  border-top: 1px solid var(--line-strong);
  padding: 0;
  transition: background 0.35s var(--ease);
}
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--charcoal);
  padding: 1.6rem 3rem 1.6rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background-image: linear-gradient(var(--taupe), var(--taupe)), linear-gradient(var(--taupe), var(--taupe));
  background-size: 14px 1.5px, 1.5px 14px;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
  background-size: 14px 1.5px, 0 14px;
}
.faq__item summary:hover {
  color: var(--taupe);
  padding-left: 0.4rem;
}
.faq__item[open] summary {
  color: var(--taupe);
}
.faq__answer {
  padding: 0 3rem 1.75rem 0;
  animation: faqReveal 0.5s var(--ease);
}
.faq__answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
}
.faq__answer p strong { color: var(--charcoal); font-weight: 600; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   FADE-IN: always visible, pure CSS animation
   ========================================================== */
.fade-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: gentleFadeUp 0.85s var(--ease) both;
  }
  .fade-in--delay-1 { animation-delay: 0.08s; }
  .fade-in--delay-2 { animation-delay: 0.16s; }
  .fade-in--delay-3 { animation-delay: 0.24s; }
  @keyframes gentleFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Nav items cascade on load */
  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav > a {
    animation: navFadeIn 0.6s var(--ease) both;
  }
  .nav > a:nth-child(1) { animation-delay: 0.15s; }
  .nav > a:nth-child(2) { animation-delay: 0.22s; }
  .nav > a:nth-child(3) { animation-delay: 0.29s; }
  .nav > a:nth-child(4) { animation-delay: 0.36s; }
  .nav > a:nth-child(5) { animation-delay: 0.43s; }
  .nav > a:nth-child(6) { animation-delay: 0.50s; }

  /* Brand logo soft entrance */
  .header .brand {
    animation: navFadeIn 0.7s var(--ease) 0.05s both;
  }

  /* Page intro: cascade entrance for the top area of every inner page */
  .page-intro .eyebrow {
    animation: gentleFadeUp 0.7s var(--ease) 0.15s both;
  }
  .page-intro .divider {
    animation: dividerGrow 0.8s var(--ease) 0.3s both;
    transform-origin: left center;
  }
  .page-intro h1 {
    animation: gentleFadeUp 0.9s var(--ease) 0.4s both;
  }
  .page-intro__desc {
    animation: gentleFadeUp 0.9s var(--ease) 0.55s both;
  }
  @keyframes dividerGrow {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
  }
}

/* ==========================================================
   MOBILE BUG FIXES: tuning for < 700px viewports
   ========================================================== */
@media (max-width: 700px) {

  /* Header: smaller padding, always visible toggle */
  .header { padding: 0.9rem 1.1rem !important; }
  .header.is-transparent { padding: 1.25rem 1.1rem !important; }
  .header.is-scrolled { padding: 0.65rem 1.1rem !important; }

  /* Logo bigger on phone for visibility */
  .brand__logo { height: 76px !important; }
  .header.is-scrolled .brand__logo { height: 60px !important; }

  /* Stats: 2-col grid on mobile */
  .stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem 1rem !important;
    padding: 3rem 1rem !important;
  }
  .stat__num { font-size: clamp(2rem, 12vw, 3.5rem) !important; }
  .stat__label { font-size: 0.68rem !important; letter-spacing: 0.18em !important; }

  /* Testimonials: single column */
  .testimonials {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .testimonial { padding: 1.5rem !important; }
  .testimonial__text { font-size: 1rem !important; }

  /* FAQ: comfortable tap targets */
  .faq__item summary {
    font-size: 1rem !important;
    padding: 1.25rem 2.5rem 1.25rem 0 !important;
  }
  .faq__answer {
    padding: 0 2.5rem 1.25rem 0 !important;
    font-size: 0.95rem;
  }

  /* CTA band: comfortable text */
  .cta-band {
    padding: 3.5rem 1.25rem !important;
  }
  .cta-band h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }
  .cta-band p {
    font-size: 1rem !important;
    max-width: 100% !important;
  }

  /* About teaser: stacked */
  .about-teaser {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .about-teaser__img img {
    aspect-ratio: 4 / 5 !important;
  }

  /* Carousel: smaller slides */
  .carousel__slide {
    width: 72vw !important;
  }
  .carousel__track {
    gap: 1rem !important;
    animation-duration: 50s !important;
  }
  .carousel {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%) !important;
    mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%) !important;
  }

  /* Footer: stack everything */
  .footer__top {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 3rem 1.25rem !important;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem 1.25rem !important;
  }
  .footer__legal { justify-content: center; }

  /* Section padding reduced */
  .section { padding: 3.5rem 0 !important; }
  .section--cream { padding: 3.5rem 0 !important; }

  /* Fix h2 across sections */
  h2 { font-size: clamp(1.75rem, 7vw, 2.4rem) !important; }

  /* Services preview: stack single column, bigger touch areas */
  .services-preview__grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .svc-preview {
    min-height: auto !important;
    padding: 1.5rem !important;
  }
  .svc-preview__num { font-size: 2rem !important; margin-bottom: 1rem !important; }
  .svc-preview h3 { font-size: 1.1rem !important; }
  .svc-preview__sub { font-size: 0.85rem !important; margin-bottom: 0.75rem !important; }
  .svc-preview p { font-size: 0.88rem !important; margin-bottom: 1rem !important; }

  /* Contact page mobile */
  .contact-form-clean {
    padding: 1.75rem 1.25rem !important;
    transform: translateY(0) !important;
  }
  .contact-form-clean:hover {
    transform: translateY(-2px) !important;
  }
  .contact-form-clean h2 {
    font-size: 1.5rem !important;
  }
  .contact-form-clean .field-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Despre manifesto/philosophy grids */
  .manifesto__grid,
  .philosophy__grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .philosophy__quote {
    font-size: 1.5rem !important;
  }

  /* Values grid - single col on mobile */
  .values-table__grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .value-col {
    padding: 1.75rem 0 !important;
    border-top: 1px solid var(--line) !important;
  }
  .value-col:first-child { border-top: none !important; }

  /* Orgchart mobile - vertical clean layout */
  .orgchart__center {
    width: 90px !important;
    height: 90px !important;
    margin-bottom: 2rem !important;
  }
  .orgchart__center-name { font-size: 0.95rem !important; }
  .orgchart__center-label { font-size: 0.55rem !important; }
  .orgchart__row {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    max-width: 100% !important;
  }
  .org-member__avatar {
    width: 120px !important;
    height: 120px !important;
  }
  .org-member__name { font-size: 1.15rem !important; }
  .org-member__role { font-size: 0.65rem !important; }
  .org-member__bio { font-size: 0.85rem !important; }

  /* WhatsApp button - smaller, closer to edge */
  .whatsapp {
    bottom: 1rem !important;
    right: 1rem !important;
    width: 52px !important;
    height: 52px !important;
  }

  /* Cookies banner - better fit */
  .cookies {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    padding: 1rem !important;
    max-width: calc(100% - 1.5rem) !important;
  }
  .cookies h4 { font-size: 1rem !important; }
  .cookies p { font-size: 0.85rem !important; }
  .cookies__actions { flex-wrap: wrap; gap: 0.5rem; }
  .cookies__actions button { flex: 1; min-width: 120px; font-size: 0.75rem !important; }

  /* Hero scroll indicator - hide on mobile (not enough space) */
  .hero__scroll { display: none !important; }

  /* Team section intro */
  .team-section__intro {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
}

/* Extra small (< 400px): preserve touch comfort */
@media (max-width: 400px) {
  .header { padding: 0.75rem 0.85rem !important; }
  .brand__logo { height: 66px !important; }
  .header.is-scrolled .brand__logo { height: 52px !important; }
  .hero h1 { font-size: 1.85rem !important; }
  .section { padding: 2.5rem 0 !important; }
  .cta-band h2 { font-size: 1.5rem !important; }
}

/* ==========================================================
   PREMIUM POLISH: Refined transitions & micro-interactions
   Added for the final quality pass. All subtle, never jumpy.
   ========================================================== */

/* Typography smoothing globally */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* so anchor links don't hide under sticky header */
}

body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-tap-highlight-color: rgba(139, 115, 85, 0.12);
}

/* Selection color: branded */
::selection {
  background: rgba(139, 115, 85, 0.3);
  color: var(--charcoal);
}
::-moz-selection {
  background: rgba(139, 115, 85, 0.3);
  color: var(--charcoal);
}

/* Focus visible: soft taupe ring, not the default blue */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
  border-radius: 2px;
  transition: outline-offset 0.2s var(--ease);
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline: none; }

/* ==========================================================
   LINKS: subtle underline animation inside text-heavy areas only
   ========================================================== */
.faq__answer a,
.article__body a,
.manifesto__lede a,
.contact-left__intro a,
.philosophy__body a {
  position: relative;
  color: var(--taupe);
  text-decoration: none;
  background-image: linear-gradient(to right, var(--taupe), var(--taupe));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s cubic-bezier(0.65, 0, 0.35, 1), color 0.3s var(--ease);
}
.faq__answer a:hover,
.article__body a:hover,
.manifesto__lede a:hover,
.contact-left__intro a:hover,
.philosophy__body a:hover {
  background-size: 100% 1px;
  color: var(--taupe-dark);
}

/* ==========================================================
   BUTTONS: refined micro-interactions (arrow movement)
   ========================================================== */
.btn {
  will-change: transform;
}
.btn:active { transform: translateY(1px) !important; }

.btn .arrow {
  overflow: hidden;
}
.btn .arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn:hover .arrow {
  width: 24px;
}

/* Ripple hint: subtle expanding ring on tap */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.btn:active::after {
  opacity: 0.08;
  transform: scale(1);
  transition-duration: 0.1s;
}
.btn { position: relative; }

/* ==========================================================
   IMAGES: gentle reveal on load
   ========================================================== */
img {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
/* Lazy images use opacity fade on load */
img[loading="lazy"] {
  opacity: 0;
  animation: lazyImgFallback 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(8px);
}
@keyframes lazyImgFallback {
  to { opacity: 1; filter: blur(0); }
}
img[loading="lazy"].is-loaded,
img[loading="lazy"][data-loaded="true"] {
  opacity: 1;
  filter: blur(0);
  animation: none;
}
/* Fallback: if JS is disabled, images show immediately */
@media (scripting: none) {
  img[loading="lazy"] { opacity: 1 !important; filter: none !important; animation: none !important; }
}

/* ==========================================================
   WORK CARDS: refined hover
   ========================================================== */
.work-card {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover { transform: translateY(-8px); }
.work-card__media {
  overflow: hidden;
  position: relative;
}
.work-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,115,85,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.work-card:hover .work-card__media::before { opacity: 1; }
.work-card__media img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s var(--ease);
}
.work-card:hover .work-card__media img {
  transform: scale(1.06);
}

/* ==========================================================
   CAROUSEL SLIDES: subtle lift on hover
   ========================================================== */
.carousel__slide {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ==========================================================
   STATS: number counter with subtle glow on reveal
   ========================================================== */
.stat__num {
  transition: text-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}
.stat:hover .stat__num {
  text-shadow: 0 0 30px rgba(176, 151, 117, 0.3);
  transform: scale(1.03);
}
.stat {
  transition: transform 0.5s var(--ease);
}

/* ==========================================================
   TESTIMONIALS: lift on hover
   ========================================================== */
.testimonial {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(30, 28, 26, 0.08);
  border-color: rgba(139, 115, 85, 0.3);
}

/* ==========================================================
   HEADER: smooth scroll transition refinement
   ========================================================== */
.header {
  will-change: background, padding;
}
.brand {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand:hover { transform: scale(1.02); }
.brand:active { transform: scale(0.98); }

/* Nav link hover refined */
.nav > a {
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav > a::after {
  transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1), background 0.3s var(--ease) !important;
}

/* ==========================================================
   EYEBROW: shimmer on reveal
   ========================================================== */
.eyebrow {
  transition: letter-spacing 0.4s var(--ease);
}

/* Divider grows on hover of section head */
.section-head__title:hover .divider {
  transform: scaleX(1.3);
  background: var(--taupe-dark);
}
.divider {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s var(--ease);
  transform-origin: left center;
}

/* ==========================================================
   FORM: smoother field transitions
   ========================================================== */
.contact-form-clean .field input,
.contact-form-clean .field textarea,
.contact-form-clean .field select {
  transition: border-color 0.4s cubic-bezier(0.65, 0, 0.35, 1),
              background 0.4s cubic-bezier(0.65, 0, 0.35, 1),
              box-shadow 0.4s cubic-bezier(0.65, 0, 0.35, 1),
              transform 0.3s var(--ease) !important;
}
.contact-form-clean .field input:hover,
.contact-form-clean .field textarea:hover {
  background: rgba(245, 240, 234, 0.06) !important;
  border-color: rgba(245, 240, 234, 0.22) !important;
}

/* Label float-up effect */
.contact-form-clean .field label {
  transition: color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
}
.contact-form-clean .field:focus-within label {
  color: #D4B98E !important;
  letter-spacing: 0.26em !important;
}

/* ==========================================================
   FAQ: smoother accordion
   ========================================================== */
.faq__item {
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.faq__item:hover {
  background: rgba(139, 115, 85, 0.02);
}
.faq__item[open] {
  background: rgba(139, 115, 85, 0.03);
}

/* ==========================================================
   SCROLL REVEAL: premium entry animations
   ========================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fade-in--delay-1 { animation-delay: 0.12s; }
.fade-in--delay-2 { animation-delay: 0.24s; }
.fade-in--delay-3 { animation-delay: 0.36s; }
.fade-in--delay-4 { animation-delay: 0.48s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   SECTION TRANSITIONS: subtle backdrop on section changes
   ========================================================== */
.section--dark {
  position: relative;
}
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.section--dark::before {
  top: -1px;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 28, 26, 0.08) 100%);
}

/* ==========================================================
   COOKIES BANNER: smoother slide
   ========================================================== */
.cookies {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s var(--ease);
}

/* ==========================================================
   WHATSAPP BUTTON: softer pulse
   ========================================================== */
.whatsapp {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s var(--ease);
}
.whatsapp:hover {
  transform: scale(1.08) rotate(-4deg);
}
.whatsapp:active { transform: scale(0.95); }

/* ==========================================================
   BACK-TO-TOP indicator: custom scroll progress bar
   ========================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--taupe-light) 0%, var(--taupe) 50%, var(--taupe-dark) 100%);
  z-index: 200;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.1s linear, opacity 0.4s var(--ease);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(139, 115, 85, 0.4);
}
.scroll-progress.is-visible { opacity: 1; }

/* ==========================================================
   CURSOR glow on interactive hover (desktop only)
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
  .btn--gold,
  .nav-cta,
  .work-card,
  .carousel__slide,
  .svc-preview,
  .org-member {
    cursor: pointer;
  }
}

/* ==========================================================
   REDUCED MOTION: respect user preferences
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   PRINT: clean up for printing
   ========================================================== */
@media print {
  .header, .footer, .whatsapp, .cookies, .nav-toggle,
  .scroll-progress, .hero__scroll { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ==========================================================
   MOBILE: PORTFOLIO & CAROUSEL EDGE-TO-EDGE
   Fix pentru imagini care apăreau cu margini prea mari pe telefon
   ========================================================== */
@media (max-width: 700px) {

  /* Portfolio grid: edge-to-edge media, minimal horizontal padding */
  .work-grid {
    gap: 2rem !important;
  }
  .work-card__media {
    padding: 3px !important;
    border-width: 1px !important;
    aspect-ratio: 4 / 5 !important;
  }
  .work-card__meta {
    padding: 0 0.5rem !important;
    margin-top: 0.85rem !important;
  }
  .work-card__title {
    font-size: 1.15rem !important;
  }

  /* Make portfolio section break out of container padding */
  .portfolio .work-grid,
  section[class*="portfolio"] .work-grid {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Carousel: wider slides, smaller inner padding */
  .carousel {
    margin-left: calc(var(--gutter) * -0.5);
    margin-right: calc(var(--gutter) * -0.5);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .carousel__slide {
    width: 82vw !important;
  }
  .carousel__media {
    padding: 3px !important;
    border-width: 1px !important;
  }
  .carousel__overlay {
    left: 3px !important;
    right: 3px !important;
    bottom: 3px !important;
    padding: 1rem 1.15rem !important;
  }
  .carousel__title {
    font-size: 1.2rem !important;
  }
  .carousel__tag {
    font-size: 0.58rem !important;
  }

  /* Reduce container padding on mobile for more image space */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* But keep comfortable padding inside text content */
  .manifesto .container,
  .philosophy .container,
  .cta-band,
  .faq-section .container,
  .contact-left,
  .contact-form-clean {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Project detail page media: also edge-to-edge */
  .project-hero img,
  .project-gallery img,
  .article-hero img {
    border-radius: 0 !important;
  }

  /* Ensure images never break out of containers on mobile */
  img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 500px) {
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .work-card__media {
    padding: 2px !important;
  }
  .carousel__slide {
    width: 86vw !important;
  }
}

/* ==========================================================
   MOBILE POLISH: iPhone safe-area, tap optimizations, overflow
   ========================================================== */

/* Prevent accidental horizontal scroll on any device */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Respect iPhone safe areas (home indicator, notch) for fixed elements */
@supports (padding: max(0px)) {
  .whatsapp {
    bottom: max(clamp(1rem, 3vw, 1.75rem), env(safe-area-inset-bottom, 1rem)) !important;
    right: max(clamp(1rem, 3vw, 1.75rem), env(safe-area-inset-right, 1rem)) !important;
  }
  .cookies {
    bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
    left: max(1.5rem, env(safe-area-inset-left, 1.5rem));
  }
  .scroll-progress {
    top: env(safe-area-inset-top, 0);
  }
  /* Footer bottom extra padding on iPhone for home indicator */
  .footer__bottom {
    padding-bottom: max(1.25rem, calc(1.25rem + env(safe-area-inset-bottom, 0)));
  }
}

/* Remove 300ms tap delay and enable crisp taps on CTAs */
.btn,
.nav > a,
.nav-cta,
.filter,
.whatsapp,
.nav-toggle,
button,
[role="button"] {
  touch-action: manipulation;
}

/* Form fields: keep 16px font-size on mobile to prevent iOS zoom */
@media (max-width: 700px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Improve image rendering and lazy-load behavior on mobile */
@media (max-width: 700px) {
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* Prevent text from getting squished on very narrow screens */
  h1, h2, h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Landscape phone: reduce hero height so content is reachable */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 4rem;
  }
  .hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  .hero__sub {
    font-size: 0.9rem !important;
    margin-bottom: 1.25rem !important;
  }
  .hero__eyebrow {
    margin-bottom: 0.5rem !important;
  }
}

/* Reduce motion-heavy effects on slow mobile devices */
@media (max-width: 700px) {
  .hero__media img {
    animation: none !important; /* remove slow zoom, saves battery */
  }
  .orgchart__lines {
    display: none !important; /* decorative SVG lines hidden on mobile */
  }
}
