:root {
    --bg: #f3f0ea;
    --bg-alt: #ebe6dd;
    --ink: #1f1c18;
    --ink-soft: #5d574e;
    --line: #cfc8bb;
    --accent: #8a6f52;
    --red: #633137;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', Helvetica, Arial, sans-serif;
    --pad: clamp(24px, 5vw, 72px);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; width: 100%; height: 100%; object-fit: cover; }
  a { color: inherit; text-decoration: none; }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--ink-soft);
  }

  /* ---------- HEADER FIXE ---------- */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px var(--pad);
    transition: background .4s ease, padding .4s ease;
  }
  header.scrolled {
    background: rgba(243, 240, 234, 0.94);
    backdrop-filter: blur(8px);
    padding: 14px var(--pad);
    border-bottom: 1px solid var(--line);
  }
  .logo {
    font-family: var(--sans);
    font-size: 0.85rem;
    letter-spacing: 0.32em;
    font-weight: 400;
    color: var(--ink);
  }
  .header-actions { display: flex; align-items: center; gap: 28px; }
  .header-nav ul, .footer-nav ul { list-style: none; display: flex; gap: 24px; }
  .header-nav a, .footer-nav a { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; transition: color .3s; }
  .header-nav a:hover, .footer-nav a:hover { color: var(--red); }
  .lang-btn {
    background: none;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    padding: 8px 16px;
    cursor: pointer;
    transition: background .3s, color .3s;
  }
  .lang-btn:hover { background: var(--ink); color: var(--bg); }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
  }
  .hero img { position: absolute; inset: 0; }
  .hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(243,240,234,0.55) 0%, rgba(243,240,234,0.15) 55%, rgba(243,240,234,0) 100%);
  }
  .hero-content {
    position: absolute;
    z-index: 2;
    left: var(--pad);
    top: 50%;
    transform: translateY(-50%);
    max-width: 90vw;
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 6.2vw, 5.8rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: var(--ink);
  }
  .hero-rule { width: 56px; height: 2px; background: var(--red); margin: 28px 0 22px; }
  .hero p {
    max-width: 440px;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    letter-spacing: 0.04em;
    color: var(--ink);
    font-weight: 400;
  }

  /* ---------- SECTIONS ---------- */
  section { padding: 110px var(--pad); border-top: 1px solid var(--line); }
  .hero { border-top: none; padding: 0; }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 56px;
  }
  h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    color: var(--red);
  }
  .modal-box h3 { color: var(--red); }

  /* ---------- ENGAGEMENT ---------- */
  .about {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(390px, 1fr);
    gap: clamp(32px, 5vw, 88px);
    align-items: center;
  }
  .about-text { min-width: 0; }
  .about-text .eyebrow { margin-bottom: 20px; display: block; }
  .about-text h2 { margin-bottom: 24px; }
  .about-text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 520px; }
  .about-photo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    width: 100%;
    max-width: none;
    justify-self: stretch;
    overflow: visible;
  }
  .about-portrait { min-width: 0; }
  .about-portrait .samantha-portrait { object-position: 50% 32%; }
  .about-photo img {
    display: block;
    width: 100%;
    height: clamp(220px, 25vw, 360px);
    object-fit: cover;
    object-position: 50% 32%;
    filter: grayscale(100%) contrast(1.05);
  }
  .portrait-caption { padding-top: 12px; line-height: 1.25; }
  .portrait-name {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    font-weight: 500;
  }
  .portrait-role {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
  }

  /* ---------- MISSIONS ---------- */
  .process {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
  }
  .step {
    padding: 0 22px;
    border-left: 1px solid var(--line);
  }
  .step:first-child { padding-left: 0; border-left: none; }
  .step-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 3.6vw, 3.6rem);
    line-height: 1;
    margin-bottom: 28px;
    color: var(--red);
  }
  .step h3 {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.5;
  }

  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
  }
  .pillar { padding: 0 32px; border-left: 1px solid var(--line); }
  .pillar:first-child { padding-left: 0; border-left: none; }
  .pillar .eyebrow { display: block; margin-bottom: 16px; }
  .pillar h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .pillar p { font-size: 0.9rem; color: var(--ink-soft); }

  /* ---------- CONTACT ---------- */
  .contact-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    align-items: center;
    min-height: 0;
  }
  .stats-block { padding-right: clamp(24px, 5vw, 80px); }
  .stats-block .eyebrow { display: block; margin-bottom: 18px; }
  .stats-block h2 { margin-bottom: 30px; }
  .stats-block .pillars { margin-top: 0; padding-top: 0; border-top: 0; }
  .contact {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0 0 0 clamp(24px, 5vw, 80px);
    border-left: 1px solid var(--line);
  }
  .contact-intro { max-width: 560px; }
  .contact-intro .eyebrow { display: block; margin-bottom: 18px; }
  .contact-intro h2 { margin-bottom: 16px; }
  .contact-intro p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; }
  .contact-message { margin-top: 8px !important; }
  .contact-location { margin-top: 14px !important; font-size: 0.9rem; }
  .contact-email {
    display: inline-block;
    margin: 20px 0 14px;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    border-bottom: 2px solid var(--red);
    transition: border-color .3s, color .3s;
  }
  .contact-email:hover { color: var(--red); border-color: var(--red); }

  /* ---------- FOOTER ---------- */
  footer {
    border-top: 1px solid var(--line);
    padding: 72px var(--pad) 36px;
    background: var(--bg-alt);
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
  }
  .footer-brand .logo { display: inline-block; margin-bottom: 14px; }
  .footer-brand p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); max-width: 300px; }
  .footer-nav ul { display: flex; gap: 36px; list-style: none; flex-wrap: wrap; }
  .footer-nav li { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
  .footer-nav a:hover, .footer-bottom a:hover { color: var(--red); }
  .footer-logo img { display: block; width: auto; height: 66px; max-width: 220px; object-fit: contain; }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    font-size: 0.74rem;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
  }
  .legal-links { display: flex; gap: 28px; flex-wrap: wrap; }

  /* ---------- MODALES ---------- */
  .modal {
    position: fixed; inset: 0;
    background: rgba(31,28,24,0.55);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .modal.open { display: flex; }
  .modal-box {
    background: var(--bg);
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 48px;
    position: relative;
  }
  .modal-box h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 24px; }
  .modal-box h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin: 24px 0 8px; }
  .modal-box p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 10px; }
  .modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer; color: var(--ink);
  }

  /* ---------- ANIMATION ---------- */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1100px) {
    .process { grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
    .step:nth-child(5) { padding-left: 0; border-left: none; }
  }
  @media (max-width: 800px) {
    .header-nav { display: none; }
    .header-actions { gap: 0; }
    section { padding: 72px var(--pad); }
    .hero h1 { white-space: normal; }
    .about { grid-template-columns: 1fr; }
    .contact-split { grid-template-columns: 1fr; gap: 42px; }
    .stats-block { padding-right: 0; }
    .contact { border-left: 0; border-top: 1px solid var(--line); padding: 42px 0 0; }
    .pillars { grid-template-columns: 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .step { padding: 0 16px; }
    .step:nth-child(odd) { padding-left: 0; border-left: none; }
    .step:nth-child(even) { border-left: 1px solid var(--line); }
    .step:nth-child(5) { padding-left: 0; border-left: none; }
    .pillar { padding: 28px 0; border-left: none; border-top: 1px solid var(--line); }
    .pillar:first-child { border-top: none; padding-top: 0; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-logo img { display: block; width: auto; height: 66px; max-width: 220px; object-fit: contain; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
    .modal-box { padding: 32px 24px; }
  }

  /* ---------- RHYTHM / HERO LOGO REVISION ---------- */
  section:not(.hero) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(64px, 7vw, 92px);
    padding-bottom: clamp(64px, 7vw, 92px);
  }
  #engagement {
    min-height: 0;
    padding-top: clamp(54px, 6vw, 78px);
    padding-bottom: clamp(28px, 3vw, 44px);
  }
  #contact { min-height: 640px; }
  #missions { min-height: 0; padding-top: clamp(58px, 5vw, 74px); padding-bottom: clamp(58px, 5vw, 74px); }
  #engagement .about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: end;
    border-top: 1px solid var(--line);
    padding: clamp(28px, 4vw, 52px) 0 clamp(20px, 2.5vw, 32px);
  }
  #engagement .about-photo { width: 100%; max-width: none; align-self: end; }
  #engagement .about-text { order: 1; }
  #engagement .about-photo { order: 2; }
  .hero-logo {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: clamp(220px, 34vw, 470px);
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }
  .hero h1.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  footer { padding: 38px var(--pad) 22px; }
  .footer-top { padding-bottom: 26px; gap: 24px; }
  .footer-brand .logo { margin-bottom: 8px; }
  .footer-logo {
    display: inline-block; font-family: var(--sans); font-size: 0.85rem;
    letter-spacing: 0.32em; font-weight: 400;
  }
  .footer-bottom { padding-top: 16px; }
  @media (max-width: 800px) {
    section:not(.hero) { padding-top: 56px; padding-bottom: 56px; }
    #engagement, #missions, #contact { min-height: 0; }
    #engagement .about {
      grid-template-columns: 1fr;
      align-items: stretch;
      gap: 28px;
    }
    #engagement .about-text {
      order: 1;
      width: 100%;
      justify-self: center;
      text-align: justify;
    }
    #engagement .about-text .eyebrow,
    #engagement .about-text h2 {
      text-align: center;
    }
    #engagement .about-photo {
      order: 2;
      grid-template-columns: 1fr;
      width: 100%;
      max-width: none;
      justify-self: stretch;
      gap: 16px;
    }
    #engagement .about-photo img { height: clamp(280px, 72vw, 420px); }
    .portrait-role { font-size: 0.95rem; }
    .hero-logo { width: min(74vw, 340px); }
    .section-head { margin-bottom: 36px; gap: 16px; flex-direction: column; }
    .pillars { margin-top: 48px; padding-top: 30px; }
    footer { padding-top: 32px; padding-bottom: 18px; }
  }
