/*
Theme Name: Airinside Child
Theme URI: https://airinside.ch
Description: Airinside Child Theme – Mobile first, custom build
Author: Airinside
Template: generatepress
Version: 1.3.0
Text Domain: airinside
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand colors */
  --color-black:      #0a0a0a;
  --color-white:      #ffffff;
  --color-accent:      #c9ad8c;
  --color-accent-dark: #b39775;
  --color-gray-100:   #f5f5f5;
  --color-gray-200:   #e8e8e8;
  --color-gray-400:   #aaaaaa;
  --color-gray-600:   #666666;
  --color-gray-800:   #222222;

  /* Semantic */
  --color-bg:         var(--color-white);
  --color-bg-dark:    var(--color-black);
  --color-text:       var(--color-gray-800);
  --color-text-muted: var(--color-gray-600);
  --color-border:     var(--color-gray-200);

  /* Typography */
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:  'IBM Plex Mono', 'Courier New', monospace;

  /* Sizing */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;

  /* Max widths */
  --max-width:        1280px;
  --max-width-text:   720px;

  /* Transitions */
  --transition:       0.2s ease;
}

/* ============================================================
   RESET & BASE — mobile first
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #0a0a0a; /* no light strip below the footer on short pages */
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY — mobile first
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 2rem); }
h4 { font-size: 1.125rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.section {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-gray-400);
}

.section--gray {
  background: var(--color-gray-100);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-black);
  font-weight: 500;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
}

.btn--outline {
  border: 0.5px solid currentColor;
  color: var(--color-white);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.08);
}

.btn--outline-dark {
  border: 0.5px solid var(--color-gray-800);
  color: var(--color-gray-800);
}

.btn--outline-dark:hover {
  background: var(--color-gray-100);
}

/* ============================================================
   HEADER & NAVIGATION — mobile first
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition);
}

@media (min-width: 1024px) {
  .site-header {
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .site-header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo img {
  height: 28px;
  width: auto;
  max-width: none;
}

/* Hamburger — accent colour on mobile */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 300;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav — fullscreen dark overlay */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 2rem 3rem;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 150;
  overflow-y: auto;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  line-height: 1.4;
  padding: 0.35rem 0;
  transition: color var(--transition);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.site-nav .nav-lang {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(255,255,255,0.1);
  width: 100%;
}

.site-nav .nav-lang a {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
}

.site-nav .nav-lang a.active {
  color: var(--color-accent);
}

/* Desktop nav */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    flex-direction: row;
    opacity: 1;
    pointer-events: all;
    gap: 0;
    padding: 0;
    transform: none;
    align-items: center;
    justify-content: flex-end;
  }

  .site-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.08em;
    text-transform: lowercase;
    font-family: var(--font-mono);
    padding: 0.5rem 1rem;
    transition: color var(--transition);
    line-height: normal;
  }

  .site-nav a:hover {
    color: var(--color-white);
  }

  .site-nav .nav-lang {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 0.5px solid rgba(255,255,255,0.2);
    gap: 0.5rem;
    width: auto;
  }

  .site-nav .nav-lang a {
    font-size: 0.8125rem;
    padding: 0.5rem 0.5rem;
    font-family: var(--font-mono);
    color: rgba(255,255,255,0.4);
  }

  .site-nav .nav-lang a.active {
    color: var(--color-accent);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-md);
  padding-top: 64px;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__video::-webkit-media-controls {
  display: none !important;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.90) 0%,
    rgba(10,10,10,0.45) 40%,
    rgba(10,10,10,0.25) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.hero__headline {
  font-size: clamp(2.25rem, 9vw, 5.5rem);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero__headline em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  margin-top: 0.5rem;
}

/* ============================================================
   USP SECTION
   ============================================================ */
.usp-section {
  background: var(--color-black);
}

.usp-section .section-label {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.usp-section .section-headline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1px;
}

@media (min-width: 768px) {
  .usp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usp-card {
  background: var(--color-black);
  padding: 2rem 1.5rem;
  transition: background var(--transition);
}

.usp-card:hover {
  background: rgba(201,173,140,0.04);
}

.usp-card__icon {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.usp-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.usp-card__body {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

.usp-tech-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}

.usp-tech-bar__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.usp-tech-bar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 4px 12px;
  border-radius: var(--radius-md);
  border: 0.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   BOARDS SECTION
   ============================================================ */
.boards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .boards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .boards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.board-card {
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.board-card:hover {
  border-color: var(--color-gray-400);
  transform: translateY(-4px);
}

.board-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-gray-100);
}

.board-card__body {
  padding: 1.25rem;
}

.board-card__name {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.board-card__sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.board-card__link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.board-card__link::after {
  content: '→';
}

/* ============================================================
   TECHNOLOGY TEASER
   ============================================================ */
.tech-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 1024px) {
  .tech-teaser {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

.tech-teaser__content .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.tech-teaser__content h2 {
  margin-bottom: 1rem;
}

.tech-teaser__content p {
  margin-bottom: 1.5rem;
}

.tech-teaser__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
}

.tech-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   TEAM TEASER
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-gray-100);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.04);
}

.team-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 60%, transparent 100%);
}

.team-card__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.team-card__role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-gray-100);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

.news-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

.news-card__title a {
  color: var(--color-text);
  transition: color var(--transition);
}

.news-card__title a:hover {
  color: var(--color-black);
}

.section--accent {
  background: #c9ad8c;
}

.label--dark {
  color: #2a3d00;
}

.btn--dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  border: 1.5px solid #0a0a0a;
  color: #0a0a0a;
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--dark:hover {
  background: #0a0a0a;
  color: #c9ad8c;
}

/* Board card v2 — with hover rating overlay */
.board-card-v2 {
  background: #0a0a0a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.board-card-v2__top {
  position: relative;
  background: #0a0a0a;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .board-card-v2__top {
    height: 340px;
  }
}

.board-card-v2__img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.board-card-v2:hover .board-card-v2__img,
.board-card-v2:focus-within .board-card-v2__img {
  opacity: 0.08;
  transform: scale(0.9);
}

.board-card-v2__ratings {
  position: absolute;
  inset: 0;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.board-card-v2:hover .board-card-v2__ratings,
.board-card-v2:focus-within .board-card-v2__ratings {
  opacity: 1;
}

.board-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.board-rating-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.board-rating-dots {
  display: flex;
  gap: 3px;
}

.board-dot {
  display: block;
  width: 9px;
  height: 9px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #222;
  flex-shrink: 0;
}

.board-dot--on {
  background: #c9ad8c;
}

.board-card-v2__body {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

.board-card-v2__name {
  font-size: 1rem;
  font-weight: 500;
  color: #f0f0f0;
  margin-bottom: 0.25rem;
}

.board-card-v2__sub {
  font-size: 0.8125rem;
  color: #555;
  margin-bottom: 0.875rem;
}

.board-card-v2__link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #c9ad8c;
  letter-spacing: 0.06em;
}

.btn--accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--color-black);
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--accent:hover {
  background: var(--color-accent-dark);
}

.btn--accent-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--accent-outline:hover {
  background: var(--color-accent);
  color: var(--color-black);
}

.tech-teaser__image--dark {
  background: #141414;
  border: 0.5px solid rgba(255,255,255,0.06);
}

.tech-teaser__image--dark img {
  opacity: 0.9;
}

/* USP label in the accent colour */
.usp-section .section-label {
  color: var(--color-accent);
}

/* Timeline label in the accent colour */
.timeline__year--accent {
  color: var(--color-accent);
}

/* ============================================================
   PIONEER TIMELINE
   ============================================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 56px 32px 1fr;
  gap: 0 1.25rem;
  align-items: start;
}

@media (min-width: 768px) {
  .timeline__item {
    grid-template-columns: 80px 32px 1fr;
    gap: 0 2rem;
  }
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  padding-top: 2px;
  letter-spacing: 0.05em;
  text-align: right;
}

.timeline__year--accent {
  color: var(--color-accent);
}

.timeline__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
}

.timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline__dot--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(201,173,140,0.15);
}

.timeline__line {
  width: 1px;
  flex: 1;
  min-height: 2rem;
  background: rgba(255,255,255,0.08);
  margin: 6px 0;
}

.timeline__content {
  padding-bottom: 2.5rem;
}

.timeline__item--last .timeline__content {
  padding-bottom: 0;
}

.timeline__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.timeline__text {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 1rem;
}

.timeline__image-slot {
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 480px;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
}

.timeline__image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.timeline__image-slot img:hover {
  opacity: 1;
}

@media (min-width: 1024px) {
  .timeline__image-slot {
    max-width: 560px;
  }
}

/* ============================================================
   BOARDS PAGE
   ============================================================ */
.boards-header {
  padding-bottom: 2.5rem;
  margin-bottom: 0;
}

.boards-filter {
  background: #0a0a0a;
  border-top: none;
  border-bottom: 0.5px solid #1a1a1a;
  position: sticky;
  top: 64px;
  z-index: 50;
  margin-top: 0;
}

.boards-filter__inner {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.boards-filter__btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 0.5px solid #333;
  color: #666;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: lowercase;
}

.boards-filter__btn:hover {
  border-color: #555;
  color: #aaa;
}

.boards-filter__btn.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Board rows */
.board-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.board-row--bordered {
  border-bottom: 0.5px solid #1a1a1a;
}

@media (min-width: 768px) {
  .board-row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .board-row--reverse .board-row__image-wrap {
    order: 2;
  }

  .board-row--reverse .board-row__info {
    order: 1;
  }
}

.board-row__image-wrap {
  position: relative;
  background: #0a0a0a;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.board-row__img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.board-row__image-wrap:hover .board-row__img,
.board-row__image-wrap.is-active .board-row__img {
  opacity: 0.08;
  transform: scale(0.9);
}

.board-row__ratings {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.board-row__image-wrap:hover .board-row__ratings,
.board-row__image-wrap.is-active .board-row__ratings {
  opacity: 1;
}

/* Tags */
.board-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.board-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 0.5px solid #2a2a2a;
  color: #555;
}

/* Sizes */
.board-row__sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.board-size {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 5px 12px;
  border-radius: var(--radius-md);
  background: #0a0a0a;
  color: #888;
  border: 0.5px solid #222;
}

/* HD Teaser */
.hd-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hd-teaser {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hd-teaser__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #141414;
  border: 0.5px solid rgba(255,255,255,0.06);
}

.hd-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.hd-teaser__image img:hover {
  opacity: 1;
}

/* ============================================================
   SUPERFLY PAGE
   ============================================================ */
.sf-hero {
  background: #0a0a0a;
  padding-top: calc(64px + 3rem);
  padding-bottom: 3rem;
}

.sf-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sf-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* 3D Viewer — kept for future use */
.sf-viewer {
  position: relative;
  background: #0f0f0f;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0.5px solid #1a1a1a;
}

#sf-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.sf-viewer__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

/* Hero image */
.sf-hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0f0f0f;
}

.sf-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero info */
.sf-hero__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.sf-hero__sub {
  font-size: 0.9375rem;
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

/* Proof line under the hero text */
.sf-hero__proof {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  max-width: 480px;
  border-left: 2px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255,255,255,0.04);
  line-height: 1.4;
}

.sf-hero__proof strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
}

.sf-hero__proof span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sf-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.sf-size {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 5px 12px;
  border-radius: var(--radius-md);
  background: #141414;
  color: #888;
  border: 0.5px solid #222;
}

.sf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Color picker */
.sf-colors {
  border-top: 0.5px solid #1a1a1a;
}

.sf-color-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.sf-color-swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.sf-swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sf-swatch:hover {
  transform: scale(1.15);
}

/* clip-path would cut off an outline, so the active swatch is shown by size */
.sf-swatch.is-active {
  transform: scale(1.3);
}

.sf-swatch:focus-visible {
  transform: scale(1.3);
}

.sf-color-swatches {
  padding: 0.5rem 0.25rem;
}

.sf-color-name {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  letter-spacing: 0.08em;
  min-width: 120px;
}

.sf-color-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #141414;
  border: 0.5px solid #1a1a1a;
  aspect-ratio: 4 / 3;
  max-width: 600px;
  margin: 0 auto;
}

.sf-color-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

/* Shape section */
.sf-shape {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .sf-shape {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.sf-shape__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sf-shape__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.875rem 0;
  border-bottom: 0.5px solid #1a1a1a;
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

.sf-shape__item:last-child {
  border-bottom: none;
}

.sf-shape__hex {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Ratings grid */
.sf-ratings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .sf-ratings-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
}

.sf-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  border-bottom: 0.5px solid #1a1a1a;
}

.sf-rating-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-gray-400);
  text-transform: lowercase;
}

.sf-rating-dots {
  display: flex;
  gap: 4px;
}

/* Dimensions table */
.sf-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  /* scroll shadows: an ocker edge shows on the side where the table continues */
  background:
    linear-gradient(to right, #0a0a0a 30%, rgba(10,10,10,0)) left center,
    linear-gradient(to left, #0a0a0a 30%, rgba(10,10,10,0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(201,173,140,0.45), rgba(201,173,140,0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(201,173,140,0.45), rgba(201,173,140,0)) right center;
  background-repeat: no-repeat;
  background-size: 48px 100%, 48px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}

/* hint above the table, only where it can scroll sideways */
.sf-table-hint {
  display: none;
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-gray-400);
}
@media (max-width: 720px) { .sf-table-hint { display: block; } }

.sf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  min-width: 600px;
}

.sf-table th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  padding: 10px 16px;
  white-space: nowrap;
  text-align: left;
  border-bottom: 0.5px solid #1a1a1a;
}

.sf-table td {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 12px 16px;
  color: #888;
  border-bottom: 0.5px solid #141414;
  transition: color var(--transition);
}

.sf-table tr:hover td {
  color: var(--color-white);
  background: rgba(255,255,255,0.02);
}

.sf-table__price {
  color: var(--color-accent) !important;
}

.sf-table-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #333;
  line-height: 2;
  letter-spacing: 0.04em;
}

.sf-hex {
  color: var(--color-accent);
  margin: 0 4px;
}

/* HD section */
.sf-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.sf-hd__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  flex-shrink: 0;
  background: #141414;
}

.sf-hd__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HD side by side */
.sf-hd {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sf-hd {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.sf-hd__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #141414;
}

.sf-hd__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Details grid */
.sf-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sf-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sf-detail-card {
  background: #0a0a0a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.5px solid #1a1a1a;
}

.sf-detail-card__image {
  aspect-ratio: 4 / 3;
  background: #141414;
  overflow: hidden;
}

.sf-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-detail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2a2a2a;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sf-detail-placeholder i {
  font-size: 2rem;
  color: #1a1a1a;
}

.sf-detail-card__body {
  padding: 1.25rem;
}

.sf-detail-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.sf-detail-card__text {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.65;
}

/* Action Gallery */
.sf-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.sf-gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #141414;
}

.sf-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sf-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.sf-gallery__item:hover img {
  transform: scale(1.06);
}

.sf-gallery__item:hover .sf-gallery__overlay {
  background: rgba(10,10,10,0.35);
  border-color: var(--color-accent);
}

/* Lightbox */
.sf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}

.sf-lightbox__img-wrap {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-lightbox__img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
}

.sf-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.sf-lightbox__close:hover {
  background: rgba(255,255,255,0.15);
}

.sf-lightbox__prev,
.sf-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.sf-lightbox__prev { left: 1.25rem; }
.sf-lightbox__next { right: 1.25rem; }

.sf-lightbox__prev:hover,
.sf-lightbox__next:hover {
  background: rgba(201,173,140,0.15);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.sf-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

/* ============================================================
   TECHNOLOGY PAGE
   ============================================================ */
.tech-hero {
  padding-top: calc(64px + 3rem);
}

.tech-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Mobile: always text first, image below it (the left/right order is desktop only) */
@media (max-width: 1023px) {
  .tech-two-col > .tech-img-wrap {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .tech-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .tech-two-col--reverse > *:first-child {
    order: 1;
  }
  .tech-two-col--reverse > *:last-child {
    order: 0;
  }
}

.tech-placeholder {
  background: #141414;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0.5px solid #1a1a1a;
  color: #1a1a1a;
  font-size: 2rem;
}

.tech-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a2a2a;
}

.tech-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #141414;
  max-width: 360px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.tech-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tech-img-wrap:hover img {
  transform: scale(1.03);
}

/* Tech cards */
.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Mobile: the fifth card spans both columns instead of sitting alone at half width */
@media (max-width: 1023px) {
  .tech-cards-grid > .tech-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .tech-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-card {
  background: #0a0a0a;
  border: 0.5px solid #1a1a1a;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
}

.tech-card__icon {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.tech-card__title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tech-card__text {
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.6;
}

/* SRF Video */
.tech-video-wrap {
  background: #141414;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border: 0.5px solid #1a1a1a;
}

.tech-video-badge {
  background: rgba(201,173,140,0.1);
  border: 0.5px solid rgba(201,173,140,0.3);
  border-radius: var(--radius-md);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

/* Timeline with hexagons */
.tech-timeline {
  display: flex;
  flex-direction: column;
}

.tech-tl-item {
  display: grid;
  grid-template-columns: 56px 28px 1fr;
  gap: 0 1rem;
  align-items: start;
}

@media (min-width: 768px) {
  .tech-tl-item {
    grid-template-columns: 72px 28px 1fr;
  }
}

.tech-tl-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #444;
  text-align: right;
  padding-top: 1px;
  letter-spacing: 0.05em;
}

.tech-tl-year--accent {
  color: var(--color-accent);
}

.tech-tl-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-tl-hex {
  font-size: 14px;
  color: #333;
  line-height: 1;
  flex-shrink: 0;
}

.tech-tl-hex--accent {
  color: var(--color-accent);
}

.tech-tl-line {
  width: 1px;
  flex: 1;
  min-height: 1.5rem;
  background: #1a1a1a;
  margin: 4px 0;
}

.tech-tl-content {
  padding-bottom: 1.5rem;
}

.tech-tl-text {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.5;
}

/* Ride green */
.tech-green {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.tech-green__icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 720px;
}

.team-page-member--large .team-page-member__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
}

.team-page-member--large .team-page-member__name {
  font-size: 1rem;
}

.team-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 540px;
}

@media (min-width: 768px) {
  .team-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.team-page-member {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-page-member__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #141414;
}

.team-page-member__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.team-page-member:hover .team-page-member__img img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-page-member__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-white);
}

.team-page-member__role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.06em;
}

/* Riders grid */
.team-riders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .team-riders-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-rider-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #141414;
}

.team-rider-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.team-rider-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.team-rider-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 60%, transparent 100%);
}

.team-rider-card__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 2px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.team-rider-card__country {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.team-rider-card__ig {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.team-rider-card__ig:hover {
  color: var(--color-accent);
}

.team-rider-card--soon {
  background: #111;
  border: 0.5px dashed #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.team-rider-card__soon-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #444;
}

.team-rider-card__soon-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #333;
  letter-spacing: 0.1em;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-featured {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 0.5px solid #1a1a1a;
  background: #0a0a0a;
}

@media (min-width: 768px) {
  .news-featured {
    grid-template-columns: 1fr 1fr;
  }
}

.news-featured__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #141414;
}

.news-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-featured:hover .news-featured__img img {
  transform: scale(1.03);
}

.news-featured__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  background: #111;
}

.news-featured__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.2;
}

.news-featured__excerpt {
  font-size: 0.9375rem;
  color: var(--color-gray-400);
  line-height: 1.65;
}

.news-featured__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 0.08em;
}

/* News tags */
.news-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-tag--rider  { color: var(--color-accent); }
.news-tag--product { color: #7ecec4; }
.news-tag--event  { color: #ffd60a; }

/* News grid */
.news-grid-section {
  background: #0a0a0a;
}

.news-grid-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: #1a1a1a;
}

@media (min-width: 640px) {
  .news-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card-page {
  background: #0a0a0a;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: background var(--transition);
  cursor: pointer;
}

.news-card-page:hover {
  background: #111;
}

.news-card-page__img {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #141414;
  margin-bottom: 0.25rem;
}

.news-card-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-page:hover .news-card-page__img img {
  transform: scale(1.04);
}

.news-card-page__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.news-card-page__placeholder-label {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.news-card-page__title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.35;
}

.news-card-page__excerpt {
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
}

.news-card-page__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #333;
  letter-spacing: 0.08em;
  margin-top: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-black);
  padding: var(--space-md) 0 var(--space-sm);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-sm);
  }
}

.footer-brand__logo {
  height: 24px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand__tagline {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  max-width: 240px;
  line-height: 1.6;
}

.footer-brand__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-brand__social a {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  transition: color var(--transition);
}

.footer-brand__social a:hover {
  color: var(--color-accent);
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom a {
  color: rgba(255,255,255,0.2);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* ============================================================
   SCROLL-SCRUBBED HERO (frame-sequence canvas player)
   ============================================================ */
.scrub-hero {
  position: relative;
  height: 400vh; /* scroll distance = how long the animation "plays" for */
  background: #0a0a0a;
}

@media (max-width: 767px) {
  .scrub-hero {
    height: 260vh; /* shorter scroll distance on mobile — feels tighter, less dead space */
  }
}

.scrub-hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0a0a0a;
  background: radial-gradient(ellipse at 50% 40%, #141414 0%, #0a0a0a 70%);
}

.scrub-hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scrub-hero__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

.scrub-hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-gray-400);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  animation: scrub-bounce 1.8s ease-in-out infinite;
}

.scrub-hero__scroll-hint.is-hidden {
  opacity: 0;
}

@keyframes scrub-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

.scrub-hero__loading {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.4s ease;
}

.scrub-hero__loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scrub-hero__loading-bar {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.scrub-hero__loading-fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.15s ease;
}

.scrub-hero__loading span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
}

/* ============================================================
   MOBILE (<768px) — plain autoplay video instead of scroll-scrub.
   No sticky pinning, no scroll buffer, no scroll-jacking math —
   the hero is just a normal block that plays once and holds on
   the final (fully exploded) frame.
   ============================================================ */
.scrub-hero__mobile {
  display: none; /* shown only below 768px */
}

@media (max-width: 767px) {
  .scrub-hero {
    height: auto; /* no more scroll-scrub buffer needed */
  }

  .scrub-hero__pin--desktop {
    display: none; /* the canvas scrub player is desktop-only */
  }

  .scrub-hero__mobile {
    display: block;
    background: #0a0a0a;
    padding: calc(64px + 1.25rem) 0 2rem; /* clear the fixed header so the board is never cut off */
  }

  .scrub-hero__mobile-video {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
  }

  .scrub-hero__mobile .container {
    padding-left: var(--space-sm, 1rem);
    padding-right: var(--space-sm, 1rem);
  }
}

@media (min-width: 768px) {
  .scrub-hero__mobile {
    display: none !important; /* never shown on desktop, regardless of anything else */
  }
}

.tech-quote {
  border-top: 0.5px solid #1a1a1a;
}

@media (prefers-reduced-motion: reduce) {
  .scrub-hero__scroll-hint { animation: none; }
}

/* ============================================================
   LEGAL PAGES (warranty, ...)
   ============================================================ */
.legal-page {
  padding-top: calc(64px + 3rem);
}

.legal-text {
  max-width: var(--max-width-text);
}

.legal-text p,
.legal-list li {
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-text h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-list {
  list-style: none;
  margin-bottom: 1rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ============================================================
   MANUAL PAGE
   ============================================================ */
.manual-hero {
  padding-top: calc(64px + 3rem);
}

.manual-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .manual-hero__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

.manual-hero__sub {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: 1.5rem;
}

.manual-lead {
  color: var(--color-gray-400);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1rem;
}

.manual-hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0f0f0f;
}

.manual-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manual-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .manual-layout {
    grid-template-columns: 240px 1fr;
    gap: 4rem;
  }
}

/* Table of contents */
.manual-toc ol {
  list-style: none;
  border-left: 0.5px solid rgba(255,255,255,0.12);
}

.manual-toc li a {
  display: block;
  padding: 0.4rem 0 0.4rem 1rem;
  margin-left: -0.5px;
  border-left: 1.5px solid transparent;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-gray-400);
  transition: color var(--transition), border-color var(--transition);
}

.manual-toc li a:hover,
.manual-toc li a.is-active {
  color: var(--color-white);
  border-left-color: var(--color-accent);
}

@media (min-width: 1024px) {
  .manual-toc {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* Sections */
.manual-content {
  max-width: 860px;
}

.manual-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 0.5px solid #1f1f1f;
  scroll-margin-top: 88px;
}

.manual-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.manual-section h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.manual-num {
  display: inline-block;
  min-width: 2rem;
  margin-right: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-accent);
  vertical-align: middle;
}

.manual-section p,
.manual-list li {
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.manual-section strong {
  color: var(--color-white);
  font-weight: 500;
}

.manual-list {
  list-style: none;
  margin-bottom: 1rem;
}

.manual-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.manual-list li::before {
  content: '⬡';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8125rem;
  color: var(--color-accent);
}

.manual-callout {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255,255,255,0.04);
  color: var(--color-gray-400);
  line-height: 1.6;
  margin: 1rem 0;
}

.manual-callout strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.manual-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .manual-split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.manual-split--center {
  align-items: center;
}

/* Technical drawings: ocker line art (transparent PNG) on a dark card */
.manual-figure {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  background: #0f0f0f;
  border: 0.5px solid #1f1f1f;
  border-radius: var(--radius-lg);
}

.manual-figure img {
  width: 100%;
  height: auto;
}

.manual-figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  text-align: center;
}

.manual-figure--wide {
  margin-bottom: 1.5rem;
}

/* Video facade: thumbnail first, YouTube iframe only after click */
.video-facade {
  position: relative;
}

.video-facade__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}

.video-facade__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.video-facade__btn:hover img,
.video-facade__btn:focus-visible img {
  opacity: 1;
  transform: scale(1.02);
}

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-black);
  font-size: 1.75rem;
  transition: transform 0.2s ease;
}

.video-facade__btn:hover .video-facade__play,
.video-facade__btn:focus-visible .video-facade__play {
  transform: scale(1.1);
}

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

.video-facade__note {
  max-width: 640px;
  margin: 0.75rem auto 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--color-gray-600);
}

/* Technology: quote section with a cutaway render */
.tech-quote__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "text"
    "fig"
    "legend"
    "note";
  gap: 2rem;
}

@media (min-width: 900px) {
  .tech-quote__grid {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "text text"
      "fig legend"
      "note note";
    column-gap: 3rem;
    row-gap: 2.5rem;
    align-items: center;
  }
}

/* The quote stands on its own: centred, headline in the accent colour */
.tech-quote__text {
  grid-area: text;
  text-align: center;
}

.tech-quote__text h2 {
  color: var(--color-accent) !important;
}

.tech-quote__text p {
  margin-left: auto;
  margin-right: auto;
}

/* The render has a pure black background: blend it into the page and fade the edges */
.tech-quote__figure {
  grid-area: fig;
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
}

.tech-quote__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 55% 52%, #000 42%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 72% at 55% 52%, #000 42%, transparent 100%);
}

/* Soft fade on the left, where the render is cut off */
.tech-quote__figure::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, var(--color-bg-dark) 0%, rgba(10,10,10,0.75) 30%, rgba(10,10,10,0) 100%);
}

/* Numbered markers on the render, explained in the legend */
.tech-quote__marker {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.45);
}

.tech-quote__legend {
  grid-area: legend;
  list-style: none;
  counter-reset: part;
  margin: 0;
  padding: 0;
}

.tech-quote__legend li {
  counter-increment: part;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray-400);
}

.tech-quote__legend li::before {
  content: counter(part);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.tech-quote__legend strong {
  display: block;
  color: var(--color-white);
  font-weight: 500;
}

/* ============================================================
   HOME — slogan + boards-in-action gallery
   ============================================================ */
.home-gallery__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.home-gallery .home-gallery__slogan {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.home-gallery .home-gallery__slogan span {
  color: var(--color-accent);
}

.home-gallery__sub {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.home-gallery__grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .home-gallery__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.home-gallery__link {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: none;
}

.home-gallery__link:hover {
  color: var(--color-white);
}

/* Technology: quality-control steps */
.tech-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.25rem;
}

.tech-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-gray-400);
}

.tech-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.tech-steps strong {
  color: var(--color-white);
  font-weight: 500;
  margin-right: 0.35rem;
}

.tech-steps__note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-gray-600);
}

.tech-steps__note a {
  color: var(--color-gray-400);
  text-decoration: underline;
}

/* ============================================================
   NEWS: read-more link and article page
   ============================================================ */
.news-readmore {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: none;
}

.news-readmore:hover {
  color: var(--color-white);
}

.news-article {
  padding-top: calc(64px + 2rem);
}

.news-article__back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
}

.news-article__back:hover {
  color: var(--color-accent);
}

.news-article__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .news-article__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.news-article__title {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.75rem 0 0.5rem;
}

.news-article__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.news-article__lead {
  font-size: 1.125rem;
  color: var(--color-white);
  line-height: 1.6;
}

.news-article__text p {
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 560px;
}

.news-article__text .news-article__lead {
  color: var(--color-white);
}

.news-article__text .btn {
  margin-top: 0.5rem;
}

.news-article__hero {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #141414;
}

.news-article__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.news-article__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .news-article__photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.news-article__photos figure {
  margin: 0;
}

.news-article__photos img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.news-article__photos figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq {
  max-width: 820px;
}

.faq__group {
  margin-bottom: 2.5rem;
}

.faq__group-title {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.faq__item {
  border-bottom: 0.5px solid #262626;
}

.faq__item summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--color-white);
}

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

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  content: '\2212';
}

.faq__item summary:hover {
  color: var(--color-accent);
}

.faq__answer {
  padding: 0 2.5rem 1.25rem 0;
}

.faq__answer p {
  color: var(--color-gray-400);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.faq__answer a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-address {
  font-style: normal;
}

.legal-text h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}


/* 3D viewer (model-viewer, self-hosted) */
.sf-3d__stage { position: relative; aspect-ratio: 16 / 9; max-height: 70vh; width: 100%; border: 0.5px solid #1a1a1a; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2a2a2a, #0d0d0d 75%); }
.sf-3d__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-3d__note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin: 0; z-index: 2; color: var(--color-gray-400); font-size: 0.85rem; text-align: center; }
.sf-3d__viewer { position: relative; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s; --poster-color: transparent; }
.sf-3d__fallback { transition: opacity 0.6s; }
.sf-3d__stage.is-ready .sf-3d__viewer { opacity: 1; }
.sf-3d__stage.is-ready .sf-3d__fallback { opacity: 0; }
.sf-3d__hint { color: var(--color-gray-400); font-size: 0.85rem; margin-top: 0.75rem; }
@media (max-width: 768px) { .sf-3d__stage { aspect-ratio: 4 / 3; } }


/* Notes that mark the renderings as simplified */
.tech-quote__note {
  grid-area: note;
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-gray-400);
}
.tech-note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-gray-400);
  opacity: 0.75;
}


/* availability note under a price */
.sf-table__avail { display: block; margin-top: 0.15rem; font-size: 0.75rem; font-weight: 400; color: var(--color-gray-400); white-space: nowrap; }


/* ORDER FORM */
.order-page { max-width: 760px; margin: 0 auto; }
.order-form { display: grid; gap: 2.25rem; }
.order-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; }
.order-form legend { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.5rem; padding: 0; }
.order-field { display: grid; gap: 0.375rem; }
.order-field > span, .order-field > label { font-size: 0.875rem; color: var(--color-gray-400); }
.order-field > span em { color: var(--color-accent); font-style: normal; }
.order-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .order-row--2 { grid-template-columns: 1fr 1fr; } .order-row--3 { grid-template-columns: 1fr 2fr; } }
.order-form input[type="text"], .order-form input[type="email"], .order-form input[type="tel"], .order-form select, .order-form textarea {
  width: 100%; box-sizing: border-box; padding: 0.75rem 0.875rem; background: #111; color: var(--color-white);
  border: 0.5px solid #2a2a2a; border-radius: 6px; font: inherit; font-size: 1rem;
}
.order-form textarea { min-height: 6rem; resize: vertical; }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--color-accent); }
.order-colors { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.order-colors label { cursor: pointer; }
.order-colors input { position: absolute; opacity: 0; pointer-events: none; }
.order-colors span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; border: 0.5px solid #2a2a2a; border-radius: 999px; font-size: 0.875rem; color: var(--color-gray-400); background: #111; }
.order-colors i { width: 0.875rem; height: 0.875rem; border-radius: 50%; display: inline-block; }
.order-colors input:checked + span { border-color: var(--color-accent); color: var(--color-white); }
.order-colors input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.order-opts { display: grid; gap: 0.625rem; }
.order-opt { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0.875rem; border: 0.5px solid #2a2a2a; border-radius: 6px; background: #111; color: var(--color-gray-400); cursor: pointer; }
.order-opt input { accent-color: var(--color-accent); width: 1.1rem; height: 1.1rem; }
.order-opt__price { margin-left: auto; color: var(--color-white); font-family: var(--font-mono); font-size: 0.875rem; }
.order-summary { padding: 1rem 1.125rem; border: 0.5px solid #2a2a2a; border-radius: 8px; background: #0d0d0d; }
.order-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; color: var(--color-gray-400); font-size: 0.9375rem; }
.order-summary__row--total { margin-top: 0.5rem; padding-top: 0.75rem; border-top: 0.5px solid #2a2a2a; color: var(--color-white); font-weight: 500; }
.order-summary__row small { color: var(--color-gray-400); font-weight: 400; margin-left: 0.375rem; }
.order-note { font-size: 0.8125rem; color: var(--color-gray-400); line-height: 1.55; }
.order-note a, .order-terms a { color: var(--color-accent); }
.order-terms { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; color: var(--color-gray-400); line-height: 1.5; }
.order-terms input { accent-color: var(--color-accent); width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; flex: none; }
.order-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order-form altcha-widget { --altcha-color-base: #111; --altcha-color-text: #e5e5e5; --altcha-color-border: #2a2a2a; --altcha-color-border-focus: #c9ad8c; --altcha-color-active: #c9ad8c; --altcha-border-radius: 6px; max-width: 320px; }
.order-form .btn { justify-self: start; cursor: pointer; }


/* explanation under the colour picker */
.sf-color-info { max-width: 640px; margin: 2.5rem auto 0; text-align: center; }
.sf-color-info h3 { color: var(--color-white); font-size: 1.25rem; font-weight: 500; margin: 0 0 0.75rem; }
.sf-color-info p { color: var(--color-gray-400); line-height: 1.7; margin: 0 0 0.75rem; }
.sf-color-info strong { color: var(--color-accent); font-weight: 500; }
.sf-color-info__note { font-size: 0.8125rem; }
.order-colors b { font-weight: 400; font-size: 0.8125rem; color: var(--color-accent); }
.order-colors__custom { background: conic-gradient(#4a7c59, #7ecec4, #d4dc64, #c9ad8c, #4a7c59) !important; }
.order-custom[hidden] { display: none; }

/* standard colour: description and surcharge note under the colour name */
.sf-color-desc { max-width: 520px; margin: 0.25rem auto 0; text-align: center; color: var(--color-gray-400); line-height: 1.6; font-size: 0.9375rem; }
.sf-color-desc:empty { display: none; }
.sf-color-note { margin: 0.5rem 0 0; text-align: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.sf-color-note:empty { display: none; }

/* COLOUR CONFIGURATOR: image left, panel right; on phones name, image and swatches stay together */
.sf-colorx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; grid-template-areas: "head" "media" "note" "desc" "rest"; }
.sf-colorx__head { grid-area: head; }
.sf-colorx__media { grid-area: media; background: #212121; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1450 / 1150; margin-bottom: 1rem; }
.sf-colorx__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sf-colorx__picker { grid-area: picker; min-width: 0; }
.sf-colorx .sf-color-note { grid-area: note; margin: 0.75rem 0 1rem; text-align: left; }
.sf-colorx .sf-color-note::before { content: '⬡ '; }
.sf-colorx .sf-color-desc { grid-area: desc; margin: 0 0 1.75rem; max-width: 30rem; text-align: left; font-size: 1rem; line-height: 1.65; }
.sf-colorx__rest { grid-area: rest; }
.sf-colorx__name { color: var(--color-white); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 1.25rem; }
/* swatches: one row; on phones it scrolls sideways with an ocker edge where it continues */
.sf-colorx .sf-color-swatches {
  justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 0.625rem 0.4rem; margin: 0; scrollbar-width: none;
  background:
    linear-gradient(to right, #0a0a0a 30%, rgba(10,10,10,0)) left center,
    linear-gradient(to left, #0a0a0a 30%, rgba(10,10,10,0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(201,173,140,0.45), rgba(201,173,140,0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(201,173,140,0.45), rgba(201,173,140,0)) right center;
  background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll;
}
.sf-colorx .sf-color-swatches::-webkit-scrollbar { display: none; }
.sf-colorx__intro { color: var(--color-gray-400); line-height: 1.65; margin: 0 0 1rem; max-width: 30rem; }
.sf-colorx__rules { list-style: none; margin: 0 0 1.25rem; padding: 0; max-width: 30rem; }
.sf-colorx__rules li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.625rem 0; border-top: 0.5px solid #222; color: var(--color-gray-400); font-size: 0.9375rem; }
.sf-colorx__rules li:last-child { border-bottom: 0.5px solid #222; }
.sf-colorx__rules b { color: var(--color-accent); font-family: var(--font-mono); font-weight: 400; white-space: nowrap; }
.sf-colorx__fine { color: var(--color-gray-400); font-size: 0.8125rem; line-height: 1.6; max-width: 30rem; margin: 0; opacity: 0.85; }
@media (min-width: 900px) {
  .sf-colorx {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 4rem;
    grid-template-rows: 1fr auto auto auto auto auto 1fr;
    grid-template-areas: "media ." "media head" "media note" "media desc" "media rest" "media .";
  }
  .sf-colorx__media { margin-bottom: 0; }
  .sf-colorx__name { margin-bottom: 0.75rem; }
  .sf-colorx .sf-color-desc { margin-bottom: 0.75rem; }
  .sf-colorx .sf-color-note { margin: 0 0 1.25rem; }
  .sf-colorx__picker { margin-bottom: 1.75rem; }
  .sf-colorx .sf-color-swatches { flex-wrap: wrap; overflow: visible; background: none; }
}

/* one colour per series: titles and the custom colour box */
.sf-colorx__title { color: var(--color-white); font-size: 1.125rem; font-weight: 500; margin: 0 0 0.5rem; }
.sf-colorx__custom { margin-top: 1.75rem; padding: 1.25rem 1.375rem; border: 0.5px solid #2a2a2a; border-radius: var(--radius-lg); max-width: 30rem; }
.sf-colorx__custom p { color: var(--color-gray-400); line-height: 1.65; margin: 0 0 1.125rem; }
.sf-colorx__custom strong { color: var(--color-accent); font-weight: 500; }
@media (min-width: 900px) { .sf-colorx .sf-color-note { margin: 0 0 0.75rem; } .sf-colorx .sf-color-desc { margin-bottom: 1.75rem; } }
.order-fixed { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 0.75rem; padding: 0.75rem 0.875rem; border: 0.5px solid #2a2a2a; border-radius: 6px; background: #111; color: var(--color-white); }
.order-fixed i { width: 0.875rem; height: 0.875rem; border-radius: 50%; display: inline-block; }
.order-fixed b { font-weight: 400; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }

/* Help line under the order buttons */
.sf-help { flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--color-gray-400); }
.sf-help a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.sf-help a:hover, .sf-help a:focus-visible { border-bottom-color: currentColor; }
.sf-help--dark { color: rgba(10, 10, 10, 0.7); }
.sf-help--dark a { color: #0a0a0a; font-weight: 600; }

/* Contact page */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding: 1.25rem 1.5rem; margin: 0 0 1rem; background: #111; border: 0.5px solid #222; border-radius: 6px; }
.contact-card p { margin: 0; flex-basis: 100%; }
.contact-card__label { flex-basis: 100%; font-family: var(--font-mono, monospace); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.contact-card__mail { font-size: clamp(1.125rem, 3vw, 1.5rem); color: var(--color-white) !important; text-decoration: none; word-break: break-all; }
.contact-card__copy { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.contact-page .sf-help { margin-top: 1.5rem; }

/* Order form: colour choice as radio buttons, selected option highlighted */
.order-opt:has(input:checked) { border-color: var(--color-accent); color: var(--color-white); }
.order-opt input[type="radio"] { flex: none; }
.order-swatch { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 0.5px solid rgba(255,255,255,0.25); }
.order-swatch--custom { background: conic-gradient(#e0d4ae, #c2d2df, #8f9091, #d8d3cf, #c9ad8c, #e0d4ae); }
.order-opt__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
.order-opt__tag { font-weight: 400; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }

.order-summary__note { margin: 0.75rem 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--color-gray-400); }

/* elements with the hidden attribute stay hidden, even if a class sets display (e.g. .order-field) */
[hidden] { display: none !important; }

details.faq__item[id] { scroll-margin-top: 90px; }



/* help line sits above the order buttons */
.sf-help:first-child { margin: 0 0 0.25rem; }

/* HD section: key facts, one main button, "Standard or HD?" comparison */
.hd-facts { display: flex; flex-wrap: wrap; row-gap: 1rem; list-style: none; margin: 1.75rem 0; padding: 0; }
.hd-facts li { display: flex; flex-direction: column; gap: 0.25rem; padding: 0 1.5rem; margin: 0; border-left: 1px solid #2c2c2c; }
.hd-facts li:first-child { padding-left: 0; border-left: 0; }
.hd-facts strong { color: var(--color-white); font-size: 1.375rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.hd-facts span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.hd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hd-toggle { display: inline-flex; align-items: center; gap: 0.6rem; background: none; border: 0; padding: 0.5rem 0; cursor: pointer; font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.08em; color: var(--color-accent); }
.hd-toggle:hover { text-decoration: underline; text-underline-offset: 0.35em; background: none; color: var(--color-accent); }
.hd-toggle--btn { display: inline-flex; align-items: center; gap: 0.75rem; cursor: pointer; border: 0; }
.hd-toggle::after, .hd-toggle--btn::after { content: "+"; font-size: 1.15em; line-height: 1; }
.hd-toggle[aria-expanded="true"]::after, .hd-toggle--btn[aria-expanded="true"]::after { content: "\2212"; }
.hd-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.75rem; margin-top: 1.5rem; max-width: 600px; }
.hd-compare__col { padding: 1.125rem 1.25rem; border: 0.5px solid #2c2c2c; border-radius: 8px; }
.hd-compare__col--hd { border-color: var(--color-accent); }
.hd-compare__col h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; color: var(--color-white); }
.hd-compare__col p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--color-gray-400); }
/* HD section on narrow screens: nothing wider than the screen, facts as rows, comparison stacked */
:has(> .hd-compare) { min-width: 0; }
.hd-compare { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
@media (max-width: 600px) {
	.hd-facts { flex-direction: column; row-gap: 0; }
	.hd-facts li, .hd-facts li:first-child { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.625rem 0; border-left: 0; border-bottom: 1px solid #2c2c2c; }
	.hd-facts strong { font-size: 1.125rem; }
	.hd-facts span { text-align: right; }
	.hd-compare { grid-template-columns: minmax(0, 1fr); }
}

/* Order form: all sizes as tiles, one tap to choose */
.order-sizegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.625rem; }
.order-sizebtn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.125rem; padding: 0.875rem 0.5rem; text-align: center; border: 0.5px solid #2a2a2a; border-radius: 8px; background: #111; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.order-sizebtn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.order-sizebtn:hover { border-color: #555; }
.order-sizebtn:has(input:checked) { border-color: var(--color-accent); background: rgba(201, 173, 140, 0.12); box-shadow: inset 0 0 0 1px var(--color-accent); }
.order-sizebtn:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.order-sizebtn__vol { font-size: 1.25rem; font-weight: 500; color: var(--color-white); line-height: 1.2; }
.order-sizebtn__len { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-gray-400); }
.order-sizebtn__price { font-family: var(--font-mono); font-size: 0.875rem; color: var(--color-gray-400); }
.order-sizebtn__tag { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.order-sizebtn:has(input:checked) .order-sizebtn__price { color: var(--color-white); }
/* browsers without :has() show the normal radio button */
@supports not selector(:has(*)) { .order-sizebtn input { position: static; opacity: 1; width: auto; height: auto; } }

/* Order form: short intro, board picture and technical data above the size choice */
.order-points { list-style: none; margin: 0 0 2rem; padding: 0; color: var(--color-gray-400); line-height: 1.6; }
.order-points li { position: relative; margin: 0 0 0.4rem; padding-left: 1.4rem; }
.order-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; background: var(--color-accent); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.order-pic { margin: 0; }
.order-pic img { display: block; width: 100%; height: auto; border-radius: 10px; }
.order-pic figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 0.625rem; font-size: 0.875rem; color: var(--color-gray-400); }
.order-pic figcaption a { color: var(--color-accent); text-decoration: none; }
.order-spec__title { margin: 0 0 -1rem; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); }
.order-spec { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.order-spec table { width: 100%; margin: 0; border-collapse: collapse; border: 0; font-size: 0.875rem; color: var(--color-gray-400); }
.order-spec th, .order-spec td { padding: 0.6rem 0.5rem; text-align: left; white-space: nowrap; border: 0; border-bottom: 1px solid #222; background: transparent; }
.order-spec thead th { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.order-spec tbody th { position: sticky; left: 0; background: #0a0a0a; font-weight: 500; color: var(--color-white); }
.order-spec tbody tr { cursor: pointer; }
.order-spec tbody tr.is-selected td, .order-spec tbody tr.is-selected th { background: #221e19; color: var(--color-white); }
.order-spec tbody tr.is-selected th { box-shadow: inset 3px 0 0 var(--color-accent); }

.order-spec__hint { margin: 0 0 -1.25rem; }
@media (max-width: 600px) { .order-spec table { font-size: 0.8125rem; } .order-spec th, .order-spec td { padding: 0.55rem 0.35rem; } }
