/* ══ HERO — architectural, no photo ══ */
.kh-hero {
  position: relative;
  min-height: 100vh;
  background: #070D18;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.kh-stage { position: absolute; inset: 0; overflow: hidden; background: #070D18; }
.kh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(198,166,100,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,166,100,.075) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 15%, transparent 78%);
}
.kh-glow {
  position: absolute; width: 46rem; height: 46rem; border-radius: 50%;
  left: 50%; top: 8%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(198,166,100,.2), transparent 68%);
  pointer-events: none;
}
.kh-glow-b {
  left: 50%; top: auto; bottom: -18%; transform: translateX(-50%);
  width: 34rem; height: 34rem;
  background: radial-gradient(circle, rgba(198,166,100,.1), transparent 70%);
}
.kh-mark {
  position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: min(92vw, 76rem);
  pointer-events: none; user-select: none;
  z-index: 1;
}
.kh-yp { width: 100%; height: auto; display: block; overflow: visible; }
.kh-yp-base,
.kh-yp-trail,
.kh-yp-head {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.kh-yp-base {
  stroke: rgba(198,166,100,.16);
  stroke-width: 3.2;
}
.kh-yp-trail {
  stroke: rgba(223,193,138,.55);
  stroke-width: 5;
  stroke-dasharray: 52 948;
  animation: khLedLoop 6.8s linear infinite;
}
.kh-yp-head {
  stroke: #F6E7B4;
  stroke-width: 7;
  stroke-dasharray: 16 984;
  animation: khLedLoop 6.8s linear infinite;
}
.kh-yp-trail-b,
.kh-yp-head-b { animation-delay: -3.4s; }
.kh-yp-head-b { stroke: #E4C37A; stroke-width: 6; }
@keyframes khLedLoop {
  to { stroke-dashoffset: -1000; }
}
.kh-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kh-inset {
  position: absolute; inset: .9rem; z-index: 3; pointer-events: none;
  border: 1px solid rgba(198,166,100,.22);
}
.kh-inset::before, .kh-inset::after {
  content: ''; position: absolute; width: 1.4rem; height: 1.4rem;
  border-color: var(--gold, #C6A664); border-style: solid;
}
.kh-inset::before { top: -.5px; left: -.5px; border-width: 2px 0 0 2px; }
.kh-inset::after { bottom: -.5px; right: -.5px; border-width: 0 2px 2px 0; }

.kh-vert {
  position: absolute; left: 1.55rem; top: 50%; z-index: 4;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: .58rem; font-weight: 600; letter-spacing: .42em;
  text-transform: uppercase; color: rgba(198,166,100,.42);
  white-space: nowrap; pointer-events: none;
}

.kh-inner {
  position: relative; z-index: 4;
  width: 100%; max-width: 58rem;
  margin: 0 auto;
  padding: 7.2rem 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
}
.kh-copy { width: 100%; }

.kh-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: .85rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .46em;
  text-transform: uppercase; color: var(--gold, #C6A664);
  margin: 0 0 1.45rem;
  opacity: 0; animation: khFadeUp .8s ease .12s forwards;
}
.kh-eye-line { display: block; width: 2.5rem; height: 1px; background: var(--gold, #C6A664); opacity: .55; }

.kh-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 600; color: #fff;
  line-height: .98; letter-spacing: -.03em;
  margin: 0 0 1.35rem;
  text-align: center;
}
.kh-word {
  display: block; opacity: 0;
  clip-path: inset(0 0 100% 0);
  animation: khReveal 1.05s cubic-bezier(.77,0,.18,1) forwards;
}
.kh-word:nth-child(1) { animation-delay: .28s; }
.kh-word:nth-child(2) { animation-delay: .46s; }
.kh-word:nth-child(3) { animation-delay: .64s; }
.kh-gold { color: var(--gold, #C6A664); font-style: italic; }
@keyframes khReveal { to { opacity: 1; clip-path: inset(0 0 0% 0); } }

.kh-lead {
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  line-height: 1.85; color: rgba(255,255,255,.56);
  max-width: 36rem; margin: 0 auto 1.35rem;
  padding: 0;
  border: 0;
  opacity: 0; animation: khFadeUp .9s ease .82s forwards;
}
.kh-lead strong { color: rgba(255,255,255,.88); font-weight: 600; }

.kh-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem;
  margin: 0 0 1.55rem;
  opacity: 0; animation: khFadeUp .8s ease .9s forwards;
}
.kh-chips span {
  font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(223,193,138,.9);
  border: 1px solid rgba(198,166,100,.32);
  padding: .42rem .75rem;
}

.kh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin: 0 auto 1.55rem;
  max-width: 46rem;
  opacity: 0; animation: khFadeUp .8s ease .98s forwards;
}
.kh-stat {
  padding: .95rem .7rem .85rem;
  margin: 0;
  border: 1px solid rgba(198,166,100,.22);
  background: rgba(255,255,255,.02);
}
.kh-stat:last-child { border-right: 1px solid rgba(198,166,100,.22); margin-right: 0; padding-right: .7rem; }
.kh-stat strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.28rem; font-weight: 600; color: #fff; line-height: 1.1;
}
.kh-stat span {
  display: block; margin-top: .35rem;
  font-size: .55rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(198,166,100,.7);
}

.kh-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem;
  margin-bottom: 1.7rem;
  opacity: 0; animation: khFadeUp .8s ease 1.12s forwards;
}
.kh-btn-gold {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--gold, #C6A664); color: #000;
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; padding: .95rem 1.75rem;
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
  border: 2px solid var(--gold, #C6A664);
}
.kh-btn-gold,
.kh-btn-gold:hover,
.kh-btn-gold:focus,
.kh-btn-gold:visited { color: #000 !important; text-decoration: none !important; }
.kh-btn-gold:hover,
.kh-btn-gold:focus {
  background: #DFC18A;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(198,166,100,.28);
}
.kh-btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent; color: rgba(255,255,255,.82);
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; padding: .95rem 1.75rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.28);
  transition: border-color .25s, color .25s, transform .25s, background .25s;
}
.kh-btn-ghost:hover {
  border-color: var(--gold, #C6A664);
  color: var(--gold, #C6A664);
  background: rgba(198,166,100,.08);
  transform: translateY(-3px);
}

.kh-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  text-align: center;
  opacity: 0; animation: khFadeUp .8s ease 1.24s forwards;
}
.kh-feat {
  border: 1px solid rgba(198,166,100,.2);
  padding: 1rem 1.05rem 1.05rem;
  background: rgba(7,13,24,.35);
}
.kh-feat em {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal; font-size: .72rem;
  color: var(--gold, #C6A664); letter-spacing: .14em;
  margin-bottom: .4rem;
}
.kh-feat strong {
  display: block; color: #fff; font-size: .86rem; font-weight: 600;
  margin-bottom: .35rem;
}
.kh-feat p {
  margin: 0; font-size: .78rem; line-height: 1.5;
  color: rgba(255,255,255,.48);
}

.kh-rail {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; width: calc(100% - 3rem);
  max-width: 78rem; margin: 0 auto 1.4rem;
  border-top: 1px solid rgba(198,166,100,.16);
}
.kh-rail-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1.05rem 1rem;
  text-decoration: none; color: rgba(255,255,255,.62);
  border-right: 1px solid rgba(198,166,100,.12);
  transition: background .25s, color .25s;
}
.kh-rail-item:last-child { border-right: 0; }
.kh-rail-item span {
  font-size: .62rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; line-height: 1.35; text-align: center;
}
.kh-rail-item em {
  display: block; font-style: normal; font-size: .52rem;
  color: var(--gold, #C6A664); letter-spacing: .22em; margin-bottom: .12rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.kh-rail-item:hover { color: #fff; background: rgba(198,166,100,.08); }

.kh-scroll {
  position: absolute; right: 2.1rem; bottom: 6.4rem; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  opacity: 0; animation: khFadeUp .8s ease 1.4s forwards;
}
.kh-scroll-line {
  display: block; width: 1px; height: 2.4rem;
  background: linear-gradient(to bottom, rgba(198,166,100,.7), transparent);
  animation: khScrollPulse 2s ease-in-out 2s infinite;
}
@keyframes khScrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.25); }
}
.kh-scroll-txt {
  font-size: .52rem; letter-spacing: .38em; text-transform: uppercase;
  color: rgba(198,166,100,.5); writing-mode: vertical-rl;
}

@keyframes khFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .kh-inner { padding-top: 6.5rem; }
  .kh-vert { display: none; }
  .kh-rail { width: calc(100% - 1.8rem); }
  .kh-mark { width: min(96vw, 56rem); }
}
@media (max-width: 900px) {
  .kh-hero { min-height: auto; }
  .kh-inner { margin: 0; padding: 6.2rem 1.35rem 1.8rem; }
  .kh-h1 { font-size: clamp(2.4rem, 9vw, 3.6rem); }
  .kh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-features { grid-template-columns: 1fr; text-align: center; }
  .kh-rail {
    grid-template-columns: none;
    display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
    width: 100%; margin: 0; scrollbar-width: none;
  }
  .kh-rail::-webkit-scrollbar { display: none; }
  .kh-rail-item { min-width: 8.5rem; flex: 0 0 auto; }
  .kh-scroll { display: none; }
  .kh-inset { inset: .55rem; }
  .kh-mark { width: 118%; top: 36%; }
}
@media (max-width: 560px) {
  .kh-stat strong { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .kh-scroll-line { animation: none !important; }
  .kh-yp-trail, .kh-yp-head { animation: none !important; display: none; }
  .kh-word, .kh-eyebrow, .kh-lead, .kh-chips, .kh-stats, .kh-actions, .kh-features, .kh-scroll {
    animation: none !important; opacity: 1 !important; clip-path: none !important;
  }
}

.kh-crumb {
  display: flex; flex-wrap: wrap; gap: .45rem;
  align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  margin: 0 0 1.2rem;
}
.kh-crumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.kh-crumb a:hover { color: var(--gold, #C6A664); }
.kh-lead a { color: var(--gold, #C6A664); font-weight: 600; text-decoration: none; }
.kh-lead a:hover { text-decoration: underline; }
.kh-rail--6 { grid-template-columns: repeat(6, 1fr); }
