/* ==================================================================
   KHWAAB — design system
   Light luxury editorial (madhavagasti direction): warm ivory ground,
   ink type, one gold accent, hairline rules, massive display serif (Fraunces).
   Bootstrap 5 provides grid/reset; this layer owns every aesthetic.
   ================================================================== */

:root {
  /* LIGHT EDITORIAL (client 2026-07-03: "not dark — madhavagasti direction").
     Variable NAMES are kept so all component CSS works unchanged:
     the ink-* scale is now the IVORY GROUND, the bone-* scale is now INK TYPE. */

  /* Ground — warm ivory / paper */
  --ink-950: #fcfaf5; /* page — near-white ivory */
  --ink-900: #f4efe4; /* raised sections */
  --ink-800: #ece5d5; /* cards / wells */
  --ink-700: #ded4bf;

  /* Type — warm ink on paper */
  --bone: #241d12; /* body/display text */
  --bone-bright: #171209; /* strongest headings */
  --bone-muted: #5d5546; /* secondary copy */
  --bone-faint: #7d7461; /* captions / micro labels */

  /* One restrained metallic — deepened gold for light-ground contrast */
  --champagne: #8a6e35;
  --champagne-bright: #a98d4f;
  --bronze: #6f5729;

  /* Hairlines — ink at low strength */
  --hairline: rgba(36, 29, 18, 0.16);
  --hairline-faint: rgba(36, 29, 18, 0.09);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-couture: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--ink-950);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background-color: var(--champagne);
  color: var(--ink-950);
}

:focus-visible {
  outline: 1px solid var(--champagne);
  outline-offset: 3px;
}

h1,
h2,
h3,
.kh-display {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--bone-bright);
  text-wrap: balance;
}

a {
  color: var(--bone);
  text-decoration: none;
}
a:hover {
  color: var(--champagne-bright);
}

img {
  max-width: 100%;
}

/* ------------------------------------------------------------------
   Utilities — the house vocabulary
   ------------------------------------------------------------------ */

.kh-container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .kh-container {
    padding-inline: 40px;
  }
}
@media (min-width: 992px) {
  .kh-container {
    padding-inline: 56px;
  }
}

.kh-caps {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

.kh-rule-t {
  border-top: 1px solid var(--hairline);
}
.kh-rule-b {
  border-bottom: 1px solid var(--hairline);
}

.kh-section {
  padding-block: 112px;
}
@media (min-width: 768px) {
  .kh-section {
    padding-block: 144px;
  }
}
.kh-section--raised {
  background-color: var(--ink-900);
}

.kh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--champagne);
}
.kh-eyebrow .kh-eyebrow__rule {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(198, 166, 114, 0.6);
}

.kh-lede {
  max-width: 36rem;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-muted);
}

.kh-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--bone-faint);
}

/* Section heading */
.kh-heading {
  margin-top: 24px;
  font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  line-height: 1.04;
}

/* ------------------------------------------------------------------
   Buttons — primary / ghost / underline link
   ------------------------------------------------------------------ */

.kh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding-inline: 36px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  transition: all 0.5s var(--ease-couture);
}

.kh-btn--primary {
  background-color: var(--bone);
  color: var(--ink-950);
}
.kh-btn--primary:hover {
  background-color: var(--champagne-bright);
  color: var(--ink-950);
}

.kh-btn--ghost {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--bone);
}
.kh-btn--ghost:hover {
  border-color: var(--champagne);
  color: var(--champagne-bright);
}

.kh-btn--link {
  height: auto;
  padding: 0 0 8px 0;
  gap: 8px;
  background: transparent;
  border-bottom: 1px solid rgba(198, 166, 114, 0.5);
  color: var(--bone);
}
.kh-btn--link:hover {
  border-color: var(--champagne);
  color: var(--champagne-bright);
}

/* ------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------ */

.kh-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color 0.5s var(--ease-couture),
    border-color 0.5s var(--ease-couture);
}
.kh-nav--scrolled,
.kh-nav--open {
  background-color: rgba(250, 247, 240, 0.92);
  border-bottom-color: var(--hairline);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.kh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
@media (min-width: 992px) {
  .kh-nav__inner {
    height: 96px;
  }
}

.kh-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.kh-wordmark__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.34em;
  color: var(--bone-bright);
  transition: color 0.5s var(--ease-couture);
}
.kh-wordmark:hover .kh-wordmark__name {
  color: var(--champagne-bright);
}
.kh-wordmark__sub {
  margin-top: 6px;
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.kh-nav__links {
  display: none;
  align-items: center;
  gap: 36px;
}
@media (min-width: 992px) {
  .kh-nav__links {
    display: flex;
  }
}
.kh-nav__link {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-muted);
  transition: color 0.3s ease;
}
.kh-nav__link:hover {
  color: var(--bone-bright);
}
.kh-nav__link--active {
  color: var(--champagne);
}
.kh-nav__cta {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--hairline);
  padding: 14px 24px;
  transition: all 0.5s var(--ease-couture);
}
.kh-nav__cta:hover {
  border-color: var(--champagne);
  color: var(--champagne-bright);
}

/* Burger */
.kh-burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
}
@media (min-width: 992px) {
  .kh-burger {
    display: none;
  }
}
.kh-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s ease;
}
.kh-nav--open .kh-burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.kh-nav--open .kh-burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile drawer */
.kh-drawer {
  position: fixed;
  inset: 80px 0 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  background: var(--ink-950);
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.kh-nav--open + .kh-drawer,
.kh-drawer--open {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 992px) {
  .kh-drawer {
    display: none;
  }
}
.kh-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kh-drawer__list li + li {
  border-top: 1px solid var(--hairline);
}
.kh-drawer__link {
  display: block;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--bone);
}
.kh-drawer__cta {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: center;
  background: var(--bone);
  color: var(--ink-950);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.kh-drawer__cta:hover {
  color: var(--ink-950);
  background: var(--champagne-bright);
}
.kh-drawer__meta {
  margin-top: 24px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
  line-height: 2;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.kh-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  background: var(--ink-950);
}
.kh-hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
  padding-top: 128px;
  padding-bottom: 64px;
}
@media (min-width: 992px) {
  .kh-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 80px;
    padding-top: 160px;
  }
}

.kh-hero__title {
  margin-top: 32px;
  font-size: clamp(3.1rem, 7vw, 8.25rem);
  line-height: 0.99;
}
.kh-hero__title em,
.kh-quote em {
  font-style: italic;
  font-weight: 300;
  color: var(--champagne-bright);
}

.kh-hero__lede {
  max-width: 32rem;
  margin-top: 36px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-muted);
}
@media (min-width: 768px) {
  .kh-hero__lede {
    font-size: 16px;
  }
}

.kh-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 576px) {
  .kh-hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

/* ------------------------------------------------------------------
   Photography — framed figures, text never on the image
   ------------------------------------------------------------------ */

.kh-figure {
  margin: 0;
}
.kh-figure__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline-faint);
  background: var(--ink-900);
}
.kh-figure__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-couture);
}
.kh-figure:hover .kh-figure__frame img {
  transform: scale(1.04);
}
.kh-figure__frame--tall {
  aspect-ratio: 3 / 4;
}
.kh-figure__frame--wide {
  aspect-ratio: 4 / 5;
}
.kh-figure__frame--square {
  aspect-ratio: 1 / 1;
}
.kh-figcaption {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
  line-height: 1.8;
}

/* Hero portrait height cap */
.kh-hero .kh-figure__frame--tall {
  max-height: 76svh;
}

/* Parallax (JS translates the layer; image oversized to cover) */
.kh-parallax .kh-figure__frame img,
.kh-parallax img {
  transform: scale(1.14);
}
@media (prefers-reduced-motion: reduce) {
  .kh-parallax .kh-figure__frame img,
  .kh-parallax img {
    transform: none;
  }
}

/* ------------------------------------------------------------------
   Marquee — quiet credentials ticker
   ------------------------------------------------------------------ */

.kh-marquee {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  padding-block: 24px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.kh-marquee__track {
  display: flex;
  width: max-content;
  animation: kh-marquee 46s linear infinite;
}
@keyframes kh-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .kh-marquee__track {
    animation: none;
  }
}
.kh-marquee__item {
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
  white-space: nowrap;
}
.kh-marquee__item span {
  padding-inline: 32px;
}
.kh-marquee__star {
  color: rgba(198, 166, 114, 0.4);
}

/* ------------------------------------------------------------------
   Journeys — three doors
   ------------------------------------------------------------------ */

.kh-journey {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kh-journey__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 28px;
}
.kh-journey__index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--champagne);
}
.kh-journey__title {
  font-size: 1.6rem;
  color: var(--bone-bright);
  margin: 0;
}
.kh-journey__copy {
  flex: 1;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--bone-muted);
}
.kh-journey__cta {
  margin-top: 28px;
}

/* ------------------------------------------------------------------
   Collection index — editorial price list
   ------------------------------------------------------------------ */

.kh-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.kh-index__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 768px) {
  .kh-index__row {
    grid-template-columns: 3rem 5.5rem 1fr auto;
    gap: 32px;
    padding-block: 24px;
  }
}
.kh-index__num {
  display: none;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--bone-faint);
}
@media (min-width: 768px) {
  .kh-index__num {
    display: block;
  }
}
.kh-index__thumb {
  position: relative;
  width: 64px;
  height: 80px;
  overflow: hidden;
  border: 1px solid var(--hairline-faint);
  background: var(--ink-900);
}
@media (min-width: 768px) {
  .kh-index__thumb {
    width: 88px;
    height: 96px;
  }
}
.kh-index__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-couture);
}
.kh-index__row:hover .kh-index__thumb img {
  transform: scale(1.07);
}
.kh-index__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--bone);
  transition: color 0.3s ease;
}
@media (min-width: 768px) {
  .kh-index__name {
    font-size: 1.9rem;
  }
}
.kh-index__row:hover .kh-index__name {
  color: var(--champagne-bright);
}
.kh-index__body {
  display: block;
  min-width: 0;
}
.kh-index__note {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--bone-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kh-index__meta {
  display: flex;
  align-items: center;
  gap: 32px;
}
.kh-index__arrow {
  color: rgba(198, 166, 114, 0.6);
  transition:
    transform 0.5s var(--ease-couture),
    color 0.5s var(--ease-couture);
}
.kh-index__row:hover .kh-index__arrow {
  transform: translateX(6px);
  color: var(--champagne);
}
.kh-price {
  white-space: nowrap;
}
.kh-price__prefix {
  margin-right: 8px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.kh-price__amount {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bone);
}

/* Sticky intro column */
@media (min-width: 992px) {
  .kh-sticky {
    position: sticky;
    top: 144px;
  }
}

/* ------------------------------------------------------------------
   Editorial lists — mills, steps, consultation formats
   ------------------------------------------------------------------ */

.kh-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.kh-list__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 18px;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 768px) {
  .kh-list__row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
  }
}
.kh-list__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bone);
}
.kh-list__detail {
  max-width: 24rem;
  font-size: 13px;
  line-height: 1.7;
  color: var(--bone-faint);
}
@media (min-width: 768px) {
  .kh-list__detail {
    text-align: right;
  }
}
.kh-list__row--steps {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  align-items: baseline;
  gap: 8px 16px;
}
@media (min-width: 768px) {
  .kh-list__row--steps {
    grid-template-columns: 4.5rem 13rem 1fr;
  }
  .kh-list__row--steps .kh-list__detail {
    text-align: right;
    max-width: none;
  }
}
.kh-list__step {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--champagne);
}
@media (max-width: 767.98px) {
  .kh-list__row--steps .kh-list__detail {
    grid-column: 2;
  }
}

/* ------------------------------------------------------------------
   Trust band
   ------------------------------------------------------------------ */

.kh-proofs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .kh-proofs {
    grid-template-columns: repeat(4, 1fr);
  }
  .kh-proofs li + li {
    border-left: 1px solid var(--hairline-faint);
  }
}
.kh-proofs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 16px;
  text-align: center;
}
.kh-proofs__figure {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--bone-bright);
}
@media (min-width: 768px) {
  .kh-proofs__figure {
    font-size: 3rem;
  }
}
.kh-proofs__label {
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

/* ------------------------------------------------------------------
   Founder
   ------------------------------------------------------------------ */

.kh-quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1.25;
  color: var(--bone-bright);
}
.kh-quote-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--bone);
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.kh-footer {
  border-top: 1px solid var(--hairline);
  background: var(--ink-950);
  padding-block: 80px;
}
.kh-footer__grid {
  display: grid;
  gap: 56px;
}
@media (min-width: 768px) {
  .kh-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.kh-footer h2 {
  font-size: 26px;
  letter-spacing: 0.34em;
  margin: 0;
}
.kh-footer__sub {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.kh-footer__line {
  max-width: 20rem;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--bone-muted);
}
.kh-footer__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.kh-footer ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.kh-footer ul li + li {
  margin-top: 14px;
}
.kh-footer ul a,
.kh-footer address a {
  font-size: 14px;
  color: var(--bone-muted);
  transition: color 0.3s ease;
}
.kh-footer ul a:hover,
.kh-footer address a:hover {
  color: var(--champagne-bright);
}
.kh-footer address {
  margin: 24px 0 0;
  font-style: normal;
  font-size: 14px;
  line-height: 2;
  color: var(--bone-muted);
}
.kh-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
@media (min-width: 768px) {
  .kh-footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ------------------------------------------------------------------
   Atelier stub + 404 — quiet single-viewport rooms
   ------------------------------------------------------------------ */

.kh-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 128px 24px 64px;
  text-align: center;
}
.kh-stub__title {
  max-width: 48rem;
  margin-top: 32px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.02;
}
.kh-stub__desc {
  max-width: 28rem;
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-muted);
}
.kh-stub__divider {
  width: 64px;
  height: 1px;
  margin-block: 48px;
  background: rgba(198, 166, 114, 0.5);
}
.kh-stub__note {
  max-width: 24rem;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 2.2;
  color: var(--bone-faint);
}
.kh-stub__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 576px) {
  .kh-stub__actions {
    flex-direction: row;
  }
}

/* ------------------------------------------------------------------
   Reveal on scroll (IntersectionObserver adds .is-in)
   ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-couture),
    transform 0.9s var(--ease-couture);
  transition-delay: var(--rd, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Collections page — category jump nav + piece lists
   ------------------------------------------------------------------ */

.kh-jumpnav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.kh-jumpnav a {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-muted);
  border: 1px solid var(--hairline);
  padding: 11px 20px;
  transition: all 0.4s var(--ease-couture);
}
.kh-jumpnav a:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}

/* Scroll-margin so anchored sections clear the fixed nav */
.kh-anchor {
  scroll-margin-top: 96px;
}

.kh-pieces {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.kh-piece {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--hairline);
}
.kh-piece__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--bone);
}
.kh-piece__note {
  grid-column: 1 / -1;
  max-width: 34rem;
  font-size: 13px;
  line-height: 1.65;
  color: var(--bone-faint);
}
.kh-piece__price {
  text-align: right;
  white-space: nowrap;
}
.kh-cat__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 36px;
}

/* ------------------------------------------------------------------
   Forms — Book an appointment
   ------------------------------------------------------------------ */

.kh-field {
  margin-bottom: 26px;
}
.kh-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 10px;
}
.kh-label .kh-req {
  color: var(--champagne);
}
.kh-input,
.kh-select,
.kh-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 0;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  transition: border-color 0.4s var(--ease-couture);
  -webkit-appearance: none;
  appearance: none;
}
.kh-input::placeholder,
.kh-textarea::placeholder {
  color: var(--bone-faint);
}
.kh-input:focus,
.kh-select:focus,
.kh-textarea:focus {
  outline: none;
  border-color: var(--champagne);
}
.kh-textarea {
  min-height: 128px;
  resize: vertical;
}
.kh-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6e35' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Consultation-type choice cards (styled radios) */
.kh-choices {
  display: grid;
  gap: 10px;
}
.kh-choice {
  position: relative;
}
.kh-choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.kh-choice label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--hairline);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.4s var(--ease-couture);
}
.kh-choice input:checked + label {
  border-color: var(--champagne);
  background: color-mix(in srgb, var(--champagne) 7%, transparent);
}
.kh-choice input:focus-visible + label {
  outline: 1px solid var(--champagne);
  outline-offset: 2px;
}
.kh-choice__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--bone);
}
.kh-choice__note {
  font-size: 12.5px;
  color: var(--bone-faint);
}

/* Validation + honeypot */
.field-validation-error,
.kh-form .text-danger {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #a8452f;
}
.input-validation-error {
  border-color: #a8452f !important;
}
.kh-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Success confirmation panel */
.kh-confirm {
  border: 1px solid var(--hairline);
  background: var(--ink-900);
  padding: 48px 40px;
  text-align: center;
}
.kh-confirm__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  color: var(--champagne);
  font-size: 22px;
  margin-bottom: 24px;
}

/* Quiet aside panel (how it works) */
.kh-aside {
  border-left: 1px solid var(--hairline);
  padding-left: 32px;
}
@media (max-width: 991.98px) {
  .kh-aside {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--hairline);
    padding-top: 32px;
    margin-top: 8px;
  }
}

/* ------------------------------------------------------------------
   Intro veil — madhavagasti-style: a serif "K" resolves into the full
   KHWAAB wordmark, then the veil lifts and hands off to the hero.
   PROTOTYPE for review. Default-shown so the hero never flashes on first
   paint; auto-lifts via CSS even without JS. site.js does once-per-session
   + the hero handoff. `.kh-loader--word` = wordmark-only variant (?intro=word).
   ------------------------------------------------------------------ */

.kh-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink-950); /* ivory — no color flash */
  animation: kh-veil-lift 3.9s var(--ease-couture) forwards;
}
@keyframes kh-veil-lift {
  0%,
  78% {
    transform: translateY(0);
    visibility: visible;
  }
  100% {
    transform: translateY(-101%);
    visibility: hidden;
  }
}

/* Stage lets the big "K" sit centred, overlapping the wordmark it becomes */
.kh-loader__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Phase 1 — the initial "K": fades/scales in, then recedes as the name arrives */
.kh-loader__mono {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: 1;
  color: var(--bone-bright);
  opacity: 0;
  animation: kh-mono 2.15s var(--ease-couture) forwards;
}
@keyframes kh-mono {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.16);
    letter-spacing: 0.12em;
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  66% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84);
  }
}

/* Phase 2 — the full wordmark writes in and takes over */
.kh-loader__word {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: kh-word-in 0.9s var(--ease-couture) 1.5s forwards;
}
@keyframes kh-word-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kh-loader__mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.3rem, 7vw, 5rem);
  letter-spacing: 0.3em;
  padding-left: 0.3em; /* balance trailing tracking */
  color: var(--bone-bright);
  clip-path: inset(0 100% 0 0);
  animation: kh-write 1.15s var(--ease-couture) 1.6s forwards;
}
@keyframes kh-write {
  to {
    clip-path: inset(0 -0.05em 0 0);
  }
}

.kh-loader__rule {
  width: min(260px, 56vw);
  height: 1px;
  margin-top: 28px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left center;
  animation: kh-underline 1s var(--ease-couture) 1.95s forwards;
}
@keyframes kh-underline {
  to {
    transform: scaleX(1);
  }
}

.kh-loader__sub {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-faint);
  opacity: 0;
  animation: kh-fade-in 0.8s ease 2.35s forwards;
}
@keyframes kh-fade-in {
  to {
    opacity: 1;
  }
}

/* Wordmark-only comparison variant (?intro=word): no K, wordmark starts early */
.kh-loader--word .kh-loader__word {
  animation-delay: 0.12s;
}
.kh-loader--word .kh-loader__mark {
  animation-delay: 0.2s;
}
.kh-loader--word .kh-loader__rule {
  animation-delay: 0.45s;
}
.kh-loader--word .kh-loader__sub {
  animation-delay: 0.85s;
}

/* ------------------------------------------------------------------
   Made-to-measure journey — 5-step timeline
   ------------------------------------------------------------------ */

.kh-steps5 {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  gap: 34px;
}
@media (min-width: 768px) {
  .kh-steps5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}
.kh-step5 {
  border-top: 1px solid var(--champagne);
  padding: 24px 0 0;
}
@media (min-width: 768px) {
  .kh-step5 {
    padding: 24px 22px 0 0;
  }
}
.kh-step5__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--champagne);
}
.kh-step5__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.16;
  margin: 14px 0 0;
  color: var(--bone-bright);
}
.kh-step5__detail {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--bone-faint);
}
.kh-journey-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 52px;
}

/* ------------------------------------------------------------------
   FAQ — native <details>, SEO/GEO friendly
   ------------------------------------------------------------------ */

.kh-faq {
  margin-top: 44px;
  border-top: 1px solid var(--hairline);
}
.kh-faq details {
  border-bottom: 1px solid var(--hairline);
}
.kh-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--bone);
  transition: color 0.3s ease;
}
.kh-faq summary::-webkit-details-marker {
  display: none;
}
.kh-faq summary:hover {
  color: var(--champagne);
}
.kh-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 22px;
  font-size: 1.4rem;
  color: var(--champagne);
  transition: transform 0.3s var(--ease-couture);
}
.kh-faq details[open] summary::after {
  transform: rotate(45deg);
}
.kh-faq__body {
  padding: 0 44px 26px 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--bone-muted);
}

/* ------------------------------------------------------------------
   Journal — featured, cards, article prose
   ------------------------------------------------------------------ */

.kh-feature {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .kh-feature {
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
  }
}
.kh-feature:hover .kh-figure__frame img {
  transform: scale(1.04);
}
.kh-feature__title {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}
.kh-feature__body .kh-btn {
  margin-top: 26px;
}

.kh-card {
  display: block;
}
.kh-card__meta {
  display: block;
  margin-top: 18px;
}
.kh-card__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 10px 0 0;
  color: var(--bone-bright);
  transition: color 0.3s ease;
}
.kh-card:hover .kh-card__title {
  color: var(--champagne);
}
.kh-card__excerpt {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--bone-faint);
}

/* Article — editorial long-form */
.kh-article__head {
  max-width: 44rem;
  margin: 0 auto;
  padding-top: 128px;
  text-align: center;
}
@media (min-width: 768px) {
  .kh-article__head {
    padding-top: 156px;
  }
}
.kh-article__back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--bone-faint);
}
.kh-article__back:hover {
  color: var(--champagne);
}
.kh-article__kicker {
  display: block;
  margin-bottom: 20px;
  font-size: 11px;
  color: var(--champagne);
}
.kh-article__title {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.06;
}
.kh-article__standfirst {
  max-width: 36rem;
  margin: 26px auto 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--bone-muted);
}
.kh-article__byline {
  display: block;
  margin-top: 30px;
  color: var(--bone-faint);
}
.kh-article__hero {
  max-width: 58rem;
  margin: 56px auto 0;
}

/* Body prose */
.kh-prose {
  max-width: 40rem;
  margin: 56px auto 0;
}
.kh-prose > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--bone);
}
.kh-prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.7rem;
  line-height: 0.8;
  padding: 8px 14px 0 0;
  color: var(--champagne);
}
.kh-prose h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.65rem;
  color: var(--bone-bright);
  margin: 52px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--hairline-faint);
}
.kh-prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  color: var(--champagne);
  margin: 32px 0 0;
}
.kh-prose p {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--bone-muted);
}
.kh-prose strong {
  color: var(--bone);
  font-weight: 600;
}
.kh-article__cta {
  max-width: 40rem;
  margin: 64px auto 24px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.kh-article__cta .kh-eyebrow {
  justify-content: center;
}
.kh-article__cta-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--bone-bright);
  margin-top: 18px;
}
.kh-article__cta .kh-journey-cta {
  justify-content: center;
}

/* ------------------------------------------------------------------
   Fabric library — swatch grid
   ------------------------------------------------------------------ */

.kh-swatches {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 36px 32px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .kh-swatches {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .kh-swatches {
    grid-template-columns: repeat(4, 1fr);
  }
}
.kh-swatch {
  display: flex;
  flex-direction: column;
}
.kh-swatch__chip {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.kh-swatch__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--bone-bright);
  margin-top: 16px;
}
.kh-swatch__mill {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-top: 6px;
}
.kh-swatch__spec {
  font-size: 12.5px;
  color: var(--bone-faint);
  margin-top: 6px;
}
.kh-swatch__price {
  margin-top: 10px;
}

/* Hold the hero reveals while the veil is up, so they hand off on lift */
html.kh-booting .reveal {
  opacity: 0 !important;
  transform: translateY(28px) !important;
}

/* Reduced motion: no veil at all, straight to hero (client: fast loading) */
@media (prefers-reduced-motion: reduce) {
  .kh-loader {
    display: none;
  }
}

/* ==================================================================
   INTERIM PHOTOGRAPHY PLACEHOLDERS
   Client is shooting real images. Until they land in wwwroot/images,
   render photo slots as elegant tonal panels (better empty than weak
   stock). To go live: drop real files in with the same names and
   DELETE this whole block. Fabric swatches are unaffected (they are
   data, not photography).
   ================================================================== */
.kh-figure__frame,
.kh-index__thumb {
  background:
    radial-gradient(135% 135% at 26% 16%, rgba(198, 166, 114, 0.13), transparent 58%),
    linear-gradient(158deg, var(--ink-800), var(--ink-900) 74%);
}
.kh-figure__frame img,
.kh-index__thumb img {
  display: none !important;
}
.kh-figure__frame {
  position: relative;
}
.kh-figure__frame::after {
  content: "\2726";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--champagne);
  opacity: 0.22;
}
