:root {
  --ink: #17191d;
  --muted: #5f6672;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #dad7ce;
  --red: #d64538;
  --teal: #118a8a;
  --yellow: #f1b83b;
  --charcoal: #252a31;
  --shadow: 0 20px 60px rgba(23, 25, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.hero-actions,
.trust-strip,
.filter-buttons {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero-logo {
  width: 84px;
  height: 84px;
  margin-bottom: 20px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(23, 25, 29, 0.1);
}

.site-nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--red);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.header-action,
.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(460px, 58vh, 620px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: #11151a;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.95) 0%, rgba(247, 245, 239, 0.86) 27%, rgba(247, 245, 239, 0.22) 54%, rgba(247, 245, 239, 0) 78%),
    linear-gradient(0deg, rgba(15, 18, 22, 0.24) 0%, rgba(15, 18, 22, 0) 42%);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 720px;
  min-height: inherit;
  flex-direction: column;
  justify-content: end;
  padding: clamp(80px, 12vh, 150px) clamp(18px, 4vw, 56px) clamp(44px, 7vh, 78px);
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 7vw, 5.9rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero p,
.section-heading p,
.split p,
.cta-band p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-overlay p {
  max-width: 640px;
  margin-bottom: 0;
  color: #3f4651;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.trust-strip {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span,
.disclosure {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.gear-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.gear-hero div {
  max-width: 900px;
}

.gear-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
}

.video-library-hero h1 {
  white-space: nowrap;
}

.gear-hero p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.gear-section {
  padding-top: clamp(38px, 6vw, 72px);
}

.stats-band div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.stats-band strong {
  display: block;
  font-size: 2rem;
}

.stats-band span {
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 4vw, 56px);
}

.surface {
  background: #e9ece6;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading > div {
  max-width: 760px;
}

.latest-heading > div,
.projects-heading > div,
.video-library-heading > div {
  max-width: none;
  min-width: 0;
  flex: 1;
}

.latest-heading h2,
.projects-heading h2,
.video-library-heading h2 {
  white-space: nowrap;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
}

.latest-video-card {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.latest-video-media {
  position: relative;
  display: block;
  align-self: start;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11151a;
}

.latest-video-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.latest-video-media span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.latest-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(20px, 4vw, 38px);
}

.latest-video-copy h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.35vw, 2.65rem);
  line-height: 1;
}

.latest-video-copy > p:last-of-type {
  max-width: 980px;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
}

.latest-products {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  justify-items: center;
  border-top: 1px solid var(--line);
  padding: 18px clamp(16px, 4vw, 34px) 24px;
}

.latest-products h3,
.cheat-sheet h3 {
  margin: 0;
  font-size: 1.05rem;
}

.latest-product-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: min(980px, 100%);
}

.latest-product {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f7f5ef;
  text-align: center;
}

.latest-product img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(23, 25, 29, 0.08);
  box-shadow: 0 8px 18px rgba(23, 25, 29, 0.12);
}

.latest-product strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.18;
}

.cheat-sheet {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 18px clamp(16px, 4vw, 34px);
}

.cheat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cheat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.cheat-card h4 {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.cheat-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.cheat-card li + li {
  margin-top: 4px;
}

.cheat-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.brand-filter {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.brand-filter.active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 69, 56, 0.15);
}

.brand-logo {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.9rem;
}

.brand-logo.image-logo {
  background: #fff;
  border: 1px solid var(--line);
}

.brand-logo img {
  width: auto;
  max-width: 48px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.subsection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

.subsection-heading h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.subsection-heading p {
  margin: 0;
  color: var(--muted);
}

.project-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #11151a;
}

.project-card h3 {
  margin: 0;
  padding: 12px;
  font-size: 0.98rem;
  line-height: 1.18;
}

.featured-video,
.video-card,
.product-card,
.guide-list a,
.merch-card,
.modal-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-video {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  overflow: hidden;
  background: #11151a;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-link {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.featured-video-copy,
.video-card,
.product-card,
.modal-panel {
  padding: 20px;
}

.featured-gear {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.featured-gear-heading {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-gear-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.featured-gear-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
}

.featured-gear-card img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.featured-gear-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-gear-card span {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
}

.video-list {
  display: grid;
  gap: 14px;
}

.video-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 0;
}

.video-thumb,
.product-image {
  width: 100%;
  aspect-ratio: 1.35;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #60727a);
  border-radius: 8px;
  font-weight: 900;
}

.video-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
}

.product-image {
  display: block;
  object-fit: cover;
  padding: 8px;
  border: 1px solid rgba(23, 25, 29, 0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover .product-image {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(23, 25, 29, 0.18);
}

.video-card > div {
  padding: 0 16px 16px;
}

.video-card .tag {
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.video-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.15;
}

.video-card p {
  margin-bottom: 10px;
  font-size: 0.88rem;
  line-height: 1.42;
}

.video-card .source-link {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.shorts-block {
  margin-top: 28px;
}

.shorts-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.shorts-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.short-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.short-card img {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
  background: #11151a;
}

.short-card div {
  padding: 14px;
}

.short-card h4 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  line-height: 1.15;
}

.short-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.38;
}

.video-card p,
.product-card p,
.guide-list small {
  color: var(--muted);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.video-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr 0.75fr 0.8fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.search-label span,
.contact-form span,
.filter-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.filter-buttons {
  flex-wrap: wrap;
  gap: 10px;
}

.filter-buttons button,
.icon-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-buttons button.active {
  color: #fff;
  background: var(--charcoal);
}

.video-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.library-video-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.library-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #11151a;
}

.library-video-card.is-short img {
  aspect-ratio: 9 / 12;
}

.library-video-card div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.library-video-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.16;
}

.library-video-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-detail-hero {
  padding: clamp(40px, 6vw, 86px) clamp(18px, 4vw, 56px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--teal);
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.project-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-video-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
}

.project-detail-copy {
  display: grid;
  gap: 18px;
}

.project-detail-copy h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  line-height: 0.98;
}

.project-detail-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-meta-list span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 900;
}

.project-content-section {
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
}

.project-content-grid {
  display: grid;
  max-width: 1120px;
  gap: 24px;
}

.project-content-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
}

.project-content-grid h2,
.related-projects-section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  line-height: 1;
}

.project-content-grid p {
  margin: 0;
  color: var(--muted);
}

.written-guide-section {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.guide-intro {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.guide-main,
.guide-sidebar,
.guide-block,
.guide-panel,
.guide-qa-list article {
  display: grid;
  gap: 14px;
}

.guide-block,
.guide-panel,
.guide-qa-list article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-block h3,
.guide-qa-list h3 {
  margin: 0;
  font-size: 1.15rem;
}

.guide-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.guide-product-list {
  display: grid;
  gap: 10px;
}

.guide-product-list a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  color: var(--teal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.guide-qa-list {
  display: grid;
  gap: 12px;
}

.guide-qa-list p,
.guide-source-note {
  margin: 0;
  color: var(--muted);
}

.guide-source-note {
  max-width: 980px;
  margin-top: 22px;
  font-size: 0.9rem;
}

.related-projects-section {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 56px);
}

.related-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-project-card {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
}

.related-project-card span,
.related-project-card strong {
  margin: 0 14px;
}

.related-project-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.related-project-card strong {
  line-height: 1.18;
}

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

.product-card {
  display: grid;
  gap: 14px;
}

.product-card button {
  justify-self: start;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.price-row strong {
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.articles-section {
  background: #fff;
}

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

.article-tag-grid a {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f5ef;
}

.article-tag-grid strong {
  font-size: 2rem;
}

.article-tag-grid span {
  color: var(--muted);
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px 18px;
  padding: 18px;
}

.guide-list span {
  grid-row: span 2;
  color: var(--red);
  font-weight: 900;
}

.guide-list small {
  grid-column: 2;
}

.merch-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #fff;
}

.merch-copy {
  max-width: 680px;
}

.merch-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.merch-preview {
  display: grid;
  gap: 14px;
}

.merch-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.merch-card > .tag {
  margin-bottom: 2px;
}

.merch-feature {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 2.35fr);
  gap: 22px;
  align-items: start;
}

.merch-media {
  display: grid;
  justify-items: start;
}

.merch-card img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  background: #f7f5ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 25, 29, 0.14);
}

.merch-details {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 4px;
}

.merch-details h3 {
  margin-bottom: 0;
}

.merch-details .source-link {
  margin-top: 8px;
  margin-bottom: 0;
}

.merch-card p,
.merch-card span {
  color: var(--muted);
}

.merch-card.compact {
  grid-template-columns: 1fr;
  border-color: rgba(17, 138, 138, 0.28);
  background: #eef7f5;
}

.merch-card.compact strong {
  font-size: 1.1rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 28px;
  align-items: center;
  margin: 0 clamp(18px, 4vw, 56px) clamp(28px, 5vw, 56px);
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
}

.cta-band p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form,
.viewer-support {
  display: grid;
  gap: 12px;
}

.viewer-support {
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.viewer-support .eyebrow {
  color: var(--teal);
}

.viewer-support h3 {
  margin-bottom: 2px;
  font-size: 1.45rem;
}

.viewer-support p {
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(23, 25, 29, 0.62);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
}

.modal-panel img {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 8px;
}

.icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  padding: 0;
}

#modal-points {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-link {
  display: inline-flex;
  margin: 0 12px 12px 0;
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .video-layout,
  .latest-video-card,
  .shop-toolbar,
  .video-toolbar,
  .split,
  .merch-section,
  .project-detail-layout,
  .project-content-grid,
  .guide-layout,
  .gear-hero,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .gear-hero {
    display: grid;
    align-items: start;
  }

  .hero {
    min-height: 500px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(247, 245, 239, 0.97) 0%, rgba(247, 245, 239, 0.9) 30%, rgba(247, 245, 239, 0.16) 72%, rgba(247, 245, 239, 0) 100%),
      linear-gradient(90deg, rgba(247, 245, 239, 0.76) 0%, rgba(247, 245, 239, 0) 70%);
  }

  .hero-image {
    object-position: 58% bottom;
  }

  .hero-overlay {
    justify-content: end;
  }

  .latest-heading h2,
  .projects-heading h2,
  .video-library-heading h2,
  .video-library-hero h1 {
    white-space: normal;
  }

  .product-grid,
  .video-library-grid,
  .shorts-grid,
  .project-grid,
  .related-project-grid,
  .article-tag-grid,
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    min-height: 480px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 17vw, 4.4rem);
  }

  .hero-overlay {
    padding-bottom: 34px;
  }

  .section-heading,
  .site-footer {
    display: grid;
  }

  .product-grid,
  .video-library-grid,
  .shorts-grid,
  .project-grid,
  .related-project-grid,
  .article-tag-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }

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

  .latest-video-media {
    aspect-ratio: 16 / 9;
  }

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

  .featured-gear-list {
    grid-template-columns: 1fr;
  }

  .merch-card {
    grid-template-columns: 1fr;
  }

  .merch-feature {
    grid-template-columns: 1fr;
  }

  .merch-details {
    padding-top: 0;
  }
}
