/* =========================================================
   Varuthya Design — Goa · "Your ideal Living Space"
   Palette from the studio's visiting card: forest green + gold
   ========================================================= */
:root {
  /* brand (from the Varuthya visiting card): deep forest green + gold */
  --green: #00292b;
  --green-deep: #001c1e;
  --green-mid: #0e4644;
  --gold: #c9a24f;
  --gold-light: #e4c97f;
  --gold-deep: #8a6829;
  --gold-grad: linear-gradient(115deg, #a77d34 0%, #ecd391 38%, #c79c49 62%, #f1dc9e 100%);
  --gold-grad-dark: linear-gradient(115deg, #7a5a1f 0%, #b48b3d 45%, #8a6829 70%, #b08a40 100%);
  --cream: #f7f2e8;
  --sand: #ece3d0;
  --ink: #062223;
  --ink-soft: #4d5f5b;
  --error: #a3402b;
  --line: rgba(0, 41, 43, .14);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-brand: "Jost", "Futura", system-ui, sans-serif;
  --f-hand: "Kaushan Script", cursive;

  --pad: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* arched-window tile: gold arch on brand green */
  --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='%2300292b'/%3E%3Cg fill='none' stroke='%23c9a24f' stroke-width='2'%3E%3Cpath d='M22 74V38a18 18 0 0 1 36 0v36'/%3E%3Cpath d='M28 74V40a12 12 0 0 1 24 0v34' opacity='.45'/%3E%3Cpath d='M14 74h52'/%3E%3Cpath d='M0 18 18 0M62 80 80 62' opacity='.6'/%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(--cream);
  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(--gold); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.hand { font-family: var(--f-hand); font-size: 1.35em; line-height: 1.15; color: var(--gold-deep); }
.eyebrow { font-family: var(--f-brand); font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.2rem; }
.eyebrow--light { color: rgba(247, 242, 232, .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; font-weight: 300; padding-right: .06em; background: var(--gold-grad-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* gold that reads on dark backgrounds */
.title--light em, .projects .title em, .cta__title em, .lm__title em, .hero__title em:not(.hero__hl) { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title--light { color: var(--cream); }

/* ---------- 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(--cream); color: var(--green); }
.btn--light::before { background: var(--gold-grad); }
.btn--light:hover { color: var(--green-deep); }
.btn--dark { background: var(--green); color: var(--cream); }
.btn--dark::before { background: var(--gold-grad); }
.btn--dark:hover { color: var(--green-deep); }
.btn--gold { background: var(--gold-grad); color: var(--green-deep); }
.btn--gold::before { background: var(--cream); }
.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(--green); color: var(--cream); overflow: hidden;
}
.loader > .goldlines { z-index: 0; opacity: .55; }
.loader__mark { width: clamp(96px, 16vw, 140px); height: auto; position: relative; z-index: 2; }
.loader__word { display: flex; gap: .55em; font-family: var(--f-brand); font-weight: 400; font-size: clamp(1.6rem, 4.4vw, 2.6rem); letter-spacing: 0; color: var(--gold); line-height: 1; position: relative; z-index: 2; margin-top: 6px; }
.loader__word span { display: inline-block; }
.loader__line { font-family: var(--f-hand); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--gold); position: relative; z-index: 2; }
.loader__count { position: absolute; z-index: 2; left: 50%; bottom: 36px; translate: -50% 0; font-family: var(--f-brand); font-size: 13px; letter-spacing: .3em; color: rgba(247, 242, 232, .6); }
.loader__panels { position: absolute; inset: 0; display: flex; z-index: 1; pointer-events: none; }
.loader__panels i { flex: 1; background: var(--gold); transform: scaleY(0); transform-origin: bottom; }
.loader__panels i:nth-child(2) { background: var(--green-mid); }
.loader__panels i:nth-child(3) { background: var(--gold-light); }
.loader__panels i:nth-child(4) { background: var(--green-deep); }

/* ---------- 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(--gold); }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(201, 162, 79, .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(201, 162, 79, .1); border-color: var(--gold); }
@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(--cream);
  transition: color .4s, background .4s, padding .4s;
}
.nav.is-solid { background: rgba(0, 41, 43, .88); 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: auto; height: 46px; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .25)); transition: height .4s; }
.nav.is-solid .nav__mark { height: 40px; }
.nav__word { font-family: var(--f-brand); font-weight: 400; font-size: 21px; letter-spacing: .32em; line-height: 1; color: var(--gold-light); text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.nav__word small { display: block; margin-top: 3px; font-family: var(--f-hand); font-size: 14px; letter-spacing: .01em; color: var(--gold); text-shadow: none; }.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(--gold-grad); border-color: transparent !important; color: var(--green-deep) !important; box-shadow: 0 10px 24px -12px rgba(201, 162, 79, .8); }
.nav__cta:hover { background: var(--gold-light); }
.nav__burger { width: 48px; height: 48px; border-radius: 50%; position: relative; background: var(--gold-grad); color: var(--green-deep); }
.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: 17px; letter-spacing: .26em; } .nav__mark { height: 40px; } }

/* ---------- top tabs ---------- */
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 100px; background: rgba(247, 242, 232, .1); border: 1px solid rgba(247, 242, 232, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.nav.is-solid .nav__links { background: rgba(247, 242, 232, .05); border-color: rgba(201, 162, 79, .25); }
.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(--green-deep); }
.nav__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 100px; background: var(--gold-grad); opacity: 0; transition: left .45s var(--ease-out), width .45s var(--ease-out), opacity .3s, background .3s; }
.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(--green); color: var(--cream); border: 1px solid rgba(201, 162, 79, .3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
  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 { background: rgba(247, 242, 232, .07); }
.menu a.is-active { color: var(--gold-light); background: rgba(201, 162, 79, .12); }
.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(--cream); background: var(--green);
}
.hero > .goldlines { z-index: 1; opacity: .7; }
.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(0, 28, 30, .55) 0%, rgba(0, 28, 30, .05) 35%, rgba(0, 28, 30, .25) 60%, rgba(0, 28, 30, .85) 100%),
    linear-gradient(90deg, rgba(0, 28, 30, .6), rgba(0, 28, 30, 0) 65%);
}
.hero__sun {
  position: absolute; width: 38vmin; height: 38vmin; right: 10%; top: 14%;
  border-radius: 50%; background: radial-gradient(circle, rgba(228, 201, 127, .55), rgba(228, 201, 127, 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-family: var(--f-brand); font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; opacity: .9; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(228, 201, 127, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(228, 201, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(228, 201, 127, 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; }
.hero__title .hero__hl { position: relative; color: var(--green-deep); 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='%23d2ac5c'/%3E%3Cpath d='M30 86c90-6 220-2 340-8' stroke='%238a6829' 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(--gold-light); }
.hero__tag { font-family: var(--f-hand); font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--gold-light); margin-top: 14px; }
.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(236, 227, 208, .35); animation: wave 9s ease-in-out infinite alternate; }
.wave--2 { fill: var(--green); animation: wave 7s ease-in-out infinite alternate-reverse; }
@keyframes wave { to { transform: translateX(-60px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--green); color: var(--gold-light); overflow: hidden; padding: 16px 0 22px; border-bottom: 1px solid rgba(201, 162, 79, .35); }
.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(--gold); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- studio: art meets science (drag between the drawing and the home) ---------- */
.studio { position: relative; background: var(--sand); padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.studio::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 41, 43, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 41, 43, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.studio__inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.studio__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(34px, 4.5vw, 56px); }
.studio__head .title { margin-top: 12px; }
.studio__lede { color: var(--ink-soft); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 48ch; }

/* the compare frame */
.cmp { --pos: 50%; position: relative; height: clamp(360px, 48vw, 560px); border-radius: 30px; overflow: hidden; border: 2px solid var(--green); box-shadow: 0 0 0 7px var(--sand), 0 0 0 8px rgba(138, 104, 41, .5), 0 50px 90px -50px rgba(0, 41, 43, .5); background: var(--green); cursor: ew-resize; touch-action: pan-y; user-select: none; isolation: isolate; }
.cmp figure { position: absolute; inset: 0; margin: 0; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp__sci { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: var(--green-mid); }
.cmp__sci img { filter: grayscale(1) contrast(1.5) brightness(1.25); mix-blend-mode: luminosity; opacity: .38; }
.cmp__sci::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(228, 201, 127, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(228, 201, 127, .16) 1px, transparent 1px); background-size: 40px 40px; }
.cmp__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold-light); stroke-width: 2; }
.cmp__lines path { vector-effect: non-scaling-stroke; }
.cmp__sun { stroke-dasharray: 2 8; stroke-width: 3; stroke-linecap: round; }
.cmp__air { stroke-dasharray: 10 8; animation: glFlow 1.4s linear infinite; }
.cmp__dim { stroke-width: 1.5; }

.cmp__tag { position: absolute; top: 22px; z-index: 2; padding: 9px 16px; border-radius: 999px; font-family: var(--f-brand); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.cmp__tag em { font-family: var(--f-display); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 15px; }
.cmp__tag--sci { left: 22px; background: var(--green-deep); color: var(--gold-light); border: 1px solid rgba(228, 201, 127, .5); }
.cmp__tag--art { right: 22px; background: #fffdf8; color: var(--green); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.cmp__label { position: absolute; z-index: 2; font-family: var(--f-brand); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.cmp__label--sun { left: 30%; top: 12%; }
.cmp__label--air { left: 14%; top: 60%; }
.cmp__label--dim { left: 50%; bottom: calc(60px + 9%); translate: -50% 0; }
.cmp__note { position: absolute; z-index: 1; padding: 9px 15px; border-radius: 999px; background: rgba(255, 253, 248, .94); color: var(--green); font-size: 13.5px; font-weight: 700; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); white-space: nowrap; animation: offerFloat 6s ease-in-out infinite; }
.cmp__note--1 { right: 7%; top: 30%; }
.cmp__note--2 { right: 18%; top: 55%; animation-delay: -2s; }
.cmp__note--3 { right: 6%; bottom: calc(60px + 6%); background: var(--green); color: var(--gold-light); font-weight: 400; font-size: 1.3rem; padding: 6px 18px; animation-delay: -4s; }

.cmp__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: var(--gold-light); box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.cmp__handle span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: var(--green-deep); font-size: 22px; font-weight: 700; box-shadow: 0 0 0 6px rgba(255, 253, 248, .35), 0 12px 26px -8px rgba(0, 0, 0, .5); }
.cmp__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.cmp:has(.cmp__range:focus-visible) .cmp__handle span { outline: 3px solid var(--gold-deep); outline-offset: 3px; }

/* four promises: framed cards overlapping the photo's bottom edge */
.promises { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -60px 28px 0; }
.promise { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: #fffdf8; border: 1px solid rgba(0, 41, 43, .12); border-top: 3px solid var(--green); box-shadow: 0 30px 60px -40px rgba(0, 41, 43, .55); transition: translate .5s var(--ease-out), border-color .4s; }
.promise:hover { translate: 0 -6px; border-top-color: var(--gold); }
.promise__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: var(--gold-light); }
.promise__icon svg { width: 28px; height: 28px; }
.promise__n { position: absolute; top: 22px; right: 22px; font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: transparent; -webkit-text-stroke: 1px var(--gold-deep); }
.promise h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.15; margin: 18px 0 6px; color: var(--green); }
.promise p { color: var(--ink-soft); font-size: 15px; }

@media (max-width: 960px) {
  .studio__head { grid-template-columns: 1fr; align-items: start; }
  .promises { grid-template-columns: 1fr 1fr; margin: -40px 14px 0; }
}
@media (max-width: 560px) {
  .cmp { height: 420px; }
  .cmp__note--2, .cmp__label--air, .cmp__label--dim, .cmp__dim { display: none; }
  .cmp__tag { top: 14px; font-size: 10.5px; padding: 7px 11px; }
  .cmp__tag--sci { left: 14px; } .cmp__tag--art { right: 14px; }
  .cmp__tag em { font-size: 13px; }
  .promises { grid-template-columns: 1fr; margin: -30px 8px 0; }
}
@media (prefers-reduced-motion: reduce) { .cmp__air, .cmp__note { animation: none; } }
/* ---------- 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(--cream); 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(--green); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.service:hover { color: var(--cream); 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; color: var(--gold-deep); }
.service:hover .service__num, .service:hover .service__name em, .service:hover .service__arrow { color: var(--gold-light); }
.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(247, 242, 232, .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 { position: relative; padding: clamp(90px, 12vw, 160px) var(--pad) clamp(90px, 10vw, 140px); background: var(--green-deep); color: var(--cream); }
.projects > .goldlines { opacity: .35; }
.projects__head, .stack { position: relative; }
.projects .eyebrow { color: rgba(247, 242, 232, .6); }
.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;
  border: 1px solid rgba(201, 162, 79, .28);
  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(201, 162, 79, .6); color: var(--gold-light); 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.35rem; color: var(--gold-light); 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(--cream); 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(--gold); 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: #fbf8f1; border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: relative; box-shadow: 0 20px 40px -30px rgba(0, 28, 30, .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(--green); color: var(--gold-light); border: 1px solid var(--gold); 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(--green); border: 1px solid rgba(201, 162, 79, .45);
}
/* faint arched-window tiles inside the arch */
.founder__arch::before { content: ""; position: absolute; inset: 0; background-image: var(--tile); background-size: 84px; opacity: .22; }
/* 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(--gold-light); box-shadow: 0 0 60px 20px rgba(228, 201, 127, .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 6px var(--gold), 0 0 0 12px var(--green), 0 30px 50px -20px rgba(0, 28, 30, .6);
}
.founder__badge { position: absolute; right: -10px; bottom: 40px; width: 110px; height: 110px; border-radius: 50%; background: var(--gold-grad); color: var(--green-deep); display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-size: 2.4rem; animation: spin 18s linear infinite; }
@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__role { font-family: var(--f-brand); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-top: 10px; }
.founder__quote { margin-top: 30px; font-size: 1.7rem; }
@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(--gold); 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(--gold-deep); }
.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(--gold-light); font-family: var(--f-display); font-style: italic; font-size: 17px; border: 1px solid rgba(201, 162, 79, .5);
}
.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(--green-deep); color: var(--cream); 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(0, 28, 30, .55), rgba(0, 28, 30, .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; }
.cta__orb { position: relative; width: 190px; height: 190px; margin-top: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--green-deep); }
.cta__orb::before { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: var(--gold-grad); transition: transform .6s var(--ease-out), background .4s; box-shadow: 0 0 0 0 rgba(201, 162, 79, .5); animation: orbPulse 2.6s infinite; }
.cta__orb:hover::before { background: var(--gold-light); }
@keyframes orbPulse { 70% { box-shadow: 0 0 0 26px rgba(201, 162, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 162, 79, 0); } }
.cta__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.cta__ring text { fill: var(--gold-light); 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(0, 28, 30, .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(--cream); 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(--green); color: var(--gold-light); }

.lm__scene { background: var(--green); color: var(--cream); 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: .14; }
.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(--gold-light); }

.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(--cream); } .b-roof { fill: var(--gold); }
.b-line { stroke: rgba(0, 28, 30, .15); stroke-width: 1.5; fill: none; }
.b-door { fill: var(--green-mid); } .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(247, 242, 232, .25); opacity: .55; transition: opacity .4s, border-color .4s; }
.lm__stages li.is-on { opacity: 1; border-color: var(--gold-light); }

.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(--green-mid), var(--gold)); 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(--gold-deep); }
.lead__stage { font-family: var(--f-hand); font-size: 1.15rem; color: var(--gold-deep); 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(--error); 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: #fbf8f1; 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(--gold); }
.chip input:checked + span { background: var(--green); color: var(--cream); border-color: var(--gold); box-shadow: 0 12px 24px -12px var(--green); }
.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(--green-mid); 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: #fbf8f1; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .35s var(--ease-out); }
.seg span:hover { border-color: var(--green-mid); }
.seg input:checked + span { background: var(--green-mid); border-color: var(--green-mid); color: var(--cream); }
.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(--gold-deep); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); 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(--error); 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(--gold-deep); font-weight: 400; }
.range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 10px; background: linear-gradient(90deg, var(--gold) 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(--cream); border: 3px solid var(--gold); cursor: grab; box-shadow: 0 6px 16px rgba(201, 162, 79, .4); }
.range input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); 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(--green); }
.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(247, 242, 232, .9); }
}

/* ---------- footer ---------- */
.footer { position: relative; background: var(--green-deep); color: var(--cream); border-top: 1px solid rgba(201, 162, 79, .35); 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 > .goldlines { opacity: .3; }
.footer__top, .footer__word, .footer__bottom { position: relative; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px 60px; }
.footer__cols address { font-style: normal; max-width: 24ch; opacity: .85; }
.footer__cols h4 { font-family: var(--f-brand); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.footer__cols a { display: block; padding: 3px 0; }
.footer__cols a:hover { color: var(--gold-light); }
.footer__word { display: flex; justify-content: space-between; font-family: var(--f-brand); font-weight: 400; font-size: clamp(3.2rem, 14vw, 15rem); line-height: .9; margin: 70px 0 10px; color: var(--gold); }
.footer__tag { position: relative; text-align: right; font-family: var(--f-hand); font-size: clamp(1.3rem, 3vw, 2.4rem); color: var(--gold); margin-bottom: 40px; }
.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(201, 162, 79, .3); padding-top: 22px; }
.footer__bottom .hand { color: var(--gold-light); font-size: 1.2rem; }

/* ---------- 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; }
}

/* ---------- gold lines (the visiting-card motif) ---------- */
.goldlines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.goldlines .faint { opacity: .35; }

/* ---------- visit / contact: the card ---------- */
.visit { position: relative; background: var(--cream); padding: clamp(90px, 12vw, 160px) var(--pad) clamp(70px, 8vw, 110px); overflow: hidden; }
.visit__inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.visit__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); margin: 22px 0 30px; max-width: 42ch; }
.visit__list { list-style: none; border-top: 1px solid var(--line); }
.visit__list a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.visit__list a:hover { color: var(--gold-deep); }
.visit__list small { display: block; font-family: var(--f-brand); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.visit__list b { font-weight: 600; font-size: 16.5px; }
.ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--green-deep); }
.ico svg { width: 20px; height: 20px; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit__btns .btn--ghost { padding-left: 1.2em; color: var(--green); }

/* the visiting card itself: flips between front and back */
.vcard { position: relative; perspective: 1600px; container-type: inline-size; }
.vcard__tilt { transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.vcard__inner { position: relative; aspect-ratio: 1.6; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1); cursor: pointer; }
.vcard.is-flipped .vcard__inner { transform: rotateY(180deg); }
.vcard__face {
  position: absolute; inset: 0; border-radius: 3.2cqw; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #053a3b, var(--green) 55%, #00211f);
  color: var(--gold); box-shadow: 0 40px 80px -30px rgba(0, 28, 30, .65), 0 0 0 1px rgba(201, 162, 79, .25) inset;
}
.vcard__face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 240, 200, .14) 45%, transparent 60%); translate: var(--shine, -60%) 0; transition: translate 1.2s var(--ease-out); pointer-events: none; }
.vcard:hover .vcard__face::after { --shine: 60%; }
.vcard__face .goldlines { stroke-width: 1.6; }
.vcard__back { transform: rotateY(180deg); }

.vcard__front { display: grid; place-items: center; }
.vcard img { height: auto; }
.vcard__lockup { width: 52cqw; margin-top: -6cqw; position: relative; }
.vcard__web { position: absolute; left: 4.5cqw; right: 4.5cqw; bottom: 5cqw; display: flex; align-items: center; gap: 3cqw; font-family: var(--f-brand); font-size: 3.4cqw; letter-spacing: .06em; color: var(--gold); white-space: nowrap; }
.vcard__web::before, .vcard__web::after { content: ""; flex: 1; height: .55cqw; border-radius: 1cqw; background: var(--gold-grad); }

.vcard__back { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; padding: 4cqw 4.5cqw 4.5cqw 6cqw; column-gap: 4cqw; }
.vcard__brand { display: grid; justify-items: start; position: relative; padding-right: 4cqw; border-right: .25cqw solid var(--gold); }
.vcard__brand img { width: 28cqw; }
.vcard__who { text-align: right; align-self: center; position: relative; }
.vcard__who b { display: block; font-family: var(--f-body); font-weight: 800; font-size: 3.6cqw; letter-spacing: .01em; color: var(--gold); line-height: 1.1; }
.vcard__who span { display: block; font-size: 2.4cqw; color: var(--gold); margin-top: .6cqw; }
.vcard__svc { list-style: none; align-self: end; font-family: var(--f-brand); font-size: 2.3cqw; letter-spacing: .05em; text-transform: uppercase; line-height: 1.75; white-space: nowrap; position: relative; }
.vcard__svc li::before { content: "•"; margin-right: 1.8cqw; }
.vcard__contact { list-style: none; align-self: end; text-align: right; font-family: var(--f-brand); font-size: 2.35cqw; letter-spacing: .04em; line-height: 1.4; position: relative; }
.vcard__contact li { display: flex; justify-content: flex-end; align-items: center; gap: 2cqw; margin-top: 1.4cqw; }
.vcard__contact i { flex-shrink: 0; width: 4.8cqw; height: 4.8cqw; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--green); font-style: normal; }
.vcard__contact i svg { width: 2.6cqw; height: 2.6cqw; }
.vcard__hint { text-align: center; margin-top: 18px; font-size: 1.25rem; }

.visit__map { max-width: 1300px; margin: clamp(56px, 7vw, 90px) auto 0; border-radius: 26px; overflow: hidden; border: 1px solid rgba(201, 162, 79, .45); background: var(--sand); }
.visit__map iframe { display: block; width: 100%; height: clamp(260px, 34vw, 420px); border: 0; filter: saturate(.75) sepia(.12); }

@media (max-width: 960px) {
  .visit__inner { grid-template-columns: 1fr; }
  .vcard { max-width: 620px; width: 100%; margin: 0 auto; }
}

/* ---------- HOME CARE: property management for holiday homes ---------- */
.care__new { display: inline-block; vertical-align: middle; padding: 3px 9px 2px; border-radius: 100px; background: var(--gold-grad); color: var(--green-deep); font-family: var(--f-brand); font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.nav__links a.has-new::after { content: ""; position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(228, 201, 127, .7); animation: pulse 2s infinite; }
.hero__news { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 16px 6px 6px; border-radius: 100px; background: rgba(0, 28, 30, .45); border: 1px solid rgba(201, 162, 79, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; transition: background .3s; }
.hero__news:hover { background: rgba(0, 41, 43, .75); }
.hero__news b { color: var(--gold-light); }
.service__name .care__new { margin-left: 8px; font-size: 10px; }

.care { position: relative; background: var(--sand); padding: clamp(90px, 12vw, 160px) var(--pad); border-top: 1px solid rgba(201, 162, 79, .4); }
.care__inner { max-width: 1300px; margin: 0 auto; }
.care__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.care__head .eyebrow { display: flex; align-items: center; gap: 12px; }
.care__lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); margin-top: 22px; max-width: 56ch; }
.care__body { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }

.planner { background: var(--cream); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(0, 28, 30, .5); }
.planner__step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin: 0 0 14px; }
.planner__step span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold-light); font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 14px; }
.ctiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 26px; }
.ctile input { position: absolute; opacity: 0; pointer-events: none; }
.ctile span { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; padding: 13px 40px 13px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fbf8f1; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.ctile svg { grid-row: span 2; width: 32px; height: 32px; color: var(--gold-deep); transition: color .3s; }
.ctile b { font-size: 14.5px; line-height: 1.25; }
.ctile small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; transition: color .3s; }
.ctile span::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .3s, border-color .3s; }
.ctile span:hover { border-color: var(--gold); }
.ctile input:checked + span { background: var(--green); border-color: var(--green); color: var(--cream); }
.ctile input:checked + span svg { color: var(--gold-light); }
.ctile input:checked + span small { color: rgba(247, 242, 232, .7); }
.ctile input:checked + span::after { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.5 2.6 2.5L13 6.5' fill='none' stroke='%23001c1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ctile input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.planner__row { display: grid; grid-template-columns: auto 1fr; gap: 22px 28px; }
.planner .seg span { background: #fbf8f1; }
.planner .seg input:checked + span { background: var(--green); border-color: var(--green); }
.planner__sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 18px 18px 18px 22px; border-radius: 20px; background: var(--green); color: var(--cream); }
.planner__sum small { font-family: var(--f-brand); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.planner__text { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.25; margin-top: 2px; }

/* phone with a sample visit report */
.phone { position: sticky; top: 110px; margin: 0 auto; width: min(340px, 100%); }
.phone__screen { border-radius: 40px; overflow: hidden; background: #e9e2d2; border: 10px solid var(--green-deep); box-shadow: 0 0 0 1px rgba(201, 162, 79, .5), 0 50px 80px -40px rgba(0, 28, 30, .7); }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; background: var(--green); color: var(--cream); }
.phone__bar img { width: 36px; height: 36px; object-fit: contain; padding: 4px; border-radius: 50%; background: var(--green-deep); border: 1px solid rgba(201, 162, 79, .5); }
.phone__bar b { display: block; font-size: 14.5px; }
.phone__bar small { font-size: 12px; color: var(--gold-light); }
.phone__chat { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 20px; min-height: 470px; background-image: var(--tile); background-size: 70px; background-blend-mode: soft-light; background-color: #e9e2d2; }
.msg { align-self: flex-start; max-width: 86%; padding: 9px 12px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 13.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg--me { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: #d6efc9; }
.msg--pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
.msg--pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.msg--typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .5; animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: 1; } 60% { transform: none; opacity: .5; } }
.phone figcaption { text-align: center; margin-top: 14px; font-size: 1.15rem; }

.care__why { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(50px, 6vw, 80px); padding-top: 30px; border-top: 1px solid var(--line); }
.care__why b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; margin-bottom: 6px; }
.care__why span { color: var(--ink-soft); font-size: 15.5px; }

.chip--wide { grid-column: 1 / -1; }
.chip--wide em { margin-left: auto; }

@media (max-width: 960px) {
  .care__body { grid-template-columns: 1fr; }
  .phone { position: relative; top: 0; }
  .care__why { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ctiles { grid-template-columns: 1fr; }
  .planner__row { grid-template-columns: 1fr; }
  .planner__go { width: 100%; justify-content: center; }
}
.lead.is-care-only [data-build-only] { display: none; }
