/* ==========================================================================
   Kaluchie — page-level composition
   Home, footwear, lookbook, about, signature drop, account.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Steel field — hero, collection headers, lookbook header
   Max two of these per page view.
   -------------------------------------------------------------------------- */

.k-steel {
  background: var(--color-accent-900);
  color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.k-hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 76px var(--gutter) 68px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}

.k-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-300);
  margin-bottom: 26px;
}

.k-hero__rule {
  width: 26px;
  height: 1px;
  background: var(--color-accent-400);
  flex: none;
}

.k-hero__title {
  font-size: var(--type-hero);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}

.k-hero__title span { display: block; }

.k-hero__lede {
  font-size: 17px;
  line-height: 1.65;
  max-width: 52ch;
  color: var(--color-accent-200);
  margin: 0 0 20px;
}

.k-hero__plate {
  display: flex;
  gap: 32px;
  margin: 0 0 36px;
  padding-top: 22px;
  border-top: 1px solid var(--color-accent-700);
  max-width: 520px;
}

.k-hero__plate-cell { flex: 1; }

.k-hero__plate-div {
  width: 1px;
  background: var(--color-accent-700);
  flex: none;
}

.k-hero__plate-term {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.k-hero__plate-def {
  font-size: 14px;
  color: var(--color-accent-300);
}

.k-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.k-hero__figure {
  aspect-ratio: 4 / 5;
  border-color: var(--color-accent-600);
}

/* Hero slot with no photograph yet. The crest scales to the frame so it reads
   as a deliberate holding image, and the damask sits behind it at low opacity
   so the block is not a flat void. */
.k-hero__placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--color-accent-800);
  overflow: hidden;
}

.k-hero__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plate-img);
  background-size: var(--plate-tile) auto;
  background-repeat: repeat;
  opacity: 0.10;
  pointer-events: none;
}

.k-hero__placeholder .k-crest {
  position: relative;
  width: 58%;
  max-width: 340px;
  aspect-ratio: 34 / 37;
  opacity: 0.9;
}

/* Same treatment for the lookbook teaser's empty slot. */
.k-teaser__media .k-crest {
  width: 34%;
  max-width: 220px;
  aspect-ratio: 34 / 37;
}

/* --------------------------------------------------------------------------
   Spec strip
   -------------------------------------------------------------------------- */

.k-spec {
  border-bottom: 1px solid var(--color-accent-700);
}

.k-spec__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.k-spec__cell {
  padding: 24px;
  border-right: 1px solid var(--color-accent-700);
}

.k-spec__cell:first-child { padding-left: 0; }
.k-spec__cell:last-child  { padding-right: 0; border-right: 0; }

.k-spec__body {
  font-size: 15px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Shop-by-wearer cells
   -------------------------------------------------------------------------- */

.k-wearer__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--color-accent-700);
  overflow: hidden;
}

/* The crest ghosts over a cell that has NO photograph, at 14%. It is not
   rendered over a product shot — see template-parts/home/wearers.php. */
.k-wearer__crest {
  position: absolute;
  inset: 0;
  background-image: var(--crest-img);
  background-size: 52% auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.14;
  pointer-events: none;
  filter: invert(1);
}

.k-wearer__foot {
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.k-wearer__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.k-wearer__count {
  font-size: 13px;
  color: var(--color-accent-400);
}

/* --------------------------------------------------------------------------
   Collection cells
   -------------------------------------------------------------------------- */

.k-coll {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 216px;
}

.k-coll:hover { background: var(--color-accent-800); }

.k-coll__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
}

.k-coll__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-accent-200);
  margin: 0;
}

.k-coll__count {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-accent-700);
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-accent-400);
}

/* --------------------------------------------------------------------------
   Lookbook teaser
   -------------------------------------------------------------------------- */

.k-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-accent-700);
}

.k-teaser__media {
  aspect-ratio: 16 / 11;
  background: var(--color-accent-800);
}

.k-teaser__body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.k-teaser__title {
  font-size: 58px;
  line-height: 0.94;
  margin: 0;
}

.k-teaser__note {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-accent-200);
  margin: 0;
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   Page title block (shop, footwear, lookbook, about)
   -------------------------------------------------------------------------- */

.k-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--color-accent-500);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.k-page-head__title {
  font-size: var(--type-page-title);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}

.k-page-head__count {
  font-size: 14px;
  color: var(--color-accent-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Footwear header
   -------------------------------------------------------------------------- */

.k-footwear-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 60px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: end;
}

.k-footwear-head__title {
  font-size: 96px;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.k-sizerun {
  border: 1px solid var(--color-accent-600);
  padding: 20px;
}

.k-sizerun__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.k-sizerun__cell {
  border: 1px solid var(--color-accent-700);
  padding: 5px 0;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Lookbook rows — working up from the floor: 01 shoe, 02 layer, 03 base
   -------------------------------------------------------------------------- */

.k-look {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-accent-700);
  margin-bottom: 24px;
}

.k-look:nth-child(even) .k-look__media { order: 2; }

.k-look__media {
  aspect-ratio: 4 / 3;
  background: var(--color-accent-800);
}

.k-look__body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.k-look__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  color: var(--color-accent-500);
}

.k-look__title {
  font-size: 44px;
  line-height: 0.96;
  margin: 0;
}

.k-look__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--color-accent-600);
  padding: 28px 32px;
  margin-top: 8px;
}

.k-look__total-price {
  font-size: 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.k-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.k-about__title {
  font-size: 64px;
  line-height: 0.94;
  margin: 0 0 24px;
}

.k-about__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-accent-200);
  margin: 0 0 18px;
  max-width: 54ch;
}

/* The closing line is a sign-off, not a fourth paragraph. It takes the
   condensed face and the full text colour so it reads as the last word. */
.k-about__signoff {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-bg);
  margin-top: 30px;
}

.k-about__portrait { aspect-ratio: 4 / 5; }

.k-pillar {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.k-pillar__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.20em;
  color: var(--color-accent-300);
}

.k-pillar__title {
  font-size: 30px;
  line-height: 1;
  margin: 0;
}

.k-pillar__note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-accent-200);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Signature drop
   -------------------------------------------------------------------------- */

.k-sig-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.k-sig-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.k-sig-hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
  width: 100%;
}

.k-sig-hero__title {
  font-size: 128px;
  line-height: 0.84;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}

/* Full-bleed damask band. */
.k-damask-band {
  height: 180px;
  background-color: #ffffff;
  background-image: var(--plate-img);
  background-size: var(--plate-tile) auto;
  background-repeat: repeat;
}

.k-sig-buy {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

.k-specsheet {
  border-top: 1px solid var(--color-accent-700);
}

.k-specsheet__row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-accent-700);
  align-items: baseline;
}

.k-specsheet__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-accent-500);
  font-variant-numeric: tabular-nums;
}

.k-specsheet__term {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.k-specsheet__def {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-accent-200);
}

/* --------------------------------------------------------------------------
   Account
   -------------------------------------------------------------------------- */

.k-acct-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid var(--color-accent-500);
  padding-bottom: 20px;
}

.k-acct-head__title {
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0;
}

.k-acct-stats {
  display: flex;
  flex: none;
}

.k-acct-stat {
  padding: 0 26px;
  border-left: 1px solid var(--color-accent-700);
  text-align: right;
}

.k-acct-stat__num {
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.k-acct-stat__label {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-accent-300);
  margin-top: 4px;
}

/* 5-stage tracking timeline. */
.k-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.k-track__stage {
  padding-top: 12px;
  border-top: 2px solid var(--color-accent-700);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-400);
}

.k-track__stage--done {
  border-top-color: var(--color-accent-400);
  color: var(--color-bg);
}
