/* Homepage — styles used only on this page type. */
.home-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: clamp(624px, 62.5vw, 800px);
  width: 100%;
  overflow: hidden;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,5,0.94) 0%, rgba(5,5,5,0.78) 34%, rgba(5,5,5,0.32) 70%, rgba(5,5,5,0.55) 100%);
}
.home-hero__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(224px, 25vw, 320px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,0) 0%, var(--color-bg) 92%);
}
.home-hero__stack {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: clamp(52px, 9.063vw, 116px);
  bottom: clamp(86px, 14.844vw, 190px);
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.home-hero__heading {
  margin: 0;
  font-size: clamp(40px, 7.1vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--color-text-strong);
  text-wrap: pretty;
}
.home-hero__text {
  margin: clamp(24px, 2.656vw, 34px) 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--color-text-muted);
  font-weight: 300;
}
.home-hero__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3.438vw, 44px);
  pointer-events: auto;
}
.home-hero__row-2 {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(31px, 4.375vw, 56px);
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.home-hero__rule {
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: var(--line-4);
  position: relative;
}
.home-hero__text-2 {
  position: absolute;
  inset: 0;
  background: var(--brand-ink);
  animation: zpScroll 2.4s cubic-bezier(0.7,0,0.3,1) infinite;
}
.home-hero__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: #736E67;
  text-transform: uppercase;
}
.home-hero__row-3 {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(28px, 3.906vw, 50px);
  display: flex;
  align-items: center;
  gap: clamp(21px, 2.344vw, 30px);
}
.home-hero__row-4 {
  display: flex;
  align-items: center;
  gap: 22px;
}
.home-hero__control {
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: inherit;
}
.home-hero__label-2 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}
.home-hero__text-3 {
  display: block;
  width: 54px;
  height: 2px;
  background: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.home-hero__text-4 {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--brand-ink);
}
.home-hero__row-5 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-products {
  padding: clamp(77px, 13.281vw, 170px) var(--gutter) 20px;
}
.home-products__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(44px, 6.25vw, 80px);
  margin-bottom: clamp(42px, 5.938vw, 76px);
}
.home-products__text {
  margin: 0 0 8px;
  max-width: 340px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-text-subtle);
  font-weight: 300;
}
.home-products__link {
  grid-column: span 7;
  height: clamp(406px, 45.313vw, 580px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--line-1);
  border-radius: 2px;
  transition: border-color 500ms ease, background 500ms ease;
}
.home-products__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,0.1) 0%, rgba(5,5,5,0.55) 52%, rgba(5,5,5,0.95) 100%);
}
.home-products__box {
  position: relative;
  padding: clamp(24px, 3.438vw, 44px);
  pointer-events: none;
}
.home-products__subheading {
  margin: 14px 0 12px;
  font-size: clamp(22px, 3.125vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 500;
  color: var(--color-text-strong);
}
.home-products__text-2 {
  margin: 0;
  max-width: 430px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}
.home-products__row-2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(18px, 2.031vw, 26px);
}
.home-products__link-2 {
  grid-column: span 5;
  height: clamp(406px, 45.313vw, 580px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--line-1);
  border-radius: 2px;
  transition: border-color 500ms ease;
}
.home-products__overlay-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,0.1) 0%, rgba(5,5,5,0.58) 52%, rgba(5,5,5,0.96) 100%);
}
.home-products__subheading-2 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 2.813vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  font-weight: 500;
  color: var(--color-text-strong);
}
.home-products__text-3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}
.home-products__link-3 {
  grid-column: span 5;
  height: clamp(392px, 43.75vw, 560px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-sunken) 100%);
  border: 1px solid var(--line-1);
  border-radius: 2px;
  transition: border-color 500ms ease;
}
.home-products__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(60% 70% at 50% 32%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
}
.home-products__link-4 {
  grid-column: span 7;
  height: clamp(392px, 43.75vw, 560px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  overflow: hidden;
  background: linear-gradient(115deg, #0B0B0D 0%, #0E0F12 60%, var(--color-surface-sunken) 100%);
  border: 1px solid var(--line-1);
  border-radius: 2px;
  transition: border-color 500ms ease;
}
.home-products__box-2 {
  position: relative;
  z-index: 2;
  padding: 0 clamp(17px, 1.875vw, 24px) 0 clamp(24px, 3.438vw, 44px);
  pointer-events: none;
}
.home-products__box-3 {
  position: relative;
  height: 100%;
  transition: transform 1200ms cubic-bezier(0.16,1,0.3,1);
}
.home-products__image {
  position: absolute;
  right: -16%;
  top: 10%;
  width: 122%;
  height: 80%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 46px 88px rgba(0,0,0,0.75));
}
.home-products__grid {
  grid-column: span 12;
  height: clamp(175px, 19.531vw, 250px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.62fr) minmax(0, 0.62fr);
  align-items: center;
  overflow: hidden;
  background: var(--color-surface-sunken);
  border: 1px solid var(--line-1);
  border-radius: 2px;
}
.home-products__box-4 {
  padding: 0 clamp(17px, 1.875vw, 24px) 0 clamp(24px, 3.438vw, 44px);
}
.home-products__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.home-products__text-4 {
  margin: 18px 0 0;
  max-width: 480px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.014em;
  color: var(--color-text-2);
  font-weight: 300;
}
.home-products__box-5 {
  position: relative;
  height: 100%;
}
.home-products__image-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
  display: block;
  opacity: 0.8;
  mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0%, #000 34%);
  -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0) 0%, #000 34%);
}
.home-products__image-3 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
}
.home-about {
  padding: clamp(77px, 13.281vw, 170px) var(--gutter);
}
.home-about__box {
  position: relative;
  height: clamp(434px, 48.438vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line-1);
  border-radius: 2px;
  background: var(--color-surface);
}
.home-about__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,0.25) 0%, rgba(5,5,5,0.1) 40%, rgba(5,5,5,0.8) 100%);
}
.home-about__control {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(10,10,11,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 400ms ease, border-color 400ms ease;
}
.home-about__control:hover,
.home-about__control:focus-visible {
  background: rgba(167,33,36,0.9);
  border-color: rgba(167,33,36,0.9);
}
.home-about__row {
  position: absolute;
  left: clamp(22px, 2.5vw, 32px);
  bottom: clamp(21px, 2.344vw, 30px);
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.home-about__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-3);
}
.home-about__text {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.home-about__heading {
  margin: 0;
  font-size: clamp(29px, 4.063vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 500;
  color: var(--color-text);
}
.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: clamp(29px, 4.063vw, 52px);
  background: var(--line-1);
}
.home-about__box-2 {
  background: var(--color-bg);
  padding: clamp(20px, 2.188vw, 28px) clamp(17px, 1.875vw, 24px) clamp(18px, 2.031vw, 26px) 0;
}
.home-about__text-2 {
  font-size: clamp(29px, 4.063vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--color-text-strong);
}
.home-about__text-3 {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.home-about__box-3 {
  background: var(--color-bg);
  padding: clamp(20px, 2.188vw, 28px) 0 clamp(18px, 2.031vw, 26px) clamp(17px, 1.875vw, 24px);
}
.home-about__box-4 {
  background: var(--color-bg);
  padding: clamp(20px, 2.188vw, 28px) clamp(17px, 1.875vw, 24px) 4px 0;
}
.home-about__box-5 {
  background: var(--color-bg);
  padding: clamp(20px, 2.188vw, 28px) 0 4px clamp(17px, 1.875vw, 24px);
}
.home-about__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 3.75vw, 48px);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--color-text-soft);
  border-bottom: 1px solid var(--line-5);
  padding-bottom: 10px;
}
.home-about__link:hover,
.home-about__link:focus-visible {
  color: var(--color-white);
  border-color: var(--brand-ink);
}
.home-applications {
  padding: clamp(59px, 10.156vw, 130px) 0 clamp(77px, 13.281vw, 170px);
  border-top: 1px solid var(--line-1);
}
.home-applications__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(44px, 6.25vw, 80px);
}
.home-applications__box {
  position: relative;
  height: clamp(462px, 51.563vw, 660px);
  overflow: hidden;
  border: 1px solid var(--line-1);
  border-radius: 2px;
  background: var(--color-surface-sunken);
}
.home-applications__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(21px, 2.344vw, 30px);
  pointer-events: auto;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255,255,255,0.24);
  padding-bottom: 9px;
}
.home-applications__link:hover,
.home-applications__link:focus-visible {
  color: var(--color-white);
  border-color: var(--brand-ink);
}
.home-projects {
  padding: clamp(22px, 3.125vw, 40px) var(--gutter) clamp(77px, 13.281vw, 170px);
}
.home-projects__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(44px, 6.25vw, 80px);
  margin-bottom: clamp(39px, 5.469vw, 70px);
}
.home-projects__link {
  display: block;
  position: relative;
  height: clamp(462px, 51.563vw, 660px);
  overflow: hidden;
  border: 1px solid var(--line-1);
  border-radius: 2px;
  background: var(--color-surface);
  transition: border-color 500ms ease;
}
.home-news {
  padding: 0 var(--gutter) clamp(77px, 13.281vw, 170px);
}
.home-enquiry {
  position: relative;
  padding: clamp(59px, 10.156vw, 130px) var(--gutter);
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  overflow: hidden;
}
.home-enquiry__row {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(44px, 6.25vw, 80px);
}
.home-enquiry__heading {
  margin: 0;
  font-size: clamp(32px, 4.531vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.034em;
  font-weight: 500;
  color: var(--color-text-strong);
}

@media (max-width: 991px) {
  .home-products__row {
    flex-wrap: wrap;
  }
  .home-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-applications__row {
    flex-wrap: wrap;
  }
  .home-projects__row {
    flex-wrap: wrap;
  }
  .home-enquiry__row {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .home-products__link {
    grid-column: 1 / -1;
    height: auto;
    min-height: clamp(406px, 45.313vw, 580px);
  }
  .home-products__link-2 {
    grid-column: 1 / -1;
    height: auto;
    min-height: clamp(406px, 45.313vw, 580px);
  }
  .home-products__link-3 {
    grid-column: 1 / -1;
    height: auto;
    min-height: clamp(392px, 43.75vw, 560px);
  }
  .home-products__link-4 {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / -1;
    height: auto;
    min-height: clamp(392px, 43.75vw, 560px);
  }
  .home-products__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1 / -1;
    height: auto;
    min-height: clamp(175px, 19.531vw, 250px);
  }
  .home-about__box {
    height: auto;
    min-height: clamp(434px, 48.438vw, 620px);
  }
  .home-about__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-applications__box {
    height: auto;
    min-height: clamp(462px, 51.563vw, 660px);
  }
  .home-projects__link {
    height: auto;
    min-height: clamp(462px, 51.563vw, 660px);
  }
}

/* Mobile legibility: text set below 11px on desktop is raised to 11px on phones. */
@media (max-width: 767px) {
  .home-hero__label,
  .home-hero__label-2,
  .home-products__label,
  .home-about__label,
  .home-about__text,
  .home-about__text-3 {
    font-size: 11px;
  }
}

/* ---- Product ecosystem: five categories ---- */
.home-cat-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.home-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; overflow: hidden; background: var(--color-surface); border: 1px solid var(--line-1); border-radius: var(--radius-card); transition: border-color 500ms ease; }
.home-cat--wide { grid-column: span 7; min-height: 560px; }
.home-cat--mid { grid-column: span 5; min-height: 560px; }
.home-cat--third { grid-column: span 4; }
.home-cat:hover, .home-cat:focus-visible { border-color: rgba(167, 33, 36, 0.6); }
.home-cat__media { position: absolute; inset: 0; transition: transform 1200ms var(--ease-out); }
.home-cat__media .media { width: 100%; height: 100%; object-fit: cover; }
.home-cat:hover .home-cat__media { transform: scale(1.05); }
.home-cat__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, rgba(5, 5, 5, 0.58) 52%, rgba(5, 5, 5, 0.96) 100%); }
.home-cat__body { position: relative; display: block; padding: clamp(24px, 3.44vw, 44px); }
.home-cat__num { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--brand-ink); }
.home-cat__title { display: block; margin: 14px 0 12px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 500; color: var(--color-text-strong); }
.home-cat__text { display: block; max-width: 430px; font-size: 15px; line-height: 1.6; color: var(--color-text-4); font-weight: 300; }
.home-cat__cta { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-soft); }
.home-cat__arrow { transition: transform 450ms var(--ease-out); }
.home-cat:hover .home-cat__arrow { transform: translateX(6px); }
@media (max-width: 991px) {
  .home-cat--wide, .home-cat--mid, .home-cat--third { grid-column: span 6; min-height: 440px; }
  .home-cat--third:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .home-cat-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-cat--wide, .home-cat--mid, .home-cat--third, .home-cat--third:last-child { grid-column: auto; min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) { .home-cat__media, .home-cat__arrow { transition: none; } .home-cat:hover .home-cat__media, .home-cat:hover .home-cat__arrow { transform: none; } }

/* Category cards: sizes from the approved homepage design (wide/mid cards 38px titles and
   44px padding; third-width cards 30px titles and 36px padding; text #A29E98). */
.home-cat__text { color: var(--color-text-muted); }
.home-cat__title { font-size: clamp(26px, 2.34vw, 30px); letter-spacing: -0.026em; }
.home-cat__body { padding: clamp(24px, 2.81vw, 36px); }
.home-cat--wide .home-cat__title, .home-cat--mid .home-cat__title { font-size: clamp(30px, 2.97vw, 38px); }
.home-cat--wide .home-cat__body, .home-cat--mid .home-cat__body { padding: clamp(24px, 3.44vw, 44px); }
.home-cat__cta { margin-top: 24px; }
