/* ==========================================================================
   KleerTek / Lumina product page
   Brand: black #231F20, gold #C29128 (#C39639, #B68A32).
   Typeface: Jost, a free stand-in for Brandon Grotesque (see HANDOFF.md).
   Every section is self-contained (kt-* classes) so it can move into an
   Elementor container with this sheet as global Custom CSS.
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2-variations"),
       url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-latin-wght-italic.woff2") format("woff2-variations"),
       url("assets/fonts/jost-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* brand */
  --ink: #231F20;
  --ink-deep: #191617;
  --ink-soft: #2E292A;
  --gold: #C29128;
  --gold-hi: #C39639;
  --gold-lo: #B68A32;
  /* gold tuned for text on light grounds (contrast) */
  --gold-text: #9A7120;
  --gold-text-sm: #8C6619;

  --paper: #F6F4EF;
  --stone: #ECE8E0;
  --white: #FFFFFF;
  --line: rgba(35, 31, 32, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --muted: #6B6563;
  --muted-light: #A39C98;

  --font: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kt-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; text-decoration: none; font-weight: 500;
}
.kt-skip:focus { top: 16px; }

.kt-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.kt-section { padding-block: var(--section-y); }

/* ---------- type ---------- */
.kt-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.kt-eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
.kt-eyebrow--dark { color: var(--gold-text-sm); }

.kt-h2 {
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kt-h2 em { font-style: normal; color: var(--gold-text); }
.kt-h2--light { color: var(--white); }
.kt-h2--light em { color: var(--gold); }

/* gold chevron, the brochure's bullet mark */
.kt-chev { display: inline-block; width: 7px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); }

/* ---------- buttons & links ---------- */
.kt-btn {
  --bg: transparent; --fg: var(--white); --bd: var(--line-light);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd);
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.kt-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--white));
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.kt-btn:hover::after, .kt-btn:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.kt-btn--gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); --fill: var(--gold-hi); }
.kt-btn--gold:hover { --fg: var(--ink); }
.kt-btn--ghost { --fill: var(--gold); }
.kt-btn--dark { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); --fill: var(--gold); }
.kt-btn--dark:hover, .kt-btn--dark:focus-visible { color: var(--ink); border-color: var(--gold); }
.kt-btn--ghost:hover, .kt-btn--ghost:focus-visible { color: var(--ink); border-color: var(--gold); }

.kt-link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: var(--white);
  padding-block: 10px;
}
.kt-link-arrow::after {
  content: ""; width: 34px; height: 1px; background: var(--gold);
  box-shadow: 0 0 0 0 transparent;
  transition: width 0.5s var(--ease-out);
}
.kt-link-arrow:hover::after { width: 56px; }
.kt-link-arrow--dark { color: var(--ink); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.kt-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.kt-header.is-solid { background: rgba(25, 22, 23, 0.92); box-shadow: 0 1px 0 var(--line-light); }
@supports (backdrop-filter: blur(1px)) {
  .kt-header.is-solid { background: rgba(25, 22, 23, 0.78); backdrop-filter: blur(14px) saturate(1.2); }
}
.kt-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 18px var(--gutter);
  transition: padding 0.5s var(--ease);
}
.kt-header.is-solid .kt-header__inner { padding-block: 12px; }
.kt-header__logo { position: relative; z-index: 2; }
.kt-header__logo img { width: 132px; height: auto; transition: width 0.5s var(--ease); }
.kt-header.is-solid .kt-header__logo img { width: 112px; }

.kt-nav { display: flex; align-items: center; gap: 40px; }
.kt-nav ul { display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; }
.kt-nav a { text-decoration: none; }
.kt-nav ul a {
  position: relative; font-size: 13px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.78);
  transition: color 0.3s var(--ease);
}
.kt-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out);
}
.kt-nav ul a:hover, .kt-nav ul a[aria-current] { color: var(--white); }
.kt-nav ul a:hover::after, .kt-nav ul a[aria-current]::after { transform: scaleX(1); }
.kt-nav__actions { display: flex; align-items: center; gap: 24px; }
.kt-nav__phone { font-size: 14px; letter-spacing: 0.06em; color: var(--white); }
.kt-nav__phone:hover { color: var(--gold); }
.kt-nav .kt-btn { min-height: 42px; padding: 0 20px; font-size: 12px; }

.kt-header__toggle { display: none; }

@media (max-width: 1080px) {
  .kt-header__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .kt-burger, .kt-burger::before, .kt-burger::after {
    display: block; width: 24px; height: 1.5px; background: var(--white); transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .kt-burger { position: relative; }
  .kt-burger::before, .kt-burger::after { content: ""; position: absolute; left: 0; }
  .kt-burger::before { top: -7px; }
  .kt-burger::after { top: 7px; width: 16px; }
  [aria-expanded="true"] .kt-burger { background: transparent; }
  [aria-expanded="true"] .kt-burger::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .kt-burger::after { width: 24px; transform: translateY(-7px) rotate(-45deg); }

  .kt-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 48px;
    padding: 96px var(--gutter) 48px;
    background: var(--ink-deep);
    opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
  }
  .kt-nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease); }
  .kt-nav ul { flex-direction: column; gap: 22px; }
  .kt-nav ul a { font-size: 28px; font-weight: 300; letter-spacing: 0; text-transform: lowercase; color: var(--white); }
  .kt-nav__actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .kt-nav__phone { font-size: 18px; }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.kt-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
  padding-top: clamp(100px, 14vh, 150px);
  /* the 4° slant of the Lumina overlap, as the section's lower edge */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
  padding-bottom: calc(7vw + clamp(32px, 6vh, 56px));
}
.kt-hero::before { /* fine grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.kt-hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  right: -12vw; top: 0;
  background: radial-gradient(closest-side, rgba(194, 145, 40, 0.20), rgba(194, 145, 40, 0.06) 55%, transparent 72%);
}
.kt-hero__slash {
  position: absolute; z-index: -1; pointer-events: none;
  left: -10%; right: -10%; top: 58%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-hi) 60%, transparent);
  transform: rotate(-4deg) scaleX(0); transform-origin: left center;
  animation: kt-draw 2.2s var(--ease-out) 0.6s forwards;
  opacity: 0.55;
}
@keyframes kt-draw { to { transform: rotate(-4deg) scaleX(1); } }

.kt-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 24px;
}
.kt-crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 clamp(20px, 4.5vh, 44px); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-light); }
.kt-crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,0.25); }
.kt-crumbs a { text-decoration: none; transition: color 0.3s; }
.kt-crumbs a:hover { color: var(--white); }
.kt-crumbs [aria-current] { color: var(--gold); }

.kt-hero__title {
  font-weight: 300; text-transform: lowercase; letter-spacing: -0.035em; line-height: 0.88;
  margin-bottom: clamp(18px, 3.6vh, 36px);
}
.kt-hero__title-a { display: block; font-size: clamp(64px, min(13.2vw, 19vh), 184px); }
.kt-hero__title-b {
  display: block; font-size: clamp(26px, min(4.6vw, 6.6vh), 62px); letter-spacing: -0.015em; line-height: 1.05;
  color: var(--gold); padding-left: 0.12em;
}
.kt-hero .kt-eyebrow { margin-bottom: clamp(14px, 2.6vh, 24px); }
.kt-hero__lead { max-width: 500px; font-size: clamp(17px, 1.5vw, 19px); font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.80); }
.kt-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: clamp(24px, 4.5vh, 44px); }

.kt-hero__media { position: relative; justify-self: center; width: 100%; max-width: 560px;
  /* shadow lives on the wrapper so the render's top fade doesn't clip it into a visible box */
  filter: drop-shadow(0 50px 60px rgba(0,0,0,0.55)); }
.kt-hero__render {
  width: auto; height: auto; max-width: 100%; max-height: min(78vh, 760px); margin-inline: auto;
  /* the render is cropped flat at the top: fade it into the dark so the cut never shows */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  opacity: 0; transform: translateY(40px) scale(0.97);
  animation: kt-rise 1.8s var(--ease-out) 0.25s forwards;
  will-change: transform;
}
@keyframes kt-rise { to { opacity: 1; transform: none; } }

/* desktop: give the hero its full width. Bigger type, a wider lead, and the render
   cropped to its chamber detail so it reads big and sits close to the copy */
@media (min-width: 901px) {
  .kt-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0; }
  .kt-crumbs ol { margin-bottom: clamp(16px, 3.6vh, 44px); }
  .kt-hero__title-a { font-size: clamp(64px, min(14vw, 23vh), 200px); }
  .kt-hero__title-b { font-size: clamp(26px, min(4.8vw, 7.4vh), 64px); }
  .kt-hero__lead { max-width: 580px; font-size: clamp(17px, 1.45vw, 20px); }
  .kt-hero__media { max-width: none; justify-self: stretch; }
  .kt-hero__render {
    aspect-ratio: 1200 / 1500; object-fit: cover; object-position: 50% 100%;
    width: auto; height: min(80vh, 780px); max-height: none; max-width: 100%;
  }
}
@media (min-width: 1280px) { .kt-hero__media { margin-left: -3vw; } }

.kt-keyfigs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 6vh, 72px);
  border-top: 1px solid var(--line-light);
}
.kt-keyfig { padding: 26px 24px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.kt-keyfig + .kt-keyfig { padding-left: 24px; border-left: 1px solid var(--line-light); }
.kt-keyfig dt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.kt-keyfig dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.kt-keyfig__num { font-size: clamp(38px, 4.4vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.kt-keyfig__num small { font-size: 0.4em; margin-left: 4px; letter-spacing: 0.02em; color: var(--muted-light); }
.kt-keyfig__metric { font-size: 13px; color: var(--muted-light); }
.kt-fn { color: var(--gold); text-decoration: none; margin-left: 2px; font-size: 0.9em; }
.kt-fn:hover { text-decoration: underline; }

/* page-load stagger */
.kt-load { opacity: 0; transform: translateY(18px); animation: kt-in 1.2s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes kt-in { to { opacity: 1; transform: none; } }

/* ==========================================================================
   INTRO
   ========================================================================== */
.kt-intro { padding-top: calc(var(--section-y) - 2vw); }
.kt-intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.kt-intro__copy .kt-h2 { margin-bottom: 36px; }
.kt-intro__copy p:not(.kt-eyebrow) { max-width: 520px; color: #3B3536; }
.kt-intro__copy p + p { margin-top: 18px; }
.kt-intro__lede { font-size: 21px; font-weight: 400; line-height: 1.5; color: var(--ink) !important; }

.kt-frame { position: relative; }
.kt-frame::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--gold); z-index: -1;
}
.kt-intro__media { position: relative; isolation: isolate; }
.kt-intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kt-intro__media figcaption {
  margin-top: 16px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted);
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.kt-features { background: var(--white); }
.kt-section__head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.kt-section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.kt-section__head--split > p { color: var(--muted); max-width: 420px; }

.kt-features__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.kt-feature {
  position: relative; padding: 40px 32px 48px 0;
  border-bottom: 1px solid var(--line);
}
.kt-feature:not(:nth-child(4n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.kt-feature::before { /* gold rule that draws in on hover */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out);
}
.kt-feature:hover::before { transform: scaleX(1); }
.kt-icon { width: 40px; height: 40px; margin-bottom: 28px; fill: none; stroke: var(--gold-lo); stroke-width: 1.25; stroke-linecap: square; }
.kt-feature h3 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; margin-bottom: 12px; }
.kt-feature p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   DETAIL BAND
   ========================================================================== */
.kt-detail {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--ink); color: var(--white); overflow: hidden;
}
.kt-detail__media { position: relative; min-height: 560px; overflow: hidden; }
.kt-detail__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.kt-detail__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(35,31,32,0.55)); }
.kt-detail__copy { padding: clamp(64px, 8vw, 128px) var(--gutter) clamp(64px, 8vw, 128px) clamp(40px, 6vw, 96px); align-self: center; max-width: 640px; }
.kt-detail__copy .kt-h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 48px; }
.kt-detail__list { list-style: none; padding: 0; counter-reset: d; }
.kt-detail__list li { counter-increment: d; position: relative; padding: 24px 0 24px 56px; border-top: 1px solid var(--line-light); }
.kt-detail__list li::before {
  content: "0" counter(d); position: absolute; left: 0; top: 27px;
  font-size: 12px; letter-spacing: 0.18em; color: var(--gold);
}
.kt-detail__list h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.kt-detail__list p { font-size: 15.5px; color: var(--muted-light); }

/* ==========================================================================
   SPECS
   ========================================================================== */
.kt-specs { background: var(--paper); }
.kt-specs__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.kt-specs__aside { position: sticky; top: 112px; }
@media (max-height: 680px) { .kt-specs__thumb { display: none; } .kt-specs__aside { top: 104px; } }
.kt-specs__aside .kt-h2 { margin-bottom: 24px; }
.kt-specs__aside > p { color: var(--muted); max-width: 340px; }
.kt-specs__thumb {
  width: auto; height: auto; max-width: min(64%, 230px); max-height: max(0px, calc(100vh - 500px)); margin: 32px 0 28px -4%;
  /* same flat top crop as the hero render: fade it out */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}

.kt-spec-group + .kt-spec-group { margin-top: 64px; }
.kt-spec-group h3 {
  font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 18px; border-bottom: 1px solid var(--ink);
}
.kt-spec-group h3 .kt-fn { letter-spacing: 0; margin-left: 6px; }
.kt-table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.kt-table + .kt-table { margin-top: 0; }
.kt-table th, .kt-table td { text-align: left; padding: 17px 16px 17px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.kt-table tbody th { font-weight: 400; color: #4A4344; width: 40%; }
.kt-table tbody th small { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin-top: 2px; }
.kt-table td { font-weight: 500; }
.kt-table td span { font-weight: 400; color: var(--muted); white-space: nowrap; }
.kt-table thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-block: 16px 12px; }
.kt-table tbody tr { transition: background-color 0.3s; }
.kt-table tbody tr:hover { background: rgba(194, 145, 40, 0.06); }

.kt-footnotes { list-style: none; padding: 0; margin-top: 48px; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.kt-footnotes li + li { margin-top: 10px; }
.kt-footnotes li:target { color: var(--ink); }

/* ==========================================================================
   FINISHES
   ========================================================================== */
.kt-finishes { background: var(--white); }
.kt-swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
.kt-swatch { display: flex; flex-direction: column; gap: 4px; }
.kt-swatch__chip {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 14px; overflow: hidden;
  background: #F3F1EC;
}
/* an L-shaped profile corner, echoing the brand color palette visual */
.kt-swatch__chip::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 45%, rgba(0,0,0,0.18)),
    var(--sw);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 34% 34%, 34% 100%, 0 100%);
  transition: transform 0.8s var(--ease-out);
}
.kt-swatch__chip::after { /* mitre line */
  content: ""; position: absolute; left: 0; top: 0; width: 48%; height: 1px; background: rgba(255,255,255,0.22);
  transform-origin: 0 0; transform: rotate(45deg);
}
.kt-swatch--grain .kt-swatch__chip::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 45%, rgba(0,0,0,0.16)),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(0,0,0,0.06) 3px 4px, transparent 4px 9px, rgba(255,255,255,0.05) 9px 10px),
    linear-gradient(90deg, var(--sw), var(--sw2), var(--sw));
}
.kt-swatch:first-child .kt-swatch__chip { box-shadow: inset 0 0 0 1px var(--line); }
.kt-swatch:hover .kt-swatch__chip::before { transform: translate(6%, 6%); }
.kt-swatch__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.kt-swatch__type { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.kt-note { margin-top: 28px; font-size: 13px; color: var(--muted); }


/* ==========================================================================
   GALLERY
   ========================================================================== */
.kt-gallery { background: var(--paper); }
.kt-gallery__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(70px, 7.4vw, 104px); gap: clamp(12px, 1.6vw, 20px);
}
.kt-gallery__grid li { overflow: hidden; }
.kt-gallery__grid .g1 { grid-column: 1 / 8; grid-row: span 5; }
.kt-gallery__grid .g2 { grid-column: 8 / 13; grid-row: span 3; }
.kt-gallery__grid .g3 { grid-column: 8 / 13; grid-row: span 2; }
.kt-gallery__grid .g4 { grid-column: 1 / 5; grid-row: span 3; }
.kt-gallery__grid .g5 { grid-column: 5 / 9; grid-row: span 3; }
.kt-gallery__grid .g6 { grid-column: 9 / 13; grid-row: span 3; }
.kt-gallery__grid .g7 { grid-column: 1 / 8; grid-row: span 4; }
.kt-gallery__grid .g8 { grid-column: 8 / 13; grid-row: span 4; }
.kt-gallery__grid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.kt-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 0.8s var(--ease); }
.kt-gallery__grid button:hover img, .kt-gallery__grid button:focus-visible img { transform: scale(1.045); }

.kt-lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 4vw, 64px);
  border: 0; background: rgba(20, 17, 18, 0.96); color: var(--white);
  display: none; place-items: center; grid-template-rows: 1fr auto;
}
.kt-lightbox[open] { display: grid; animation: kt-fade 0.4s var(--ease); }
.kt-lightbox::backdrop { background: rgba(0,0,0,0.6); }
@keyframes kt-fade { from { opacity: 0; } }
.kt-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.kt-lightbox__caption { font-size: 14px; color: var(--muted-light); padding-top: 18px; text-align: center; max-width: 640px; }
.kt-lightbox__close, .kt-lightbox__nav {
  position: absolute; width: 52px; height: 52px; border: 1px solid var(--line-light); background: rgba(25,22,23,0.6); cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.kt-lightbox__close:hover, .kt-lightbox__nav:hover { border-color: var(--gold); }
.kt-lightbox__close { top: 20px; right: 20px; }
.kt-lightbox__close::before, .kt-lightbox__close::after { content: ""; position: absolute; left: 15px; right: 15px; top: 50%; height: 1px; background: var(--white); transform: rotate(45deg); }
.kt-lightbox__close::after { transform: rotate(-45deg); }
.kt-lightbox__nav { top: 50%; margin-top: -26px; }
.kt-lightbox__nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-left: 1px solid var(--white); border-bottom: 1px solid var(--white); }
.kt-lightbox__nav--prev { left: 20px; }
.kt-lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.kt-lightbox__nav--next { right: 20px; }
.kt-lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(-135deg); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.kt-faq { background: var(--white); }
.kt-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 7vw, 112px); }
.kt-faq__list { border-top: 1px solid var(--ink); }
.kt-faq details { border-bottom: 1px solid var(--line); }
.kt-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
}
.kt-faq summary::-webkit-details-marker { display: none; }
.kt-faq summary h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 400; line-height: 1.35; transition: color 0.3s; }
.kt-faq summary:hover h3 { color: var(--gold-text); }
.kt-faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat;
  transition: transform 0.5s var(--ease-out);
}
.kt-faq details[open] summary::after { transform: rotate(135deg); }
.kt-faq details p { padding: 0 48px 30px 0; color: var(--muted); max-width: 680px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.kt-cta {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  background: var(--ink-deep);
  padding-block: clamp(120px, 14vw, 200px) clamp(96px, 11vw, 160px);
  clip-path: polygon(0 7vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.kt-cta__bg { position: absolute; inset: 0; z-index: -1; }
.kt-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.46; filter: grayscale(0.2) contrast(1.05); }
.kt-cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(25,22,23,0.97) 30%, rgba(25,22,23,0.72) 65%, rgba(25,22,23,0.55));
}
.kt-cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(48px, 7vw, 112px); align-items: end; }
.kt-cta__copy .kt-h2 { font-size: clamp(44px, 6.4vw, 88px); margin-bottom: 30px; }
.kt-cta__copy > p:not(.kt-eyebrow) { max-width: 540px; color: rgba(255,255,255,0.78); font-weight: 300; font-size: 18px; }
.kt-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.kt-cta__contact { border-top: 1px solid var(--line-light); }
.kt-cta__contact li { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.kt-cta__contact span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.kt-cta__contact a, .kt-cta__contact p { font-size: 19px; font-weight: 300; text-decoration: none; overflow-wrap: anywhere; }
.kt-cta__contact a:hover { color: var(--gold); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.kt-footer { background: var(--ink-deep); color: var(--muted-light); padding-top: clamp(56px, 6vw, 88px); font-size: 15px; }
.kt-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.kt-footer__brand img { width: 168px; margin-bottom: 22px; }
.kt-footer__brand p { font-size: 20px; font-weight: 300; color: var(--white); text-transform: lowercase; }
.kt-footer__brand em { color: var(--gold); }
.kt-footer h2 { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.kt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kt-footer a { text-decoration: none; transition: color 0.3s; }
.kt-footer a:hover { color: var(--gold); }
.kt-footer__base { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--line-light); font-size: 12px; letter-spacing: 0.08em; }
.kt-footer__base p:last-child { text-transform: lowercase; letter-spacing: 0.14em; }

/* ==========================================================================
   COMPARE
   ========================================================================== */
.kt-compare { background: var(--white); }
.kt-section__sub { margin-top: 18px; color: var(--muted); max-width: 560px; }
.kt-compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kt-compare__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.kt-compare__table th, .kt-compare__table td { text-align: left; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kt-compare__table thead th { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.kt-compare__table thead td { border-bottom: 1px solid var(--ink); }
.kt-compare__table tbody th { font-weight: 400; color: var(--muted); width: 24%; }
.kt-compare__table td { width: 38%; color: #4A4344; }
.kt-compare__table .is-lumina { color: var(--ink); font-weight: 500; }
.kt-compare__table thead .is-lumina { color: var(--gold-text-sm); padding-left: 16px; }
.kt-compare__table tbody .is-lumina { background: linear-gradient(90deg, rgba(194,145,40,0.08), transparent 90%); padding-left: 16px; }

/* ==========================================================================
   HEADER EXTRAS: call pill, phone dock
   ========================================================================== */
.kt-header__call { display: none; }
@media (max-width: 1080px) {
  .kt-header__call {
    display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; margin-left: auto; margin-right: 10px;
    border: 1px solid var(--gold); border-radius: 40px; color: var(--white); text-decoration: none;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; position: relative; z-index: 2;
  }
  .kt-header__call:hover { background: var(--gold); color: var(--ink); }
}
.kt-dock { display: none; }
@media (max-width: 900px) {
  .kt-dock {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    padding: 8px; background: rgba(25,22,23,0.92); border: 1px solid var(--line-light);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    transform: translateY(140%); transition: transform 0.45s var(--ease-out);
  }
  .kt-dock.is-on { transform: none; }
  .kt-dock .kt-btn { flex: 1; min-height: 48px; }
  .kt-dock__call { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; color: var(--white); text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line-light); }
}

/* ==========================================================================
   SCROLL REVEAL (enabled by JS only, so content shows without it)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .kt-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-feature:not(:nth-child(4n + 1)) { padding-left: 0; border-left: 0; }
  .kt-feature:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
  .kt-swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; }
  .kt-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kt-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .kt-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%); padding-bottom: calc(10vw + 40px); }
  .kt-hero__grid { grid-template-columns: 1fr; }
  .kt-hero__media { max-width: 400px; margin-top: 24px; justify-self: end; margin-right: -8%; }
  .kt-hero__render { max-height: 520px; }
  .kt-hero__slash { top: 62%; }
  .kt-hero__title-a { font-size: clamp(76px, 22vw, 150px); }
  .kt-hero__title-b { font-size: clamp(30px, 8vw, 52px); }
  .kt-keyfigs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-keyfig:nth-child(3) { padding-left: 0; border-left: 0; }
  .kt-keyfig:nth-child(n + 3) { border-top: 1px solid var(--line-light); margin-top: 26px; }

  .kt-intro__grid, .kt-specs__grid, .kt-faq__grid, .kt-cta__grid { grid-template-columns: 1fr; }
  .kt-section__head--split { grid-template-columns: 1fr; }
  .kt-intro__media { margin: 8px 0 0 22px; }
  .kt-specs__aside { position: static; }
  .kt-specs__thumb { display: none; }

  .kt-detail { grid-template-columns: 1fr; }
  .kt-detail__media { min-height: 0; aspect-ratio: 4 / 3; }
  .kt-detail__media::after { background: linear-gradient(180deg, transparent 60%, rgba(35,31,32,0.6)); }
  .kt-detail__copy { padding-left: var(--gutter); }

  .kt-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .kt-gallery__grid li { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 3 / 2; }
  .kt-gallery__grid .g1 { grid-column: 1 / -1 !important; }
  .kt-cta { clip-path: polygon(0 10vw, 100% 0, 100% 100%, 0 100%); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .kt-hero__media { max-width: 300px; margin-top: 8px; }
  .kt-hero__render { max-height: 420px; }
  .kt-keyfig { padding-right: 12px; }
  .kt-keyfig + .kt-keyfig { padding-left: 16px; }
  .kt-keyfig:nth-child(3) { padding-left: 0; }
  .kt-keyfig dt { font-size: 11px; letter-spacing: 0.12em; }
  .kt-hero__ctas .kt-btn, .kt-cta__actions .kt-btn { flex: 1 1 100%; }
  .kt-next, .kt-next--left { justify-content: flex-start; text-align: left; }
  .kt-next .kt-btn { flex: 1 1 100%; }
  .kt-footer { padding-bottom: 72px; }

  .kt-features__grid { grid-template-columns: 1fr; }
  .kt-feature, .kt-feature:nth-child(2n) { padding: 32px 0 36px; border-left: 0; }
  .kt-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .kt-swatch__name { font-size: 14px; }
  .kt-swatch__type { font-size: 10.5px; letter-spacing: 0.08em; }

  .kt-table { font-size: 15px; }
  .kt-table th, .kt-table td { padding-right: 10px; }
  .kt-table tbody th { width: 50%; }
  .kt-table td span { display: block; white-space: normal; }

  .kt-gallery__grid { grid-template-columns: 1fr; }
  .kt-gallery__grid .g1 { grid-column: auto !important; }
  .kt-faq details p { padding-right: 0; }
  .kt-cta__contact li { grid-template-columns: 64px 1fr; }
  .kt-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-footer__base { flex-direction: column; }
  .kt-lightbox__nav { top: auto; bottom: 20px; margin-top: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .kt-load, .kt-hero__render { opacity: 1; transform: none; }
  .kt-hero__slash { transform: rotate(-4deg); }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* compare table stacks on a phone: no side scrolling */
@media (max-width: 600px) {
  .kt-compare__table { min-width: 0; }
  .kt-compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .kt-compare__table, .kt-compare__table tbody { display: block; }
  .kt-compare__table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .kt-compare__table tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 10px; border: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
  .kt-compare__table td { width: auto; border: 0; padding: 10px 12px 4px 0; font-size: 15px; }
  .kt-compare__table tbody .is-lumina { padding-left: 12px; }
  .kt-compare__table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
  .kt-compare__table td.is-lumina::before { color: var(--gold-text-sm); }
}
