:root {
  --ink: #3b3d40;
  --ink-soft: #494b4f;
  --paper: #f4f4f2;
  --white: #ffffff;
  --gold: #d9a441;
  --gold-light: #efc86e;
  --gray: #72757a;
  --line: rgba(255, 255, 255, 0.18);
  --shell: min(1180px, calc(100vw - 40px));
  --radius: 24px;
  --transition: 240ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(88px, 10vw, 150px) 0; position: relative; }
.section--dark { color: var(--white); background: var(--ink); }
.sr-only {
  width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; color: var(--ink); background: var(--gold); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-heading { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; align-items: start; margin-bottom: 66px; }
.section-heading .eyebrow { padding-top: 12px; }
.section-heading h2, .method h2, .value h2, .clients h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.2rem); letter-spacing: -0.055em; }
.section-heading > p:last-child { grid-column: 2; max-width: 42rem; color: #d2d2d2; font-size: 1.06rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), height var(--transition);
}
.site-header.is-scrolled { height: 68px; background: rgba(59, 61, 64, 0.95); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark { display: inline-grid; place-items: center; width: 48px; height: 38px; color: var(--ink); background: var(--gold); font-size: 0.82rem; font-weight: 900; letter-spacing: -0.04em; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.brand__name { max-width: 140px; font-size: 0.68rem; font-weight: 750; line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { position: relative; color: #e9e9e9; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform var(--transition); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; color: inherit; background: none; border: 0; }

.hero { position: relative; display: grid; min-height: 100svh; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero__media, .hero__veil, .hero__geometry { position: absolute; inset: 0; }
.hero__media { background: url("assets/backgrounds/hero.webp") center / cover; transform: scale(1.03); }
.hero__veil { background: linear-gradient(90deg, rgba(49, 51, 54, 0.97) 0%, rgba(49, 51, 54, 0.82) 50%, rgba(49, 51, 54, 0.3) 100%), linear-gradient(0deg, rgba(49, 51, 54, 0.52), transparent 60%); }
.hero__geometry span { position: absolute; right: -9vw; width: 32vw; height: 130vh; transform: rotate(29deg); transform-origin: center; }
.hero__geometry span:first-child { top: -20vh; background: rgba(229, 168, 59, 0.94); }
.hero__geometry span:last-child { top: 42vh; right: 7vw; height: 80vh; background: var(--ink); }
.hero__content { position: relative; z-index: 2; padding-block: 180px 88px; }
.hero h1 { max-width: 930px; margin-bottom: 28px; font-size: clamp(4rem, 9vw, 8.7rem); letter-spacing: -0.075em; }
.hero__quote { color: var(--gold); font-family: Georgia, serif; font-weight: 400; }
.hero__lead { max-width: 760px; margin-bottom: 36px; color: #ededed; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.button { display: inline-flex; align-items: center; gap: 32px; padding: 16px 20px; color: var(--ink); background: var(--gold); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; transition: background var(--transition), transform var(--transition); }
.button:hover { background: var(--gold-light); transform: translateY(-3px); }
.button span { font-size: 1.1rem; }

.principles { display: grid; gap: 28px; }
.principle { min-height: 560px; display: grid; grid-template-columns: 0.92fr 1.08fr; overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.principle--vision { grid-template-columns: 1.08fr .92fr; }
.principle--vision .principle__image { order: 2; background-image: linear-gradient(rgba(8,8,9,.2), rgba(8,8,9,.2)), url("assets/backgrounds/vision.webp"); }
.principle--mission .principle__image { background-image: linear-gradient(rgba(8,8,9,.22), rgba(8,8,9,.22)), url("assets/backgrounds/mission.webp"); }
.principle__image { min-height: 420px; background-position: center; background-size: cover; }
.principle__body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 78px); }
.principle__body::before { content: ""; position: absolute; top: 0; width: 1px; height: 100%; background: var(--line); }
.principle--mission .principle__body::before { left: 0; }
.principle--vision .principle__body::before { right: 0; }
.principle__number { position: absolute; top: 28px; right: 30px; color: var(--gold); font-size: .72rem; font-weight: 800; }
.principle h3 { margin-bottom: 30px; color: var(--gold); font-size: clamp(2.4rem, 4vw, 4.4rem); }
.principle p { max-width: 640px; color: #c9c9ca; font-size: 1rem; }

.services { overflow: hidden; }
.services__texture { position: absolute; inset: 0; opacity: .13; background: linear-gradient(90deg, var(--ink) 20%, transparent), url("assets/backgrounds/services.webp") center / cover; }
.services__texture::after { content: ""; position: absolute; inset: auto -12vw -45vh auto; width: 42vw; aspect-ratio: 1; background: var(--gold); transform: rotate(45deg); }
.services__content { position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 390px; padding: 42px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color var(--transition), background var(--transition); }
.service-card:hover { color: var(--ink); background: var(--gold); }
.service-card h3 { min-height: 66px; margin-bottom: 38px; font-size: 1.48rem; }
.service-card ul { margin: 0; padding-left: 18px; color: #e0e0e0; font-size: .9rem; }
.service-card li + li { margin-top: 12px; }
.service-card li::marker { color: var(--gold); }
.service-card:hover ul, .service-card:hover li::marker { color: #3a2a0d; }
.service-card--dense ul { font-size: .82rem; line-height: 1.45; }
.service-card--dense li + li { margin-top: 7px; }

.method { overflow: hidden; }
.method::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 34%; opacity: .08; background: url("assets/backgrounds/methodology.webp") center / cover; pointer-events: none; }
.method__intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: end; margin-bottom: 84px; }
.method__intro .eyebrow { align-self: start; }
.method__intro h2 { grid-column: 2; grid-row: 1 / span 2; }
.method__intro > p:last-child { max-width: 430px; color: #555; font-size: 1.05rem; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 34px; right: 12%; left: 7%; height: 1px; background: #cfc9bd; }
.timeline li { position: relative; padding-right: 30px; }
.timeline li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 40px; background: var(--gold); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.timeline h3 { max-width: 210px; margin-bottom: 14px; font-size: 1.15rem; }
.timeline p { max-width: 235px; margin: 0; color: #666; font-size: .92rem; }

.value { min-height: 720px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.value__media { position: absolute; inset: 0; opacity: .26; background: url("assets/backgrounds/value.webp") center / cover; }
.value::after { content: ""; position: absolute; right: -120px; top: -160px; width: 360px; aspect-ratio: 1; background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-radius: 45px; transform: rotate(31deg); }
.value__layout { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; }
.value__copy { padding-top: 120px; color: #d0d0d0; font-size: 1.08rem; }
.value__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.value__tags span { padding: 8px 12px; color: var(--white); border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: .72rem; font-weight: 700; }

.team .section-heading { grid-template-columns: .65fr 1.35fr; }
.credentials { display: grid; grid-template-columns: .55fr 1.45fr; gap: 36px; margin: -12px 0 54px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credentials p { margin: 0; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.credentials ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.credentials li { color: #ededed; font-size: .88rem; line-height: 1.45; }
.team-divisions { display: grid; gap: 12px; margin-bottom: 58px; }
.team-division { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.team-division:first-child { border-top: 1px solid var(--line); }
.team-division__heading { display: flex; align-items: baseline; gap: 16px; }
.team-division__heading span { color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.team-division h3 { margin: 0; font-size: 1.2rem; }
.team-division p { margin: 0; color: #ededed; line-height: 1.75; }
.team-division p strong { margin-left: 5px; color: var(--gold); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.team-division p span { margin-inline: 10px; color: var(--gold); }
.team-division ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.team-division li { display: grid; gap: 3px; }
.team-division li strong { color: var(--gold); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.team-division li span { color: #ededed; }
.team-profiles-label { margin-bottom: 22px; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { position: relative; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--ink-soft); border: 1px solid var(--line); border-radius: 18px; }
.team-card__image { position: relative; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: center top; background: var(--white); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.team-card:hover .team-card__image { transform: scale(1.025); }
.team-card__body { position: relative; z-index: 2; flex: 1; padding: 26px 28px 30px; background: var(--ink-soft); }
.team-card__role { min-height: 38px; margin-bottom: 10px; color: var(--gold); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.team-card h3 { margin-bottom: 20px; font-size: 1.65rem; }
.team-card button { padding: 0; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--gold); cursor: pointer; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-card button:hover, .team-card button:focus-visible { color: var(--gold-light); }

.clients { background: var(--white); }
.clients__heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.clients__heading > p { margin: 0; color: #656565; }
.client-group + .client-group { margin-top: 62px; }
.client-group > h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--ink); font-size: 1.18rem; }
.client-group > h3::before { content: ""; width: 38px; height: 3px; background: var(--gold); }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #dedbd4; border-left: 1px solid #dedbd4; }
.logo-grid img { width: 100%; height: 145px; padding: 28px; object-fit: contain; background: var(--white); border-right: 1px solid #dedbd4; border-bottom: 1px solid #dedbd4; filter: grayscale(100%); opacity: .74; transition: filter var(--transition), opacity var(--transition), transform var(--transition); }
.logo-grid img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }

.contact { overflow: hidden; }
.contact::after { content: ""; position: absolute; right: -8vw; bottom: -18vw; width: 34vw; aspect-ratio: 1; background: var(--gold); opacity: .12; transform: rotate(34deg); }
.contact__layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: start; }
.contact__intro h2 { max-width: 720px; margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.5rem); letter-spacing: -.055em; }
.contact__details address { display: grid; margin: 0 0 34px; border-top: 1px solid var(--line); font-style: normal; }
.contact__details address > * { display: grid; gap: 6px; margin: 0; padding: 22px 0; color: var(--white); border-bottom: 1px solid var(--line); text-decoration: none; }
.contact__details address span { color: var(--gold); font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.contact__details address a:hover { color: var(--gold-light); }
.whatsapp-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; color: #173d25; background: #7bcf92; font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: background var(--transition), transform var(--transition); }
.whatsapp-cta:hover { background: #95dfa8; transform: translateY(-3px); }
.whatsapp-cta svg { width: 24px; height: 24px; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; color: #173d25; background: #7bcf92; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 12px 32px rgba(0,0,0,.3); transition: transform var(--transition), background var(--transition); }
.whatsapp-float:hover, .whatsapp-float:focus-visible { background: #95dfa8; transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 31px; height: 31px; }

.site-footer { padding: 48px 0; color: var(--white); background: var(--ink); border-top: 1px solid var(--line); }
.site-footer__layout { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; }
.site-footer__layout > div { display: flex; align-items: center; gap: 14px; }
.site-footer p { margin: 0; color: #999; font-size: .8rem; }
.site-footer a { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.profile-dialog { width: min(1120px, calc(100vw - 34px)); max-height: min(860px, calc(100vh - 34px)); padding: 0; overflow: auto; color: var(--white); background: var(--ink-soft); border: 1px solid rgba(255,255,255,.17); border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.profile-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(9px); }
.profile-dialog__close { position: sticky; float: right; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin: 18px 18px -62px 0; color: var(--white); background: rgba(0,0,0,.72); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.7rem; line-height: 1; }
.profile-dialog__layout { display: grid; grid-template-columns: 360px 1fr; min-height: 670px; }
.profile-dialog__portrait { min-height: 520px; background: var(--white); }
.profile-dialog__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-dialog__content { padding: 70px 60px 55px; }
.profile-dialog__content h2 { margin-bottom: 38px; font-size: clamp(2.4rem, 4vw, 4.5rem); letter-spacing: -.05em; }
.profile-dialog__content h3 { margin-bottom: 12px; color: var(--gold); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.profile-dialog__content p, .profile-dialog__content li { color: #c9c9ca; font-size: .93rem; }
.profile-dialog__section { padding-block: 24px; border-top: 1px solid var(--line); }
.profile-dialog__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-block: 24px; border-top: 1px solid var(--line); }
.profile-dialog ul { margin: 0; padding-left: 18px; }
.profile-dialog li + li { margin-top: 8px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 750ms ease, transform 750ms cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { height: 68px; }
  .menu-toggle { display: grid; gap: 5px; padding: 10px; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform var(--transition), opacity var(--transition); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 18px 22px 26px; background: rgba(59,61,64,.99); border-top: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: .88rem; }
  .hero__geometry span { right: -24vw; }
  .section-heading, .team .section-heading, .method__intro, .clients__heading, .contact__layout { grid-template-columns: 1fr; }
  .section-heading > p:last-child { grid-column: auto; }
  .method__intro h2 { grid-column: auto; grid-row: auto; }
  .principle, .principle--vision { grid-template-columns: 1fr; }
  .principle--vision .principle__image { order: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 50px 20px; }
  .timeline::before { display: none; }
  .value__layout { grid-template-columns: 1fr; gap: 28px; }
  .value__copy { padding-top: 0; max-width: 700px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .credentials { grid-template-columns: 1fr; }
  .credentials ul { grid-template-columns: 1fr; gap: 12px; }
  .team-division { grid-template-columns: 1fr; gap: 14px; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .profile-dialog__layout { grid-template-columns: 280px 1fr; }
  .profile-dialog__content { padding: 60px 35px 40px; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); --radius: 17px; }
  .section { padding: 78px 0; }
  .brand__name { display: none; }
  .hero { min-height: 820px; }
  .hero__content { padding-block: 145px 76px; }
  .hero h1 { font-size: clamp(3.55rem, 17vw, 5.1rem); }
  .hero__lead { max-width: 78%; }
  .hero__geometry span:first-child { width: 42vw; right: -38vw; opacity: .72; transform: rotate(16deg); }
  .hero__geometry span:last-child { display: none; }
  .section-heading { gap: 12px; margin-bottom: 44px; }
  .section-heading h2, .method h2, .value h2, .clients h2 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .principle { min-height: 0; }
  .principle__image { min-height: 280px; }
  .principle__body { padding: 46px 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card h3 { min-height: 0; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }
  .timeline li { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 0; }
  .timeline li > span { width: 58px; height: 58px; margin: 0; }
  .value { min-height: 760px; }
  .value::after { width: 210px; right: -95px; top: -110px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-divisions { margin-bottom: 44px; }
  .team-division { padding: 22px 0; }
  .team-division p { display: grid; gap: 7px; line-height: 1.5; }
  .team-division p span { display: none; }
  .team-division p strong { margin-left: 0; }
  .team-division ul { grid-template-columns: 1fr; }
  .team-card { min-height: 0; }
  .clients__heading { gap: 24px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid img { height: 115px; padding: 22px; }
  .site-footer__layout { grid-template-columns: 1fr; }
  .site-footer__layout > p { display: none; }
  .contact__intro h2 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .profile-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .profile-dialog__layout { grid-template-columns: 1fr; }
  .profile-dialog__portrait { height: 340px; min-height: 0; }
  .profile-dialog__content { padding: 40px 24px 34px; }
  .profile-dialog__columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
