@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --cream: #f4ecdf;
  --cream-soft: #fbf7f0;
  --paper: #fffdf8;
  --ink: #2d2924;
  --muted: #73695f;
  --green: #183c36;
  --green-soft: #31574f;
  --gold: #c99a43;
  --line: rgba(67, 55, 44, .15);
  --shadow: 0 24px 70px rgba(61, 46, 33, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  z-index: 20;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.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;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--green);
  color: white;
}
.skip-link:focus { top: 1rem; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(1220px, calc(100% - 32px));
  height: 78px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0 0 22px 22px;
  transform: translateX(-50%);
  transition: .25s ease;
}
.site-header.is-scrolled {
  top: 12px;
  height: 68px;
  border-color: var(--line);
  border-radius: 20px;
  background: rgba(251, 247, 240, .88);
  box-shadow: 0 12px 40px rgba(49, 39, 30, .09);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}
.brand img { border-radius: 13px; box-shadow: 0 8px 18px rgba(33, 57, 51, .12); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: .92rem; font-weight: 600; text-decoration: none; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--green);
  transition: right .2s ease;
}
.main-nav > a:hover::after { right: 0; }
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--green);
  color: white;
}
.menu-toggle { display: none; }

.hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  align-items: center;
  gap: 64px;
  padding-top: 116px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #896832;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(3.5rem, 6.2vw, 6rem); font-weight: 700; }
h1 em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 630px; margin: 0; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: white; box-shadow: 0 12px 28px rgba(24, 60, 54, .22); }
.button.primary:hover { background: #214a42; box-shadow: 0 16px 34px rgba(24, 60, 54, .28); }
.button.quiet { border: 1px solid var(--line); background: rgba(255, 253, 248, .45); }
.hero-proof {
  display: flex;
  gap: 34px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.hero-proof li { display: grid; gap: 2px; }
.hero-proof strong { color: var(--green); font: 700 1.35rem "Manrope", sans-serif; }
.hero-proof span { color: var(--muted); font-size: .78rem; }

.hero-stage { position: relative; min-height: 560px; }
.stage-orbit { position: absolute; border: 1px solid rgba(89, 77, 62, .12); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; inset: 20px auto auto -15px; }
.orbit-two { width: 350px; height: 350px; inset: 95px auto auto 60px; border-color: rgba(201, 154, 67, .26); }
.stage-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.stage-main {
  inset: 96px 16px auto 22px;
  min-height: 360px;
  padding: 30px;
  background: rgba(255, 253, 248, .84);
  transform: rotate(-2deg);
}
.stage-card-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; }
.stage-card-top strong { margin-left: auto; color: var(--green); font: 800 .9rem "Manrope", sans-serif; letter-spacing: .1em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4e9a72; box-shadow: 0 0 0 6px rgba(78, 154, 114, .12); }
.stage-progress { height: 8px; margin: 28px 0 32px; overflow: hidden; border-radius: 99px; background: #e8e0d3; }
.stage-progress span { display: block; width: 76%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--gold)); }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stage-grid div { min-height: 100px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(244, 236, 223, .55); }
.stage-grid small { display: block; margin-bottom: 15px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.stage-grid b { font: 700 .92rem "Manrope", sans-serif; }
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 190px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  background: rgba(255, 253, 248, .91);
  box-shadow: 0 18px 45px rgba(61, 46, 33, .14);
  animation: float 5s ease-in-out infinite;
}
.float-card > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--green); color: white; font: 700 .76rem "Manrope", sans-serif; }
.float-card small { display: block; color: var(--muted); font-size: .67rem; }
.float-card strong { font: 700 .88rem "Manrope", sans-serif; }
.float-a { top: 42px; right: -5px; }
.float-b { bottom: 52px; left: -8px; animation-delay: -1.6s; }
.float-c { right: -18px; bottom: 2px; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,253,248,.38); }
.marquee div { width: max-content; display: flex; align-items: center; gap: 28px; padding: 19px 0; animation: marquee 28s linear infinite; }
.marquee span { color: var(--green); font: 700 .85rem "Manrope", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.marquee i { color: var(--gold); font-style: normal; font-size: .56rem; }
@keyframes marquee { to { transform: translateX(-30%); } }

.projects { padding-top: 130px; padding-bottom: 130px; }
.section-heading { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading h2 { max-width: 680px; margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 4.5rem); }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 1.03rem; }
.filters { display: flex; gap: 8px; margin-bottom: 30px; }
.filters button {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 .8rem "DM Sans", sans-serif;
  cursor: pointer;
}
.filters button.is-active { border-color: var(--green); background: var(--green); color: white; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .64);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card:hover { transform: translateY(-7px); border-color: rgba(24,60,54,.28); box-shadow: 0 22px 48px rgba(61,46,33,.09); }
.project-card.feature { grid-column: span 2; }
.project-card[hidden] { display: none; }
.project-top { display: flex; align-items: center; justify-content: space-between; }
.project-number { color: var(--muted); font: 700 .74rem "Manrope", sans-serif; letter-spacing: .12em; }
.status { padding: 6px 10px; border-radius: 99px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.status.available { background: #dceadd; color: #2d6948; }
.status.building { background: #efe3ca; color: #8a6324; }
.project-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 38px 0 27px; border-radius: 18px; color: white; font: 800 1.15rem "Manrope", sans-serif; }
.icon-surida { background: #1d6172; }
.icon-beauty { background: #995f76; }
.icon-food { background: #c36b47; }
.icon-farm { background: #58764a; }
.icon-gym { background: #344d63; }
.icon-language { background: #7864a0; }
.project-kind { margin: 0 0 8px; color: #98763e; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-card h3 { margin-bottom: 15px; font-size: 1.75rem; }
.project-card > p:not(.project-kind) { margin: 0; color: var(--muted); }
.project-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.project-card li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .7rem; }
.project-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.project-link span { color: var(--gold); font-size: 1.2rem; }

.method { padding: 128px 0; background: var(--green); color: #f9f4ea; }
.section-heading.light .eyebrow { color: #e2b967; }
.section-heading.light > p { color: rgba(255,255,255,.65); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.method-grid article { min-height: 260px; padding: 34px 26px 10px 0; border-right: 1px solid rgba(255,255,255,.16); }
.method-grid article + article { padding-left: 26px; }
.method-grid article:last-child { border-right: 0; }
.method-grid span { color: #d7ad5c; font: 700 .72rem "Manrope",sans-serif; }
.method-grid h3 { margin: 70px 0 14px; font-size: 1.45rem; }
.method-grid p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }

.contact { padding-top: 110px; padding-bottom: 110px; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  padding: 64px;
  overflow: hidden;
  border-radius: 34px;
  background: #d5a756;
  box-shadow: var(--shadow);
}
.contact-card h2 { max-width: 750px; margin-bottom: 18px; font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
.contact-card p:not(.eyebrow) { max-width: 650px; margin: 0; color: rgba(45,41,36,.72); }
.contact-card .eyebrow { color: var(--green); }
.contact-card .eyebrow span { background: var(--green); }
.light-button { white-space: nowrap; background: var(--cream-soft); color: var(--green); box-shadow: 0 14px 30px rgba(77,56,25,.16); }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-top: 34px; padding-bottom: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--green); font: 800 .85rem "Manrope",sans-serif; letter-spacing: .12em; }
.site-footer > p { margin: 0; }
.site-footer > div:last-child { display: flex; gap: 24px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--cream); }
.error-shell { width: min(100%, 760px); padding: clamp(36px, 8vw, 78px); border: 1px solid var(--line); border-radius: 34px; background: var(--cream-soft); box-shadow: var(--shadow); }
.error-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 64px; color: var(--green); font: 800 .9rem "Manrope", sans-serif; letter-spacing: .14em; }
.error-brand img { border-radius: 15px; }
.error-shell h1 { max-width: 650px; margin: 12px 0 20px; font-size: clamp(3.2rem, 9vw, 6.5rem); }
.error-shell > p:not(.eyebrow) { max-width: 540px; margin: 0 0 34px; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.error-shell .primary-button { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 160px; padding-bottom: 80px; }
  .hero-copy { max-width: 760px; }
  .hero-stage { width: min(620px,100%); margin-inline: auto; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .method-grid { grid-template-columns: repeat(2,1fr); }
  .method-grid article:nth-child(2) { border-right: 0; }
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .light-button { justify-self: start; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 30px, 620px); }
  .site-header { width: calc(100% - 20px); height: 68px; padding: 0 14px; }
  .site-header.is-scrolled { top: 8px; }
  .brand img { width: 40px; height: 40px; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 12px; background: var(--green); }
  .menu-toggle span:not(.sr-only) { width: 19px; height: 1px; background: white; }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--cream-soft);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; gap: 38px; padding-top: 128px; }
  h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { gap: 12px; justify-content: space-between; }
  .hero-proof span { max-width: 90px; }
  .hero-stage { min-height: 430px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 270px; height: 270px; }
  .stage-main { inset: 55px 5px auto; min-height: 320px; padding: 21px; }
  .stage-grid div { min-height: 84px; padding: 12px; }
  .stage-grid small { margin-bottom: 8px; }
  .float-card { display: none; }
  .projects { padding-top: 86px; padding-bottom: 86px; }
  .section-heading h2 { font-size: 2.65rem; }
  .filters { overflow-x: auto; padding-bottom: 5px; }
  .filters button { white-space: nowrap; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.feature { grid-column: auto; }
  .method { padding: 84px 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article, .method-grid article + article { min-height: 200px; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .method-grid article:last-child { border-bottom: 0; }
  .method-grid h3 { margin-top: 48px; }
  .contact { padding-block: 74px; }
  .contact-card { padding: 34px 24px; border-radius: 26px; }
  .contact-card h2 { font-size: 2.55rem; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer > div:last-child { flex-direction: column; gap: 5px; }
}
