/* =========================================================
   Varuthya Design — Goa
   Palette: laterite red, lime-wash ivory, azulejo blue,
            monsoon green, cashew-shell ink
   ========================================================= */
:root {
  --laterite: #b5482a;
  --laterite-deep: #8e3419;
  --ivory: #f4ede2;
  --sand: #e8dcc8;
  --azulejo: #1f4e8c;
  --monsoon: #2f4a3a;
  --sun: #f2a43a;
  --ink: #17120f;
  --ink-soft: #4a403a;
  --line: rgba(23, 18, 15, .14);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;

  --pad: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Crect width='80' height='80' fill='%23f4ede2'/%3E%3Cg fill='none' stroke='%231f4e8c' stroke-width='3'%3E%3Ccircle cx='0' cy='0' r='22'/%3E%3Ccircle cx='80' cy='0' r='22'/%3E%3Ccircle cx='0' cy='80' r='22'/%3E%3Ccircle cx='80' cy='80' r='22'/%3E%3Ccircle cx='40' cy='40' r='15'/%3E%3C/g%3E%3Cg fill='%231f4e8c'%3E%3Cpath d='M40 12Q47 30 40 40Q33 30 40 12Z'/%3E%3Cpath d='M40 68Q47 50 40 40Q33 50 40 68Z'/%3E%3Cpath d='M12 40Q30 47 40 40Q30 33 12 40Z'/%3E%3Cpath d='M68 40Q50 47 40 40Q50 33 68 40Z'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='80' cy='0' r='9'/%3E%3Ccircle cx='0' cy='80' r='9'/%3E%3Ccircle cx='80' cy='80' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--laterite); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--laterite); outline-offset: 3px; }

.hand { font-family: var(--f-hand); font-size: 1.5em; line-height: 1.1; color: var(--laterite); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.2rem; }
.eyebrow--light { color: rgba(244, 237, 226, .7); }
.title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144;
}
.title em { font-style: italic; color: var(--laterite); font-weight: 300; }
.title--light { color: var(--ivory); }
.title--light em { color: var(--sun); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.05em 1.7em; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light::before { background: var(--laterite); }
.btn--light:hover { color: var(--ivory); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark::before { background: var(--laterite); }
.btn--ghost { color: var(--ink-soft); padding-left: 0; }
.btn--ghost::before { display: none; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -6%); } 60% { transform: translate(-7%, -2%); } 80% { transform: translate(5%, 6%); }
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 18px;
  background: var(--ink); color: var(--ivory);
}
.loader__house { width: min(320px, 70vw); color: var(--sun); position: relative; z-index: 2; }
.loader__count { font-family: var(--f-display); font-size: clamp(3rem, 9vw, 6rem); font-weight: 300; line-height: 1; position: relative; z-index: 2; }
.loader__count sup { font-size: .35em; color: var(--sun); }
.loader__line { font-family: var(--f-hand); font-size: 1.6rem; color: rgba(244, 237, 226, .7); position: relative; z-index: 2; }
.loader__panels { position: absolute; inset: 0; display: flex; z-index: 1; pointer-events: none; }
.loader__panels i { flex: 1; background: var(--laterite); transform: scaleY(0); transform-origin: bottom; }
.loader__panels i:nth-child(2) { background: var(--sun); }
.loader__panels i:nth-child(3) { background: var(--azulejo); }
.loader__panels i:nth-child(4) { background: var(--monsoon); }

/* ---------- cursor (clean: dot + ring) ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--laterite); }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(181, 72, 42, .55);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s, opacity .3s;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-link { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(181, 72, 42, .1); border-color: var(--laterite); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; gap: 16px;
  padding: 22px var(--pad);
  color: var(--ivory);
  transition: color .4s, background .4s, padding .4s;
}
.nav.is-solid { color: var(--ink); background: rgba(244, 237, 226, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }

.nav__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__cta { margin-left: auto; }
.nav__mark { width: 34px; height: 38px; flex-shrink: 0; }
.nav__mark-v { stroke: #ef7a50; transition: stroke .4s; }
.nav.is-solid .nav__mark-v { stroke: var(--laterite); }
.nav__word { font-family: var(--f-display); font-size: 24px; letter-spacing: -.01em; line-height: 1; font-variation-settings: "opsz" 144; }
.nav__word small { display: block; margin-top: 4px; font-family: var(--f-body); font-size: 9.5px; font-weight: 700; letter-spacing: .38em; text-transform: uppercase; opacity: .75; }.nav__cta {
  font-size: 14px; font-weight: 600; padding: .75em 1.3em; border-radius: 100px;
  border: 1.5px solid currentColor; transition: background .3s, color .3s;
}
.nav__cta { background: var(--laterite); border-color: var(--laterite) !important; color: var(--ivory) !important; box-shadow: 0 10px 24px -12px rgba(181, 72, 42, .8); }
.nav__cta:hover { background: var(--laterite-deep); }
.nav__burger { width: 48px; height: 48px; border-radius: 50%; position: relative; background: var(--laterite); color: var(--ivory); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .5s var(--ease-out); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 27px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 640px) { .nav__cta { display: none; } .nav__word { font-size: 20px; } }

/* ---------- top tabs ---------- */
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 100px; background: rgba(244, 237, 226, .1); border: 1px solid rgba(244, 237, 226, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.nav.is-solid .nav__links { background: rgba(23, 18, 15, .04); border-color: var(--line); }
.nav__links a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: .85; transition: color .3s, opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__links a.is-active { opacity: 1; color: var(--ink); }
.nav.is-solid .nav__links a.is-active { color: var(--ivory); }
.nav__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 100px; background: var(--ivory); opacity: 0; transition: left .45s var(--ease-out), width .45s var(--ease-out), opacity .3s, background .3s; }
.nav.is-solid .nav__pill { background: var(--laterite); }
.nav__burger { display: none; }
@media (max-width: 1100px) { .nav__links a { padding: 9px 12px; font-size: 13.5px; } .nav__cta { display: none; } }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

/* ---------- mobile drop-down menu ---------- */
.menu {
  position: fixed; left: 12px; right: 12px; top: 76px; z-index: 115;
  display: none; flex-direction: column; padding: 10px; border-radius: 22px;
  background: var(--ivory); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4);
  opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease-out);
  pointer-events: none;
}
.menu a { padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 17px; }
.menu a:hover, .menu a.is-active { background: var(--sand); }
.menu__cta { margin-top: 8px; justify-content: center; }
.menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 860px) { .menu { display: flex; } }
/* ---------- hero ---------- */
.hero {
  position: relative; height: clamp(540px, 78svh, 780px); overflow: hidden;
  display: flex; align-items: flex-end;
  color: var(--ivory); background: var(--ink);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; transform-origin: center; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 18, 15, .55) 0%, rgba(23, 18, 15, .05) 35%, rgba(23, 18, 15, .25) 60%, rgba(23, 18, 15, .85) 100%),
    linear-gradient(90deg, rgba(23, 18, 15, .5), rgba(23, 18, 15, 0) 65%);
}
.hero__sun {
  position: absolute; width: 38vmin; height: 38vmin; right: 10%; top: 14%;
  border-radius: 50%; background: radial-gradient(circle, rgba(242, 164, 58, .55), rgba(242, 164, 58, 0) 70%);
  mix-blend-mode: screen; filter: blur(8px); pointer-events: none;
}
.hero__content { position: relative; z-index: 2; width: 100%; padding: 120px var(--pad) clamp(80px, 11vh, 120px); }
.hero__kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; opacity: .9; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(242, 164, 58, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(242, 164, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 164, 58, 0); } }
.hero__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(3rem, 8.4vw, 8.4rem); line-height: .9; letter-spacing: -.04em;
  font-variation-settings: "opsz" 144;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; }
.hero__title em { font-style: italic; color: var(--sun); }
.hero__title .hero__hl { position: relative; color: var(--ivory); padding: 0 .08em; }
.hero__hl::before {
  content: ""; position: absolute; z-index: -1; left: -.1em; right: -.06em; top: .16em; bottom: .02em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M10 28C70 10 170 16 250 13s128-4 142 10c5 18-2 42-8 58-86 9-206 5-296 9S16 92 7 76C3 60 5 42 10 28Z' fill='%23b5482a'/%3E%3Cpath d='M30 86c90-6 220-2 340-8' stroke='%238e3419' stroke-width='3' fill='none' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left center; transition: transform 1s cubic-bezier(.77, 0, .175, 1);
}
.hero__hl.is-painted::before { transform: scaleX(1); }
.hero__dot { color: var(--laterite); }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 28px; }
.hero__lede { max-width: 420px; font-size: 17px; opacity: .88; }
.hero__waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; z-index: 2; }
.wave--1 { fill: rgba(232, 220, 200, .35); animation: wave 9s ease-in-out infinite alternate; }
.wave--2 { fill: var(--laterite); animation: wave 7s ease-in-out infinite alternate-reverse; }
@keyframes wave { to { transform: translateX(-60px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--laterite); color: var(--ivory); overflow: hidden; padding: 18px 0 22px; }
.marquee__track { display: flex; width: max-content; gap: 36px; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 300; }
.marquee__track b { color: var(--sun); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- studio: arch photo + four promises ---------- */
.studio { padding: clamp(80px, 10vw, 140px) var(--pad); max-width: 1400px; margin: 0 auto; }
.studio__head { margin-bottom: clamp(40px, 5vw, 64px); }
.studio__body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.studio__media { position: relative; margin: 0; }
.studio__arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--sand); }
.studio__arch img { width: 100%; height: 118%; object-fit: cover; }
.studio__media figcaption {
  position: absolute; right: -6px; bottom: 28px; padding: 6px 16px; border-radius: 100px;
  background: var(--ivory); box-shadow: 0 12px 30px -16px rgba(23, 18, 15, .45); rotate: -4deg; font-size: 1.45rem;
}
.studio__lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 46ch; margin-bottom: 30px; }
.promises { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); }
.promise { position: relative; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.promise::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--laterite); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.promise:hover::before { transform: scaleX(1); }
.promise__icon { width: 40px; height: 40px; color: var(--laterite); }
.promise__n { position: absolute; top: 26px; right: 0; font-family: var(--f-display); font-style: italic; color: var(--laterite); opacity: .7; }
.promise h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.1; margin: 16px 0 6px; }
.promise p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 900px) {
  .studio__body { grid-template-columns: 1fr; }
  .studio__media { max-width: 420px; }
}
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }
/* ---------- muse (horizontal) ---------- */
.muse { background: var(--sand); position: relative; }
.muse__pin { height: 100svh; display: flex; align-items: center; overflow: hidden; gap: 6vw; padding-left: var(--pad); }
.muse__head { flex: 0 0 auto; width: max-content; max-width: 90vw; }
.muse__hint { margin-top: 24px; }
.muse__track { display: flex; gap: 3vw; align-items: center; flex: 0 0 auto; padding-right: var(--pad); will-change: transform; }
.muse__card { flex: 0 0 auto; width: clamp(260px, min(30vw, 44vh), 440px); position: relative; }
.muse__card:nth-child(even) { margin-top: 10vh; }
.muse__img { aspect-ratio: 4/5; overflow: hidden; border-radius: 200px 200px 6px 6px; /* Goan arch window */ background: var(--ink); }
.muse__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: filter .6s; filter: saturate(.9); }
.muse__card:hover .muse__img img { filter: saturate(1.2) brightness(1.05); }
.muse__num { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-family: var(--f-display); font-style: italic; color: var(--ivory); font-size: 22px; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.muse__card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin: 20px 0 6px; letter-spacing: -.01em; }
.muse__card p { color: var(--ink-soft); font-size: 15.5px; max-width: 36ch; }
.muse__end { flex: 0 0 auto; width: 320px; text-align: center; display: grid; gap: 22px; justify-items: center; }
.muse__end p { font-family: var(--f-display); font-style: italic; font-size: 2.2rem; }

@media (max-width: 760px) {
  .muse__pin { height: auto; flex-direction: column; align-items: stretch; padding: 90px var(--pad); overflow: visible; }
  .muse__track { flex-direction: column; padding-right: 0; gap: 56px; }
  .muse__card, .muse__end { width: 100%; }
  .muse__card:nth-child(even) { margin-top: 0; }
  .muse__hint { display: none; }
}

/* ---------- services ---------- */
.services { padding: clamp(90px, 14vw, 180px) var(--pad); position: relative; }
.services__head { margin-bottom: 64px; }
.services__list { list-style: none; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 60px 1fr 1fr 40px; align-items: center; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; cursor: pointer;
  transition: padding .5s var(--ease-out), color .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--laterite); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.service:hover { color: var(--ivory); padding-left: 24px; padding-right: 24px; }
.service:hover::before { transform: scaleY(1); }
.service__num { font-family: var(--f-display); font-style: italic; font-size: 18px; opacity: .6; }
.service__name { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.service__name em { font-style: italic; font-weight: 300; }
.service__desc { font-size: 15.5px; color: var(--ink-soft); transition: color .4s; max-width: 46ch; }
.service:hover .service__desc { color: rgba(244, 237, 226, .85); }
.service__arrow { font-size: 26px; transition: transform .5s var(--ease-out); justify-self: end; }
.service:hover .service__arrow { transform: rotate(45deg); }
@media (max-width: 860px) {
  .service { grid-template-columns: 44px 1fr 30px; }
  .service__desc { grid-column: 2 / 3; }
  .service__arrow { grid-row: 1; grid-column: 3; }
}

/* ---------- projects (stacking cards) ---------- */
.projects { padding: clamp(90px, 12vw, 160px) var(--pad) clamp(90px, 10vw, 140px); background: var(--ink); color: var(--ivory); }
.projects .eyebrow { color: rgba(244, 237, 226, .6); }
.projects .title em { color: var(--sun); }
.projects__head { margin-bottom: 60px; }
.stack { display: grid; gap: 48px; }
.pcard {
  position: sticky; top: calc(96px + var(--i, 0) * 18px);
  display: grid; grid-template-columns: 1fr 1.4fr; height: min(72vh, 620px);
  background: var(--c); border-radius: 28px; overflow: hidden;
  transform-origin: center top; will-change: transform;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .55);
}
.pcard__info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.pcard__tag { align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(244, 237, 226, .5); border-radius: 100px; padding: 6px 14px; margin-bottom: auto; }
.pcard h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: .95; letter-spacing: -.03em; }
.pcard__place { font-family: var(--f-hand); font-size: 1.6rem; color: var(--sun); line-height: 1; }
.pcard p:last-child { opacity: .88; max-width: 38ch; font-size: 15.5px; }
.pcard__img { overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .stack { gap: 28px; }
  .pcard { grid-template-columns: 1fr; height: auto; top: calc(76px + var(--i, 0) * 12px); }
  .pcard__img { order: -1; aspect-ratio: 16 / 10; }
  .pcard__info { padding: 22px 22px 26px; gap: 6px; }
  .pcard__tag { margin-bottom: 12px; }
  .pcard h3 { font-size: 2rem; }
}
/* ---------- process ---------- */
.process { padding: clamp(90px, 14vw, 180px) var(--pad); background: var(--ivory); position: relative; overflow: hidden; }
.process__head { margin-bottom: 80px; }
.process__body { position: relative; max-width: 1100px; margin: 0 auto; }
.process__river { position: absolute; left: 50%; top: 0; height: 100%; width: 180px; transform: translateX(-50%); overflow: visible; }
.river-bg { fill: none; stroke: var(--sand); stroke-width: 14; stroke-linecap: round; }
.river-fg { fill: none; stroke: var(--azulejo); stroke-width: 4; stroke-linecap: round; }
.steps { list-style: none; display: grid; gap: clamp(40px, 7vw, 90px); position: relative; }
.step { width: calc(50% - 90px); background: #fffaf2; border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: relative; box-shadow: 0 20px 40px -30px rgba(23, 18, 15, .4); }
.step:nth-child(even) { margin-left: auto; }
.step__n { position: absolute; top: -22px; left: 26px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--laterite); color: var(--ivory); font-family: var(--f-display); font-style: italic; font-size: 17px; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; margin: 10px 0 6px; letter-spacing: -.01em; }
.step p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 760px) {
  .process__river { left: 22px; width: 40px; transform: none; }
  .step, .step:nth-child(even) { width: auto; margin-left: 56px; }
}

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: center; padding: clamp(60px, 10vw, 140px) var(--pad) clamp(90px, 14vw, 180px); max-width: 1400px; margin: 0 auto; }
.founder__frame { position: relative; }
.founder__arch {
  position: relative; aspect-ratio: 3/4; border-radius: 999px 999px 10px 10px; overflow: hidden;
  background: var(--laterite);
}
/* faint azulejo tiles inside the arch */
.founder__arch::before { content: ""; position: absolute; inset: 0; background-image: var(--tile); background-size: 84px; opacity: .1; }
/* a warm glow rising behind the portrait, like the sun in the logo */
.founder__sun { position: absolute; left: 50%; top: 9%; width: 30%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--sun); box-shadow: 0 0 60px 20px rgba(242, 164, 58, .45); }
.founder__photo {
  position: absolute; left: 8%; right: 8%; bottom: 6%; width: 84%; aspect-ratio: 1; height: auto;
  border-radius: 50%; object-fit: cover; scale: 1.03; /* hides the photo's own white circle edge */
  box-shadow: 0 0 0 7px var(--ivory), 0 30px 50px -20px rgba(23, 18, 15, .6);
}
.founder__badge { position: absolute; right: -10px; bottom: 40px; width: 110px; height: 110px; border-radius: 50%; background: var(--laterite); color: var(--ivory); display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 2.4rem; animation: spin 18s linear infinite; background-image: repeating-conic-gradient(from 0deg, transparent 0 8deg, rgba(244, 237, 226, .08) 8deg 16deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.founder__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin: 26px 0 30px; max-width: 52ch; }
.founder__facts { list-style: none; border-top: 1px solid var(--line); }
.founder__facts li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.founder__facts b { font-family: var(--f-display); font-weight: 500; }
.founder__facts span { color: var(--ink-soft); }
.founder__quote { margin-top: 30px; font-size: 2rem; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder__frame { max-width: 420px; }
  .founder__facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- testimonials ---------- */
.voices { position: relative; overflow: hidden; background: var(--sand); padding: clamp(90px, 11vw, 150px) var(--pad); }
.voices__mark {
  position: absolute; right: 4vw; top: -.12em; pointer-events: none;
  font-family: var(--f-display); font-style: italic; font-size: clamp(16rem, 34vw, 30rem); line-height: 1;
  color: var(--laterite); opacity: .1;
}
.voices__inner { position: relative; max-width: 1120px; margin: 0 auto; }
.voices__stage { display: grid; margin: clamp(36px, 5vw, 60px) 0 clamp(40px, 5vw, 64px); }
.voice { grid-area: 1 / 1; margin: 0; align-self: start; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.voice.is-active { opacity: 1; visibility: visible; }
.voice blockquote {
  font-family: var(--f-display); font-weight: 350; font-size: clamp(1.6rem, 3.3vw, 2.9rem);
  line-height: 1.22; letter-spacing: -.015em; max-width: 30ch;
}
.voice .q { color: var(--laterite); }
.vw { display: inline-block; }
.voices__names { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); border-top: 1px solid var(--line); }
.vname { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 0 4px; text-align: left; opacity: .5; transition: opacity .4s; }
.vname:hover, .vname.is-active { opacity: 1; }
.vname::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--c);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
.vname__avatar {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: var(--ivory); font-family: var(--f-display); font-style: italic; font-size: 17px;
}
.vname b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.vname small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 640px) {
  .voices__names { grid-template-columns: 1fr; gap: 0; border-top: 0; }
  .vname { padding: 14px 0; border-top: 1px solid var(--line); }
}
/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--ink); color: var(--ivory); overflow: hidden; padding: clamp(100px, 14vw, 180px) var(--pad); text-align: center; }
.cta__bg { position: absolute; inset: 0; opacity: .45; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(23, 18, 15, .55), rgba(23, 18, 15, .92) 70%); }
.cta__tiles {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); grid-auto-rows: 70px; pointer-events: none;
  mask-image: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, .3) 75%); -webkit-mask-image: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, .3) 75%);
}
.cta__tiles span { background-image: var(--tile); background-size: cover; opacity: 0; transform: rotateY(90deg); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 7vw, 7rem); line-height: .9; letter-spacing: -.04em; }
.cta__title em { font-style: italic; color: var(--sun); }
.cta__orb { position: relative; width: 190px; height: 190px; margin-top: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory); }
.cta__orb::before { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: var(--laterite); transition: transform .6s var(--ease-out), background .4s; box-shadow: 0 0 0 0 rgba(181, 72, 42, .5); animation: orbPulse 2.6s infinite; }
.cta__orb:hover::before { background: var(--laterite-deep); }
@keyframes orbPulse { 70% { box-shadow: 0 0 0 26px rgba(181, 72, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(181, 72, 42, 0); } }
.cta__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.cta__ring text { fill: var(--ivory); font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .28em; }
.cta__house { position: relative; width: 40px; height: 40px; margin-top: -14px; transition: transform .5s var(--ease-out); }
.cta__label { position: absolute; top: 58%; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.cta__alt { margin-top: 34px; opacity: .75; font-size: 15px; }
.cta__alt a { border-bottom: 1px solid currentColor; }

/* ---------- LEAD POP-UP ---------- */
.lm { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.lm.is-open { visibility: visible; pointer-events: auto; }
.lm__backdrop { position: absolute; inset: 0; background: rgba(23, 18, 15, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; }
.lm__panel {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 32px);
  display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 30px; overflow: hidden;
  background: var(--ivory); box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .6);
}
.lm__close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sand); color: var(--ink); transition: transform .5s var(--ease-out), background .3s, color .3s;
}
.lm__close:hover { background: var(--laterite); color: var(--ivory); }

.lm__scene { background: var(--laterite-deep); color: var(--ivory); padding: 34px 30px 26px; display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; }
.lm__scene::before { content: ""; position: absolute; inset: 0; background-image: var(--tile); background-size: 90px; opacity: .06; }
.lm__title { position: relative; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .95; letter-spacing: -.03em; }
.lm__title em { font-style: italic; color: var(--sun); }

.sky {
  --sky1: #f6d6b0; --sky2: #f2b77a;
  position: relative; flex: 1; min-height: 240px; border-radius: 160px 160px 18px 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--sky1), var(--sky2));
  display: flex; align-items: flex-end; justify-content: center;
}
.sky__sun { position: absolute; left: 22%; top: 70%; width: 44px; height: 44px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 40px 10px rgba(255, 210, 122, .6); }
.sky__stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; }
.sky__stars i:nth-child(1) { left: 20%; top: 18%; } .sky__stars i:nth-child(2) { left: 38%; top: 10%; } .sky__stars i:nth-child(3) { left: 62%; top: 16%; }
.sky__stars i:nth-child(4) { left: 78%; top: 28%; } .sky__stars i:nth-child(5) { left: 30%; top: 32%; } .sky__stars i:nth-child(6) { left: 52%; top: 26%; }
.sky__stars i:nth-child(7) { left: 70%; top: 8%; } .sky__stars i:nth-child(8) { left: 14%; top: 38%; }
.sky__cloud { position: absolute; width: 90px; fill: rgba(255, 255, 255, .75); }
.sky__cloud--1 { top: 22%; left: -10%; animation: drift 22s linear infinite; }
.sky__cloud--2 { top: 38%; left: -30%; width: 60px; animation: drift 30s linear infinite 6s; }
@keyframes drift { to { transform: translateX(560px); } }
.build { position: relative; width: 100%; max-width: 360px; overflow: visible; }
.b-hill { fill: #3b6b4a; }
.b-stage { opacity: 0; transform: translateY(26px) scaleY(.6); transform-origin: 50% 100%; transform-box: fill-box; transition: opacity .5s var(--ease-out), transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.b-stage.is-on { opacity: 1; transform: none; }
.b-3 { transform: translateY(-60px); }
.b-1 rect { fill: #6b5a4c; } .b-2 rect { fill: var(--ivory); } .b-roof { fill: var(--laterite); }
.b-line { stroke: rgba(23, 18, 15, .15); stroke-width: 1.5; fill: none; }
.b-door { fill: var(--azulejo); } .b-win { fill: #3a2f28; transition: fill .8s; }
.b-palm { fill: none; stroke: #2f5a3a; stroke-width: 4; stroke-linecap: round; }
.lm.is-lit .b-win { fill: #ffd27a; animation: glow 2.4s ease-in-out infinite alternate; }
@keyframes glow { from { fill: #f2a43a; } to { fill: #ffe39e; } }
.lm__stages { position: relative; list-style: none; display: flex; gap: 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.lm__stages li { flex: 1; padding-top: 10px; border-top: 2px solid rgba(244, 237, 226, .25); opacity: .55; transition: opacity .4s, border-color .4s; }
.lm__stages li.is-on { opacity: 1; border-color: var(--sun); }

.lead { position: relative; color: var(--ink); padding: 40px clamp(24px, 3.5vw, 44px) 30px; display: flex; flex-direction: column; overflow-y: auto; min-height: 560px; }
.lead__progress { position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--sand); }
.lead__progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--laterite), var(--sun)); transition: width .8s var(--ease-out); }
.lead__count { font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 14px; padding-right: 50px; }
.lead__step-n { font-family: var(--f-display); font-style: italic; font-size: 24px; color: var(--laterite); }
.lead__stage { font-family: var(--f-hand); font-size: 1.35rem; color: var(--laterite); letter-spacing: 0; }
.lead__step { border: 0; display: none; flex: 1; min-width: 0; }
.lead__step.is-active { display: block; }
.lead__step legend { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }
.lead__sub { margin: 24px 0 12px; font-weight: 600; font-size: 15px; }
.lead__error { color: var(--laterite-deep); font-weight: 600; font-size: 14px; min-height: 1.4em; margin-top: 12px; }

.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chip input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fffaf2; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .35s var(--ease-out), border-color .3s, background .3s, color .3s, box-shadow .3s;
}
.chip span i { font-style: normal; font-size: 20px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); display: inline-block; }
.chip span:hover { border-color: var(--laterite); }
.chip input:checked + span { background: var(--laterite); color: var(--ivory); border-color: var(--laterite); box-shadow: 0 12px 24px -12px var(--laterite); }
.chip input:checked + span i { transform: scale(1.3) rotate(-12deg); }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--azulejo); outline-offset: 2px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex: 1 1 auto; }
.seg span { display: block; text-align: center; padding: 13px 16px; border-radius: 100px; border: 1.5px solid var(--line); background: #fffaf2; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .35s var(--ease-out); }
.seg span:hover { border-color: var(--azulejo); }
.seg input:checked + span { background: var(--azulejo); border-color: var(--azulejo); color: var(--ivory); }
.seg--small span { padding: 10px 14px; font-size: 14px; }

.field { position: relative; margin-top: 16px; }
.field input { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 24px 0 10px; outline: none; border-radius: 0; }
.field label { position: absolute; left: 0; top: 24px; color: var(--ink-soft); pointer-events: none; transition: all .35s var(--ease-out); font-size: 16px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--laterite); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--laterite); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input { border-bottom-color: var(--laterite-deep); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.hp { position: absolute; left: -9999px; opacity: 0; }

.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-weight: 600; font-size: 15px; }
.range__out { font-family: var(--f-display); font-style: italic; font-size: 1.7rem; color: var(--laterite); font-weight: 400; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 10px; background: linear-gradient(90deg, var(--laterite) var(--p, 60%), var(--sand) var(--p, 60%)); outline: none; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--laterite); cursor: grab; box-shadow: 0 6px 16px rgba(181, 72, 42, .4); }
.range input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--laterite); cursor: grab; }
.range__ticks { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

.lead__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.lead__back { opacity: 0; pointer-events: none; transition: opacity .3s; }
.lm.is-open .lead.is-step-2 .lead__back, .lm.is-open .lead.is-step-3 .lead__back, .lm.is-open .lead.is-step-4 .lead__back { opacity: 1; pointer-events: auto; }
.lead__next[disabled] { opacity: .6; pointer-events: none; }

.lead__done { display: none; flex: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.lead.is-done .lead__done { display: flex; }
.lead.is-done .lead__step, .lead.is-done .lead__nav, .lead.is-done .lead__count { display: none; }
.lead__done h3 { font-family: var(--f-display); font-weight: 350; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--laterite); }
.lead__done p { color: var(--ink-soft); max-width: 40ch; }
.confetti { position: absolute; width: 20px; height: 20px; background-image: var(--tile); background-size: cover; border-radius: 3px; pointer-events: none; z-index: 5; }

@media (max-width: 820px) {
  .lm { padding: 0; place-items: end center; }
  .lm__panel { grid-template-columns: 1fr; max-height: 94svh; border-radius: 26px 26px 0 0; overflow-y: auto; }
  .lm__scene { padding: 22px 20px 16px; flex-direction: row; align-items: flex-end; gap: 14px; }
  .lm__title { font-size: 1.9rem; flex: 1; }
  .sky { flex: 0 0 150px; min-height: 130px; border-radius: 80px 80px 12px 12px; }
  .sky__sun { width: 26px; height: 26px; }
  .lm__stages { display: none; }
  .lead { min-height: 0; overflow: visible; padding-top: 30px; }
  .lm__close { top: 12px; right: 12px; background: rgba(244, 237, 226, .9); }
}

/* ---------- footer ---------- */
.footer { background: var(--laterite); color: var(--ivory); padding: clamp(70px, 10vw, 120px) var(--pad) 28px; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__big-link { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 5.5vw, 4.6rem); letter-spacing: -.02em; line-height: 1; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease-out); }
.footer__big-link:hover { background-size: 100% 2px; }
.footer__cols { display: flex; gap: 60px; }
.footer__cols h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: 12px; font-weight: 600; }
.footer__cols a { display: block; padding: 3px 0; }
.footer__cols a:hover { color: var(--sun); }
.footer__word { display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 600; font-size: clamp(3.6rem, 17vw, 19rem); line-height: .8; letter-spacing: -.04em; margin: 70px 0 30px; color: var(--ivory); }
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; border-top: 1px solid rgba(244, 237, 226, .25); padding-top: 22px; }
.footer__bottom .hand { color: var(--sun); font-size: 1.5rem; }

/* ---------- whatsapp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 100; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transform: scale(0); transition: transform .5s var(--ease-out); }
.wa-float.is-on { transform: scale(1); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
