/* ============================================================
   KOTHARI BUILDSPACE — global styles
   Apple.com × Architectural Digest × Indian luxury developer
   ============================================================ */

:root {
  --background: #fef9f1;
  --surface: #fef9f1;
  --surface-low: #f8f3eb;
  --surface-med: #f2ede5;
  --surface-high: #ece8e0;
  --surface-higher: #e6e2da;
  --surface-lowest: #ffffff;

  --on-surface: #1d1c17;
  --on-surface-variant: #4d463a;
  --outline: #7f7668;
  --outline-variant: #d0c5b5;

  --primary: #735b28;
  --primary-container: #c8a96e;
  --primary-fixed: #ffdea3;
  --on-primary: #ffffff;

  --navy: #0A1628;
  --inverse-surface: #1d1c17;
  --charcoal: #1a1a1a;

  --grain-opacity: 0.04;
}

* { box-sizing: border-box; border-radius: 0 !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--on-surface);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

/* On touch devices bring back native cursor */
@media (hover: none) { body { cursor: auto; } .k-cursor { display: none !important; } }

::selection { background: var(--primary-container); color: var(--on-surface); }

/* ─── Typography ──────────────────────────────────────────── */
.font-serif, .serif { font-family: "Noto Serif", "Playfair Display", Georgia, serif; }
.font-italic { font-style: italic; }
h1,h2,h3,h4,h5 { font-family: "Noto Serif", serif; font-weight: 400; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: var(--primary);
  display: inline-block;
}
.label-caps {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

/* ─── Grain overlay ──────────────────────────────────────── */
.k-grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* ─── Custom cursor ──────────────────────────────────────── */
.k-cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  border: 1px solid var(--primary-container);
  pointer-events: none;
  border-radius: 50% !important;
  transform: translate(-50%, -50%);
  transition: width 220ms cubic-bezier(.25,.1,.25,1), height 220ms cubic-bezier(.25,.1,.25,1), background 220ms, border-color 220ms, opacity 120ms;
  z-index: 99999;
  will-change: transform;
  mix-blend-mode: difference;
  opacity: 0;
}
.k-cursor.is-ready { opacity: 1; }
.k-cursor.is-hover {
  width: 44px; height: 44px;
  background: rgba(200,169,110,0.12);
  border-color: rgba(200,169,110,0.8);
}
.k-cursor.is-dot {
  width: 6px; height: 6px; background: var(--primary-container); border-color: var(--primary-container);
}

/* ─── Navbar ─────────────────────────────────────────────── */
.k-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 400ms cubic-bezier(.25,.1,.25,1), background 400ms, border-color 400ms, backdrop-filter 400ms;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.k-nav.is-scrolled,
.k-nav.is-solid {
  padding: 16px 40px;
  background: rgba(254, 249, 241, 0.82);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid rgba(29,28,23,0.06);
}
.k-nav__brand { display: flex; align-items: center; gap: 14px; }
.k-nav__mark { width: 32px; height: 32px; display: grid; place-items: center; background: var(--primary-container); color: var(--on-surface); font-family: "Noto Serif"; font-weight: 700; font-size: 17px; }
.k-nav__name { font-family: "Noto Serif"; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--on-surface); }
.k-nav__links { display: flex; gap: 38px; align-items: center; }
.k-nav__link { position: relative; font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(29,28,23,0.75); padding: 8px 0; transition: color 200ms; }
.k-nav__link::after { content:""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--primary-container); transition: right 400ms cubic-bezier(.25,.1,.25,1); }
.k-nav__link:hover { color: var(--primary); }
.k-nav__link:hover::after { right: 0; }
.k-nav__link.is-active { color: var(--primary); }
.k-nav__link.is-active::after { right: 0; }
.k-nav__cta { display: flex; gap: 10px; align-items: center; }
.k-btn { font-family: "Plus Jakarta Sans"; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; padding: 14px 22px; border: 1px solid transparent; transition: all 320ms cubic-bezier(.25,.1,.25,1); cursor: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.k-btn--primary { background: var(--on-surface); color: #fff; }
.k-btn--primary:hover { background: var(--primary); color: #fff; }
.k-btn--gold { background: var(--primary-container); color: var(--on-surface); }
.k-btn--gold:hover { background: var(--primary); color: #fff; }
.k-btn--ghost { background: transparent; color: var(--on-surface); border-color: rgba(29,28,23,0.2); }
.k-btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.k-btn--gold-ghost { background: transparent; color: var(--primary); border-color: var(--primary-container); }
.k-btn--gold-ghost:hover { background: var(--primary-container); color: var(--on-surface); }
.k-btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.k-btn--light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.k-btn--large { padding: 20px 32px; font-size: 11px; }

/* Hamburger / mobile */
.k-burger { display: none; width: 34px; height: 34px; position: relative; cursor: none; background: none; border: none; }
.k-burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: var(--on-surface); transition: all 300ms; }
.k-burger span:nth-child(1) { top: 13px; }
.k-burger span:nth-child(2) { top: 21px; }
body.k-menu-open .k-burger span:nth-child(1) { top: 17px; transform: rotate(45deg); }
body.k-menu-open .k-burger span:nth-child(2) { top: 17px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .k-nav { padding: 20px; }
  .k-nav.is-scrolled { padding: 14px 20px; }
  .k-nav__links, .k-nav__cta .k-btn { display: none; }
  .k-burger { display: inline-block; }
  .k-nav__cta { gap: 0; }
}

.k-mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--background);
  display: flex; flex-direction: column;
  padding: 100px 40px 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 400ms, visibility 400ms;
}
body.k-menu-open .k-mobile-menu { opacity: 1; visibility: visible; }
.k-mobile-menu a { font-family: "Noto Serif"; font-size: 40px; font-weight: 400; color: var(--on-surface); padding: 18px 0; border-bottom: 1px solid rgba(29,28,23,0.08); display: block; }
.k-mobile-menu a:hover { color: var(--primary); }

/* ─── Footer ─────────────────────────────────────────────── */
.k-footer { background: var(--inverse-surface); color: rgba(255,255,255,0.72); padding: 96px 40px 40px; position: relative; }
.k-footer__inner { max-width: 1320px; margin: 0 auto; }
.k-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.k-footer__brand-name { font-family: "Noto Serif"; font-size: 28px; color: #fff; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 22px; }
.k-footer__tag { font-size: 13px; line-height: 1.7; max-width: 300px; margin-bottom: 30px; color: rgba(255,255,255,0.62); }
.k-footer__contact { font-size: 12px; line-height: 1.9; color: rgba(255,255,255,0.75); }
.k-footer__contact a { display: block; transition: color 200ms; }
.k-footer__contact a:hover { color: var(--primary-container); }
.k-footer h5 { font-family: "Plus Jakarta Sans"; color: var(--primary-container); font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 22px; }
.k-footer ul { list-style: none; padding: 0; margin: 0; }
.k-footer ul li { margin-bottom: 14px; font-size: 13px; }
.k-footer ul li a { color: rgba(255,255,255,0.72); transition: color 200ms, transform 200ms; display: inline-block; }
.k-footer ul li a:hover { color: var(--primary-container); transform: translateX(4px); }
.k-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 32px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.38); flex-wrap: wrap; }
.k-footer__rera { max-width: 640px; font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.42); text-transform: none; letter-spacing: 0.01em; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.k-footer__backtotop { font-family: "Noto Serif"; font-style: italic; font-size: 16px; color: var(--primary-container); display: inline-flex; align-items: center; gap: 10px; cursor: none; background: none; border: none; padding: 0; letter-spacing: 0; text-transform: none; }
.k-footer__backtotop:hover { color: #fff; }
@media (max-width: 900px) {
  .k-footer { padding: 64px 20px 28px; }
  .k-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .k-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── WhatsApp float ─────────────────────────────────────── */
.k-whatsapp {
  position: fixed; right: 28px; bottom: 28px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50% !important;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.35);
  transition: transform 300ms cubic-bezier(.25,.1,.25,1);
}
.k-whatsapp:hover { transform: scale(1.08); }
.k-whatsapp::before {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50% !important;
  border: 2px solid #25D366;
  animation: k-pulse 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes k-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.k-whatsapp svg { width: 26px; height: 26px; }

/* ─── Hero ───────────────────────────────────────────────── */
.k-hero { position: relative; min-height: 100vh; overflow: hidden; display: grid; place-items: center; }
.k-hero__media { position: absolute; inset: 0; overflow: hidden; }
.k-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.68) contrast(1.03); }
.k-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,28,23,0.42) 0%, rgba(29,28,23,0.12) 40%, rgba(29,28,23,0.7) 100%); }
.k-hero__inner { position: relative; z-index: 2; max-width: 1320px; padding: 0 40px; width: 100%; color: #fff; }
.k-hero__eyebrow { color: var(--primary-container); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 600; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.k-hero__eyebrow::before { content:""; width: 46px; height: 1px; background: var(--primary-container); display: inline-block; }
.k-hero__title { font-family: "Noto Serif"; font-weight: 400; font-size: clamp(48px, 9vw, 136px); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 28px; max-width: 1100px; color: #fff; }
.k-hero__title em { font-style: italic; color: var(--primary-container); font-weight: 400; }
.k-hero__sub { max-width: 520px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 48px; }
.k-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Ken burns slow zoom */
.k-hero__media.k-kenburns img { animation: k-kenburns 24s ease-in-out both; }
@keyframes k-kenburns {
  0% { transform: scale(1.06); }
  100% { transform: scale(1.18); }
}

/* Marker scroll hint */
.k-hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.6); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.k-hero__scroll::after { content:""; width: 1px; height: 60px; background: linear-gradient(180deg, rgba(200,169,110,0.8), transparent); animation: k-line 2s ease-in-out infinite; }
@keyframes k-line { 0%,100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); } }

/* ─── Sections ───────────────────────────────────────────── */
.k-section { padding: 120px 40px; position: relative; }
.k-section--tight { padding: 80px 40px; }
.k-section--dark { background: var(--inverse-surface); color: rgba(255,255,255,0.82); }
.k-section--dark h1, .k-section--dark h2, .k-section--dark h3 { color: #fff; }
.k-section--navy { background: var(--navy); color: rgba(255,255,255,0.82); }
.k-section--cream { background: var(--surface-med); }
.k-section--low { background: var(--surface-low); }
.k-container { max-width: 1320px; margin: 0 auto; }
.k-container--narrow { max-width: 1080px; margin: 0 auto; }

.k-section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 80px; max-width: 900px; }
.k-section-head h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 400; }
.k-section-head h2 em { font-style: italic; color: var(--primary); }
.k-section-head p { font-size: 17px; line-height: 1.7; color: var(--on-surface-variant); max-width: 640px; }

/* ─── Fade up on scroll ──────────────────────────────────── */
.k-reveal { opacity: 0; transform: translateY(40px); transition: opacity 900ms cubic-bezier(.25,.1,.25,1), transform 900ms cubic-bezier(.25,.1,.25,1); }
.k-reveal.is-in { opacity: 1; transform: none; }
.k-reveal[data-delay="1"] { transition-delay: 80ms; }
.k-reveal[data-delay="2"] { transition-delay: 160ms; }
.k-reveal[data-delay="3"] { transition-delay: 240ms; }
.k-reveal[data-delay="4"] { transition-delay: 320ms; }
.k-reveal[data-delay="5"] { transition-delay: 400ms; }

/* ─── Utility lines ──────────────────────────────────────── */
.k-divider-v { width: 1px; background: rgba(29,28,23,0.1); }
.k-divider-h { height: 1px; background: rgba(29,28,23,0.1); width: 100%; }
.k-gold-bar { display: inline-block; width: 46px; height: 1px; background: var(--primary-container); }
.k-gold-tick { color: var(--primary); font-size: 12px; }

/* Image placeholder (striped) */
.k-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(29,28,23,0.04) 0 1px, transparent 1px 14px),
    var(--surface-high);
  display: grid; place-items: center;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(29,28,23,0.4);
}

/* ─── Forms ──────────────────────────────────────────────── */
.k-form { display: grid; gap: 26px; }
.k-form .k-field { display: flex; flex-direction: column; gap: 8px; }
.k-form label { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-surface-variant); }
.k-form input, .k-form select, .k-form textarea {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(29,28,23,0.18);
  padding: 12px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  color: var(--on-surface);
  outline: none;
  transition: border-color 280ms, padding 280ms;
  cursor: none;
}
.k-form input:focus, .k-form select:focus, .k-form textarea:focus {
  border-bottom-color: var(--primary);
}
.k-form textarea { resize: vertical; min-height: 90px; }
.k-form select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23735b28' fill='none' stroke-width='1.2'/></svg>"); background-repeat: no-repeat; background-position: right 6px center; padding-right: 24px; }
.k-form .k-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.k-form__submit { margin-top: 14px; }
.k-form__success { padding: 48px 0; text-align: center; }
.k-form__success h4 { font-size: 28px; font-family: "Noto Serif"; margin-bottom: 14px; }
.k-form__success p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.7; }
.k-form[data-state="sending"] button { opacity: 0.6; pointer-events: none; }
.k-form[data-state="sent"] > *:not(.k-form__success) { display: none; }
.k-spinner { display: inline-block; width: 14px; height: 14px; border: 1.5px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50% !important; animation: k-spin 800ms linear infinite; }
@keyframes k-spin { to { transform: rotate(360deg); } }

/* ─── Button dark variant ──────────────────────────────── */
.k-btn--dark { background: var(--on-surface); color: #fff; border-color: var(--on-surface); }
.k-btn--dark:hover { background: var(--on-surface); opacity: 0.88; }

/* ─── Project card grid ──────────────────────────────────── */
.k-project-card { position: relative; overflow: hidden; background: var(--surface-high); aspect-ratio: 4/3; border-radius: 14px !important; }
.k-project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms cubic-bezier(.25,.1,.25,1), filter 800ms; }
.k-project-card:hover img { transform: scale(1.04); }
/* Full-elevation variant: show whole building, no crop */
.k-project-card.k-contain { background: linear-gradient(180deg, #f4ead9 0%, #efe3cd 60%, #e7d6b9 100%); }
.k-project-card.k-contain img { object-fit: contain; object-position: center bottom; padding: 18px 18px 0; filter: drop-shadow(0 24px 48px rgba(29,28,23,0.18)); }
.k-project-card.k-contain:hover img { transform: scale(1.02); }
.k-project-card.k-contain .k-project-card__veil { background: linear-gradient(180deg, rgba(244,234,217,0) 45%, rgba(29,28,23,0.78) 100%); }
.k-project-card--pureone .k-project-card__veil { background: linear-gradient(180deg, rgba(244,234,217,0) 55%, rgba(29,28,23,0.56) 100%); }
.k-project-card--pureone .k-project-card__body {
  background: linear-gradient(180deg, rgba(29,28,23,0) 48%, rgba(29,28,23,0.36) 100%);
}
.k-project-card__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,28,23,0) 30%, rgba(29,28,23,0.88) 100%); pointer-events: none; }
.k-project-card__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; color: #fff; }
.k-project-card__meta { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary-container); margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.k-project-card__name { font-family: "Noto Serif"; font-size: 32px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 6px; }
.k-project-card__type { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.k-project-card__cta { position: absolute; bottom: 36px; right: 36px; color: var(--primary-container); font-size: 24px; transition: transform 400ms; }
.k-project-card:hover .k-project-card__cta { transform: translateX(8px); }
.k-project-card__badge { position: absolute; top: 24px; right: 24px; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; background: var(--primary-container); color: var(--on-surface); }
.k-project-card__badge--upcoming { background: rgba(255,255,255,0.9); color: var(--on-surface); }
.k-project-card__badge--completed { background: var(--on-surface); color: #fff; }
.k-project-card.k-contain .k-project-card__badge { border-radius: 999px !important; }

/* ─── Project page v2 — elevation hero & sections ───────── */
.k-ph2 { background: linear-gradient(180deg, #f4ead9 0%, #ede0c6 55%, #e4d3b2 100%); padding: 140px 40px 72px; position: relative; overflow: hidden; }
.k-ph2__grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: end; min-height: calc(100vh - 120px); }
.k-ph2__copy { padding-bottom: 40px; position: relative; z-index: 2; }
.k-ph2__status { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--primary); background: rgba(255,255,255,0.6); padding: 10px 18px; border-radius: 999px !important; backdrop-filter: blur(8px); }
.k-ph2__status em { width: 6px; height: 6px; border-radius: 50% !important; background: var(--primary); font-style: normal; animation: k-pulse-dot 2.4s infinite; }
@keyframes k-pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(186,157,108,0.7); } 70% { box-shadow: 0 0 0 10px rgba(186,157,108,0); } }
.k-ph2__title { font-family: "Noto Serif"; font-weight: 400; font-size: clamp(72px, 10vw, 156px); line-height: 0.92; letter-spacing: -0.035em; color: var(--on-surface); margin: 30px 0 28px; }
.k-ph2__title em { font-style: italic; color: var(--primary); }
.k-ph2__addr { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-surface-variant); display: flex; align-items: center; gap: 18px; }
.k-ph2__addr::before { content:""; width: 40px; height: 1px; background: var(--primary); }
.k-ph2__lede { font-family: "Noto Serif"; font-style: italic; font-size: 22px; line-height: 1.55; color: var(--on-surface); margin: 40px 0 0; max-width: 520px; }
.k-ph2__facts { margin-top: 60px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; max-width: 520px; }
.k-ph2__facts > div { padding: 16px 0; border-top: 1px solid rgba(29,28,23,0.18); }
.k-ph2__facts .l { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--on-surface-variant); margin-bottom: 8px; }
.k-ph2__facts .n { font-family: "Noto Serif"; font-size: 28px; line-height: 1; letter-spacing: -0.01em; color: var(--on-surface); }
.k-ph2__actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.k-ph2__tower { position: relative; display: flex; justify-content: center; align-items: end; height: 100%; min-height: 560px; }
.k-ph2__tower img { max-height: calc(100vh - 180px); max-width: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 40px 80px rgba(29,28,23,0.25)); animation: k-float 9s ease-in-out infinite alternate; }
@keyframes k-float { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.k-ph2__crest { position: absolute; right: 0; top: -20px; font-family: "Noto Serif"; font-style: italic; font-size: 12vw; line-height: 0.8; color: rgba(186,157,108,0.22); letter-spacing: -0.04em; pointer-events: none; user-select: none; z-index: 0; }
.k-ph2__sun { position: absolute; top: 9vw; right: 24%; width: 18vw; height: 18vw; min-width: 180px; min-height: 180px; border-radius: 50% !important; background: radial-gradient(circle at 50% 50%, rgba(255,220,160,0.7) 0%, rgba(255,220,160,0.2) 45%, transparent 70%); pointer-events: none; z-index: 0; }
.k-ph2__scroll { position: absolute; bottom: 36px; left: 40px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-surface-variant); display: flex; align-items: center; gap: 14px; }
.k-ph2__scroll::after { content:""; width: 46px; height: 1px; background: var(--on-surface-variant); }

.k-ph2-ribbon { background: var(--on-surface); color: #fff; padding: 40px; }
.k-ph2-ribbon__inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.k-ph2-ribbon__inner > div { padding: 10px 24px; border-left: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 8px; }
.k-ph2-ribbon__inner > div:first-child { border-left: none; padding-left: 0; }
.k-ph2-ribbon .l { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.k-ph2-ribbon .n { font-family: "Noto Serif"; font-size: 20px; color: #fff; letter-spacing: -0.01em; }

/* Overview module */
.k-ov { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.k-ov__side { position: sticky; top: 140px; }
.k-ov__num { font-family: "Noto Serif"; font-style: italic; font-size: 72px; color: var(--primary); line-height: 1; margin-bottom: 24px; opacity: 0.85; }
.k-ov__h { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 24px; }
.k-ov__body { display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.85; color: var(--on-surface-variant); }
.k-ov__pull { font-family: "Noto Serif"; font-style: italic; font-size: 24px; line-height: 1.5; color: var(--on-surface); padding: 28px 0 28px 32px; border-left: 2px solid var(--primary); margin: 12px 0; }

/* Amenities — editorial grid v2 */
.k-am2 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.k-am2__lead { grid-column: span 5; background: var(--on-surface); color: #fff; padding: 56px 44px; display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; border-radius: 16px !important; position: relative; overflow: hidden; }
.k-am2__lead::before { content:""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; border-radius: 50% !important; background: radial-gradient(circle, rgba(186,157,108,0.4), transparent 70%); }
.k-am2__lead .num { font-family: "Noto Serif"; font-style: italic; font-size: 20px; color: var(--primary-container); letter-spacing: 0.1em; }
.k-am2__lead h3 { font-family: "Noto Serif"; font-size: 42px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; margin: 0; }
.k-am2__lead p { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 320px; }
.k-am2__lead .tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary-container); padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); }
.k-am2 .cell { background: var(--surface); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 218px; border-radius: 14px !important; transition: transform 400ms, box-shadow 400ms; }
.k-am2 .cell:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(29,28,23,0.08); }
.k-am2 .cell .ic { width: 44px; height: 44px; border-radius: 50% !important; display: grid; place-items: center; background: var(--primary-container); color: var(--on-surface); font-family: "Noto Serif"; font-style: italic; font-size: 16px; }
.k-am2 .cell h4 { font-family: "Noto Serif"; font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; color: var(--on-surface); margin: 0; }
.k-am2 .cell p { font-size: 13.5px; line-height: 1.65; color: var(--on-surface-variant); margin: 0; }
.k-am2 .s4 { grid-column: span 4; }
.k-am2 .s3 { grid-column: span 3; }
.k-am2 .s6 { grid-column: span 6; }
.k-am2 .s7 { grid-column: span 7; }

/* Location — unified card */
.k-loc2 { background: var(--surface); border-radius: 20px !important; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; box-shadow: 0 32px 80px rgba(29,28,23,0.06); }
.k-loc2__map { position: relative; background: linear-gradient(135deg, #f0e4cb, #e5d4b1); min-height: 560px; overflow: hidden; padding: 40px; display: flex; align-items: center; justify-content: center; }
.k-loc2__map::before { content:""; position: absolute; inset: 40px; border: 1px dashed rgba(186,157,108,0.5); border-radius: 16px !important; }
.k-loc2__map-svg { width: 100%; height: auto; max-width: 420px; }
.k-loc2__pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50% !important; background: var(--primary); display: grid; place-items: center; color: #fff; font-family: "Noto Serif"; font-style: italic; font-size: 22px; box-shadow: 0 0 0 0 rgba(186,157,108,0.55); animation: k-pin-pulse 2.4s infinite; z-index: 2; }
@keyframes k-pin-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(186,157,108,0.55); } 70% { box-shadow: 0 0 0 24px rgba(186,157,108,0); } }
.k-loc2__addr { position: absolute; left: 40px; bottom: 40px; background: rgba(254,249,241,0.94); padding: 20px 24px; border-radius: 12px !important; backdrop-filter: blur(10px); max-width: 260px; font-size: 13px; line-height: 1.5; color: var(--on-surface); box-shadow: 0 12px 32px rgba(29,28,23,0.08); }
.k-loc2__addr .l { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; display: block; }
.k-loc2__list { padding: 48px 44px; display: flex; flex-direction: column; }
.k-loc2__list h3 { font-family: "Noto Serif"; font-size: 28px; font-weight: 400; letter-spacing: -0.01em; margin: 0 0 28px; }
.k-loc2__cats { display: flex; gap: 18px; margin-bottom: 24px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--on-surface-variant); }
.k-loc2__list .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(29,28,23,0.08); }
.k-loc2__list .row:last-child { border-bottom: none; }
.k-loc2__list .row .cat { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--primary); font-weight: 700; min-width: 60px; }
.k-loc2__list .row .name { font-size: 15px; color: var(--on-surface); }
.k-loc2__list .row .t { font-family: "Noto Serif"; font-style: italic; font-size: 18px; color: var(--primary); letter-spacing: -0.01em; white-space: nowrap; }

/* Make k-project-card badge rounded consistently */
.k-project-card .k-project-card__badge { border-radius: 999px !important; }

/* ─── Editorial hero (homepage) ─────────────────────────── */
.k-hero-ed { position: relative; background: linear-gradient(180deg, #fef9f1 0%, #f7eddb 55%, #ebdcba 100%); padding: 140px 40px 40px; overflow: hidden; }
.k-hero-ed::before { content:""; position: absolute; inset: 0; background-image: radial-gradient(rgba(186,157,108,0.12) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.k-hero-ed__inner { position: relative; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; min-height: calc(100vh - 180px); }
.k-hero-ed__left { position: relative; z-index: 3; }
.k-hero-ed__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--primary); background: rgba(255,255,255,0.55); padding: 10px 20px; border-radius: 999px !important; backdrop-filter: blur(10px); border: 1px solid rgba(186,157,108,0.25); }
.k-hero-ed__eyebrow .dot { width: 6px; height: 6px; border-radius: 50% !important; background: var(--primary); animation: k-pulse-dot 2.4s infinite; }
.k-hero-ed__title { font-family: "Noto Serif"; font-weight: 400; font-size: clamp(58px, 8.2vw, 126px); line-height: 0.92; letter-spacing: -0.035em; color: var(--on-surface); margin: 32px 0 32px; }
.k-hero-ed__title em { font-style: italic; color: var(--primary); }
.k-hero-ed__sub { font-size: 17.5px; line-height: 1.7; color: var(--on-surface-variant); max-width: 520px; margin: 0; }
.k-hero-ed__actions { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }
.k-hero-ed__meta { margin-top: 64px; display: grid; grid-template-columns: repeat(3, auto); gap: 48px; padding-top: 28px; border-top: 1px solid rgba(29,28,23,0.14); max-width: 540px; }
.k-hero-ed__meta > div { display: flex; flex-direction: column; gap: 6px; }
.k-hero-ed__meta .n { font-family: "Noto Serif"; font-size: 38px; line-height: 1; letter-spacing: -0.02em; color: var(--primary); }
.k-hero-ed__meta .n em { font-style: normal; font-size: 0.55em; margin-left: 2px; }
.k-hero-ed__meta .l { font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-surface-variant); }

.k-hero-ed__right { position: relative; height: 100%; min-height: 640px; z-index: 2; }
.k-hero-ed__crest { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); font-family: "Noto Serif"; font-style: italic; font-size: 36vw; line-height: 0.72; color: rgba(186,157,108,0.14); user-select: none; pointer-events: none; z-index: 0; }
.k-hero-ed__tower-wrap { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; z-index: 1; }
.k-hero-ed__tower { max-height: 82%; max-width: 82%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 40px 80px rgba(29,28,23,0.22)); animation: k-float 9s ease-in-out infinite alternate; }
.k-hero-ed__tower-tag { position: absolute; left: 4%; bottom: 10%; background: rgba(254,249,241,0.96); padding: 20px 24px; border-radius: 12px !important; backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(29,28,23,0.1); display: flex; flex-direction: column; gap: 4px; max-width: 260px; z-index: 3; border: 1px solid rgba(186,157,108,0.25); }
.k-hero-ed__tower-tag .l { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.k-hero-ed__tower-tag .n { font-family: "Noto Serif"; font-size: 22px; letter-spacing: -0.01em; color: var(--on-surface); margin-top: 2px; }
.k-hero-ed__tower-tag .s { font-size: 11px; color: var(--on-surface-variant); letter-spacing: 0.08em; margin-top: 4px; }
.k-hero-ed__thumb { position: absolute; width: 180px; aspect-ratio: 4/5; overflow: hidden; border-radius: 12px !important; box-shadow: 0 20px 50px rgba(29,28,23,0.14); background: #ede1c6; z-index: 3; border: 1px solid rgba(186,157,108,0.3); }
.k-hero-ed__thumb img { width: 100%; height: 100%; object-fit: cover; }
.k-hero-ed__thumb span { position: absolute; left: 10px; bottom: 10px; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: #fff; font-weight: 600; padding: 6px 10px; background: rgba(29,28,23,0.55); border-radius: 6px !important; backdrop-filter: blur(4px); }
.k-hero-ed__thumb--a { right: -10px; top: 8%; transform: rotate(3deg); }
.k-hero-ed__thumb--b { right: 12%; bottom: 4%; transform: rotate(-4deg); width: 160px; }

.k-hero-ed__strip { position: relative; max-width: 1440px; margin: 40px auto 0; padding: 16px 0; border-top: 1px solid rgba(29,28,23,0.14); display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-surface-variant); font-weight: 600; }

@media (max-width: 1000px) {
  .k-hero-ed { padding: 120px 20px 30px; }
  .k-hero-ed__inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .k-hero-ed__right { min-height: 440px; }
  .k-hero-ed__thumb--a, .k-hero-ed__thumb--b { display: none; }
  .k-hero-ed__meta { grid-template-columns: repeat(3,1fr); gap: 20px; }
  .k-hero-ed__meta .n { font-size: 28px; }
}

/* ─── Stats strip ───────────────────────────────────────── */
.k-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.k-stats > div { padding: 42px 28px; border-left: 1px solid rgba(29,28,23,0.08); }
.k-stats > div:first-child { border-left: none; }
.k-stats .n { font-family: "Noto Serif"; font-size: clamp(52px, 6vw, 88px); font-weight: 400; color: var(--primary-container); line-height: 1; letter-spacing: -0.02em; }
.k-stats .n em { font-style: normal; font-size: 0.6em; color: var(--primary-container); margin-left: 4px; }
.k-stats .l { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--on-surface-variant); margin-top: 14px; }

/* ─── Marquee ───────────────────────────────────────────── */
.k-marquee { overflow: hidden; background: var(--inverse-surface); color: rgba(255,255,255,0.7); padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.k-marquee__track { display: flex; gap: 64px; white-space: nowrap; animation: k-marquee 50s linear infinite; }
.k-marquee span { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 64px; }
.k-marquee em { color: var(--primary-container); font-style: normal; }
@keyframes k-marquee { to { transform: translateX(-50%); } }

/* ─── Page intro (inner pages) ──────────────────────────── */
.k-page-hero { padding: 220px 40px 140px; background: var(--surface); position: relative; overflow: hidden; }
.k-page-hero__kicker { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--primary); margin-bottom: 28px; }
.k-page-hero h1 { font-size: clamp(56px, 9vw, 140px); line-height: 0.98; letter-spacing: -0.025em; font-weight: 400; }
.k-page-hero h1 em { font-style: italic; color: var(--primary); }
.k-page-hero__sub { max-width: 620px; font-size: 18px; line-height: 1.7; color: var(--on-surface-variant); margin-top: 36px; }
.k-page-hero__watermark { position: absolute; right: 4vw; bottom: -3vw; font-family: "Noto Serif"; font-size: 36vw; line-height: 0.8; color: var(--on-surface); opacity: 0.035; pointer-events: none; font-style: italic; }

/* ─── Breadcrumb ────────────────────────────────────────── */
.k-breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(29,28,23,0.48); padding: 0 0 30px 0; }
.k-breadcrumb a { color: rgba(29,28,23,0.5); transition: color 200ms; }
.k-breadcrumb a:hover { color: var(--primary); }
.k-breadcrumb span { opacity: 0.4; }
.k-breadcrumb strong { color: var(--primary); font-weight: 700; }

/* ─── Project hero (detail pages) ───────────────────────── */
.k-project-hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.k-project-hero__media { position: absolute; inset: 0; z-index: -2; }
.k-project-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.k-project-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,28,23,0.45) 0%, rgba(29,28,23,0.2) 40%, rgba(29,28,23,0.92) 100%); }
.k-project-hero__inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px 88px; }
.k-project-hero__status { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--primary-container); margin-bottom: 28px; display: inline-flex; align-items: center; gap: 14px; }
.k-project-hero__status em { width: 8px; height: 8px; border-radius: 50% !important; background: var(--primary-container); font-style: normal; display: inline-block; box-shadow: 0 0 0 4px rgba(186,157,108,0.22); }
.k-project-hero__title { font-family: "Noto Serif"; font-size: clamp(64px, 10vw, 160px); font-weight: 400; line-height: 0.95; letter-spacing: -0.025em; margin: 0; }
.k-project-hero__addr { font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-top: 32px; }
.k-project-hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 36px; }
.k-project-hero__stats > div { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid rgba(255,255,255,0.12); padding: 0 24px; }
.k-project-hero__stats > div:first-child { border-left: none; padding-left: 0; }
.k-project-hero__stats .n { font-family: "Noto Serif"; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -0.01em; color: #fff; }
.k-project-hero__stats .l { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ─── Amenity cell ──────────────────────────────────────── */
.k-amenity { background: var(--surface); padding: 48px 36px; display: flex; flex-direction: column; gap: 16px; min-height: 240px; transition: background 400ms; }
.k-amenity:hover { background: var(--surface-high); }
.k-amenity .n { font-family: "Noto Serif"; font-size: 14px; font-style: italic; color: var(--primary); letter-spacing: 0.08em; }
.k-amenity h4 { font-family: "Noto Serif"; font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; color: var(--on-surface); }
.k-amenity p { font-size: 13.5px; line-height: 1.65; color: var(--on-surface-variant); }

/* ─── Location row ──────────────────────────────────────── */
.k-loc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(29,28,23,0.1); font-size: 15px; }
.k-loc-row:first-child { border-top: 1px solid rgba(29,28,23,0.1); }
.k-loc-row span { color: var(--on-surface); }
.k-loc-row em { font-family: "Noto Serif"; font-style: italic; font-size: 18px; color: var(--primary); letter-spacing: -0.01em; }

/* ─── Ken Burns slow pan for project hero ───────────────── */
.k-project-hero__media.k-kenburns img { animation: k-kenburns-pan 28s ease-in-out infinite alternate; }
@keyframes k-kenburns-pan { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1.5%); } }

/* ─── Filter pills (portfolio) ──────────────────────────── */
.filter-pill { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; padding: 13px 22px; border-radius: 999px; border: 1px solid rgba(29,28,23,0.18); background: transparent; color: var(--on-surface); cursor: pointer; transition: background 240ms, color 240ms, border-color 240ms; font-family: inherit; }
.filter-pill:hover { border-color: var(--on-surface); }
.filter-pill.is-active { background: var(--on-surface); color: var(--primary-container); border-color: var(--on-surface); }
[data-filter-target] .k-project-card { transition: opacity 400ms, transform 400ms; }
[data-filter-target] .k-project-card.is-hidden { opacity: 0.18; filter: grayscale(1); pointer-events: none; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .k-section { padding: 72px 20px; }
  .k-section-head { margin-bottom: 48px; }
  .k-page-hero { padding: 160px 20px 80px; }
  .k-stats { grid-template-columns: repeat(2, 1fr); }
  .k-form .k-row { grid-template-columns: 1fr; }
  .k-project-card__name { font-size: 24px; }
  .k-project-hero__inner { padding: 0 20px 60px; }
  .k-project-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .k-project-hero__stats > div:nth-child(3) { border-left: none; padding-left: 0; }
  .k-ph2 { padding: 120px 20px 60px; }
  .k-ph2__grid { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .k-ph2__tower { min-height: 440px; }
  .k-ph2-ribbon__inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .k-ov { grid-template-columns: 1fr; gap: 40px; }
  .k-ov__side { position: static; }
  .k-am2 { grid-template-columns: 1fr; gap: 14px; }
  .k-am2__lead, .k-am2 .s3, .k-am2 .s4, .k-am2 .s6, .k-am2 .s7 { grid-column: span 1; }
  .k-loc2 { grid-template-columns: 1fr; }
  .k-loc2__map { min-height: 320px; }
}
