@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Prata&display=swap');

:root {
  --paper: #f6efe9;
  --ivory: #fbf7f0;
  --cream: #e8ded1;
  --sand: #cbb9a9;
  --rose: #b58d91;
  --wine: #5a3038;
  --wine-deep: #3c2027;
  --ink: #292625;
  --muted: #6f6461;
  --line: rgba(90, 48, 56, .16);
  --serif: "Prata", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --shadow: 0 30px 90px rgba(67, 35, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-180%); background: #fff; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  color: var(--ink);
  background: rgba(251,247,240,.94);
  backdrop-filter: blur(18px);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { color: var(--ink); background: rgba(251,247,240,.97); border-color: var(--line); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); font-family: var(--serif); font-size: 15px; letter-spacing: -.05em; }
.brand-copy { display: flex; align-items: center; gap: 12px; }
.brand-copy strong { color: var(--wine); font-family: var(--serif); font-size: 17px; font-weight: 400; }
.brand-copy small { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; letter-spacing: .05em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a { font-size: 12px; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .035em; }
.site-nav > a:not(.button) { opacity: .76; }
.site-nav > a:hover { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: currentColor; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid var(--wine); border-radius: 100px; background: var(--wine); color: #fff; text-decoration: none; font-weight: 600; line-height: 1.2; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--wine-deep); box-shadow: 0 15px 35px rgba(67,35,42,.2); }
.button--small { min-height: 44px; padding: 11px 17px; border-color: var(--wine); background: var(--wine); color: #fff; }
.scrolled .button--small { background: var(--wine); color: #fff; }
.button--cream { border-color: var(--paper); background: var(--paper); color: var(--wine); }

.hero { position: relative; min-height: 720px; overflow: hidden; padding: 112px 0 0; background: radial-gradient(circle at 15% 28%, #fff 0, rgba(255,255,255,.72) 18%, transparent 42%), linear-gradient(115deg, #f8f2eb 0%, #eee3da 100%); color: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,247,240,.42), transparent 62%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: stretch; gap: clamp(36px, 6vw, 82px); }
.kicker, .section-index { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.kicker { color: var(--wine); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
h1 { max-width: 690px; margin: 19px 0 25px; font-size: clamp(46px, 4.8vw, 68px); }
h1 em { color: var(--wine); font-weight: inherit; font-style: normal; }
h2 { margin-bottom: 30px; font-size: clamp(36px, 3.9vw, 54px); }
h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.25; }
.hero-copy { align-self: center; padding: 52px 0 70px; }
.hero-copy > * { animation: hero-copy-in .56s cubic-bezier(.22, 1, .36, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-signature { margin: 16px 0 0; color: var(--ink); font-family: var(--serif); font-size: 23px; letter-spacing: -.01em; }
.hero-lead { max-width: 625px; margin-bottom: 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 34px; }
.hero .button { border-color: var(--wine); background: var(--wine); color: #fff; border-radius: 2px; }
.text-link { padding: 10px 0; color: var(--wine); text-underline-offset: 7px; text-decoration-color: rgba(90,48,56,.4); }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .25s ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(5px); }
.hero-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 72px 0 0; border-top: 1px solid rgba(255,255,255,.15); }
.hero-notes div { padding: 21px 18px 0 0; }
.hero-notes dt { color: #d2b58f; font-size: 11px; }
.hero-notes dd { max-width: 150px; margin: 7px 0 0; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.45; }
.portrait-stage { position: relative; justify-self: end; align-self: end; width: min(100%, 480px); }
.portrait-frame { position: relative; width: 100%; overflow: visible; aspect-ratio: 3/4; background: transparent; }
.portrait-frame picture { width: 100%; height: 100%; display: block; }
.portrait-frame::before { content: none; }
.portrait-frame::after { content: none; }
.portrait-image { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.92) 9%, #000 18%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.92) 9%, #000 18%); }
.portrait-caption { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0 17px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }

.proof-strip { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid article { min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 23px 28px; border-right: 1px solid var(--line); }
.proof-grid article:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { animation: proof-in .54s cubic-bezier(.22, 1, .36, 1) both; }
.proof-grid article:nth-child(2) strong, .proof-grid article:nth-child(2) span { animation-delay: .08s; }
.proof-grid article:nth-child(3) strong, .proof-grid article:nth-child(3) span { animation-delay: .16s; }
.proof-grid strong { color: var(--wine); font-family: var(--serif); font-size: 23px; font-weight: 400; white-space: nowrap; }
.proof-grid span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.section { padding: 104px 0; }
.section--tint { background: var(--paper); }
.section-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(48px, 7vw, 100px); }
.section-index { color: #90797b; }
.section-index--light { color: #d2bfc0; }
.aside-note { max-width: 155px; margin-top: 58px; color: var(--muted); font-size: 13px; }
.section-main h2 { max-width: 920px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; margin-top: 55px; padding-top: 30px; border-top: 1px solid var(--line); }
.large-copy { font-family: var(--serif); font-size: 27px; line-height: 1.38; }
.body-copy { color: var(--muted); }
.body-copy p { margin-bottom: 18px; }

.section-heading { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(48px, 7vw, 100px); align-items: start; }
.section-heading h2 { max-width: 730px; }
.section-heading > p:last-child { grid-column: 2; max-width: 610px; color: var(--muted); }
.direction-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 58px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.direction { display: block; min-height: 250px; padding: 31px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.32); }
.direction:nth-child(2) .direction-copy, .direction:nth-child(5) .direction-copy { transition-delay: .07s; }
.direction:nth-child(3) .direction-copy, .direction:nth-child(6) .direction-copy { transition-delay: .14s; }
.direction-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); font-family: var(--serif); font-size: 13px; }
.direction h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; }
.direction p { margin: 0; color: var(--muted); font-size: 15px; }

.approach { background: #f1e8e0; }
.approach-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(70px, 10vw, 150px); }
.approach-copy { position: sticky; top: 125px; align-self: start; }
.approach-copy h2 { margin-top: 35px; }
.approach-copy > p:last-child { max-width: 550px; color: var(--muted); }
.process { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 55px 1fr; gap: 25px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 11px; }
.process h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.process p { margin: 0; color: var(--muted); }

.projects { position: relative; overflow: hidden; background: var(--ivory); color: var(--ink); }
.projects::after { content: ""; position: absolute; width: 620px; height: 620px; right: -300px; bottom: -330px; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.projects > .shell { position: relative; z-index: 1; }
.projects .section-index--light { color: #90797b; }
.projects-heading { display: grid; grid-template-columns: 190px 1fr; gap: clamp(48px, 7vw, 100px); }
.projects-heading h2 { max-width: 880px; }
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 72px; }
.project-card { min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.project-card h3 { max-width: 650px; font-family: var(--serif); font-size: 33px; font-weight: 400; }
.project-card p { max-width: 640px; color: var(--muted); }
.project-footer { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.project-tags li { padding: 9px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: 12px; }
.project-button { flex: 0 0 auto; border-radius: 2px; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 65px; padding-top: 32px; border-top: 1px solid var(--line); }
.trust-grid span { color: var(--muted); font-size: 11px; }
.trust-grid h3 { margin-top: 32px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.trust-grid p { color: var(--muted); font-size: 15px; }

.contact { padding: 88px 0; background: linear-gradient(110deg, #47252c, #6a3445); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(70px, 10vw, 150px); align-items: end; }
.contact h2 { max-width: 730px; margin-top: 30px; }
.contact-grid > div:first-child > p:last-child { max-width: 650px; color: rgba(255,255,255,.62); }
.contact-actions { display: flex; flex-direction: column; gap: 13px; padding: 30px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.contact-label { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-placeholder { max-width: 440px; margin: 0; color: rgba(255,255,255,.84); font-size: 16px; }
.whatsapp-button { width: 100%; justify-content: space-between; margin-top: 8px; border-color: #f8f1e9; background: #f8f1e9; color: #47252c; }
.whatsapp-button:hover { border-color: #fff; background: #fff; }
.whatsapp-status { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #2fa66a; box-shadow: 0 0 0 5px rgba(47,166,106,.13); }
.contact-note { margin: 2px 0 0; color: rgba(255,255,255,.5); font-size: 12px; }
.site-footer { padding: 26px 0; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.footer-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 30px; align-items: center; }
.site-footer p { margin: 0; font-size: 12px; }
.site-footer a { font-size: 12px; }

.reveal { opacity: 0; transform: translateY(13px); transition: opacity .56s ease, transform .56s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid #c9a968; outline-offset: 4px; }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes proof-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .shell { width: min(100% - 40px, 1240px); }
  .hero { min-height: 0; }
  .hero-grid, .section-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 68px; }
  .portrait-stage { justify-self: center; width: min(78vw, 440px); }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .section-aside { display: flex; justify-content: space-between; }
  .aside-note { max-width: 250px; margin-top: 0; text-align: right; }
  .section-main { margin-top: 20px; }
  .section-heading, .projects-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { grid-column: 1; }
  .direction-list { grid-template-columns: 1fr 1fr; }
  .approach-copy { position: static; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 360px; }
  .project-footer { align-items: stretch; flex-direction: column; }
  .project-button { align-self: start; }
  .contact-actions { max-width: 620px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1240px); }
  .site-header { color: var(--ink); background: rgba(251,247,240,.96); backdrop-filter: blur(14px); }
  .site-header.scrolled { color: var(--ink); background: rgba(251,247,240,.98); }
  .nav-wrap { min-height: 68px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; z-index: 40; top: 68px; left: 0; width: 100vw; height: calc(100vh - 68px); height: calc(100dvh - 68px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 24px 40px; overflow-y: auto; visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(100%); background: linear-gradient(145deg, rgba(60,32,39,.92), rgba(90,48,56,.90)); color: var(--ivory); box-shadow: -20px 30px 60px rgba(35,17,22,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s ease, opacity .2s ease, visibility .25s; }
  .site-nav.open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(0); }
  .site-nav > a { padding: 19px 8px; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--ivory); font-family: var(--serif); font-size: 26px; }
  .site-nav > a:not(.button) { opacity: .9; }
  .site-nav .button { margin-top: 24px; border: 1px solid var(--ivory); background: var(--ivory); color: var(--wine-deep); font-family: var(--sans); font-size: 15px; }
  .site-nav .button:hover, .site-nav .button:focus-visible { background: #fff; color: var(--wine-deep); }
  .hero { padding: 104px 0 30px; }
  h1 { font-size: clamp(42px, 11.5vw, 56px); }
  h2 { font-size: clamp(35px, 9.5vw, 48px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { text-align: center; }
  .portrait-stage { width: 100%; }
  .portrait-frame { aspect-ratio: 3/4; }
  .portrait-caption { flex-direction: column; gap: 4px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid article:last-child { border-bottom: 0; }
  .section { padding: 88px 0; }
  .section-aside { display: block; }
  .aside-note { margin-top: 15px; text-align: left; }
  .two-columns { grid-template-columns: 1fr; gap: 25px; }
  .section-heading, .projects-heading { gap: 28px; }
  .direction-list { margin-top: 50px; }
  .direction-list { grid-template-columns: 1fr; }
  .direction { min-height: 0; }
  .direction h3 { font-size: 24px; }
  .direction p { font-size: 15px; }
  .process li { grid-template-columns: 44px 1fr; gap: 15px; }
  .projects-grid { margin-top: 45px; }
  .project-card { min-height: 360px; padding: 25px; }
  .project-card h3 { font-size: 29px; }
  .project-button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; gap: 25px; }
  .contact { padding: 86px 0; }
  .footer-row { grid-template-columns: 1fr; gap: 10px; }
}

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