:root {
  --bg: #121317;
  --surface: #1a1b1f;
  --surface-high: #292a2e;
  --text: #e3e2e7;
  --muted: #c4c7c8;
  --outline: #444748;
  --white: #ffffff;
  --ink: #2f3034;
  --radius: 16px;
  --radius-xl: 24px;
  --gap-1: 8px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 32px;
  --section-gap: 84px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: var(--section-gap) 0;
}

.eyebrow {
  margin: 0 0 var(--gap-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6.6vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(24px);
  background: rgb(18 19 23 / 78%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  min-height: 72px;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.94rem;
}

.nav-links {
  display: flex;
  gap: var(--gap-3);
  margin-left: auto;
  align-items: center;
}

.nav-links a,
.phone {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 220ms ease;
}

.nav-links a:hover,
.phone:hover {
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger::after {
  content: "▾";
  font-size: 0.68rem;
  color: rgb(227 226 231 / 72%);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 280px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 12px;
  background: rgb(14 15 20 / 96%);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px rgb(0 0 0 / 36%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-dropdown-menu a:hover {
  background: rgb(255 255 255 / 8%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

.btn-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 32px rgb(255 255 255 / 14%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgb(255 255 255 / 20%);
}

.btn-ghost {
  color: var(--white);
  border-color: rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 4%);
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 10%);
}

.menu-btn,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8% 0 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(0);
  will-change: transform;
  background: linear-gradient(180deg, rgb(18 19 23 / 35%) 0%, rgb(18 19 23 / 72%) 55%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-copy {
  margin: var(--gap-3) auto 0;
  max-width: 760px;
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  color: var(--muted);
}

.hero-actions {
  margin-top: var(--gap-4);
  display: flex;
  gap: var(--gap-2);
  justify-content: center;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.highlights-carousel {
  position: relative;
}

.highlights .container {
  max-width: 100%;
  padding: 0;
}

.highlights .section-head {
  max-width: var(--max-width);
  margin: 0 auto 56px;
  padding: 0 48px;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 0;
  padding: 0;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.highlight-slide {
  position: relative;
  flex: 0 0 min(78vw, 980px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  background: #060708;
  transform: scale(0.92);
  opacity: 0.45;
  filter: saturate(0.84);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 900ms ease, filter 900ms ease, border-color 900ms ease;
}

.highlight-slide.active {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1);
  border-color: rgb(255 255 255 / 20%);
}

.highlight-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.highlight-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgb(8 8 10 / 2%) 0%, rgb(8 8 10 / 84%) 62%);
}

.highlight-meta h3 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.highlight-meta p {
  margin-top: 10px;
  max-width: 54ch;
  color: rgb(227 226 231 / 88%);
}

.carousel-nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 24%);
  background: rgb(12 13 16 / 68%);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, background-color 220ms ease;
}

.carousel-nav:hover {
  transform: scale(1.05);
  background: rgb(12 13 16 / 88%);
}

.carousel-nav.prev {
  left: -4px;
}

.carousel-nav.next {
  right: -4px;
}

.carousel-controls {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgb(255 255 255 / 30%);
  cursor: pointer;
  transition: all 240ms ease;
}

.carousel-dot.active {
  width: 34px;
  background: rgb(255 255 255 / 90%);
}

.explore-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: center;
}

.explore-copy p {
  margin-top: var(--gap-2);
  color: var(--muted);
}

.feature-selector-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.feature-mobile-summary {
  display: none;
  margin-top: 16px;
  color: rgb(227 226 231 / 84%);
  font-size: 0.92rem;
}

.feature-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-nav-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 6%);
  color: var(--white);
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.feature-nav-btn:hover {
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 32%);
}

.feature-nav-btn:active {
  transform: scale(0.96);
}

.feature-nav-icon {
  width: 18px;
  height: 18px;
}

.feature-selector {
  margin-top: 0;
  display: grid;
  gap: 12px;
}

.feature-pill {
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 4%);
  color: var(--muted);
  border-radius: 999px;
  padding: 13px 20px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  transition: transform 300ms ease, background-color 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.feature-pill:hover {
  transform: translateX(4px);
  color: var(--white);
  border-color: rgb(255 255 255 / 28%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 8%) inset;
}

.feature-pill.active {
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 14px 28px rgb(0 0 0 / 35%);
}

.feature-content {
  margin-top: 22px;
  min-height: 116px;
}

.feature-content h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

.feature-content p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 50ch;
}

.explore-view {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  background: radial-gradient(circle at 62% 38%, rgb(67 77 106 / 18%) 0%, rgb(8 10 14 / 88%) 58%, #050609 100%);
}

.explore-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  min-height: 500px;
}

.explore-image-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
}

.explore-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition:
    opacity 0.88s cubic-bezier(0.33, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.33, 0, 0.2, 1);
  pointer-events: none;
  backface-visibility: hidden;
  /* Slight overscan removes hairline gaps at rounded corners after cover-crop */
  transform: scale(1.02);
  transform-origin: center center;
}

.explore-layer.is-visible {
  opacity: 1;
  z-index: 1;
}

/* Stain artwork reads larger than other renders — scale down while staying centered */
.explore-layer.explore-layer--stain-scale {
  transform: scale(0.86);
}

/* Softens near-black studio backgrounds so the panel gradient reads through */
.explore-layer.explore-photo-knockout {
  mix-blend-mode: screen;
  filter: contrast(1.08) saturate(1.04);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-3);
}

.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgb(255 255 255 / 10%);
  background: var(--surface);
  padding: 32px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgb(255 255 255 / 20%);
  box-shadow: 0 20px 40px rgb(0 0 0 / 25%);
}

.product-card.featured {
  background: linear-gradient(180deg, var(--surface-high), var(--surface));
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgb(255 255 255 / 13%);
  margin-bottom: var(--gap-2);
}

.price {
  margin: 8px 0 var(--gap-2);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.product-card p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: var(--gap-3);
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 45%);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.spec-grid div {
  padding: 24px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  border-right: 1px solid rgb(255 255 255 / 8%);
  background: rgb(255 255 255 / 2%);
}

.spec-grid div:nth-child(2n) {
  border-right: 0;
}

.spec-grid span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.spec-grid strong {
  font-size: 1.08rem;
}

.spec-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.spec-intro {
  margin: -18px 0 34px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.03rem;
}

.sizes-patterns {
  margin-top: 24px;
}

.sizes-patterns-head h3 {
  margin: 0;
  font-size: clamp(1.95rem, 3.8vw, 2.45rem);
}

.sizes-patterns-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.sizes-divider {
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sizes-divider::before,
.sizes-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgb(255 255 255 / 10%);
}

.sizes-divider span {
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(227 226 231 / 42%);
}

.sizes-compare {
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 10%);
  background: #111;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.sizes-compare-label {
  margin: 0;
  font-size: 0.64rem;
  color: rgb(227 226 231 / 38%);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.sizes-compare-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.sizes-compare-item span {
  font-size: 0.72rem;
  color: rgb(227 226 231 / 58%);
  font-weight: 600;
}

.sizes-compare-box {
  width: 100%;
  max-width: 260px;
  height: var(--h, 52px);
  border-radius: 4px;
  border: 1px solid rgb(255 255 255 / 20%);
  background:
    linear-gradient(180deg, rgb(38 29 20 / 96%), rgb(27 20 15 / 96%)),
    repeating-linear-gradient(90deg, rgb(200 148 90 / 14%) 0 1px, transparent 1px 7px);
  background-size: 100% 100%, 12px 100%;
}

.sizes-compare-item.is-active .sizes-compare-box {
  border-color: rgb(160 114 74 / 70%);
  box-shadow: 0 8px 24px rgb(160 114 74 / 22%);
}

.sizes-compare-item.is-active span {
  color: #c8945a;
}

.sizes-grid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.sizes-grid-straight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.sizes-card {
  appearance: none;
  border: 1px solid #222;
  background: #141414;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.sizes-card:hover,
.sizes-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgb(160 114 74 / 45%);
  box-shadow: 0 12px 40px rgb(160 114 74 / 14%);
  background: #1a1a1a;
}

.sizes-card-media {
  position: relative;
  height: 90px;
  border-bottom: 1px solid #1a1a1a;
  background: #0d0d0d;
}

.sizes-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sizes-card-tag {
  position: absolute;
  left: 10px;
  bottom: 8px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: rgb(0 0 0 / 68%);
  padding: 2px 10px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(227 226 231 / 68%);
}

.sizes-card-body {
  padding: 16px 18px 18px;
}

.sizes-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.sizes-card-specs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.sizes-card-specs p {
  margin: 0;
}

.sizes-card-specs span {
  display: block;
  margin-bottom: 1px;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(227 226 231 / 30%);
}

.sizes-card-specs strong {
  font-size: 0.8rem;
  color: rgb(227 226 231 / 92%);
  font-weight: 550;
}

.sizes-width-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(227 226 231 / 44%);
}

.sizes-width-bar div {
  height: 3px;
  border-radius: 999px;
  background: #222;
  overflow: hidden;
}

.sizes-width-bar i {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  background: linear-gradient(90deg, #a0724a, #c8945a);
}

.sizes-width-bar small {
  font-size: 0.62rem;
  color: rgb(227 226 231 / 52%);
}

.sizes-grade-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sizes-grade-row span {
  margin-right: 2px;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(227 226 231 / 28%);
}

.sizes-grade-row b,
.sizes-grade-row i {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.64rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sizes-grade-row b {
  background: linear-gradient(135deg, #a0724a, #c8945a);
  color: #fff;
  font-style: normal;
}

.sizes-grade-row i {
  border: 1px solid #333;
  color: rgb(227 226 231 / 72%);
  font-style: normal;
}

.sizes-grade-row small {
  color: rgb(227 226 231 / 42%);
  font-size: 0.64rem;
}

.sizes-note {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid #1e1e1e;
  background: #111;
  padding: 12px 16px;
  font-size: 0.78rem;
  color: rgb(227 226 231 / 52%);
}

.sizes-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 16px;
}

.sizes-modal[hidden] {
  display: none;
}

.sizes-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 2 6 / 76%);
  backdrop-filter: blur(4px);
}

.sizes-modal-card {
  position: relative;
  width: min(1040px, 96vw);
  max-height: 94vh;
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 14%);
  overflow: hidden;
  background: #111317;
  box-shadow: 0 26px 72px rgb(0 0 0 / 50%);
}

.sizes-modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(8 9 13 / 80%);
  color: rgb(247 247 249 / 90%);
  font: inherit;
  padding: 7px 12px;
  cursor: pointer;
}

.sizes-modal-image {
  max-height: 72vh;
  background: #0d1014;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.sizes-modal-image img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.sizes-modal-copy {
  padding: 16px 18px 20px;
}

.sizes-modal-copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.sizes-modal-copy p {
  margin: 8px 0 0;
}

#sizesModalSpec {
  color: rgb(227 226 231 / 84%);
}

.sizes-modal-note {
  color: #c8945a;
}

.grade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-3);
  margin-bottom: 24px;
}

.grade-card {
  position: relative;
  min-height: 290px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  background: #0d0f13;
}

.grade-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grade-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, rgb(7 8 10 / 6%) 0%, rgb(7 8 10 / 88%) 60%);
}

.grade-overlay h3 {
  margin-top: 8px;
}

.grade-overlay p {
  margin-top: 10px;
  color: rgb(227 226 231 / 88%);
}

.plank-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-3);
  align-items: stretch;
}

.plank-card {
  height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgb(255 255 255 / 10%);
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
  padding: 24px;
}

.plank-card-diagram {
  display: flex;
  flex-direction: column;
}

.plank-card-head p,
.plank-card-head h3,
.plank-card-head > p:last-child {
  margin: 0;
}

.plank-card-head h3 {
  margin-top: 8px;
}

.plank-card-head > p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.plank-bars {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.dimension-visual {
  margin-top: 18px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 2%);
}

.dimension-length {
  font-size: 0.82rem;
  color: var(--muted);
}

.dimension-plank {
  position: relative;
  margin-top: 10px;
  height: 58px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgb(103 76 48 / 92%), rgb(144 103 61 / 92%));
  border: 1px solid rgb(255 255 255 / 14%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%);
}

.dimension-width,
.dimension-thickness {
  position: absolute;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(246 241 232 / 92%);
}

.dimension-width {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.dimension-thickness {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.dimension-width-scale {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.dimension-legend {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 2%);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.dimension-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.dimension-legend strong {
  color: var(--white);
  font-weight: 600;
}

.pattern-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.pattern-tile {
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 2%);
  padding: 14px;
}

.pattern-tile p {
  margin: 0;
  font-weight: 600;
}

.pattern-tile small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.pattern-art {
  margin-top: 10px;
  height: 78px;
  border-radius: 10px;
  background-color: #121722;
  border: 1px solid rgb(255 255 255 / 10%);
}

.pattern-herringbone {
  background-image:
    linear-gradient(135deg, rgb(162 177 219 / 38%) 25%, transparent 25%, transparent 50%, rgb(162 177 219 / 38%) 50%, rgb(162 177 219 / 38%) 75%, transparent 75%, transparent),
    linear-gradient(-45deg, rgb(113 128 171 / 25%) 25%, transparent 25%, transparent 50%, rgb(113 128 171 / 25%) 50%, rgb(113 128 171 / 25%) 75%, transparent 75%, transparent);
  background-size: 24px 24px, 24px 24px;
}

.pattern-chevron {
  background-image:
    repeating-linear-gradient(135deg, rgb(169 189 232 / 34%) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(45deg, rgb(104 125 171 / 28%) 0 10px, transparent 10px 20px);
  background-size: 36px 36px;
}

.firm-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.firm-positioning {
  margin-top: 16px;
  max-width: 72ch;
  color: rgb(227 226 231 / 82%);
  font-size: 1rem;
  line-height: 1.6;
}

.firm-card {
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 10%);
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
  padding: 18px;
}

.firm-value {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.firm-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reviews-wrap {
  border-radius: var(--radius-xl);
  border: 1px solid rgb(255 255 255 / 12%);
  background: linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1%));
  padding: 24px;
}

.review-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  padding-bottom: 14px;
}

.review-tab {
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 2%);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 220ms ease;
}

.review-tab:hover {
  color: var(--white);
}

.review-tab.active {
  background: var(--white);
  color: var(--ink);
  border-color: transparent;
}

.review-card {
  padding-top: 16px;
}

.review-rating {
  color: #f6c85f;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
}

.review-card h3 {
  margin-top: 8px;
  font-size: 1.2rem;
}

.review-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.review-copy {
  margin-top: 14px;
  color: rgb(227 226 231 / 92%);
  max-width: 88ch;
}

.review-links {
  margin-top: 14px;
  display: flex;
  gap: 18px;
}

.review-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 28%);
  font-size: 0.9rem;
}

.lead .container {
  max-width: var(--max-width);
}

.lead-wrap {
  width: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
  border: 1px solid rgb(255 255 255 / 12%);
  padding: 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
}

.lead-wrap > div p {
  color: var(--muted);
  margin-top: var(--gap-2);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-2);
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(0 0 0 / 20%);
  color: var(--white);
  padding: 12px 14px;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgb(255 255 255 / 45%);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-submit-status {
  margin: -4px 0 0;
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lead-submit-status.is-success {
  color: #b8dfb8;
}

.lead-submit-status.is-error {
  color: #f4b2b2;
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding: 34px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-wrap p,
.footer-wrap a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-wrap div {
  display: flex;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .container {
    padding: 0 24px;
  }

  .highlights .section-head {
    padding: 0 24px;
  }

  .nav-links,
  .phone,
  .nav-actions .btn {
    display: none;
  }

  .menu-btn {
    margin-left: auto;
    display: inline-flex;
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    padding: 10px 14px;
    font: inherit;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 0 24px 16px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: var(--muted);
    text-decoration: none;
    padding: 6px 0;
  }

  .lead-wrap,
  .explore-grid {
    grid-template-columns: 1fr;
  }

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

  .highlight-slide {
    flex: 0 0 min(88vw, 420px);
  }

  .highlight-slide img {
    height: 420px;
  }

  .carousel-nav {
    display: none;
  }

  .explore-view {
    min-height: 560px;
  }

  .explore-visual {
    min-height: 400px;
  }

  .spec-visual-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 0;
  }

  .grade-grid {
    grid-template-columns: 1fr;
  }

  .sizes-compare {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

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

@media (max-width: 760px) {
  :root {
    --section-gap: 56px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .lead-wrap {
    padding: 24px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    gap: 12px;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: auto;
  }

  .highlight-slide,
  .highlight-slide.active {
    transform: none;
  }

  .highlight-slide {
    opacity: 0.6;
    filter: saturate(0.9);
    transition: opacity 320ms ease, filter 320ms ease, border-color 320ms ease;
  }

  .highlight-slide.active {
    opacity: 1;
    filter: saturate(1);
  }

  .highlight-slide img {
    height: 300px;
  }

  .feature-mobile-summary {
    display: block;
  }

  .feature-selector-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    min-width: 0;
    margin-top: 18px;
  }

  .feature-nav {
    display: none;
  }

  .feature-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow: visible;
    min-width: 0;
  }

  .feature-pill {
    white-space: normal;
    flex: none;
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .feature-pill:hover {
    transform: none;
  }

  .feature-content {
    margin-top: 16px;
  }

  .explore-view {
    min-height: 0;
    border-radius: 18px;
  }

  .explore-visual {
    min-height: 210px;
    max-height: 210px;
  }

  .firm-grid {
    grid-template-columns: 1fr;
  }

  .sizes-grid-straight,
  .sizes-grid-pattern {
    grid-template-columns: 1fr;
  }

  .sizes-divider {
    overflow: hidden;
  }

  .sizes-modal {
    padding: 10px;
  }

  .sizes-modal-image,
  .sizes-modal-image img {
    max-height: 52vh;
  }

  .review-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .carousel-controls {
    flex-wrap: wrap;
    gap: 6px;
    row-gap: 8px;
  }

  .carousel-dot.active {
    width: 26px;
  }
}
