
/* ==========================================================================
   Royal Hardwood Education / Service Pages
   Shared dark slate + gold visual system for hardwood support pages.
   ========================================================================== */

.rhf-page--hardwood-info {
  --rhf-page-accent: #feda6a;
  --rhf-hi-dark-a: #494d5f;
  --rhf-hi-dark-b: #393f4d;
  --rhf-hi-dark-c: #1d1e22;
  --rhf-hi-plum-a: #3c3640;
  --rhf-hi-plum-b: #221f26;
  --rhf-hi-ink: #ffffff;
  --rhf-hi-copy: rgba(255, 255, 255, 0.84);
  --rhf-hi-soft: rgba(255, 255, 255, 0.68);
  --rhf-hi-card: rgba(255, 255, 255, 0.06);
  --rhf-hi-card-strong: rgba(255, 255, 255, 0.10);
  --rhf-hi-line: rgba(255, 255, 255, 0.16);
  --rhf-hi-radius-xl: clamp(1.25rem, 2vw, 2rem);
  --rhf-hi-radius-lg: 1.35rem;
  --rhf-hi-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  background: var(--rhf-hi-dark-c);
  color: var(--rhf-hi-copy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero */
.rhf-page--hardwood-info .rhf-hi-hero {
  min-height: clamp(680px, 92vh, 940px);
  isolation: isolate;
}

.rhf-page--hardwood-info .rhf-hi-hero .rhf-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1d1e22, #393f4d);
}

.rhf-page--hardwood-info .rhf-hi-hero .rhf-page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.rhf-page--hardwood-info .rhf-hi-hero .rhf-page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--rhf-central-hero-shade) !important;
}

.rhf-page--hardwood-info .rhf-hi-hero .rhf-page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1040px);
  align-items: end;
  justify-content: start;
  min-height: inherit;
  padding-block: clamp(8rem, 13vw, 11.5rem) clamp(5.5rem, 10vw, 8rem);
}

.rhf-page--hardwood-info .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 1040px;
}

.rhf-page--hardwood-info .rhf-page-kicker,
.rhf-page--hardwood-info .rhf-section-kicker {
  margin: 0 0 1rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.86rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
  opacity: 1;
}

.rhf-page--hardwood-info .rhf-hi-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.rhf-hi-hero__lede {
  max-width: 760px;
  margin: clamp(1.1rem, 2vw, 1.45rem) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.24vw, 1.18rem);
  font-weight: 500;
  line-height: 1.72;
}

.rhf-page--hardwood-info .rhf-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Sections */
.rhf-hi-intro,
.rhf-hi-story,
.rhf-hi-factors,
.rhf-hi-faq,
.rhf-hi-final {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-hi-intro > .rhf-container,
.rhf-hi-story > .rhf-container,
.rhf-hi-factors > .rhf-container,
.rhf-hi-faq > .rhf-container,
.rhf-hi-final > .rhf-container {
  position: relative;
  z-index: 1;
}

.rhf-hi-intro,
.rhf-hi-factors,
.rhf-hi-final {
  background:
    radial-gradient(900px 460px at 8% 0%, rgba(255, 255, 255, 0.08), transparent 58%),
    radial-gradient(760px 360px at 100% 20%, rgba(254, 218, 106, 0.09), transparent 54%),
    linear-gradient(135deg, var(--rhf-hi-dark-a) 0%, var(--rhf-hi-dark-b) 44%, var(--rhf-hi-dark-c) 100%);
}

.rhf-hi-story,
.rhf-hi-faq {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(760px 360px at 100% 20%, rgba(254, 218, 106, 0.10), transparent 54%),
    linear-gradient(180deg, #494d5f 0%, #1d1e22 100%);
}

.rhf-hi-final {
  background:
    radial-gradient(860px 420px at 10% 0%, rgba(254, 218, 106, 0.12), transparent 58%),
    radial-gradient(740px 360px at 96% 18%, rgba(255, 255, 255, 0.07), transparent 56%),
    linear-gradient(135deg, var(--rhf-hi-plum-a) 0%, var(--rhf-hi-plum-b) 100%);
}

.rhf-hi-opener,
.rhf-hi-section-heading {
  max-width: 1080px;
  margin-bottom: clamp(2.3rem, 5vw, 4.2rem);
}

.rhf-hi-opener h2,
.rhf-hi-section-heading h2,
.rhf-hi-story__copy h2,
.rhf-hi-final h2 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 5.6rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.052em;
  text-rendering: geometricPrecision;
  text-wrap: balance;
}

.rhf-hi-opener p,
.rhf-hi-section-heading p,
.rhf-hi-story__copy > p,
.rhf-hi-final p {
  max-width: 780px;
  margin: 1.1rem 0 0;
  color: var(--rhf-hi-copy);
  font-size: clamp(1.02rem, 1.16vw, 1.14rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.005em;
}

/* Proof cards */
.rhf-hi-proof-grid,
.rhf-hi-factor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.rhf-hi-proof,
.rhf-hi-factor,
.rhf-hi-card {
  position: relative;
  min-height: 210px;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border: 1px solid var(--rhf-hi-line);
  border-radius: var(--rhf-hi-radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(254, 218, 106, 0.10), transparent 60%),
    linear-gradient(180deg, var(--rhf-hi-card-strong), var(--rhf-hi-card));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.20);
}

.rhf-hi-proof span,
.rhf-hi-factor span,
.rhf-hi-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: 0.75rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rhf-hi-proof h3,
.rhf-hi-factor h3,
.rhf-hi-card h3 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.rhf-hi-proof p,
.rhf-hi-factor p,
.rhf-hi-card p {
  margin: 0.75rem 0 0;
  color: var(--rhf-hi-copy);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

/* Story section */
.rhf-hi-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.98fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
}

.rhf-hi-story__copy ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.rhf-hi-story__copy li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.006em;
}

.rhf-hi-story__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--rhf-page-accent);
  box-shadow: 0 0 0 4px rgba(254, 218, 106, 0.14);
}

.rhf-hi-video-card {
  overflow: hidden;
  border: 1px solid var(--rhf-hi-line);
  border-radius: var(--rhf-hi-radius-xl);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: var(--rhf-hi-shadow);
}

.rhf-hi-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

.rhf-hi-video-card figcaption {
  padding: 1rem 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* FAQ */
.rhf-hi-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.rhf-hi-faq__items {
  display: grid;
  gap: 0.85rem;
}

.rhf-hi-faq details {
  overflow: hidden;
  border: 1px solid var(--rhf-hi-line);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.06);
}

.rhf-hi-faq summary {
  position: relative;
  cursor: pointer;
  padding: 1.15rem 3.5rem 1.15rem 1.25rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.006em;
  list-style: none;
}

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

.rhf-hi-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #1d1e22;
  background: var(--rhf-page-accent);
  font-weight: 950;
  transform: translateY(-50%);
}

.rhf-hi-faq details[open] summary::after {
  content: "–";
}

.rhf-hi-faq details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--rhf-hi-copy);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.72;
}

.rhf-hi-final__inner {
  max-width: 980px;
}

.rhf-hi-final .rhf-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Buttons */
.rhf-page--hardwood-info .button {
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.rhf-page--hardwood-info .button--outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.06);
}

.rhf-page--hardwood-info .button--outline-light:hover,
.rhf-page--hardwood-info .button--outline-light:focus-visible {
  color: #1d1e22;
  border-color: var(--rhf-page-accent);
  background: var(--rhf-page-accent);
}

/* Responsive */
@media (max-width: 1180px) {
  .rhf-hi-proof-grid,
  .rhf-hi-factor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhf-hi-story__grid,
  .rhf-hi-faq__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rhf-page--hardwood-info .rhf-hi-hero {
    min-height: 720px;
  }

  .rhf-page--hardwood-info .rhf-hi-hero .rhf-page-hero__inner {
    padding-block: 7.2rem 4.5rem;
  }

  .rhf-page--hardwood-info .rhf-hi-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .rhf-page--hardwood-info .rhf-page-hero__actions,
  .rhf-hi-final .rhf-page-hero__actions {
    width: 100%;
  }

  .rhf-page--hardwood-info .button {
    width: 100%;
  }

  .rhf-hi-intro,
  .rhf-hi-story,
  .rhf-hi-factors,
  .rhf-hi-faq,
  .rhf-hi-final {
    padding-block: 3.75rem;
  }

  .rhf-hi-proof-grid,
  .rhf-hi-factor-grid {
    grid-template-columns: 1fr;
  }

  .rhf-hi-proof,
  .rhf-hi-factor,
  .rhf-hi-card {
    min-height: auto;
  }

  .rhf-hi-video-card video {
    aspect-ratio: 3 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rhf-page--hardwood-info *,
  .rhf-page--hardwood-info *::before,
  .rhf-page--hardwood-info *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
