.garage-flooring-page {
  --gf-deep: #252a28;
  --gf-moss: #536156;
  --gf-sage: #bfc5b8;
  --gf-sand: #d8c7ae;
  --gf-paper: #f5f1e9;
  --gf-white: #fffdfa;
}

.garage-flooring-page main {
  overflow: hidden;
}

.gf-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--gf-white);
  background: var(--gf-deep);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.gf-skip-link:focus {
  transform: translateY(0);
}

.gf-hero {
  --gf-hero-height: clamp(700px, calc(100svh - var(--nav-h)), 900px);
  min-height: var(--gf-hero-height);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gf-deep);
  outline: none;
}

.gf-hero:focus-visible {
  outline: 2px solid var(--bronze-light);
  outline-offset: -4px;
}

.gf-hero__viewport {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--gf-deep);
}

.gf-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 23, 21, 0.9) 0%, rgba(18, 23, 21, 0.72) 38%, rgba(18, 23, 21, 0.18) 72%, rgba(18, 23, 21, 0.08) 100%),
    linear-gradient(0deg, rgba(18, 23, 21, 0.62) 0%, transparent 36%);
}

.gf-hero__content {
  width: min(900px, 75vw);
  min-height: var(--gf-hero-height);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(72px, 8vw, 112px);
  padding-right: var(--side-pad);
  padding-bottom: clamp(118px, 13vh, 150px);
  padding-left: clamp(108px, 7.5vw, 132px);
  color: var(--gf-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.24);
}

.gf-hero .section-label {
  color: var(--bronze-light);
}

.gf-hero h1 {
  max-width: 760px;
  margin: 20px 0 28px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.gf-hero h1 em {
  color: var(--bronze-light);
  font-weight: 400;
}

.gf-hero__lead {
  max-width: 620px;
  color: rgba(255, 253, 250, 0.88);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.75;
}

.gf-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 42px;
}

.gf-hero__features span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 253, 250, 0.28);
  color: rgba(255, 253, 250, 0.9);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gf-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gf-button:hover {
  transform: translateY(-2px);
}

.gf-button--light {
  color: var(--gf-deep);
  background: var(--gf-white);
}

.gf-button--light:hover {
  background: var(--bronze-light);
}

.gf-button--dark {
  color: var(--gf-white);
  background: var(--gf-deep);
}

.gf-button--dark:hover {
  background: var(--bronze);
}

.gf-button--outline {
  color: var(--gf-deep);
  border-color: var(--gf-deep);
  background: transparent;
}

.gf-button--outline:hover {
  color: var(--gf-white);
  background: var(--gf-deep);
}

.gf-section {
  padding: var(--section-pad) var(--side-pad);
}

.gf-section__intro {
  width: min(1320px, 100%);
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
}

.gf-section__intro h2,
.gf-process h2,
.gf-benefits h2,
.gf-faq h2 {
  margin-top: 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.gf-section__intro h2 em,
.gf-process h2 em,
.gf-benefits h2 em,
.gf-faq h2 em {
  color: var(--bronze);
  font-weight: 400;
}

.gf-section__intro > p {
  color: var(--text-secondary);
  font-size: 17px;
}

.gf-slider {
  outline: none;
}

.gf-slider:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 5px;
}

.gf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.gf-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 0;
}

.gf-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gf-slide::after {
  content: '';
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(16, 20, 18, 0.58));
  pointer-events: none;
}

.gf-slide figcaption {
  position: absolute;
  left: auto;
  right: clamp(24px, 4vw, 62px);
  bottom: clamp(78px, 8vw, 106px);
  z-index: 2;
  display: flex;
  gap: 20px;
  align-items: baseline;
  max-width: min(470px, 36vw);
  text-align: right;
  color: var(--gf-white);
  font-size: clamp(14px, 1.25vw, 18px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.gf-slide figcaption > span {
  color: var(--bronze-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gf-slide figcaption strong {
  display: block;
  margin-bottom: 3px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 400;
}

.gf-slider__arrow {
  width: clamp(48px, 5vw, 66px);
  height: clamp(48px, 5vw, 66px);
  position: absolute;
  top: 50%;
  z-index: 4;
  border: 0;
  border-radius: 50%;
  color: var(--gf-deep);
  background: rgba(255, 253, 250, 0.94);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.gf-slider__arrow:hover {
  color: var(--gf-white);
  background: var(--bronze);
  transform: translateY(-50%) scale(1.04);
}

.gf-slider__arrow--prev {
  left: clamp(14px, 2vw, 30px);
}

.gf-slider__arrow--next {
  right: clamp(14px, 2vw, 30px);
}

.gf-slider__arrow span {
  font-size: 22px;
}

.gf-slider__controls {
  position: absolute;
  right: var(--side-pad);
  bottom: clamp(24px, 3vw, 42px);
  left: var(--side-pad);
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.gf-slider__dots {
  display: flex;
  gap: 8px;
}

.gf-slider__dots button {
  width: 36px;
  height: 3px;
  border: 0;
  background: rgba(255, 253, 250, 0.42);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.gf-slider__dots button.is-active {
  width: 62px;
  background: var(--bronze-light);
}

.gf-slider__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gf-slider__toggle {
  padding: 5px 0;
  border: 0;
  color: rgba(255, 253, 250, 0.78);
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.gf-slider__status {
  color: rgba(255, 253, 250, 0.66);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.gf-slider__status span {
  color: var(--gf-white);
  font-weight: 600;
}

.gf-products {
  background: var(--gf-white);
}

.gf-section__intro--centred {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.gf-section__intro--centred > p {
  max-width: 760px;
}

.gf-product-grid {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
}

.gf-product-card {
  border: 1px solid var(--ivory-dark);
  background: var(--gf-paper);
}

.gf-product-card__visual {
  height: clamp(300px, 35vw, 500px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gf-product-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 42px 42px;
}

.gf-product-card__visual--cool {
  background: #d9dbd6;
}

.gf-product-card__visual--warm {
  background: #e5d3bb;
}

.gf-product-card__visual img {
  width: 92%;
  height: 78%;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(39, 34, 27, 0.18));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gf-product-card:hover .gf-product-card__visual img {
  transform: translateY(-6px) scale(1.02);
}

.gf-product-card__number {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  color: rgba(37, 42, 40, 0.58);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gf-product-card__body {
  padding: clamp(28px, 4vw, 48px);
}

.gf-product-card__type {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gf-product-card h3 {
  margin: 8px 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 400;
}

.gf-product-card__body > p:not(.gf-product-card__type) {
  color: var(--text-secondary);
}

.gf-product-card ul {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.gf-product-card li {
  padding: 7px 11px;
  border: 1px solid var(--ivory-dark);
  color: var(--charcoal-light);
  background: rgba(255, 253, 250, 0.6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gf-products__note {
  width: min(1320px, 100%);
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.gf-process {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  color: var(--gf-white);
  background: var(--gf-deep);
}

.gf-process .section-label {
  color: var(--bronze-light);
}

.gf-process h2 {
  margin-bottom: 26px;
}

.gf-process__copy > p:not(.section-label) {
  max-width: 620px;
  color: rgba(255, 253, 250, 0.72);
  font-size: 17px;
}

.gf-process__steps {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 253, 250, 0.16);
  list-style: none;
}

.gf-process__steps li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 253, 250, 0.16);
  color: rgba(255, 253, 250, 0.68);
}

.gf-process__steps li > span {
  color: var(--bronze-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gf-process__steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--gf-white);
  font-size: 17px;
  font-weight: 500;
}

.gf-process__media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #111;
  object-fit: cover;
}

.gf-process__media p {
  margin-top: 12px;
  color: rgba(255, 253, 250, 0.54);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.gf-benefits {
  padding-bottom: 0;
  background: var(--gf-paper);
}

.gf-benefits__heading {
  width: min(920px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.gf-benefits__heading > p:last-child {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.gf-benefit-grid {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ivory-dark);
  border-left: 1px solid var(--ivory-dark);
}

.gf-benefit-grid article {
  min-height: 260px;
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--ivory-dark);
  border-bottom: 1px solid var(--ivory-dark);
  background: rgba(255, 253, 250, 0.48);
}

.gf-benefit-grid article > span {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gf-benefit-grid h3 {
  margin: 34px 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 400;
}

.gf-benefit-grid p {
  color: var(--text-secondary);
  font-size: 15px;
}

.gf-faq {
  width: min(1320px, 100%);
  margin: var(--section-pad) auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 9vw, 130px);
}

.gf-faq h2 {
  font-size: clamp(40px, 4vw, 60px);
}

.gf-faq__list {
  border-top: 1px solid var(--ivory-dark);
}

.gf-faq details {
  border-bottom: 1px solid var(--ivory-dark);
}

.gf-faq summary {
  padding: 22px 52px 22px 0;
  position: relative;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 500;
  list-style: none;
}

.gf-faq summary::-webkit-details-marker {
  display: none;
}

.gf-faq summary::after {
  content: '+';
  position: absolute;
  top: 17px;
  right: 8px;
  color: var(--bronze);
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.2s ease;
}

.gf-faq details[open] summary::after {
  transform: rotate(45deg);
}

.gf-faq details p {
  max-width: 780px;
  padding: 0 52px 24px 0;
  color: var(--text-secondary);
}

.gf-faq a {
  color: var(--bronze);
}

@media (max-width: 1100px) {
  .gf-hero__content {
    width: min(760px, 82vw);
  }

  .gf-process {
    grid-template-columns: 1fr;
  }

  .gf-process__copy {
    max-width: 820px;
  }

  .gf-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gf-hero {
    --gf-hero-height: max(700px, calc(100svh - var(--nav-h)));
  }

  .gf-hero__shade {
    background:
      linear-gradient(0deg, rgba(18, 23, 21, 0.92) 0%, rgba(18, 23, 21, 0.64) 62%, rgba(18, 23, 21, 0.18) 100%),
      linear-gradient(90deg, rgba(18, 23, 21, 0.5), transparent 90%);
  }

  .gf-hero__content {
    width: 100%;
    justify-content: flex-end;
    padding-right: var(--side-pad);
    padding-top: 64px;
    padding-bottom: 142px;
    padding-left: var(--side-pad);
  }

  .gf-hero h1 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .gf-hero__lead {
    font-size: 16px;
  }

  .gf-section__intro,
  .gf-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gf-slide figcaption {
    top: 24px;
    right: 18px;
    bottom: auto;
    align-items: flex-start;
    max-width: 50vw;
  }

  .gf-slide figcaption strong {
    font-size: 26px;
  }

  .gf-slider__arrow {
    top: auto;
    bottom: 86px;
    transform: none;
  }

  .gf-slider__arrow:hover {
    transform: scale(1.04);
  }

  .gf-product-grid,
  .gf-benefit-grid {
    grid-template-columns: 1fr;
  }

  .gf-product-card__visual {
    height: 340px;
  }

  .gf-benefit-grid article {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .gf-hero__features {
    gap: 6px;
  }

  .gf-hero__features span {
    padding: 7px 9px;
    font-size: 9px;
  }

  .gf-slide img {
    object-position: center;
  }

  .gf-slide figcaption {
    left: auto;
    top: 24px;
    right: 18px;
    bottom: auto;
    gap: 10px;
    max-width: 46vw;
  }

  .gf-slide figcaption div > span {
    display: none;
  }

  .gf-slide figcaption div {
    font-size: 12px;
    line-height: 1.45;
  }

  .gf-slider__arrow {
    width: 42px;
    height: 42px;
  }

  .gf-slider__arrow--prev {
    left: 8px;
  }

  .gf-slider__arrow--next {
    right: 8px;
  }

  .gf-slider__dots button {
    width: 22px;
  }

  .gf-slider__dots button.is-active {
    width: 38px;
  }

  .gf-product-card__visual {
    height: 260px;
  }

  .gf-product-card__visual img {
    width: 96%;
  }

  .gf-process__steps li {
    grid-template-columns: 36px 1fr;
  }

  .gf-faq summary {
    font-size: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .gf-slide,
  .gf-product-card__visual img,
  .gf-button,
  .gf-slider__arrow {
    transition: none;
  }
}
