:root {
  --ink: #06100d;
  --ink-soft: #0c1a16;
  --paper: #f4f2ec;
  --white: #ffffff;
  --green: #8fac82;
  --green-bright: #a9cb9d;
  --muted: #9aa59f;
  --line: rgba(255, 255, 255, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 72px);
  transition: background 250ms ease, padding 250ms ease, backdrop-filter 250ms ease;
}
.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(6, 16, 13, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 0.8rem; font-weight: 700; }
.main-nav > a:not(.nav-access) { color: #c7d0cc; transition: color 180ms ease; }
.main-nav > a:hover { color: var(--green-bright); }
.nav-access { padding: 11px 18px; border: 1px solid rgba(169, 203, 157, 0.55); border-radius: 999px; }
.menu-button { display: none; background: none; border: 0; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 130px clamp(24px, 7vw, 110px) 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to right, black, transparent 76%);
}
.hero-glow { position: absolute; width: 560px; height: 560px; left: -250px; top: 10%; border-radius: 50%; background: rgba(108, 149, 96, 0.16); filter: blur(70px); }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow { color: var(--green-bright); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.6rem, 7.5vw, 8rem); line-height: 0.92; letter-spacing: -0.065em; }
h1 em { display: block; color: var(--green-bright); font-family: "Playfair Display", serif; font-weight: 600; }
.hero-lead { max-width: 620px; color: #bdc7c2; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 25px; border-radius: 999px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #08110e; background: var(--green-bright); }
.button-primary:hover { background: #c0dfb6; }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.logo-frame { position: relative; padding: 10px; border: 1px solid var(--line); border-radius: 40px 40px 140px 40px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.005)); box-shadow: 0 45px 90px rgba(0,0,0,.35); overflow: hidden; }
.logo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(139, 175, 128, 0.1)); pointer-events: none; }
.logo-frame img { width: 100%; border-radius: 31px 31px 125px 31px; }
.vertical-note { position: absolute; right: -38px; top: 44%; color: var(--muted); font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; transform: rotate(90deg); }
.scroll-cue { position: absolute; z-index: 4; bottom: 24px; left: 50%; width: 30px; height: 50px; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 4px; height: 8px; border-radius: 5px; background: var(--green-bright); animation: scroll 1.7s infinite; }

.section { padding: clamp(80px, 11vw, 160px) clamp(24px, 7vw, 110px); }
.section-label { margin-bottom: 54px; color: var(--green); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; }
.studio { color: var(--ink); background: var(--paper); }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); }
h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -0.055em; }
.studio-heading h2 { max-width: 640px; }
.studio-copy { max-width: 650px; color: #45514c; }
.large-copy { color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.45; font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 90px; background: rgba(6,16,13,.15); border: 1px solid rgba(6,16,13,.15); }
.value-card { min-height: 250px; padding: 38px; background: var(--paper); }
.value-card > span { color: #7d9d73; font-size: .72rem; font-weight: 800; }
.value-card h3 { margin: 60px 0 12px; font-size: 1.25rem; }
.value-card p { color: #5f6a65; font-size: .9rem; }

.disciplines { background: var(--ink-soft); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 70px; }
.section-intro h2 { max-width: 760px; margin-bottom: 0; }
.section-intro p { max-width: 320px; color: var(--muted); }
.discipline { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 28px; padding: 30px 12px; border-top: 1px solid var(--line); transition: padding 180ms ease, background 180ms ease; }
.discipline:last-child { border-bottom: 1px solid var(--line); }
.discipline:hover { padding-left: 28px; padding-right: 28px; background: rgba(255,255,255,.035); }
.discipline-number { color: var(--green); font-size: .72rem; font-weight: 800; }
.discipline h3 { margin-bottom: 2px; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 600; }
.discipline p { margin-bottom: 0; color: var(--muted); }
.discipline-tag { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--green-bright); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; }

.experience { background: var(--paper); }
.experience-panel { padding: clamp(36px, 7vw, 100px); color: white; background: radial-gradient(circle at 90% 10%, rgba(143,172,130,.22), transparent 35%), var(--ink); border-radius: 50px; }
.experience-panel > h2 { max-width: 900px; }
.experience-panel > p:not(.eyebrow) { max-width: 670px; color: #b5c0bb; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 70px 0 50px; }
.steps > div { padding-top: 20px; border-top: 1px solid var(--line); }
.steps span { display: block; margin-bottom: 40px; color: var(--green-bright); font-size: .7rem; font-weight: 800; }
.steps strong { display: block; font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .85rem; }

.final-cta { position: relative; min-height: 620px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.final-cta > div:not(.cta-mark) { position: relative; z-index: 2; }
.final-cta h2 { max-width: 950px; }
.final-cta p { color: var(--muted); }
.cta-mark { position: absolute; left: 50%; top: 50%; color: rgba(255,255,255,.025); font-family: "Playfair Display", serif; font-size: min(70vw, 800px); line-height: .8; transform: translate(-50%, -50%); }
.text-link { display: inline-flex; gap: 12px; margin-top: 24px; padding-bottom: 6px; border-bottom: 1px solid var(--green); color: var(--green-bright); font-weight: 800; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 30px clamp(24px, 7vw, 110px); border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer p { margin: 0; }
.footer-disciplines { grid-column: 2; text-align: center; }
.footer-copyright { grid-column: 3; justify-self: end; text-align: right; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce3df;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link:hover { color: white; border-color: var(--green); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.instagram-link { color: #07110e; border-color: var(--green-bright); background: var(--green-bright); }
.instagram-link:hover { color: #07110e; background: #c0dfb6; }

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 38px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #07110e;
  background: #72c98b;
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
  font-size: .75rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}
.whatsapp-float:hover { transform: translateY(-3px); background: #8bdd9f; }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 18px); } }

@media (max-width: 900px) {
  .menu-button { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; background: rgba(6,16,13,.98); font-size: 1.1rem; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 200ms ease; }
  .main-nav.open { opacity: 1; visibility: visible; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-visual { max-width: 680px; margin: 20px auto 50px; }
  .studio-grid, .section-intro { display: grid; grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card h3 { margin-top: 25px; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .vertical-note, .scroll-cue { display: none; }
  .section { padding-left: 20px; padding-right: 20px; }
  .discipline { grid-template-columns: 40px 1fr; }
  .discipline-tag { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps span { margin-bottom: 12px; }
  .experience-panel { border-radius: 28px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .social-links { flex-wrap: wrap; }
  .footer-disciplines, .footer-copyright { grid-column: 1; justify-self: center; text-align: center; }
  .whatsapp-float { width: 58px; height: 58px; }
}

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