:root {
  --ink: #07100f;
  --paper: #f5f1e8;
  --mist: rgba(255, 255, 255, 0.68);
  --line: rgba(7, 16, 15, 0.14);
  --lime: #cbff45;
  --teal: #19d8bd;
  --coral: #ff6f61;
  --violet: #8567ff;
  --bronze: #b89262;
  --shadow: 0 24px 70px rgba(7, 16, 15, 0.18);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.06) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(7, 16, 15, 0.05) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 20% 8%, rgba(203, 255, 69, 0.32), transparent 34vw),
    radial-gradient(circle at 82% 18%, rgba(25, 216, 189, 0.28), transparent 30vw),
    var(--paper);
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: 0.18;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 97, 0.26), rgba(20, 118, 255, 0.12) 34%, transparent 68%);
  filter: blur(14px);
  opacity: 0.78;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

main, .site-footer { position: relative; z-index: 2; overflow-x: clip; }

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px;
  border: 1px solid rgba(7, 16, 15, 0.12);
  border-radius: var(--radius);
  background: rgba(245, 241, 232, 0.76);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 50px rgba(7, 16, 15, 0.1);
  transform: translateX(-50%);
}

.brand, .main-nav, .header-actions, .hero-actions, .case-stats, .site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 950;
}

.brand-mark {
  display: grid;
  width: 66px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: #0d0d0c;
  box-shadow: inset 0 0 0 1px rgba(184, 146, 98, 0.32);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(1.05) contrast(1.04);
}

.brand-name {
  letter-spacing: 0;
  white-space: nowrap;
}

.main-nav {
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  font-size: 0.92rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { justify-content: flex-end; gap: 8px; }

.nav-cta, .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 950;
}

.nav-cta {
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
}

.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.74fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: 92vh;
  padding: clamp(130px, 16vh, 190px) clamp(20px, 6vw, 84px) clamp(42px, 8vh, 86px);
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 3; }

.hero-logo-card {
  display: grid;
  width: min(360px, 72vw);
  margin-bottom: 24px;
  border: 1px solid rgba(184, 146, 98, 0.26);
  border-radius: var(--radius);
  background: #10100f;
  box-shadow: 0 22px 70px rgba(7, 16, 15, 0.2);
  overflow: hidden;
}

.hero-logo-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: 4vh;
  width: min(58vw, 760px);
  aspect-ratio: 1.35;
  border: 1px solid rgba(7, 16, 15, 0.16);
  content: "";
  background:
    linear-gradient(115deg, transparent 8%, rgba(255, 255, 255, 0.56) 8% 10%, transparent 10% 18%, rgba(7, 16, 15, 0.08) 18% 19%, transparent 19%),
    radial-gradient(circle at 72% 24%, rgba(203, 255, 69, 0.55), transparent 18%),
    radial-gradient(circle at 24% 78%, rgba(20, 118, 255, 0.3), transparent 22%),
    rgba(255, 255, 255, 0.28);
  clip-path: polygon(10% 0, 100% 18%, 88% 100%, 0 82%);
  animation: floatShape 8s ease-in-out infinite;
  z-index: -1;
}

.eyebrow, .section-kicker, .case-type {
  margin: 0 0 16px;
  color: #24554d;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  width: min-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(4.2rem, 10.4vw, 11rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(1.18rem, 2.3vw, 2.25rem);
  line-height: 1.12;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  min-width: 178px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(7, 16, 15, 0.16);
}

.button:hover::before { transform: translateX(120%); }
.primary { color: var(--ink); background: var(--lime); }
.secondary { background: rgba(255, 255, 255, 0.5); }

.hero-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 720px);
  perspective: 1400px;
}

.hero-device::before {
  position: absolute;
  inset: 8% -8% 10% 8%;
  border: 1px solid rgba(7, 16, 15, 0.12);
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%),
    radial-gradient(circle at 76% 18%, rgba(203, 255, 69, 0.42), transparent 24%),
    radial-gradient(circle at 16% 80%, rgba(25, 216, 189, 0.34), transparent 28%);
  clip-path: polygon(8% 0, 100% 12%, 88% 100%, 0 84%);
  animation: floatShape 8s ease-in-out infinite;
}

.project-tablet {
  position: relative;
  z-index: 2;
  width: min(42vw, 560px);
  min-width: 320px;
  aspect-ratio: 4 / 5.4;
  padding: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: clamp(22px, 2.4vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(12, 14, 14, 0.16) 24%, rgba(5, 7, 7, 0.94) 70%),
    #111;
  box-shadow: 0 42px 90px rgba(7, 16, 15, 0.34), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotateX(8deg) rotateY(-13deg) rotateZ(2deg);
  transform-style: preserve-3d;
  animation: tabletFloat 6.5s ease-in-out infinite;
}

.project-tablet::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.24) 42%, transparent 52%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.tablet-camera {
  position: absolute;
  top: 50%;
  right: 7px;
  z-index: 4;
  width: 6px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%);
}

.tablet-screen {
  position: relative;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(16px, 1.8vw, 24px);
  background: #0a0d0c;
  overflow: hidden;
}

.plan-ui {
  min-height: 100%;
  padding: 24px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(245,241,232,.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(245,241,232,.08) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 28% 18%, rgba(203,255,69,.24), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(25,216,189,.18), transparent 28%),
    #0b0d0c;
}

.plan-top span, .plan-top strong { display: block; }
.plan-top span { color: var(--lime); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.plan-top strong { margin-top: 8px; font-size: clamp(2rem, 4vw, 4.6rem); line-height: .9; text-transform: uppercase; }

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 36px;
}

.plan-grid span {
  min-height: 92px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: var(--radius);
  background: rgba(245, 241, 232, 0.08);
}

.plan-grid span:nth-child(2) { background: rgba(203, 255, 69, 0.16); }
.plan-grid span:nth-child(3) { background: rgba(25, 216, 189, 0.14); }

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 34px;
}

.plan-metrics div {
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(245, 241, 232, 0.08);
}

.plan-metrics strong, .plan-metrics small { display: block; }
.plan-metrics strong { color: var(--lime); font-size: 1.45rem; }
.plan-metrics small { color: rgba(245,241,232,.64); margin-top: 4px; }

.device-shadow {
  position: absolute;
  z-index: 1;
  bottom: 8%;
  left: 14%;
  width: 76%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(20, 118, 255, 0.22), rgba(25, 216, 189, 0.14) 38%, transparent 72%);
  filter: blur(18px);
  animation: shadowPulse 6.5s ease-in-out infinite;
}

.brand-proof {
  display: grid;
  gap: 10px;
  margin: 0 clamp(20px, 6vw, 84px) 50px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.36);
  box-shadow: 0 14px 40px rgba(7,16,15,.08);
}

.brand-proof p, .brand-proof span { margin: 0; color: rgba(7,16,15,.68); font-weight: 750; }
.brand-proof strong { font-size: clamp(2rem, 5vw, 4.4rem); line-height: .9; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scrollTicker 24s linear infinite;
}

.ticker span {
  padding: 20px 34px;
  color: var(--lime);
  font-size: clamp(0.92rem, 1.6vw, 1.25rem);
  font-weight: 950;
  text-transform: uppercase;
}

.section, .showcase, .team, .contact, .stack-band {
  padding: clamp(72px, 10vw, 138px) clamp(20px, 6vw, 84px);
}

.intro { max-width: 1120px; }

.intro h2, .section-heading h2, .stack-copy h2, .contact h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5.6vw, 6.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.intro p, .section-heading p, .stack-copy p, .contact-copy p {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(7, 16, 15, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  font-weight: 650;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  gap: clamp(22px, 5vw, 74px);
  align-items: end;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(203,255,69,.38), transparent 68%);
  filter: blur(5px);
}

.card-index {
  color: var(--coral);
  font-weight: 950;
}

.service-card h3, .case-card h3, .process-step h3 {
  margin: 96px 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1;
}

.service-card p, .case-card p, .process-step p {
  margin: 14px 0 0;
  color: rgba(7, 16, 15, 0.68);
  font-weight: 650;
  line-height: 1.48;
}

.showcase {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 111, 97, 0.18), transparent 28vw),
    radial-gradient(circle at 92% 18%, rgba(133, 103, 255, 0.18), transparent 30vw);
}

.text-link {
  justify-self: start;
  border-bottom: 2px solid var(--coral);
  font-weight: 950;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  display: grid;
  min-height: 560px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow);
}

.case-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1513;
}

.case-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(245,241,232,.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(245,241,232,.08) 1px, transparent 1px) 0 0 / 34px 34px;
}

.case-visual span { position: absolute; border-radius: var(--radius); }
.masterplan span:nth-child(1) { inset: 18% 54% 18% 12%; border: 1px solid var(--lime); }
.masterplan span:nth-child(2) { inset: 24% 16% 54% 48%; background: var(--teal); }
.masterplan span:nth-child(3) { inset: 58% 18% 20% 42%; background: var(--coral); }
.tower span:nth-child(1) { left: 20%; bottom: 18%; width: 18%; height: 62%; background: var(--lime); }
.tower span:nth-child(2) { left: 44%; bottom: 18%; width: 18%; height: 78%; background: var(--teal); }
.tower span:nth-child(3) { left: 68%; bottom: 18%; width: 18%; height: 48%; background: var(--violet); }
.interior span:nth-child(1) { inset: 18% 18% 58% 18%; background: rgba(245,241,232,.22); }
.interior span:nth-child(2) { inset: 46% 52% 18% 16%; background: var(--bronze); }
.interior span:nth-child(3) { inset: 44% 16% 18% 54%; background: rgba(203,255,69,.38); }

.case-type { margin: 18px 10px 0; color: var(--coral); }
.case-card h3 { margin: 14px 10px 0; }
.case-stats { gap: 8px; flex-wrap: wrap; margin: 20px 10px 8px; align-self: end; }
.case-stats span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; font-size: .78rem; font-weight: 900; }

.project-showcase {
  padding-inline: clamp(14px, 3vw, 48px);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 111, 97, 0.14), transparent 28vw),
    radial-gradient(circle at 92% 18%, rgba(25, 216, 189, 0.18), transparent 30vw),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.project-showcase .section-heading h2 {
  font-size: clamp(3.3rem, 8.2vw, 9.4rem);
  line-height: 0.88;
}

.project-showcase .section-heading p {
  font-size: clamp(1.18rem, 2.1vw, 1.7rem);
}

.resort-hero {
  position: relative;
  min-height: min(82vw, 980px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--ink);
}

.resort-hero img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
}

.resort-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(7, 16, 15, 0.86));
  pointer-events: none;
}

.resort-hero-copy {
  position: absolute;
  right: clamp(16px, 4vw, 42px);
  bottom: clamp(16px, 4vw, 42px);
  left: clamp(16px, 4vw, 42px);
  z-index: 1;
  max-width: 980px;
  color: var(--paper);
}

.resort-hero-copy h3 {
  margin: 0;
  max-width: 1320px;
  font-size: clamp(2.2rem, 5.8vw, 7.2rem);
  line-height: 0.88;
}

.resort-hero-copy .case-stats span {
  border-color: rgba(245, 241, 232, 0.22);
  background: rgba(245, 241, 232, 0.08);
}

.resort-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.66fr);
  gap: 22px;
  margin-top: 22px;
}

.media-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-card img,
.media-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 44%, rgba(7, 16, 15, 0.82));
  pointer-events: none;
}

.media-card > div {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: var(--paper);
}

.media-card h3 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(1.65rem, 3.1vw, 3.4rem);
  line-height: 0.96;
}

.media-card .case-type {
  color: var(--lime);
}

.media-card.wide {
  min-height: 680px;
}

.media-card.tall {
  grid-row: span 2;
  min-height: 1040px;
}

.media-card.tall img {
  object-fit: contain;
  background: #c7bdb4;
}

.media-card.full {
  grid-column: 1 / 2;
  min-height: 680px;
}

.media-card.full img {
  object-fit: contain;
  background: #6f742b;
}

.video-card {
  grid-column: 1 / -1;
  min-height: min(54vw, 680px);
  background: #0b0d0c;
}

.video-card video {
  object-fit: cover;
}

.team {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(246, 221, 176, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(246, 221, 176, 0.05) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(circle at 18% 16%, rgba(205, 152, 72, 0.24), transparent 30vw),
    radial-gradient(circle at 88% 26%, rgba(25, 216, 189, 0.15), transparent 28vw),
    linear-gradient(145deg, #0b0d0f, #1d1711 62%, #070908);
}

.team .section-kicker { color: #efc277; }
.team .section-heading p { color: rgba(255,245,223,.7); }

.team-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 34px;
  background: rgba(246, 221, 176, 0.14);
}

.team-ribbon span {
  min-height: 70px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  color: var(--lime);
  font-weight: 950;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(246, 221, 176, 0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  overflow: hidden;
}

.team-photo {
  position: relative;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
}

.team-photo::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(246, 221, 176, 0.18);
  border-radius: var(--radius);
  content: "";
  z-index: 1;
  pointer-events: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.03);
  transition: transform 260ms ease, filter 260ms ease;
}

.team-card:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.045);
}

.team-card-copy { padding: 14px; }
.team-card-copy span { display: inline-flex; margin-bottom: 9px; color: var(--coral); font-size: .66rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.team-card h3 { margin: 0; font-size: clamp(.94rem, .98vw, 1.18rem); line-height: .96; }
.team-card p { margin: 7px 0 0; color: rgba(255,245,223,.64); font-size: .76rem; line-height: 1.18; font-weight: 850; }

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.process-step {
  min-height: 300px;
  padding: 24px;
  background: rgba(245, 241, 232, 0.84);
}

.process-step span { color: var(--coral); font-weight: 950; }

.stack-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 7vw, 92px);
  align-items: center;
  min-height: 680px;
  color: var(--paper);
  background: linear-gradient(115deg, rgba(11, 21, 19, 0.98), rgba(9, 24, 42, 0.94)), #0b1513;
  overflow: hidden;
}

.stack-orbit {
  position: relative;
  width: min(58vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 241, 232, 0.28);
  border-radius: 50%;
  animation: spinPrism 18s linear infinite;
}

.stack-orbit::before, .stack-orbit::after {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(245, 241, 232, 0.22);
  border-radius: 50%;
  content: "";
}

.stack-orbit::after {
  inset: 32%;
  background: radial-gradient(circle, var(--lime), transparent 62%);
  filter: blur(8px);
}

.stack-orbit span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 32px currentColor;
}

.stack-orbit span:nth-child(1) { top: -11px; left: 50%; }
.stack-orbit span:nth-child(2) { right: 8%; top: 72%; background: var(--coral); }
.stack-orbit span:nth-child(3) { left: 4%; top: 34%; background: var(--lime); }
.stack-orbit span:nth-child(4) { left: 72%; top: 16%; background: var(--violet); }
.stack-copy p { color: rgba(245, 241, 232, 0.7); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.5fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.contact-form label { display: grid; gap: 8px; font-weight: 950; }

.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid rgba(7, 16, 15, 0.18);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(245, 241, 232, 0.9);
  outline: none;
  resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 216, 189, 0.18);
}

.form-note { margin: 0; color: rgba(7,16,15,.62); font-size: .84rem; font-weight: 700; }

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(7, 16, 15, 0.2);
  border-radius: var(--radius);
  padding: 0 18px 0 48px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(245, 241, 232, 0.72));
  box-shadow: 0 12px 30px rgba(7, 16, 15, 0.08);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 950;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-methods a::before {
  position: absolute;
  left: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: .78rem;
}

.contact-phone::before { content: "☎"; }
.contact-email::before { content: "@"; }
.contact-methods a:hover { border-color: var(--teal); box-shadow: 0 18px 38px rgba(7, 16, 15, 0.12); transform: translateY(-2px); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  font-weight: 950;
}

.site-footer > div { display: grid; gap: 8px; }
.site-footer span:last-child, .site-footer a { color: rgba(7,16,15,.62); font-size: .86rem; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatShape { 50% { transform: translate3d(-2vw, -2vh, 0) rotate(2deg); } }
@keyframes tabletFloat {
  0%, 100% { transform: rotateX(8deg) rotateY(-13deg) rotateZ(2deg) translate3d(0, 0, 0); }
  50% { transform: rotateX(5deg) rotateY(-9deg) rotateZ(-1deg) translate3d(-10px, -18px, 0); }
}
@keyframes shadowPulse { 50% { opacity: .58; transform: scale(.92) translateY(10px); } }
@keyframes scrollTicker { to { transform: translateX(-50%); } }
@keyframes spinPrism { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; width: min(820px, calc(100% - 24px)); }
  .main-nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 16, 15, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 23;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(7, 16, 15, 0.12);
    border-radius: var(--radius);
    background: rgba(245, 241, 232, 0.94);
    box-shadow: 0 20px 60px rgba(7, 16, 15, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(22px);
  }
  .site-header.menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 16, 15, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.34);
    font-weight: 950;
  }
  .hero, .section-heading, .contact, .stack-band { grid-template-columns: 1fr; }
  .hero { gap: 52px; min-height: auto; padding-top: 124px; }
  .hero h1 { width: auto; }
  .project-tablet { width: min(72vw, 520px); min-width: 0; }
  .service-grid, .process-rail, .team-ribbon, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resort-media-grid { grid-template-columns: 1fr; }
  .media-card.tall,
  .media-card.full,
  .video-card { grid-column: auto; grid-row: auto; }
  .media-card.tall { min-height: 820px; }
}

@media (max-width: 640px) {
  .site-header { top: 10px; width: calc(100% - 16px); min-height: 58px; padding: 8px; grid-template-columns: auto auto; justify-content: space-between; }
  .brand-name { display: none; }
  .brand-mark { width: 54px; height: 36px; }
  .nav-cta { padding-inline: 10px; font-size: .74rem; min-height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
  .mobile-menu { grid-template-columns: 1fr 1fr; }
  .hero { gap: 30px; padding: 112px 16px 58px; }
  .hero h1 { font-size: clamp(2.65rem, 13.5vw, 4.05rem); line-height: .9; }
  .hero-lead { margin-top: 22px; font-size: 1.08rem; line-height: 1.28; }
  .button { width: 100%; }
  .project-tablet { width: min(78vw, 320px); transform: rotateX(5deg) rotateY(-6deg) rotateZ(1deg); }
  .hero-device { min-height: 390px; }
  .section, .showcase, .team, .contact, .stack-band { padding: 72px 18px; }
  .intro h2, .section-heading h2, .stack-copy h2, .contact h2 { font-size: clamp(2.05rem, 12vw, 3.4rem); line-height: .98; }
  .service-grid, .process-rail, .team-ribbon, .case-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .team-photo { aspect-ratio: 1 / 1.04; }
  .team-card-copy { padding: 10px; }
  .team-card h3 { font-size: clamp(.82rem, 4.1vw, 1rem); }
  .team-card p { font-size: clamp(.62rem, 3.1vw, .72rem); }
  .service-card, .case-card, .process-step { min-height: auto; }
  .service-card h3, .case-card h3, .process-step h3 { margin-top: 48px; }
  .case-visual { min-height: 230px; }
  .project-showcase .section-heading h2 { font-size: clamp(2.55rem, 13vw, 4.8rem); }
  .resort-hero { min-height: 620px; }
  .resort-hero-copy h3 { font-size: clamp(1.8rem, 9vw, 3.2rem); }
  .media-card,
  .media-card.wide,
  .media-card.full,
  .video-card { min-height: 460px; }
  .media-card.tall { min-height: 720px; }
  .media-card h3 { font-size: clamp(1.34rem, 7vw, 2.4rem); }
  .contact-methods a { width: 100%; min-height: 52px; }
  .site-footer { grid-template-columns: 1fr; }
}

/* Hero image replacement */
.hero-people {
  min-height: auto;
  perspective: none;
  overflow: visible;
  position: relative;
  isolation: isolate;
}

.hero-people::before,
.hero-people::after {
  display: block;
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-people::before {
  z-index: -1;
  right: 4%;
  bottom: 4%;
  width: 82%;
  height: 22%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(129, 91, 47, 0.28), rgba(215, 180, 106, 0.14) 34%, transparent 70%);
  filter: blur(24px);
}

.hero-people::after {
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 24%;
  background: linear-gradient(180deg, rgba(238, 231, 216, 0), rgba(238, 231, 216, 0.92) 78%, #eee7d8);
}

.hero-people img {
  width: min(50vw, 740px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(45, 31, 17, 0.16));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.5) 92%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.5) 92%, transparent 100%);
}

@media (max-width: 1020px) {
  .hero-people img {
    width: min(86vw, 680px);
  }
}

@media (max-width: 640px) {
  .hero-people {
    min-height: auto;
  }

  .hero-people img {
    width: min(96vw, 480px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Investment dashboard */
.investment-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.46fr);
  gap: 18px;
  align-items: start;
}

.investment-form,
.investment-dashboard {
  border: 1px solid rgba(7, 16, 15, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(245, 241, 232, 0.5)),
    rgba(255, 255, 255, 0.44);
  box-shadow: 0 24px 70px rgba(7, 16, 15, 0.12);
}

.investment-form {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.calc-mode {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: rgba(7, 16, 15, 0.06);
}

.calc-mode label,
.class-cards label,
.deal-cards label {
  cursor: pointer;
}

.calc-mode input,
.class-cards input,
.deal-cards input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-mode span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 6px;
  color: rgba(7, 16, 15, 0.62);
  font-size: 0.86rem;
  font-weight: 900;
  transition: 180ms ease;
}

.calc-mode input:checked + span {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(7, 16, 15, 0.14);
}

.calc-step {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(7, 16, 15, 0.1);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.35);
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-heading span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
}

.step-heading h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.34rem);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.field,
.switch-field,
.computed-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 86px;
  border: 1px solid rgba(7, 16, 15, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(245, 241, 232, 0.74);
}

.field span,
.switch-field span,
.computed-card span {
  color: rgba(7, 16, 15, 0.58);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  padding: 8px 10px;
  outline: none;
  font-weight: 850;
}

.field input:focus,
.field select:focus {
  box-shadow: 0 0 0 3px rgba(25, 216, 189, 0.18);
}

.field small {
  color: rgba(7, 16, 15, 0.48);
  font-size: 0.74rem;
  font-weight: 800;
}

.computed-card {
  color: var(--paper);
  background:
    radial-gradient(circle at 90% 0, rgba(203, 255, 69, 0.24), transparent 42%),
    linear-gradient(145deg, #07100f, #14211f);
}

.computed-card strong {
  color: var(--lime);
  font-size: clamp(1.15rem, 1.8vw, 1.8rem);
}

.class-cards,
.deal-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.deal-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.class-cards label span,
.deal-cards label span {
  display: grid;
  gap: 8px;
  min-height: 92px;
  border: 1px solid rgba(7, 16, 15, 0.12);
  border-radius: 8px;
  padding: 13px;
  background: rgba(245, 241, 232, 0.78);
  transition: 180ms ease;
}

.class-cards strong,
.deal-cards strong {
  font-size: 1rem;
}

.class-cards small,
.deal-cards small {
  color: rgba(7, 16, 15, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
}

.class-cards input:checked + span,
.deal-cards input:checked + span {
  border-color: rgba(7, 16, 15, 0.52);
  background:
    radial-gradient(circle at 92% 8%, rgba(203, 255, 69, 0.38), transparent 34%),
    #ffffff;
  box-shadow: 0 14px 34px rgba(7, 16, 15, 0.1);
  transform: translateY(-1px);
}

.switch-field {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
}

.switch-field input {
  width: 42px;
  height: 24px;
  accent-color: var(--lime);
}

.slider-field input[type="range"] {
  padding: 0;
  background: transparent;
  accent-color: var(--lime);
}

.slider-field output {
  float: right;
  color: var(--ink);
}

.tip {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(7, 16, 15, 0.18);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 950;
}

.custom-cost-field {
  opacity: 0.45;
}

.custom-cost-field.is-enabled {
  opacity: 1;
}

.custom-cost-field:not(.is-enabled) input {
  pointer-events: none;
}

.calculator-section:not(.is-pro) .pro-field {
  display: none;
}

.calculator-section:not(.is-rent) .rent-field,
.calculator-section.is-rent .sale-field {
  display: none;
}

.investment-dashboard {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.dashboard-hero {
  border-radius: 8px;
  padding: 18px;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 12%, rgba(203, 255, 69, 0.28), transparent 40%),
    linear-gradient(145deg, #07100f, #13201d);
}

.dashboard-hero span,
.dashboard-hero strong,
.dashboard-hero small {
  display: block;
}

.dashboard-hero span {
  color: rgba(245, 241, 232, 0.62);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-hero strong {
  margin-top: 8px;
  color: var(--lime);
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.9;
}

.dashboard-hero small {
  margin-top: 10px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.dashboard-hero.risk-high strong {
  color: #ff6f61;
}

.dashboard-hero.risk-medium strong {
  color: #f0c35b;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-grid div {
  display: grid;
  gap: 8px;
  min-height: 92px;
  border: 1px solid rgba(7, 16, 15, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(245, 241, 232, 0.78);
}

.dashboard-grid span {
  color: rgba(7, 16, 15, 0.54);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-grid strong {
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.05;
}

.dashboard-grid .positive-card strong {
  color: #167c3b;
}

.ai-summary {
  border: 1px solid rgba(7, 16, 15, 0.1);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.ai-summary span {
  display: block;
  margin-bottom: 8px;
  color: #24554d;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-summary p {
  margin: 0;
  color: rgba(7, 16, 15, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .investment-shell {
    grid-template-columns: 1fr;
  }

  .investment-dashboard {
    position: static;
  }
}

@media (max-width: 760px) {
  .field-grid,
  .class-cards,
  .deal-cards,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Refined production scale */
.cursor-glow {
  opacity: 0.36;
}

.hero {
  min-height: 84vh;
  padding-top: clamp(118px, 14vh, 158px);
  padding-bottom: clamp(42px, 7vh, 72px);
}

.hero-logo-card {
  width: min(260px, 62vw);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(3.2rem, 7.6vw, 8rem);
  line-height: 0.9;
}

.hero-lead {
  max-width: 680px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  line-height: 1.38;
}

.hero-device {
  min-height: min(56vh, 540px);
}

.project-tablet {
  width: min(34vw, 420px);
  min-width: 280px;
}

.section,
.showcase,
.team,
.contact,
.calculator-section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2rem, 4.25vw, 4.4rem);
  line-height: 1;
}

.section-heading p,
.contact-copy p {
  margin-top: 18px;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.6;
}

.service-card {
  min-height: 250px;
}

.service-card h3,
.process-step h3 {
  margin-top: 58px;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.08;
}

.project-showcase {
  padding-inline: clamp(20px, 6vw, 84px);
}

.project-showcase .section-heading h2 {
  font-size: clamp(2.1rem, 4.6vw, 5rem);
  line-height: 1;
}

.project-showcase .section-heading p {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

.resort-hero {
  min-height: min(52vw, 560px);
}

.resort-hero-copy {
  max-width: 720px;
}

.resort-hero-copy h3 {
  max-width: 760px;
  font-size: clamp(1.45rem, 3vw, 3.15rem);
  line-height: 1;
}

.resort-media-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.62fr);
  gap: 14px;
  margin-top: 14px;
}

.media-card {
  min-height: 340px;
}

.media-card.wide {
  min-height: 390px;
}

.media-card.tall {
  min-height: 620px;
}

.media-card.full {
  min-height: 360px;
}

.video-card {
  min-height: min(42vw, 430px);
}

.media-card h3 {
  max-width: 620px;
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  line-height: 1.12;
}

.team-ribbon {
  display: none;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.team-photo {
  aspect-ratio: 1 / 1.02;
}

.process-step {
  min-height: 220px;
}

.stack-band {
  display: none;
}

.calculator-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(203, 255, 69, 0.18), transparent 28vw),
    rgba(255, 255, 255, 0.2);
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 16px;
}

.calculator-form,
.calculator-results {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 52px rgba(7, 16, 15, 0.1);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.calculator-form label {
  display: grid;
  gap: 8px;
  color: rgba(7, 16, 15, 0.76);
  font-size: 0.86rem;
  font-weight: 850;
}

.calculator-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(7, 16, 15, 0.16);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(245, 241, 232, 0.9);
  outline: none;
}

.calculator-form input[type="range"] {
  min-height: 18px;
  padding: 0;
  accent-color: var(--lime);
}

.calculator-form small,
.calculator-form output {
  color: rgba(7, 16, 15, 0.54);
  font-size: 0.78rem;
  font-weight: 800;
}

.calculator-results {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.result-hero {
  border-radius: var(--radius);
  padding: 18px;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 12%, rgba(203, 255, 69, 0.26), transparent 38%),
    linear-gradient(145deg, #07100f, #13201d);
}

.result-hero span,
.result-hero strong {
  display: block;
}

.result-hero span {
  color: rgba(245, 241, 232, 0.7);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.result-hero strong {
  margin-top: 10px;
  color: var(--lime);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.result-list div {
  display: grid;
  gap: 7px;
  min-height: 78px;
  padding: 13px;
  background: rgba(245, 241, 232, 0.9);
}

.result-list span {
  color: rgba(7, 16, 15, 0.58);
  font-size: 0.76rem;
  font-weight: 850;
}

.result-list strong {
  font-size: clamp(1rem, 1.45vw, 1.35rem);
}

.calculator-note {
  margin: 0;
  color: rgba(7, 16, 15, 0.62);
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 650;
}

@media (max-width: 1020px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-card.tall {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .calculator-form,
  .result-list {
    grid-template-columns: 1fr;
  }

  .project-showcase .section-heading h2 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  .resort-hero {
    min-height: 430px;
  }

  .resort-hero-copy h3 {
    font-size: clamp(1.35rem, 7vw, 2.1rem);
  }

  .media-card,
  .media-card.wide,
  .media-card.full,
  .video-card {
    min-height: 300px;
  }

  .media-card.tall {
    min-height: 500px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Luxury compact refinement */
:root {
  --ink: #11100d;
  --paper: #eee7d8;
  --line: rgba(40, 32, 22, 0.14);
  --lime: #d7b46a;
  --teal: #7d8f83;
  --coral: #a66f45;
  --violet: #75614b;
  --bronze: #b58a4d;
  --shadow: 0 22px 60px rgba(32, 24, 14, 0.16);
}

body {
  background:
    linear-gradient(90deg, rgba(34, 27, 18, 0.045) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(rgba(34, 27, 18, 0.04) 1px, transparent 1px) 0 0 / 78px 78px,
    radial-gradient(circle at 18% 6%, rgba(215, 180, 106, 0.28), transparent 32vw),
    radial-gradient(circle at 86% 16%, rgba(125, 143, 131, 0.18), transparent 32vw),
    #eee7d8;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(181, 138, 77, 0.26), rgba(125, 143, 131, 0.1) 36%, transparent 68%);
  opacity: 0.32;
}

.site-header {
  background: rgba(238, 231, 216, 0.78);
  box-shadow: 0 18px 48px rgba(32, 24, 14, 0.12);
}

.main-nav a::after {
  background: var(--bronze);
}

.nav-cta,
.calc-mode input:checked + span {
  background: #14120f;
}

.primary {
  border-color: #d7b46a;
  color: #15120d;
  background: linear-gradient(135deg, #f0d89a, #b78945);
}

.secondary {
  background: rgba(255, 255, 255, 0.42);
}

.eyebrow,
.section-kicker,
.case-type,
.ai-summary span {
  color: #7b5a2f;
}

.hero {
  min-height: 80vh;
}

.project-tablet {
  width: min(33vw, 410px);
  min-width: 278px;
  box-shadow: 0 38px 80px rgba(28, 20, 12, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.tablet-dashboard-preview {
  min-height: 100%;
  padding: 18px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(238, 231, 216, 0.08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(rgba(238, 231, 216, 0.06) 1px, transparent 1px) 0 0 / 30px 30px,
    radial-gradient(circle at 82% 10%, rgba(215, 180, 106, 0.22), transparent 34%),
    linear-gradient(145deg, #12100d, #211a12);
}

.tablet-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(238, 231, 216, 0.6);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tablet-topbar strong {
  color: #d7b46a;
}

.tablet-roi-card {
  margin-top: 18px;
  border: 1px solid rgba(215, 180, 106, 0.22);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.tablet-roi-card span,
.tablet-roi-card small {
  display: block;
  color: rgba(238, 231, 216, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
}

.tablet-roi-card strong {
  display: block;
  margin: 8px 0;
  color: #d7b46a;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.9;
}

.tablet-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.tablet-metrics div {
  border: 1px solid rgba(238, 231, 216, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: rgba(238, 231, 216, 0.055);
}

.tablet-metrics span,
.tablet-metrics strong {
  display: block;
}

.tablet-metrics span {
  color: rgba(238, 231, 216, 0.48);
  font-size: 0.58rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tablet-metrics strong {
  margin-top: 5px;
  font-size: 0.9rem;
}

.tablet-bars {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 82px;
  margin-top: 14px;
  border: 1px solid rgba(238, 231, 216, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: rgba(238, 231, 216, 0.04);
}

.tablet-bars span {
  flex: 1;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #e0c27c, #8a6232);
}

.calculator-section {
  padding-top: clamp(48px, 6vw, 74px);
  padding-bottom: clamp(48px, 6vw, 74px);
}

.calculator-section .section-heading {
  margin-bottom: 22px;
}

.calculator-section .section-heading h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.4rem);
}

.investment-shell {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 12px;
  max-height: 760px;
}

.investment-form,
.investment-dashboard {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(238, 231, 216, 0.44)),
    rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 48px rgba(32, 24, 14, 0.1);
}

.investment-form {
  gap: 9px;
  max-height: 760px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px;
  scrollbar-width: thin;
}

.investment-dashboard {
  max-height: 760px;
  overflow: auto;
  gap: 9px;
  padding: 10px;
}

.calc-mode {
  width: min(360px, 100%);
}

.calc-mode span {
  min-height: 32px;
  font-size: 0.78rem;
}

.calc-step {
  gap: 9px;
  padding: 10px;
}

.step-heading {
  gap: 8px;
}

.step-heading span {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #e4c77f, #ac7b3b);
  font-size: 0.68rem;
}

.step-heading h3 {
  font-size: clamp(0.94rem, 1.1vw, 1.08rem);
}

.field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.field,
.switch-field,
.computed-card {
  min-height: 66px;
  gap: 5px;
  padding: 9px;
}

.field span,
.switch-field span,
.computed-card span,
.dashboard-grid span {
  font-size: 0.62rem;
}

.field input,
.field select {
  min-height: 30px;
  padding: 5px 8px;
  font-size: 0.84rem;
}

.field small,
.class-cards small,
.deal-cards small {
  font-size: 0.66rem;
}

.computed-card strong {
  color: #d7b46a;
  font-size: clamp(0.98rem, 1.25vw, 1.25rem);
}

.class-cards,
.deal-cards {
  gap: 7px;
}

.class-cards label span,
.deal-cards label span {
  min-height: 64px;
  gap: 5px;
  padding: 9px;
}

.class-cards strong,
.deal-cards strong {
  font-size: 0.86rem;
}

.class-cards input:checked + span,
.deal-cards input:checked + span {
  background:
    radial-gradient(circle at 92% 8%, rgba(215, 180, 106, 0.32), transparent 34%),
    #fffaf0;
}

.switch-field {
  min-height: 52px;
}

.switch-field input {
  width: 36px;
  height: 20px;
  accent-color: #b78945;
}

.slider-field input[type="range"] {
  accent-color: #b78945;
}

.dashboard-hero {
  padding: 14px;
  background:
    radial-gradient(circle at 82% 12%, rgba(215, 180, 106, 0.24), transparent 40%),
    linear-gradient(145deg, #11100d, #251d14);
}

.dashboard-hero strong {
  color: #d7b46a;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.dashboard-grid {
  gap: 6px;
}

.dashboard-grid div {
  min-height: 68px;
  gap: 5px;
  padding: 9px;
}

.dashboard-grid strong {
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
}

.dashboard-grid .positive-card strong {
  color: #2f7a45;
}

.ai-summary {
  padding: 10px;
}

.ai-summary p {
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .investment-shell,
  .investment-form,
  .investment-dashboard {
    max-height: none;
  }
}

/* Requested hero cleanup */
.hero-logo-card {
  width: min(420px, 72vw);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo-card img {
  border-radius: 0;
  filter: saturate(1.08) contrast(1.04);
}

.hero h1 {
  width: auto;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.35vw, 4.8rem);
  line-height: 0.96;
}

.hero-lead {
  max-width: 760px;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hero-logo-card {
    width: min(360px, 84vw);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
}

/* Compact people and project media */
.project-showcase .section-heading h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.project-showcase .section-heading p {
  max-width: 520px;
  font-size: 0.92rem;
}

.resort-hero {
  min-height: clamp(260px, 34vw, 420px);
}

.resort-hero-copy {
  max-width: 560px;
}

.resort-hero-copy h3 {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.9vw, 2rem);
  line-height: 1.12;
}

.resort-hero-copy .case-stats {
  margin-top: 12px;
}

.resort-hero-copy .case-stats span,
.case-stats span {
  padding: 6px 8px;
  font-size: 0.68rem;
}

.resort-media-grid {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
  gap: 10px;
  margin-top: 10px;
}

.media-card,
.media-card.wide,
.media-card.full,
.video-card {
  min-height: clamp(180px, 24vw, 280px);
}

.media-card.tall {
  min-height: clamp(320px, 42vw, 460px);
}

.media-card > div {
  padding: 14px;
}

.media-card h3 {
  max-width: 420px;
  font-size: clamp(0.86rem, 1.2vw, 1.08rem);
  line-height: 1.2;
}

.media-card .case-type,
.resort-hero-copy .case-type {
  margin-bottom: 8px;
  font-size: 0.64rem;
}

.team .section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.team .section-heading p {
  font-size: 0.92rem;
}

.team-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.team-card {
  border-radius: 6px;
}

.team-photo {
  aspect-ratio: 1 / 1;
  max-height: 118px;
}

.team-photo::before {
  inset: 5px;
}

.team-card-copy {
  padding: 8px;
}

.team-card-copy span {
  margin-bottom: 5px;
  font-size: 0.52rem;
}

.team-card h3 {
  font-size: 0.72rem;
  line-height: 1.05;
}

.team-card p {
  margin-top: 4px;
  font-size: 0.58rem;
  line-height: 1.15;
}

@media (max-width: 1180px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-photo {
    max-height: 110px;
  }
}

@media (max-width: 760px) {
  .resort-media-grid {
    grid-template-columns: 1fr;
  }

  .media-card,
  .media-card.wide,
  .media-card.full,
  .video-card {
    min-height: 220px;
  }

  .media-card.tall {
    min-height: 360px;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-photo {
    max-height: 96px;
  }
}

@media (max-width: 430px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-photo {
    max-height: 88px;
  }
}

/* Updated logo proportions */
.brand-mark {
  width: 78px;
  height: 48px;
}

.brand-mark img {
  object-position: center;
  object-fit: contain;
}

.hero-logo-card {
  width: min(420px, 70vw);
  margin-bottom: 22px;
}

.hero-logo-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 640px) {
  .brand-mark {
    width: 62px;
    height: 40px;
  }

  .hero-logo-card {
    width: min(360px, 86vw);
  }
}

/* Mobile calculator routing */
.mobile-calculator-launch {
  display: none;
}

.calculator-page main {
  padding-top: 96px;
}

.calculator-page .calculator-section {
  min-height: 100vh;
  padding-top: 42px;
}

.calculator-page .calculator-section .section-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.calculator-page .investment-shell,
.calculator-page .investment-form,
.calculator-page .investment-dashboard {
  max-height: none;
}

@media (max-width: 760px) {
  body:not(.calculator-page) .calculator-section .investment-shell {
    display: none;
  }

  body:not(.calculator-page) .mobile-calculator-launch {
    display: grid;
    gap: 12px;
    border: 1px solid rgba(40, 32, 22, 0.14);
    border-radius: 8px;
    padding: 18px;
    background:
      radial-gradient(circle at 86% 12%, rgba(215, 180, 106, 0.22), transparent 42%),
      rgba(255, 255, 255, 0.48);
    box-shadow: 0 18px 48px rgba(32, 24, 14, 0.1);
  }

  .mobile-calculator-launch span {
    color: #7b5a2f;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-calculator-launch h3,
  .mobile-calculator-launch p {
    margin: 0;
  }

  .mobile-calculator-launch h3 {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.05;
  }

  .mobile-calculator-launch p {
    color: rgba(17, 16, 13, 0.68);
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 650;
  }

  .calculator-page main {
    padding-top: 78px;
  }

  .calculator-page .calculator-section {
    padding: 34px 12px 44px;
  }

  .calculator-page .calculator-section .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .calculator-page .calculator-section .section-heading h1 {
    font-size: clamp(1.6rem, 9vw, 2.5rem);
  }

  .calculator-page .investment-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calculator-page .investment-form,
  .calculator-page .investment-dashboard {
    overflow: visible;
    padding: 10px;
  }

  .calculator-page .investment-dashboard {
    position: static;
    order: -1;
  }

  .calculator-page .calc-mode,
  .calculator-page .field-grid,
  .calculator-page .class-cards,
  .calculator-page .deal-cards,
  .calculator-page .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .calculator-page .dashboard-hero strong {
    font-size: clamp(2.2rem, 14vw, 4rem);
  }
}
