@tailwind base;
@tailwind components;
@tailwind utilities;

/* ====================================================================
   VIP Home — Public Site CSS
   Black + white + Inter + JetBrains Mono. Generous space. Sharp lines.
   Translated 1:1 from homepage.css + styles.css design bundle.
==================================================================== */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --hp-ink:         #0a0a0c;
  --hp-ink-2:       rgba(255, 255, 255, 0.65);
  --hp-ink-3:       rgba(255, 255, 255, 0.4);
  --hp-rule:        rgba(255, 255, 255, 0.12);
  --hp-rule-strong: rgba(255, 255, 255, 0.22);
  --hp-paper:       #f5f3ee;
  --hp-paper-2:     #1a1a1d;
  --hp-accent:      #ffffff;
  --hp-pad:         clamp(20px, 4vw, 56px);
  --hp-max:         1320px;
  --hp-ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ──────────────────────────────────────────────────────── */
html {
  overflow-x: hidden;
  background: var(--hp-ink);
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  background: var(--hp-ink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }

/* ── Container ─────────────────────────────────────────────────── */
.hp-container {
  width: 100%;
  max-width: var(--hp-max);
  margin-inline: auto;
  padding-inline: var(--hp-pad);
}

/* ── Section ───────────────────────────────────────────────────── */
.hp-section {
  padding: clamp(72px, 9vw, 140px) 0;
  background: var(--hp-ink);
  position: relative;
}
.hp-section + .hp-section {
  border-top: 1px solid var(--hp-rule);
}

/* ── Typography ────────────────────────────────────────────────── */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hp-ink-2);
  margin-bottom: 24px;
}
.hp-eyebrow .hp-num { color: #fff; opacity: 0.95; font-weight: 500; }
.hp-eyebrow-dark { color: rgba(10, 10, 12, 0.55); }
.hp-eyebrow-dark .hp-num { color: var(--hp-ink); }

.hp-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 24px;
}
.hp-h2-dark { color: var(--hp-ink); }

.hp-line-thru {
  position: relative;
  display: inline;
}
.hp-line-thru::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 2px;
  background: #fff;
  transform-origin: left;
  animation: hp-stroke 800ms 200ms var(--hp-ease) both;
}
.hp-h2-dark .hp-line-thru::after { background: var(--hp-ink); }
@keyframes hp-stroke { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hp-lede, .hp-deck {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--hp-ink-2);
  margin: 0 0 28px;
}
.hp-deck { max-width: 38ch; margin: 0; }
.hp-deck-dark { color: rgba(10, 10, 12, 0.7); }

.hp-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-ink-2);
  font-weight: 500;
}

/* ── Section Head Grid ─────────────────────────────────────────── */
.hp-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: clamp(56px, 6vw, 96px);
  align-items: end;
}
@media (min-width: 980px) {
  .hp-section-head { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}

/* ── Buttons ───────────────────────────────────────────────────── */
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 10px;
  transition:
    background 220ms var(--hp-ease),
    color 220ms var(--hp-ease),
    border-color 220ms var(--hp-ease),
    transform 220ms var(--hp-ease);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.hp-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.hp-btn-white { background: #fff; color: #000; }
.hp-btn-white:hover { background: #e8e6e0; }
.hp-btn-ink { background: var(--hp-ink); color: #fff; }
.hp-btn-ink:hover { background: #2a2a2e; }
.hp-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hp-btn-ghost:hover { background: #fff; color: #000; border-color: #fff; }

/* ── Reveal Animation System ────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 550ms var(--hp-ease) var(--rev-delay, 0ms),
    transform 550ms var(--hp-ease) var(--rev-delay, 0ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ── Animated Heading Chars ─────────────────────────────────────── */
.hp-char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hp-char-inner {
  display: inline-block;
  transform: translateX(-18px);
  opacity: 0;
  transition:
    transform 500ms ease,
    opacity 500ms ease;
  white-space: pre;
}
.hp-char-inner.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* ── Liquid Glass ──────────────────────────────────────────────── */
.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Hover-invert ghost button ─────────────────────────────────── */
.hover-invert {
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.hover-invert:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

/* ────────────────────────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────────────────────────── */
.hp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  padding: 20px var(--hp-pad);
  transition: padding 300ms var(--hp-ease);
}
@media (max-width: 480px) {
  .hp-navbar { padding-left: 10px; padding-right: 10px; }
}
.hp-navbar.navbar-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}
.hp-nav-inner {
  max-width: var(--hp-max);
  margin-inline: auto;
}
.hp-nav-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: visible; /* allow Tools dropdown to escape the glass pill */
}
.hp-nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}
.hp-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) { .hp-nav-links { display: flex; } }
.hp-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 200ms var(--hp-ease);
  letter-spacing: -0.01em;
}
.hp-nav-links a:hover { color: #fff; }
.hp-nav-cta {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: #000;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 200ms var(--hp-ease);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .hp-nav-cta { display: inline-block; } }
.hp-nav-cta:hover { background: #e8e6e0; }
.hp-nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
}
@media (min-width: 768px) { .hp-nav-burger { display: none; } }
.hp-nav-burger span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 300ms var(--hp-ease), opacity 300ms var(--hp-ease), width 300ms var(--hp-ease);
}
.hp-nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hp-nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.hp-nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.hp-nav-mobile {
  display: none;
  padding: 24px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}
.hp-nav-mobile.open { display: block; }
.hp-nav-mobile a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--hp-rule);
  letter-spacing: -0.02em;
  transition: color 200ms var(--hp-ease);
}
.hp-nav-mobile a:hover { color: #fff; }

/* ────────────────────────────────────────────────────────────────
   HERO SECTION
──────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #0a0a0c;
  background-image:
    radial-gradient(ellipse at 75% 25%, rgba(120, 130, 150, 0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(40, 45, 60, 0.5), transparent 60%),
    linear-gradient(180deg, #14171c 0%, #08090b 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 80px);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-spacer {
  height: 88px;
  flex-shrink: 0;
}
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(56px, 8vw, 100px);
}
.hero-grid {
  display: block;
}
.hero-tag-col {
  margin-top: 2rem;
  display: flex;
}
@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
  }
  .hero-tag-col { margin-top: 0; justify-content: flex-end; }
}
.hero-phone-link {
  display: none;
}
@media (min-width: 768px) {
  .hero-phone-link { display: inline-flex; }
}
@media (max-width: 639px) {
  .hero-section {
    min-height: 80vh;
    justify-content: center;
  }
  .hero-spacer { height: 0; }
  .hero-content {
    flex: none;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 52px;
    text-align: center;
  }
  .hero-content [data-animated-heading] {
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
  }
  .hero-content [data-hero-subtitle] {
    margin-left: auto;
    margin-right: auto;
    max-width: 38ch !important;
    font-size: 16px !important;
  }
  .hero-content [data-hero-cta] { justify-content: center; }
  .hero-tag-col {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
}

/* ────────────────────────────────────────────────────────────────
   WHY US SECTION
──────────────────────────────────────────────────────────────── */
.hp-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hp-why-grid { grid-template-columns: 1fr 1.05fr; gap: 80px; }
}
.hp-why-img-wrap { position: relative; }
.hp-why-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  filter: grayscale(0.1);
  width: 100%;
  object-fit: cover;
}
.hp-why-img-meta {
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--hp-ink);
  padding: 10px 14px;
  border: 1px solid var(--hp-rule);
  border-radius: 4px;
  flex-wrap: wrap;
}
.hp-why-text { padding-top: 4px; }
.hp-why-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin: 36px 0 40px;
}
@media (max-width: 640px) { .hp-why-points { grid-template-columns: 1fr; } }
.hp-why-point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--hp-rule);
}
.hp-why-icon { width: 32px; height: 32px; color: #fff; }
.hp-why-icon svg { width: 100%; height: 100%; }
.hp-why-title { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.hp-why-body { font-size: 14px; color: var(--hp-ink-2); line-height: 1.5; }

/* ────────────────────────────────────────────────────────────────
   SERVICES SECTION
──────────────────────────────────────────────────────────────── */
#services {
  background:
    linear-gradient(to bottom, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.80) 40%, rgba(10,10,12,0.90) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=60') center 40%/cover no-repeat;
}
.hp-svc-list { border-top: 1px solid var(--hp-rule-strong); }
.hp-svc-item { border-bottom: 1px solid var(--hp-rule); }
.hp-svc-item.is-active { border-bottom-color: rgba(255,255,255,0.18); }

/* ── Row trigger button ── */
.hp-svc-row {
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  gap: 20px;
  padding: 28px 0;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: left;
  color: inherit;
  transition: padding 320ms var(--hp-ease), background 320ms var(--hp-ease);
}
/* left accent bar — grows up on hover/active */
.hp-svc-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: #fff;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 320ms var(--hp-ease);
}
.hp-svc-row:hover::before,
.hp-svc-item.is-active .hp-svc-row::before { transform: scaleY(1); }
.hp-svc-row:hover,
.hp-svc-item.is-active .hp-svc-row {
  padding-left: 20px;
  padding-right: 8px;
  background: rgba(255,255,255,0.03);
}
@media (min-width: 760px) {
  .hp-svc-row {
    grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 2fr) 48px;
    padding: 36px 0;
    gap: 32px;
  }
  .hp-svc-row:hover,
  .hp-svc-item.is-active .hp-svc-row { padding-left: 24px; padding-right: 8px; }
}
.hp-svc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--hp-ink-3);
  transition: color 220ms var(--hp-ease);
}
.hp-svc-row:hover .hp-svc-num,
.hp-svc-item.is-active .hp-svc-num { color: rgba(255,255,255,0.7); }
.hp-svc-name {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.hp-svc-desc {
  display: none;
  font-size: 14px;
  color: var(--hp-ink-2);
  line-height: 1.55;
  transition: color 220ms var(--hp-ease);
}
.hp-svc-row:hover .hp-svc-desc,
.hp-svc-item.is-active .hp-svc-desc { color: rgba(255,255,255,0.75); }
@media (min-width: 760px) { .hp-svc-desc { display: block; } }

/* ── + / × toggle icon ── */
.hp-svc-toggle {
  position: relative;
  width: 20px; height: 20px;
  justify-self: end;
  flex-shrink: 0;
  color: var(--hp-ink-3);
  transition: color 220ms var(--hp-ease), transform 380ms var(--hp-ease);
}
.hp-svc-toggle span {
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  top: 50%; left: 50%;
  transition: background 220ms;
}
.hp-svc-toggle span:first-child {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.hp-svc-toggle span:last-child {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.hp-svc-row:hover .hp-svc-toggle { color: #fff; }
.hp-svc-item.is-active .hp-svc-toggle {
  transform: rotate(45deg);
  color: #fff;
}

/* ── Accordion panel (CSS grid-row collapse trick) ── */
.hp-svc-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--hp-ease);
}
.hp-svc-panel-wrap.is-open { grid-template-rows: 1fr; }
.hp-svc-panel-inner {
  overflow: hidden;
  position: relative;
}
/* Blurred service image as panel background */
.hp-svc-panel-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--svc-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.18) saturate(0.6);
  transform: scale(1.12);
  z-index: 0;
}
.hp-svc-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 28px 0 32px;
}
@media (min-width: 760px) {
  .hp-svc-panel {
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 28px 24px 40px;
  }
}
@media (min-width: 1080px) {
  .hp-svc-panel {
    grid-template-columns: 360px 1fr;
    gap: 56px;
  }
}
.hp-svc-panel-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
@media (min-width: 760px) {
  .hp-svc-panel-img { margin-bottom: 0; }
  .hp-svc-panel-content {
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
}
.hp-svc-panel-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.hp-svc-panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 20px;
}
.hp-svc-panel-full {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--hp-ink-2);
  margin: 0;
}
.hp-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-svc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 4px 12px;
}
.hp-btn-sm {
  font-size: 13px !important;
  padding: 10px 20px !important;
  align-self: center;
}
@media (min-width: 760px) { .hp-btn-sm { align-self: flex-start; } }
.hp-svc-cta { margin-top: 56px; text-align: center; }

/* ────────────────────────────────────────────────────────────────
   PROJECTS SECTION (light gallery)
──────────────────────────────────────────────────────────────── */
.hp-projects {
  background: var(--hp-paper);
  color: var(--hp-ink);
}
.hp-proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 32px);
}
@media (min-width: 1080px) { .hp-proj-grid { grid-template-columns: repeat(3, 1fr); } }

/* Single column on mobile — avoids overflow with tall images */
@media (max-width: 639px) {
  .hp-proj-grid {
    grid-template-columns: 1fr;
  }
}

.hp-proj-card { cursor: pointer; }
.hp-proj-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 600ms var(--hp-ease);
  border-radius: 2px;
}
.hp-proj-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}
.hp-proj-card:hover .hp-proj-img { transform: scale(1.02); }
.hp-proj-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  padding: 6px 10px;
  border-radius: 4px;
}
.hp-proj-meta {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-proj-name {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
}
.hp-proj-sub {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 12, 0.6);
}
.hp-proj-loc { display: inline-flex; align-items: center; gap: 6px; }
.hp-proj-loc svg { width: 14px; height: 14px; }

/* ────────────────────────────────────────────────────────────────
   STATS SECTION
──────────────────────────────────────────────────────────────── */
.hp-stats {
  background:
    linear-gradient(to bottom, rgba(26,26,29,0.82) 0%, rgba(26,26,29,0.78) 50%, rgba(26,26,29,0.88) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=60') center/cover no-repeat;
}
.hp-stats-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}
.hp-stats-meta { color: var(--hp-ink-3); }
.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hp-rule);
  border: 1px solid var(--hp-rule);
}
@media (min-width: 1080px) { .hp-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-stat-cell {
  background: var(--hp-paper-2);
  padding: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: clamp(160px, 20vw, 220px);
  justify-content: space-between;
}
.hp-stat-ico { width: 28px; height: 28px; color: #fff; opacity: 0.9; }
.hp-stat-ico svg { width: 100%; height: 100%; }
.hp-stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
}
.hp-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-ink-2);
}

/* ────────────────────────────────────────────────────────────────
   TESTIMONIAL SECTION
──────────────────────────────────────────────────────────────── */
.hp-test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hp-test-grid { grid-template-columns: 0.85fr 1.2fr; gap: 80px; }
}
.hp-test-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.hp-quote {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 32px;
  position: relative;
}
.hp-quote em {
  font-style: normal;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
.hp-quote-mark {
  font-size: 1.6em;
  line-height: 0.8;
  color: var(--hp-ink-3);
  margin-right: 0.05em;
  vertical-align: -0.15em;
}
.hp-quote-attrib {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--hp-rule);
}
.hp-quote-name { font-size: 15px; color: #fff; font-weight: 500; }
.hp-quote-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-ink-2);
}

/* ────────────────────────────────────────────────────────────────
   FAQ SECTION
──────────────────────────────────────────────────────────────── */
#faq {
  background:
    linear-gradient(to bottom, rgba(10,10,12,0.88) 0%, rgba(10,10,12,0.82) 50%, rgba(10,10,12,0.90) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=60') center/cover no-repeat;
}
.hp-faq-list { border-top: 1px solid var(--hp-rule-strong); }
.hp-faq-item { border-bottom: 1px solid var(--hp-rule); }
.hp-faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr 28px;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #fff;
}
@media (min-width: 760px) {
  .hp-faq-q { grid-template-columns: 80px 1fr 32px; padding: 32px 0; }
}
.hp-faq-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--hp-ink-3);
}
.hp-faq-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fff;
}
.hp-faq-toggle {
  width: 24px; height: 24px;
  color: var(--hp-ink-3);
  justify-self: end;
  font-size: 20px;
  line-height: 1;
  transition: transform 320ms var(--hp-ease), color 320ms var(--hp-ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-faq-a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms var(--hp-ease);
}
.hp-faq-a-wrap.open { max-height: 400px; }
.hp-faq-a {
  font-size: 15px;
  color: var(--hp-ink-2);
  line-height: 1.6;
  margin: 0 0 28px 80px;
  max-width: 60ch;
}
@media (max-width: 759px) { .hp-faq-a { margin-left: 0; } }

/* ────────────────────────────────────────────────────────────────
   CONTACT SECTION
──────────────────────────────────────────────────────────────── */
.hp-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 980px) { .hp-contact-grid { grid-template-columns: 0.7fr 1.3fr; gap: 80px; } }
.hp-contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--hp-rule-strong);
  padding-top: 28px;
}
.hp-contact-block { display: flex; flex-direction: column; gap: 6px; }
.hp-contact-label { color: var(--hp-ink-3); }
.hp-contact-val {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
}
.hp-link { color: #fff; text-decoration: none; }
.hp-link:hover { opacity: 0.7; }
.hp-form { display: flex; flex-direction: column; gap: 20px; }
.hp-form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .hp-form-row { grid-template-columns: 1fr 1fr; } }
.hp-field { display: flex; flex-direction: column; gap: 8px; }
.hp-field > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-ink-2);
}
.hp-field input,
.hp-field select,
.hp-field textarea {
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--hp-rule-strong);
  border-radius: 0;
  width: 100%;
  outline: none;
  transition: border-color 200ms var(--hp-ease);
  -webkit-appearance: none;
  appearance: none;
}
.hp-field textarea { resize: vertical; min-height: 120px; }
.hp-field select { cursor: pointer; }
.hp-field select option { background: #1a1a1d; color: #fff; }
.hp-field input::placeholder,
.hp-field textarea::placeholder { color: var(--hp-ink-3); }
.hp-field input:focus,
.hp-field select:focus,
.hp-field textarea:focus { border-color: #fff; }
.hp-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hp-form-note { color: var(--hp-ink-3); }
.hp-form-success {
  border: 1px solid var(--hp-rule-strong);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.hp-form-success-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}

/* ────────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────────── */
.hp-footer {
  background: var(--hp-ink);
  border-top: 1px solid var(--hp-rule);
  padding: clamp(60px, 7vw, 100px) 0 28px;
  color: #fff;
}
.hp-foot-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hp-rule);
}
@media (min-width: 760px) { .hp-foot-top { grid-template-columns: 1.2fr 1.8fr; gap: 64px; } }
.hp-foot-logo {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-decoration: none;
  color: #fff;
  display: block;
}
.hp-foot-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--hp-ink-2);
  margin-bottom: 24px;
}
.hp-foot-addr { font-size: 14px; line-height: 1.6; color: var(--hp-ink-2); }
.hp-foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 760px) { .hp-foot-cols { grid-template-columns: repeat(3, 1fr); } }
.hp-foot-cols > div { display: flex; flex-direction: column; gap: 12px; }
.hp-foot-h { color: var(--hp-ink-3); margin-bottom: 4px; }
.hp-foot-cols a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: opacity 200ms var(--hp-ease);
}
.hp-foot-cols a:hover { opacity: 0.6; }
.hp-foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-ink-3);
}

/* ────────────────────────────────────────────────────────────────
   INNER PAGE HERO (non-homepage pages)
──────────────────────────────────────────────────────────────── */
.hp-page-hero {
  position: relative;
  padding-top: clamp(140px, 18vw, 220px);
  padding-bottom: clamp(64px, 8vw, 120px);
  background: var(--hp-ink);
  border-bottom: 1px solid var(--hp-rule);
}
.hp-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.32);
  pointer-events: none;
  z-index: 0;
}
.hp-page-hero > .hp-container {
  position: relative;
  z-index: 1;
}
.hp-page-hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hp-ink-3);
  margin-bottom: 20px;
}
.hp-page-hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 14ch;
}

/* ────────────────────────────────────────────────────────────────
   ABOUT PAGE
──────────────────────────────────────────────────────────────── */

/* S1 — Hero (background set via inline style in blade using asset()) */
.hp-page-hero.hp-about-hero {
  padding-bottom: clamp(80px, 12vw, 140px);
}
.hp-about-hero-badge {
  margin-top: clamp(28px, 4vw, 44px);
}

/* S2 — Story grid */
.hp-about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (min-width: 860px) {
  .hp-about-story-grid { grid-template-columns: 0.95fr 1fr; align-items: center; }
}
.hp-about-img-wrap {
  position: relative;
}
.hp-about-story-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.hp-about-img-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, transparent 100%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}

/* S2 — Mini stats */
.hp-about-mini-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hp-rule);
}
.hp-about-mini-stat { display: flex; flex-direction: column; gap: 4px; }
.hp-about-mini-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 200;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.hp-about-mini-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.38);
}

/* S3 — Numbers band (background set via inline style in blade using asset()) */
.hp-about-numbers {
  background-color: var(--hp-paper-2);
}

/* S4 — Mission & Vision (light contrast break) */
.hp-mv-light {
  background: #f5f3ee;
  border-top: none;
}
.hp-mv-light-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.hp-mv-light-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .hp-mv-light-grid { grid-template-columns: 1fr 1fr; }
}
.hp-mv-light-card {
  background: #fff;
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
}
.hp-mv-pull {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: rgba(10,10,12,0.82);
  margin: 0;
}
.hp-h2-dark {
  color: var(--hp-ink) !important;
}
.hp-eyebrow-dark .hp-num {
  color: var(--hp-ink) !important;
}
.hp-eyebrow-dark {
  color: rgba(10,10,12,0.45) !important;
  border-color: rgba(10,10,12,0.15) !important;
}

/* S5 — Core values (background set via inline style in blade using asset()) */
.hp-values-bg {
  background-color: var(--hp-ink);
}
.hp-values-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px)  { .hp-values-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hp-values-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-value-glass-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 2px;
  transition: transform 320ms var(--hp-ease), box-shadow 320ms var(--hp-ease);
  cursor: default;
}
.hp-value-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.hp-value-glass-card:hover .hp-value-accent-bar {
  opacity: 1;
}
.hp-value-bg-num {
  position: absolute;
  bottom: -20px; right: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 110px;
  font-weight: 200;
  line-height: 1;
  color: rgba(255,255,255,0.07);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.hp-value-accent-bar {
  width: 28px;
  height: 2px;
  background: #fff;
  opacity: 0.28;
  margin-bottom: 20px;
  transition: opacity 280ms var(--hp-ease);
}

/* S6 — Why choose us */
.hp-about-cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 860px) {
  .hp-about-cred-grid { grid-template-columns: 1fr 1fr; }
}
.hp-about-img-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  padding: 16px 20px;
  border-radius: 2px;
  min-width: 120px;
}
.hp-about-cred-content { display: flex; flex-direction: column; }

/* Cert pills */
.hp-cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-cert-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  white-space: nowrap;
  transition: border-color 240ms var(--hp-ease), color 240ms var(--hp-ease);
}
.hp-cert-pill:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

/* ────────────────────────────────────────────────────────────────
   BLOG CARDS
──────────────────────────────────────────────────────────────── */
.hp-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 720px)  { .hp-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hp-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-blog-card { cursor: pointer; }
.hp-blog-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 600ms var(--hp-ease);
  margin-bottom: 20px;
}
.hp-blog-card:hover .hp-blog-img { transform: scale(1.02); }
.hp-blog-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hp-ink-3);
  margin-bottom: 10px;
}
.hp-blog-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.hp-blog-excerpt {
  font-size: 14px;
  color: var(--hp-ink-2);
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────────────
   TEAM CARDS
──────────────────────────────────────────────────────────────── */
.hp-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px)  { .hp-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hp-team-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-team-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  margin-bottom: 16px;
  filter: grayscale(0.2);
}
.hp-team-name {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.hp-team-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hp-ink-3);
}

/* ────────────────────────────────────────────────────────────────
   PROCESS STEPS
──────────────────────────────────────────────────────────────── */
.hp-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hp-rule);
  border: 1px solid var(--hp-rule);
}
@media (min-width: 760px) { .hp-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hp-process-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-process-cell {
  background: var(--hp-ink);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--hp-ink-3);
  text-transform: uppercase;
}
.hp-process-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}
.hp-process-body {
  font-size: 14px;
  color: var(--hp-ink-2);
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────────────
   CTA BANNER
──────────────────────────────────────────────────────────────── */
.hp-cta-banner {
  background: #fff;
  color: var(--hp-ink);
  padding: clamp(56px, 7vw, 100px) 0;
}
.hp-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
@media (min-width: 760px) {
  .hp-cta-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.hp-cta-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--hp-ink);
}

/* ────────────────────────────────────────────────────────────────
   SERVICES INDEX PAGE
──────────────────────────────────────────────────────────────── */
.hp-page-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  max-width: 52ch;
  margin-top: 22px;
  line-height: 1.65;
}

/* Service cards grid */
.hp-svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 1080px) { .hp-svc-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.hp-svc-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  background-color: var(--hp-ink);
}
@media (min-width: 1080px) { .hp-svc-card { aspect-ratio: 3 / 4; } }
.hp-svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--svc-img);
  background-size: cover;
  background-position: center;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.72) saturate(0.85);
}
.hp-svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.38) 55%, rgba(0,0,0,0.10) 100%);
  transition: background 400ms ease;
}
.hp-svc-card:hover::before { transform: scale(1.05); }
.hp-svc-card:hover::after {
  background: linear-gradient(0deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.05) 100%);
}
.hp-svc-card-content { position: relative; z-index: 1; }
.hp-svc-card-arrow {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 1;
  color: rgba(255,255,255,0.28);
  transition: color 280ms ease, transform 280ms ease;
}
.hp-svc-card:hover .hp-svc-card-arrow {
  color: #fff;
  transform: translate(3px, -3px);
}
.hp-svc-card-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 10px;
}
.hp-svc-card-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hp-svc-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* Process — light variant */
.hp-svc-process-light { background: #f5f3ee; }
.hp-process-light-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(10,10,12,0.1);
  border: 1px solid rgba(10,10,12,0.1);
  margin-top: 48px;
}
@media (min-width: 600px)  { .hp-process-light-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hp-process-light-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-process-light-cell {
  background: #f5f3ee;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp-process-light-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 400;
  color: rgba(10,10,12,0.12);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hp-process-light-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--hp-ink);
}
.hp-process-light-body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(10,10,12,0.52);
  line-height: 1.65;
  margin: 0;
}

/* ────────────────────────────────────────────────────────────────
   SERVICE SHOW PAGE
──────────────────────────────────────────────────────────────── */
.hp-page-hero.hp-svc-show-hero {
  padding-bottom: clamp(80px, 12vw, 140px);
}
.hp-svc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 240ms ease;
}
.hp-svc-back:hover { color: rgba(255,255,255,0.72); }
.hp-svc-show-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.hp-svc-show-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 860px) {
  .hp-svc-show-grid { grid-template-columns: 0.95fr 1fr; }
}
.hp-svc-show-content { display: flex; flex-direction: column; }

/* Includes */
.hp-svc-includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 600px) { .hp-svc-includes-grid { grid-template-columns: repeat(2, 1fr); } }
.hp-svc-include-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(10,10,12,0.72);
  line-height: 1.5;
}
.hp-svc-include-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(10,10,12,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-ink);
  margin-top: 1px;
}

/* Benefits */
.hp-svc-benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .hp-svc-benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-svc-benefit-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-svc-benefit-ico {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  flex-shrink: 0;
}
.hp-svc-benefit-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
}
.hp-svc-benefit-body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin: 0;
}

/* Related services */
.hp-svc-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 1080px) { .hp-svc-related-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-svc-related-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  background-color: var(--hp-ink);
}
.hp-svc-related-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--svc-img);
  background-size: cover;
  background-position: center;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.68) saturate(0.85);
}
.hp-svc-related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.32) 55%, rgba(0,0,0,0.08) 100%);
}
.hp-svc-related-card:hover::before { transform: scale(1.05); }
.hp-svc-related-card .hp-svc-card-content { position: relative; z-index: 1; }
.hp-svc-related-card .hp-svc-card-arrow {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 1;
  color: rgba(255,255,255,0.28);
  transition: color 280ms ease, transform 280ms ease;
}
.hp-svc-related-card:hover .hp-svc-card-arrow {
  color: #fff;
  transform: translate(3px, -3px);
}

/* ────────────────────────────────────────────────────────────────
   PROJECTS INDEX PAGE
──────────────────────────────────────────────────────────────── */

/* Filter bar */
.hp-proj-filter-bar {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--hp-rule);
  padding-bottom: 0;
}
.hp-proj-filter-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: 0 0 16px;
  margin-right: 32px;
  transition: color 200ms ease, border-color 200ms ease;
}
.hp-proj-filter-btn:hover { color: rgba(255,255,255,0.7); }
.hp-proj-filter-btn.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Projects index grid */
.hp-proj-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (max-width: 639px) {
  .hp-proj-index-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .hp-proj-index-img  { aspect-ratio: 4 / 3; }
}
@media (min-width: 1080px) { .hp-proj-index-grid { grid-template-columns: repeat(3, 1fr); } }

.hp-proj-index-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.hp-proj-index-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background-color: var(--hp-paper-2);
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hp-proj-index-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 100%);
  transition: background 350ms ease;
  z-index: 1;
}
.hp-proj-index-img > * { position: relative; z-index: 2; }
@media (hover: hover) {
  .hp-proj-index-card:hover .hp-proj-index-img { transform: scale(1.05); }
}
.hp-proj-index-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.90);
  color: #000;
  padding: 5px 10px;
  border-radius: 3px;
  z-index: 2;
}
.hp-proj-index-arrow {
  position: absolute;
  top: 14px; right: 14px;
  color: rgba(255,255,255,0.3);
  transition: color 280ms ease, transform 280ms ease;
  z-index: 2;
}
.hp-proj-index-card:hover .hp-proj-index-arrow {
  color: #fff;
  transform: translate(3px, -3px);
}
.hp-proj-index-meta {
  padding: 16px 2px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-proj-index-name {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}
.hp-proj-index-sub {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.hp-proj-index-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ────────────────────────────────────────────────────────────────
   PROJECT SHOW PAGE
──────────────────────────────────────────────────────────────── */
.hp-page-hero.hp-proj-show-hero {
  padding-bottom: clamp(80px, 12vw, 140px);
}
.hp-proj-show-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.65);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* Stats strip */
.hp-proj-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(10,10,12,0.1);
  border: 1px solid rgba(10,10,12,0.1);
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 600px)  { .hp-proj-stats-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .hp-proj-stats-strip { grid-template-columns: repeat(6, 1fr); } }
.hp-proj-stat-item {
  background: #f5f3ee;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-proj-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10,10,12,0.38);
}
.hp-proj-stat-val {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--hp-ink);
  line-height: 1.2;
}

/* Overview 2-col */
.hp-proj-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (min-width: 860px) {
  .hp-proj-overview-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Gallery */
.hp-proj-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: clamp(32px, 5vw, 64px) 0;
}
@media (min-width: 760px) {
  .hp-proj-gallery-grid { grid-template-columns: 1.4fr 1fr; }
}
.hp-proj-gallery-main img,
.hp-proj-gallery-thumb img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hp-proj-gallery-main img {
  height: 100%;
  min-height: 280px;
  max-height: 600px;
  object-fit: cover;
}
.hp-proj-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.hp-proj-gallery-thumb img {
  aspect-ratio: 4 / 3;
}

/* ────────────────────────────────────────────────────────────────
   BLOG INDEX PAGE
──────────────────────────────────────────────────────────────── */

/* Featured post */
.hp-blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--hp-rule);
}
@media (min-width: 860px) {
  .hp-blog-featured { grid-template-columns: 1.1fr 1fr; }
}
.hp-blog-featured-img {
  aspect-ratio: 16 / 10;
  background-size: 100%;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: background-size 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: var(--hp-paper-2);
}
@media (min-width: 860px) { .hp-blog-featured-img { aspect-ratio: unset; min-height: 420px; } }
.hp-blog-featured:hover .hp-blog-featured-img { background-size: 106%; }
.hp-blog-featured-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.9);
  color: #000;
  padding: 5px 10px;
  border-radius: 3px;
}
.hp-blog-featured-content {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hp-paper-2);
  border-left: 1px solid var(--hp-rule);
}
.hp-blog-featured-date {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.hp-blog-featured-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}
.hp-blog-featured-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hp-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 240ms ease;
}
.hp-blog-featured:hover .hp-blog-read-more,
.hp-blog-index-card:hover .hp-blog-read-more,
.hp-blog-related-card:hover .hp-blog-read-more { color: #fff; }

/* Articles grid */
.hp-blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 1080px) { .hp-blog-index-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-blog-index-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--hp-paper-2);
}
.hp-blog-index-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: 100%;
  background-position: center;
  overflow: hidden;
  background-color: #111;
  transition: background-size 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hp-blog-index-card:hover .hp-blog-index-img { background-size: 108%; }
.hp-blog-index-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.88);
  color: #000;
  padding: 4px 9px;
  border-radius: 3px;
  z-index: 1;
}
.hp-blog-index-arrow {
  position: absolute;
  top: 12px; right: 12px;
  color: rgba(255,255,255,0.28);
  transition: color 260ms ease, transform 260ms ease;
  z-index: 1;
}
.hp-blog-index-card:hover .hp-blog-index-arrow {
  color: #fff;
  transform: translate(3px, -3px);
}
.hp-blog-index-body {
  padding: clamp(16px, 2.5vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-blog-index-date {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.32);
}
.hp-blog-index-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}
.hp-blog-index-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Newsletter */
.hp-blog-newsletter {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 860px) { .hp-blog-newsletter { grid-template-columns: 1fr 1fr; } }
.hp-blog-nl-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────────────────────
   BLOG POST (SHOW) PAGE
──────────────────────────────────────────────────────────────── */
.hp-page-hero.hp-blog-post-hero {
  padding-bottom: clamp(80px, 12vw, 140px);
}
.hp-blog-post-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  max-width: 18ch;
  margin: 16px 0 24px;
}
.hp-blog-post-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.38);
}
.hp-blog-post-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.hp-blog-post-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.hp-blog-post-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(10,10,12,0.75);
  margin: 0 0 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(10,10,12,0.1);
}
.hp-blog-post-p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(10,10,12,0.72);
  margin: 0 0 24px;
}
.hp-blog-post-h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.hp-blog-post-quote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: rgba(10,10,12,0.65);
  border-left: 3px solid rgba(10,10,12,0.15);
  padding: 4px 0 4px 28px;
  margin: 36px 0;
}
.hp-blog-post-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(10,10,12,0.1);
}
.hp-blog-post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hp-ink);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Related articles */
.hp-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 1080px) { .hp-blog-related-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-blog-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--hp-paper-2);
}
.hp-blog-related-img {
  aspect-ratio: 16 / 10;
  background-size: 100%;
  background-position: center;
  overflow: hidden;
  position: relative;
  transition: background-size 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #111;
}
.hp-blog-related-card:hover .hp-blog-related-img { background-size: 108%; }
.hp-blog-related-body {
  padding: clamp(16px, 2.5vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hp-blog-related-title {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  flex: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────────────────────────────────────── */

/* S2 — 2-col grid */
.hp-contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 7vw, 80px);
}
@media (min-width: 860px) {
  .hp-contact-page-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

/* Left column */
.hp-contact-page-left {}

/* Quick-contact icon items */
.hp-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-contact-quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(10,10,12,0.10);
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: border-color 280ms ease, background 280ms ease;
}
a.hp-contact-quick-item:hover {
  border-color: rgba(10,10,12,0.28);
  background: rgba(10,10,12,0.035);
}
.hp-contact-quick-ico {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: rgba(10,10,12,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--hp-ink);
}
.hp-contact-quick-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10,10,12,0.45);
  margin-bottom: 3px;
}
.hp-contact-quick-val {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--hp-ink);
}

/* Form */
.hp-contact-form {
  background: #fff;
  border: 1px solid rgba(10,10,12,0.10);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 48px);
}
.hp-contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 520px) {
  .hp-contact-form-row { grid-template-columns: 1fr 1fr; }
}
.hp-contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.hp-contact-field span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10,10,12,0.50);
}
.hp-contact-field input,
.hp-contact-field select,
.hp-contact-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--hp-ink);
  background: #f9f8f6;
  border: 1px solid rgba(10,10,12,0.13);
  border-radius: 2px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 220ms ease, background 220ms ease;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.hp-contact-field input:focus,
.hp-contact-field select:focus,
.hp-contact-field textarea:focus {
  border-color: var(--hp-ink);
  background: #fff;
}
.hp-contact-field input::placeholder,
.hp-contact-field textarea::placeholder {
  color: rgba(10,10,12,0.30);
}
.hp-contact-form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Success state */
.hp-contact-success {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 20px;
}
.hp-contact-success-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10,10,12,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--hp-ink);
}

/* S3 — Office details grid */
.hp-contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
}
@media (min-width: 860px) {
  .hp-contact-details-grid { grid-template-columns: repeat(4, 1fr); }
}
.hp-contact-detail-card {
  background: transparent;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-contact-detail-ico {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.70);
  margin-bottom: 4px;
}
.hp-contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
}
.hp-contact-detail-val {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.3vw, 15px);
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
}
.hp-contact-detail-link {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  transition: color 220ms ease;
}
.hp-contact-detail-link:hover { color: #fff; }

/* ── Floating WhatsApp FAB ───────────────────────────────── */
.hp-wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.18);
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.hp-wa-fab:hover {
  background: #20c45e;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.2);
}
.hp-wa-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: hp-wa-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes hp-wa-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.28); opacity: 0;   }
  100% { transform: scale(1.28); opacity: 0;   }
}
@media (max-width: 480px) {
  .hp-wa-fab { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .hp-wa-fab svg { width: 24px; height: 24px; }
}


/* ====================================================================
   Construction Cost Estimator — .hp-est-*
==================================================================== */

/* ── Hero variant ───────────────────────────────────────────────── */
.hp-page-hero.hp-est-hero {
  min-height: clamp(300px, 40vw, 420px);
}

/* ── Section wrapper ────────────────────────────────────────────── */
.hp-est-section {
  background: var(--hp-ink);
  padding: clamp(56px, 7vw, 112px) 0;
}

/* ── Outer wrap ─────────────────────────────────────────────────── */
.hp-est-wrap {
  max-width: 640px;
  margin-inline: auto;
}

/* ── Step progress bar ──────────────────────────────────────────── */
.hp-est-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
}
.hp-est-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% - 140px);
  width: 280px;
  height: 1px;
  background: var(--hp-rule);
  z-index: 0;
}
.hp-est-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 140px;
  position: relative;
  z-index: 1;
}
.hp-est-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--hp-rule-strong);
  background: var(--hp-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.4);
  transition: background 260ms ease, border-color 260ms ease, color 260ms ease;
}
.hp-est-step.active .hp-est-step-dot {
  background: #fff;
  border-color: #fff;
  color: #000;
}
.hp-est-step.done .hp-est-step-dot {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hp-est-step-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
  transition: color 260ms ease;
}
.hp-est-step.active .hp-est-step-label { color: rgba(255,255,255,0.85); }
.hp-est-step.done  .hp-est-step-label  { color: rgba(255,255,255,0.45); }

/* ── Card ───────────────────────────────────────────────────────── */
.hp-est-card {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
}
.hp-est-card-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.hp-est-card-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ── Unit toggle ────────────────────────────────────────────────── */
.hp-est-unit-toggle {
  display: inline-flex;
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.hp-est-unit-toggle button {
  padding: 7px 20px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.4);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.hp-est-unit-toggle button.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ── Row + Field ────────────────────────────────────────────────── */
.hp-est-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.hp-est-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-est-field label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hp-est-unit-label {
  color: rgba(255,255,255,0.3);
}
.hp-est-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
  width: 100%;
  -moz-appearance: textfield;
}
.hp-est-input::-webkit-outer-spin-button,
.hp-est-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hp-est-input:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}
.hp-est-input::placeholder { color: rgba(255,255,255,0.2); }

/* ── Info box (plot area preview) ───────────────────────────────── */
.hp-est-info-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.hp-est-info-val {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
}

/* ── Nav bar ────────────────────────────────────────────────────── */
.hp-est-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}
.hp-est-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
  text-decoration: none;
  margin-left: auto;
}
.hp-est-btn-next:hover:not(:disabled) { opacity: 0.88; transform: translateX(2px); }
.hp-est-btn-next:disabled { opacity: 0.35; cursor: not-allowed; }
.hp-est-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}
.hp-est-btn-back:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ── Floor chips ────────────────────────────────────────────────── */
.hp-est-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hp-est-chip {
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid var(--hp-rule);
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.hp-est-chip.active,
.hp-est-chip:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hp-est-chip.active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
}

/* ── Quality grid ───────────────────────────────────────────────── */
.hp-est-quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hp-est-quality-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.hp-est-quality-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.25);
}
.hp-est-quality-card.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
}
.hp-est-quality-name {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.hp-est-quality-rate {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.hp-est-quality-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.55;
}

/* ── Result header ──────────────────────────────────────────────── */
.hp-est-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.hp-est-result-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin: 6px 0 8px;
}
.hp-est-result-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.hp-est-result-badge {
  flex-shrink: 0;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--hp-rule-strong);
  border-radius: 100px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  margin-top: 8px;
}

/* ── Breakdown ──────────────────────────────────────────────────── */
.hp-est-breakdown {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.hp-est-breakdown-title {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0 0 16px;
}
.hp-est-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-est-breakdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.hp-est-breakdown-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 180px;
  min-width: 0;
  color: rgba(255,255,255,0.75);
}
.hp-est-breakdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hp-est-breakdown-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-est-breakdown-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.hp-est-breakdown-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-est-breakdown-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  flex: 0 0 32px;
  text-align: right;
}
.hp-est-breakdown-amt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  flex: 0 0 72px;
  text-align: right;
}

/* ── Specs table ────────────────────────────────────────────────── */
.hp-est-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hp-rule);
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.hp-est-spec-item {
  background: #111114;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-est-spec-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hp-est-spec-val {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

/* ── Disclaimer ─────────────────────────────────────────────────── */
.hp-est-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  margin: 0 0 28px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--hp-rule-strong);
  border-radius: 0 6px 6px 0;
}

/* ── CTAs ───────────────────────────────────────────────────────── */
.hp-est-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hp-est-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms ease, transform 180ms ease;
}
.hp-est-cta-wa:hover { background: #20c45e; transform: translateY(-1px); }
.hp-est-cta-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}
.hp-est-cta-reset:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.hp-est-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  overflow: hidden;
}
.hp-est-faq-item {
  border-bottom: 1px solid var(--hp-rule);
}
.hp-est-faq-item:last-child { border-bottom: none; }
.hp-est-faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  transition: background 160ms ease, color 160ms ease;
}
.hp-est-faq-item summary::-webkit-details-marker { display: none; }
.hp-est-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.hp-est-faq-item[open] summary::after {
  transform: rotate(45deg);
  color: rgba(255,255,255,0.6);
}
.hp-est-faq-item summary:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.hp-est-faq-item > p {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ── Alpine fade-in transition ──────────────────────────────────── */
.hp-est-fade-in {
  animation: hp-est-fade 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hp-est-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 520px) {
  .hp-est-quality-grid { grid-template-columns: 1fr; }
  .hp-est-specs         { grid-template-columns: 1fr; }
  .hp-est-breakdown-left { flex: 0 0 130px; font-size: 12px; }
  .hp-est-result-header { flex-direction: column; }
  .hp-est-result-badge  { align-self: flex-start; }
  .hp-est-row           { grid-template-columns: 1fr; }
  .hp-est-ctas          { flex-direction: column; }
  .hp-est-cta-wa,
  .hp-est-cta-reset     { width: 100%; justify-content: center; }
  .hp-est-btn-next,
  .hp-est-btn-back      { font-size: 13px; padding: 10px 16px; }
}

/* ====================================================================
   Home Loan EMI Calculator — .hp-emi-*
==================================================================== */

/* ── Hero variant ───────────────────────────────────────────────── */
.hp-page-hero.hp-emi-hero {
  min-height: clamp(300px, 40vw, 420px);
}

/* ── Section ────────────────────────────────────────────────────── */
.hp-emi-section {
  background: var(--hp-ink);
  padding: clamp(56px, 7vw, 112px) 0;
}

/* ── Two-column layout ──────────────────────────────────────────── */
.hp-emi-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

/* ── Left panel ─────────────────────────────────────────────────── */
.hp-emi-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  position: sticky;
  top: 96px;
}
.hp-emi-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

/* ── Field ──────────────────────────────────────────────────────── */
.hp-emi-field {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-emi-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hp-emi-label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hp-emi-field-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.hp-emi-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.25);
}

/* ── Range slider ───────────────────────────────────────────────── */
.hp-emi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  border: none;
}
.hp-emi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 150ms ease;
}
.hp-emi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.hp-emi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hp-emi-slider::-webkit-slider-runnable-track { border-radius: 4px; }
.hp-emi-slider::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}

/* ── Tenure chips (reuse hp-est-chip) ───────────────────────────── */
.hp-emi-tenure-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Bank rate hints ────────────────────────────────────────────── */
.hp-emi-rate-hints {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  padding: 14px 16px;
}
.hp-emi-rate-hints-title {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 10px;
}
.hp-emi-rate-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-emi-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color 150ms ease;
}
.hp-emi-rate-row:last-child { border-bottom: none; }
.hp-emi-rate-row:hover { color: #fff; }
.hp-emi-rate-row span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ── Right panel ────────────────────────────────────────────────── */
.hp-emi-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Main EMI card ──────────────────────────────────────────────── */
.hp-emi-result-main {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
}
.hp-emi-emi-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

/* ── Stats grid ─────────────────────────────────────────────────── */
.hp-emi-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hp-rule);
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  overflow: hidden;
}
.hp-emi-stat {
  background: #111114;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hp-emi-stat-wide {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.04);
}
.hp-emi-stat-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.hp-emi-stat-val {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.hp-emi-stat-interest { color: #f0a882; }
.hp-emi-stat-total    { font-size: 18px; }

/* ── Principal vs Interest bar ──────────────────────────────────── */
.hp-emi-split-bar {
  height: 8px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  margin-bottom: 10px;
}
.hp-emi-split-principal {
  background: rgba(255,255,255,0.85);
  height: 100%;
  transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-emi-split-interest {
  background: #f0a882;
  height: 100%;
  flex: 1;
  transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-emi-split-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.hp-emi-split-labels strong { color: rgba(255,255,255,0.85); }
.hp-emi-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.hp-emi-dot-p { background: rgba(255,255,255,0.85); }
.hp-emi-dot-i { background: #f0a882; }

/* ── Amortisation table ─────────────────────────────────────────── */
.hp-emi-table-wrap {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  overflow: hidden;
}
.hp-emi-table-title {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--hp-rule);
}
.hp-emi-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hp-emi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
.hp-emi-table thead th {
  padding: 10px 16px;
  text-align: right;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.3);
  border-bottom: 1px solid var(--hp-rule);
}
.hp-emi-table thead th:first-child { text-align: left; }
.hp-emi-table tbody td {
  padding: 10px 16px;
  text-align: right;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hp-emi-table tbody td:first-child {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.45);
}
.hp-emi-table tbody tr:last-child td { border-bottom: none; }
.hp-emi-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.hp-emi-td-interest { color: #f0a882 !important; }
.hp-emi-show-more {
  display: block;
  width: 100%;
  padding: 12px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--hp-rule);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
  text-align: center;
}
.hp-emi-show-more:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}

/* ── WhatsApp CTA full-width variant ────────────────────────────── */
.hp-emi-cta-wa {
  width: 100%;
  justify-content: center;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hp-emi-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hp-emi-inputs { position: static; }
}
@media (max-width: 480px) {
  .hp-emi-emi-amount { font-size: 36px; }
  .hp-emi-stats-grid { grid-template-columns: 1fr; }
  .hp-emi-stat-wide  { grid-column: 1; }
}

/* ====================================================================
   Material Quantity Calculator — .hp-mat-*
==================================================================== */

/* ── Hero ───────────────────────────────────────────────────────── */
.hp-page-hero.hp-mat-hero {
  min-height: clamp(300px, 40vw, 420px);
}

/* ── Section ────────────────────────────────────────────────────── */
.hp-mat-section {
  background: var(--hp-ink);
  padding: clamp(56px, 7vw, 112px) 0;
}

/* ── Two-column layout ──────────────────────────────────────────── */
.hp-mat-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

/* ── Left panel ─────────────────────────────────────────────────── */
.hp-mat-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  position: sticky;
  top: 96px;
}
.hp-mat-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.hp-mat-label {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hp-mat-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

/* ── Quality chips ──────────────────────────────────────────────── */
.hp-mat-quality-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hp-mat-quality-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.hp-mat-quality-chip:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.hp-mat-quality-chip.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.hp-mat-quality-name {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 2px;
}
.hp-mat-quality-rate {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.4);
}

/* ── Info note ──────────────────────────────────────────────────── */
.hp-mat-rate-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  padding: 12px 14px;
}
.hp-mat-rate-note p {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  margin: 0;
}
.hp-mat-rate-note strong { color: rgba(255,255,255,0.6); }

/* ── Right panel ────────────────────────────────────────────────── */
.hp-mat-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Summary bar ────────────────────────────────────────────────── */
.hp-mat-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hp-rule);
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4px;
}
.hp-mat-summary-area,
.hp-mat-summary-cost {
  background: #111114;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hp-mat-summary-cost { background: rgba(255,255,255,0.05); }
.hp-mat-summary-val {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: #fff;
}
.hp-mat-summary-note {
  grid-column: 1 / -1;
  background: #111114;
  padding: 8px 18px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.25);
  letter-spacing: .08em;
  border-top: 1px solid var(--hp-rule);
}

/* ── Material cards grid ────────────────────────────────────────── */
.hp-mat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.hp-mat-card {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-left: 3px solid transparent;
  border-radius: 10px;
  padding: 14px 16px;
  transition: background 160ms ease;
}
.hp-mat-card:hover { background: rgba(255,255,255,0.04); }
.hp-mat-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hp-mat-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hp-mat-card-name {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.hp-mat-card-qty {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2px;
}
.hp-mat-card-unit {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.hp-mat-card-cost {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.5);
}

/* ── Cost split bars ────────────────────────────────────────────── */
.hp-mat-breakdown-wrap {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 20px;
}
.hp-mat-breakdown-title {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 16px;
}
.hp-mat-breakdown-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hp-mat-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.hp-mat-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 165px;
  color: rgba(255,255,255,0.7);
  min-width: 0;
}
.hp-mat-bar-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Empty state ────────────────────────────────────────────────── */
.hp-mat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Cross-links ────────────────────────────────────────────────── */
.hp-mat-crosslinks {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-mat-crosslink {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 18px 24px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
  min-width: 200px;
}
.hp-mat-crosslink:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.hp-mat-crosslink-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.hp-mat-crosslink-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* ── Market rates table wrapper ─────────────────────────────────── */
.hp-mat-rates-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  overflow: hidden;
}
.hp-mat-rates-table-wrap .hp-emi-table thead th,
.hp-mat-rates-table-wrap .hp-emi-table tbody td { white-space: nowrap; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hp-mat-wrap { grid-template-columns: 1fr; gap: 28px; }
  .hp-mat-inputs { position: static; }
}
@media (max-width: 520px) {
  .hp-mat-grid           { grid-template-columns: 1fr; }
  .hp-mat-summary        { grid-template-columns: 1fr; }
  .hp-mat-summary-cost   { border-top: 1px solid var(--hp-rule); }
  .hp-mat-summary-note   { grid-column: 1; }
  .hp-mat-quality-chips  { grid-template-columns: 1fr 1fr; }
  .hp-mat-bar-left       { flex: 0 0 130px; font-size: 12px; }
  .hp-mat-crosslink      { min-width: 0; width: 100%; }
}

/* ====================================================================
   Vastu Direction Checker — .hp-vas-*
==================================================================== */

.hp-page-hero.hp-vas-hero {
  min-height: clamp(300px, 40vw, 420px);
}

.hp-vas-section {
  background: var(--hp-ink);
  padding: clamp(56px, 7vw, 112px) 0;
}

/* ── Two-column layout ──────────────────────────────────────────── */
.hp-vas-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* ── Left panel ─────────────────────────────────────────────────── */
.hp-vas-left {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hp-vas-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.hp-vas-panel-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: -16px 0 0;
}

/* ── Compass ────────────────────────────────────────────────────── */
.hp-vas-compass-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hp-vas-compass {
  display: grid;
  grid-template-columns: repeat(3, 88px);
  grid-template-rows: repeat(3, 88px);
  gap: 6px;
}
.hp-vas-dir-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  padding: 0;
}
.hp-vas-dir-btn:not(.center):hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.28);
  transform: scale(1.04);
}
.hp-vas-dir-btn.center {
  background: rgba(255,255,255,0.06);
  cursor: default;
  font-size: 20px;
  color: rgba(255,255,255,0.25);
}
.hp-vas-dir-btn.active {
  border-width: 2px;
  transform: scale(1.06);
}
.hp-vas-dir-btn.verdict-best      { background: rgba(34,197,94,0.12);  border-color: rgba(34,197,94,0.5);  }
.hp-vas-dir-btn.verdict-good      { background: rgba(250,204,21,0.10); border-color: rgba(250,204,21,0.5); }
.hp-vas-dir-btn.verdict-avg       { background: rgba(251,146,60,0.10); border-color: rgba(251,146,60,0.5); }
.hp-vas-dir-btn.verdict-challenge { background: rgba(248,113,113,0.12);border-color: rgba(248,113,113,0.5);}
.hp-vas-dir-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  font-family: 'JetBrains Mono', monospace;
}
.hp-vas-dir-score {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.38);
}
.hp-vas-dir-btn.active .hp-vas-dir-label { color: #fff; }
.hp-vas-dir-btn.active .hp-vas-dir-score { color: rgba(255,255,255,0.65); }
.hp-vas-compass-north {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.3);
  letter-spacing: .1em;
}

/* ── Legend ─────────────────────────────────────────────────────── */
.hp-vas-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}
.hp-vas-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.hp-vas-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Right panel ────────────────────────────────────────────────── */
.hp-vas-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Result panel ───────────────────────────────────────────────── */
.hp-vas-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-vas-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 14px;
  padding: 20px 22px;
}
.hp-vas-result-dir {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: #fff;
  margin: 4px 0 0;
}
.hp-vas-score-badge {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
  border: 2px solid;
  border-radius: 10px;
  padding: 8px 14px;
  margin-top: 4px;
}
.hp-vas-score-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.hp-vas-score-denom {
  font-size: 14px;
  opacity: 0.6;
}

/* ── Verdict ────────────────────────────────────────────────────── */
.hp-vas-verdict {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 10px;
}
.hp-vas-verdict-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.hp-vas-verdict-label {
  font-size: 13px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.hp-vas-verdict-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

/* ── Score bar ──────────────────────────────────────────────────── */
.hp-vas-score-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: -8px 0 0;
}
.hp-vas-score-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Cards ──────────────────────────────────────────────────────── */
.hp-vas-card {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 18px 20px;
}
.hp-vas-card-title {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}

/* ── Room list ──────────────────────────────────────────────────── */
.hp-vas-room-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-vas-room-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.hp-vas-room-row:last-child { border-bottom: none; }
.hp-vas-room-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.hp-vas-room-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hp-vas-dot-best { background: #4ade80; }
.hp-vas-dot-good { background: #facc15; }
.hp-vas-dot-avg  { background: #fb923c; }
.hp-vas-room-name {
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
.hp-vas-room-pos {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: right;
}
.hp-vas-room-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.hp-vas-room-legend .hp-vas-room-dot { margin-right: 4px; vertical-align: middle; }

/* ── Do's & Don'ts ──────────────────────────────────────────────── */
.hp-vas-dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hp-vas-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hp-vas-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.hp-vas-dos .hp-vas-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-size: 11px;
  top: 1px;
}
.hp-vas-donts .hp-vas-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #f87171;
  font-size: 11px;
  top: 1px;
}

/* ── Colour chips ───────────────────────────────────────────────── */
.hp-vas-colours {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hp-vas-colour-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 6px;
  padding: 6px 12px 6px 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.hp-vas-colour-swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hp-vas-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hp-vas-left { position: static; }
}
@media (max-width: 520px) {
  .hp-vas-compass { grid-template-columns: repeat(3, 76px); grid-template-rows: repeat(3, 76px); }
  .hp-vas-dos-donts { grid-template-columns: 1fr; }
  .hp-vas-result-header { flex-direction: column; gap: 12px; }
  .hp-vas-room-name { font-size: 12px; }
  .hp-vas-room-pos  { font-size: 11px; }
}

/* ====================================================================
   Navbar — Tools Dropdown
==================================================================== */
.hp-nav-dropdown-wrap { position: relative; }

.hp-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  color: rgba(255,255,255,0.65);
  padding: 0;
  transition: color 200ms ease;
  white-space: nowrap;
}
.hp-nav-dropdown-trigger:hover,
.hp-nav-dropdown-trigger.active { color: #fff; }

.hp-nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: rgba(18,18,22,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 8px;
  z-index: 300;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
}
.hp-nav-dd-enter { animation: hp-dd-in 180ms ease both; }
.hp-nav-dd-leave { animation: hp-dd-in 120ms ease both reverse; }
@keyframes hp-dd-in {
  from { opacity:0; transform:translateX(-50%) translateY(-6px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}

.hp-nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 160ms ease;
  color: rgba(255,255,255,0.75);
}
.hp-nav-dropdown a:hover,
.hp-nav-dropdown a.active {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.hp-nav-dd-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.55);
}
.hp-nav-dropdown a strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.hp-nav-dropdown a em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 1px;
}

/* Mobile drawer divider */
.hp-nav-mobile-divider {
  padding: 8px 20px 4px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
}

/* ====================================================================
   Construction Timeline Estimator — .hp-tl-*
==================================================================== */

.hp-page-hero.hp-tl-hero {
  min-height: clamp(300px, 40vw, 420px);
}

.hp-tl-section {
  background: var(--hp-ink);
  padding: clamp(56px, 7vw, 112px) 0;
}

/* ── Two-column layout ──────────────────────────────────────────── */
.hp-tl-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Left panel ─────────────────────────────────────────────────── */
.hp-tl-inputs {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  position: sticky;
  top: 96px;
}

/* ── Select ─────────────────────────────────────────────────────── */
.hp-tl-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hp-rule);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  cursor: pointer;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 180ms ease;
}
.hp-tl-select:focus { border-color: rgba(255,255,255,0.35); }
.hp-tl-select option { background: #1a1a1d; color: #fff; }

/* ── Summary stats ──────────────────────────────────────────────── */
.hp-tl-summary-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  overflow: hidden;
}
.hp-tl-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 8px;
}
.hp-tl-stat:last-child { border-bottom: none; }
.hp-tl-stat-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.hp-tl-stat-val {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

/* ── Chart panel ────────────────────────────────────────────────── */
.hp-tl-chart-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Gantt chart ────────────────────────────────────────────────── */
.hp-tl-gantt {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 14px;
  overflow: hidden;
}
.hp-tl-gantt-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hp-rule);
  background: rgba(255,255,255,0.03);
}
.hp-tl-gantt-label-col {
  flex: 0 0 180px;
  padding: 10px 14px;
  border-right: 1px solid var(--hp-rule);
}
.hp-tl-gantt-ruler {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.hp-tl-ruler-tick {
  flex: 1;
  padding: 8px 4px;
  text-align: center;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.28);
  border-right: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-tl-ruler-tick:last-child { border-right: none; }

.hp-tl-gantt-row {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hp-tl-row-even { background: rgba(255,255,255,0.015); }
.hp-tl-gantt-total {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid var(--hp-rule);
  background: rgba(255,255,255,0.04);
}
.hp-tl-gantt-label {
  flex: 0 0 180px;
  padding: 8px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  border-right: 1px solid var(--hp-rule);
  line-height: 1.35;
  min-height: 100%;
  display: flex;
  align-items: center;
}
.hp-tl-gantt-track {
  flex: 1;
  position: relative;
  height: 42px;
  overflow: hidden;
}
.hp-tl-gantt-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 500ms cubic-bezier(0.22, 1, 0.36, 1), left 500ms cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 4px;
  overflow: hidden;
}
.hp-tl-bar-dur {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
  white-space: nowrap;
  padding: 0 5px;
}
.hp-tl-gantt-total-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

/* ── Milestones ─────────────────────────────────────────────────── */
.hp-tl-milestones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hp-tl-milestone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  padding: 14px 16px;
}
.hp-tl-milestone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hp-tl-milestone-name {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2px;
}
.hp-tl-milestone-when {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hp-tl-wrap            { grid-template-columns: 1fr; gap: 28px; }
  .hp-tl-inputs          { position: static; }
  .hp-tl-gantt-label-col,
  .hp-tl-gantt-label     { flex: 0 0 130px; font-size: 11px; }
}
@media (max-width: 640px) {
  .hp-tl-gantt           { overflow-x: auto; }
  .hp-tl-gantt-label-col,
  .hp-tl-gantt-label     { flex: 0 0 110px; padding: 6px 8px; font-size: 10px; }
  .hp-tl-milestones      { grid-template-columns: 1fr; }
  .hp-tl-ruler-tick      { min-width: 36px; }
}
@media (max-width: 520px) {
  .hp-nav-dropdown { width: 260px; }
}

/* ====================================================================
   Navbar — "View All" dropdown footer link
==================================================================== */
.hp-nav-dd-viewall {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 12px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  font-size: 12px !important;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.45) !important;
  border-radius: 0 0 6px 6px !important;
  background: transparent !important;
}
.hp-nav-dd-viewall:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.05) !important;
}

/* ====================================================================
   Tools Hub — .hp-tools-*
==================================================================== */
.hp-page-hero.hp-tools-hero {
  min-height: clamp(300px, 40vw, 420px);
}

.hp-tools-group {
  margin-bottom: 56px;
}
.hp-tools-group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hp-tools-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.hp-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hp-tool-card {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 16px;
  align-items: start;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 14px;
  padding: 22px 20px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.hp-tool-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.hp-tool-card-highlight {
  border-color: rgba(249,115,22,0.3);
}
.hp-tool-card-highlight:hover { border-color: rgba(249,115,22,0.55); }
.hp-tool-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  margin-top: 2px;
}
.hp-tool-card-eyebrow {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 5px;
}
.hp-tool-card-title {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.hp-tool-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  line-height: 1.6;
  margin: 0 0 10px;
}
.hp-tool-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.28);
}
.hp-tool-card-arrow {
  color: rgba(255,255,255,0.2);
  margin-top: 4px;
  transition: color 180ms ease, transform 180ms ease;
}
.hp-tool-card:hover .hp-tool-card-arrow {
  color: rgba(255,255,255,0.7);
  transform: translateX(3px);
}

/* VS comparison banner */
.hp-tools-vs-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 28px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.hp-tools-vs-banner:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.hp-tools-vs-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .hp-tools-grid        { grid-template-columns: 1fr; }
  .hp-tool-card         { grid-template-columns: 44px 1fr 20px; gap: 12px; padding: 18px 16px; }
  .hp-tool-card-icon    { width: 40px; height: 40px; }
  .hp-tools-vs-banner   { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ====================================================================
   Comparison Page — .hp-vs-*
==================================================================== */
.hp-page-hero.hp-vs-hero {
  min-height: clamp(300px, 40vw, 420px);
}

/* ── Table ──────────────────────────────────────────────────────── */
.hp-vs-table-wrap {
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  overflow: hidden;
}
.hp-vs-table-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--hp-rule);
}
.hp-vs-col-feature,
.hp-vs-col-us,
.hp-vs-col-them {
  padding: 16px 18px;
}
.hp-vs-col-us,
.hp-vs-col-them {
  border-left: 1px solid var(--hp-rule);
}
.hp-vs-head-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-bottom: 4px;
}
.hp-vs-head-them {
  background: rgba(248,113,113,0.12);
  color: rgba(255,255,255,0.6);
}
.hp-vs-table-head p {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.hp-vs-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 140ms ease;
}
.hp-vs-row:last-child { border-bottom: none; }
.hp-vs-row:hover { background: rgba(255,255,255,0.02); }
.hp-vs-col-feature {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
}
.hp-vs-col-us,
.hp-vs-col-them {
  padding: 12px 16px;
  font-size: 12.5px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.hp-vs-col-us   { border-left: 1px solid var(--hp-rule); color: rgba(255,255,255,0.65); }
.hp-vs-col-them { border-left: 1px solid var(--hp-rule); color: rgba(255,255,255,0.38); }
.hp-vs-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hp-vs-check-yes { background: rgba(74,222,128,0.15); color: #4ade80; }
.hp-vs-check-no  { background: rgba(248,113,113,0.12); color: #f87171; }

/* ── Risk cards ─────────────────────────────────────────────────── */
.hp-vs-risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hp-vs-risk-card {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-top: 2px solid #f87171;
  border-radius: 12px;
  padding: 22px 20px;
}
.hp-vs-risk-icon {
  color: #f87171;
  margin-bottom: 12px;
}
.hp-vs-risk-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.hp-vs-risk-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0;
}

/* ── Stats ──────────────────────────────────────────────────────── */
.hp-vs-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}
.hp-vs-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.hp-vs-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .06em;
}

/* ── Testimonials ───────────────────────────────────────────────── */
.hp-vs-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-vs-testimonial {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.hp-vs-testimonial-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}
.hp-vs-testimonial-text::before { content: '"'; }
.hp-vs-testimonial-text::after  { content: '"'; }
.hp-vs-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-vs-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.hp-vs-testimonial-author strong {
  display: block;
  font-size: 13px;
  color: #fff;
}
.hp-vs-testimonial-author span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 860px) {
  .hp-vs-table-head,
  .hp-vs-row         { grid-template-columns: 1fr 1fr; }
  .hp-vs-col-feature { display: none; }
  .hp-vs-col-us      { border-left: none; }
  .hp-vs-risk-grid   { grid-template-columns: 1fr; }
  .hp-vs-testimonials{ grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hp-vs-row         { grid-template-columns: 1fr; }
  .hp-vs-col-them    { border-left: none; border-top: 1px solid rgba(255,255,255,0.05); }
  .hp-vs-table-head  { grid-template-columns: 1fr; }
  .hp-vs-col-us.hp-vs-table-head > div { border-left: none; }
}

/* ====================================================================
   Interior Style Quiz — .hp-quiz-*
==================================================================== */
.hp-page-hero.hp-quiz-hero {
  min-height: clamp(300px, 40vw, 420px);
}

.hp-quiz-section {
  background: var(--hp-ink);
  padding: clamp(56px, 7vw, 112px) 0;
}
.hp-quiz-wrap {
  max-width: 680px;
  margin-inline: auto;
}

/* ── Question card ──────────────────────────────────────────────── */
.hp-quiz-card {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
}

/* ── Progress bar ───────────────────────────────────────────────── */
.hp-quiz-progress {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.hp-quiz-progress-bar {
  height: 100%;
  background: #fff;
  border-radius: 3px;
  transition: width 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-quiz-step-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hp-quiz-q {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.35;
}

/* ── Options ────────────────────────────────────────────────────── */
.hp-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hp-rule);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.hp-quiz-option:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.hp-quiz-option.selected {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.hp-quiz-option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 160ms ease, color 160ms ease;
}
.hp-quiz-option.selected .hp-quiz-option-letter {
  background: #fff;
  border-color: #fff;
  color: #000;
}
.hp-quiz-option-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  margin-bottom: 3px;
}
.hp-quiz-option-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Result ─────────────────────────────────────────────────────── */
.hp-quiz-result {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hp-quiz-result-header {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}
.hp-quiz-result-style {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.1;
}
.hp-quiz-result-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-style: italic;
}

/* ── Mood board ─────────────────────────────────────────────────── */
.hp-quiz-moodboard {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}
.hp-quiz-mood-img {
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  transition: transform 400ms ease;
}
.hp-quiz-mood-img:hover { transform: scale(1.02); }
.hp-quiz-mood-hero {
  grid-row: 1 / 3;
}

/* ── Result body ────────────────────────────────────────────────── */
.hp-quiz-result-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-quiz-result-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0;
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 20px;
}

/* ── Traits ─────────────────────────────────────────────────────── */
.hp-quiz-traits {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 20px;
}
.hp-quiz-traits-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-quiz-trait {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.hp-quiz-trait:last-child { border-bottom: none; }
.hp-quiz-trait-label {
  color: rgba(255,255,255,0.38);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.hp-quiz-trait-val { color: rgba(255,255,255,0.75); text-align: right; }

/* ── Rooms ──────────────────────────────────────────────────────── */
.hp-quiz-rooms {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 20px;
}
.hp-quiz-room-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-quiz-room-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.hp-quiz-room-row:last-child { border-bottom: none; }
.hp-quiz-room-name {
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
}
.hp-quiz-room-tip {
  color: rgba(255,255,255,0.4);
  text-align: right;
  line-height: 1.5;
}

/* ── Palette ────────────────────────────────────────────────────── */
.hp-quiz-palette {
  background: #111114;
  border: 1px solid var(--hp-rule);
  border-radius: 12px;
  padding: 20px;
}

@media (max-width: 520px) {
  .hp-quiz-moodboard    { grid-template-columns: 1fr; grid-template-rows: 200px 120px 120px; }
  .hp-quiz-mood-hero    { grid-row: 1; }
  .hp-quiz-trait        { flex-direction: column; gap: 3px; }
  .hp-quiz-trait-val    { text-align: left; }
  .hp-quiz-room-row     { flex-direction: column; gap: 4px; }
  .hp-quiz-room-tip     { text-align: left; }
}
