/* ============================
   FONTS
   ============================ */
@font-face {
  font-family: 'Eurostile';
  src: url('/fonts/eurostile-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eurostile';
  src: url('/fonts/eurostile-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================
   CUSTOM PROPERTIES
   ============================ */
:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1c1c1c;
  --border: #242424;
  --text: #e2e2e2;
  --text-muted: #686868;
  --text-soft: #999;
  --orange: #f97316;
  --amber: #f59e0b;
  --teal: #29676a;
  --teal-bright: #3a9fa3;
  --font-display: 'Eurostile', 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-h: 60px;
  --max-w: 1140px;
  --radius: 3px;
  --ease: 0.2s ease;
}

/* ============================
   RESET
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

/* ============================
   BASE
   ============================ */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--orange); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============================
   SITE BANNER
   ============================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.site-banner {
  background: rgba(20, 52, 54, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--teal);
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.site-banner-text a {
  color: var(--teal-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-banner-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  transition: color var(--ease);
}

.site-banner-close:hover { color: var(--text); }

/* ============================
   NAVIGATION
   ============================ */
.nav {
  height: var(--nav-h);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

/* ============================
   CONTENT
   ============================ */
.content { padding-top: calc(var(--nav-h) + 2rem); }

/* ============================
   HERO
   ============================ */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  max-width: 16ch;
}

.hero-title-gradient {
  background: linear-gradient(140deg, var(--orange) 0%, var(--text) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-videos-hint {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: -1.1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-soft);
  max-width: 54ch;
  line-height: 1.68;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.75rem;
  transition: all var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #000;
}

.btn-primary:hover { opacity: 0.87; transform: translateY(-1px); color: #000; }

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ============================
   HERO VIDEOS
   ============================ */
.hero-videos {
  display: flex;
  gap: 0.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero-video-wrap {
  position: relative;
  flex-shrink: 0;
}



.hero-videos .timbre-video {
  width: 155px;
  height: 155px;
  display: block;
  opacity: 0.75;
  transition: opacity var(--ease);
}

.hero-video-wrap:hover .timbre-video { opacity: 1; }


.hero-videos--sm {
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-videos--sm .hero-video-wrap {
  width: 95px;
  height: 95px;
}

.hero-videos--sm .timbre-video {
  width: 100%;
  height: 100%;
}

.video-unmute {
  position: absolute;
  bottom: 0.4rem;
  right: 0.4rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease), background var(--ease);
  padding: 0.3rem;
}

.hero-video-wrap:hover .video-unmute,
.hero-video-wrap.sounding .video-unmute { opacity: 1; }

.hero-video-wrap.sounding .video-unmute { background: var(--orange); color: #000; }

.video-unmute svg { width: 100%; height: 100%; }

.video-unmute .icon-playing { display: none; }
.hero-video-wrap.sounding .video-unmute .icon-muted { display: none; }
.hero-video-wrap.sounding .video-unmute .icon-playing { display: block; }

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 3rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header { margin-bottom: 3rem; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--teal-bright);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-soft);
  max-width: 56ch;
  line-height: 1.65;
}

/* ============================
   CARD GRID (home nav cards)
   ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--surface);
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: background var(--ease);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width 0.35s ease;
}

.card:hover { background: var(--surface-2); }
.card:hover::before { width: 100%; }

.card-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.card-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-arrow {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--orange);
  margin-top: auto;
}

/* ============================
   DIVIDER
   ============================ */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ============================
   HOME STRIPE (explore section)
   ============================ */
.home-stripe {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-stripe-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* ============================
   VIDEO GALLERY
   ============================ */
.video-section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timbre-video {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
  display: inline-block;
  vertical-align: top;
  margin: 2px;
}

/* ============================
   ARTICLE HEADER
   ============================ */
.article-header {
  padding: 4.5rem 1.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.article-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-eyebrow a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--ease);
}

.article-eyebrow a:hover { color: var(--orange); }
.article-eyebrow span { color: var(--border); }
.article-eyebrow span:last-child { color: var(--orange); }

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--teal-bright);
  margin-bottom: 0.75rem;
}

.article-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ============================
   PROSE (single page body)
   ============================ */
.prose {
  max-width: 66ch;
  padding: 3rem 1.5rem 5rem;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 1.4rem;
  color: var(--text-soft);
  line-height: 1.78;
}

.prose p:first-of-type {
  font-size: 1.08rem;
  color: var(--text);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-bright);
  margin: 2.5rem 0 1rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-bright);
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.prose h3:first-of-type {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}

.prose a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(249,115,22,0.35);
  transition: text-decoration-color var(--ease);
}

.prose a:hover { text-decoration-color: var(--orange); }

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}

.prose li {
  color: var(--text-soft);
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.prose img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
  display: block;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.image-row img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0;
}

.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text-soft); font-style: italic; }

.prose blockquote {
  border-left: 2px solid var(--orange);
  padding: 0.5rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--surface);
}

.prose blockquote p { color: var(--text-soft); font-style: italic; }

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Wide prose for gallery page */
.prose-wide {
  max-width: var(--max-w);
  padding: 3rem 1.5rem 5rem;
  margin: 0 auto;
}

.prose-wide p {
  color: var(--text-soft);
  margin-bottom: 1.4rem;
  max-width: 64ch;
  line-height: 1.75;
}

.prose-wide p:first-of-type { font-size: 1.08rem; color: var(--text); }

.prose-wide h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal-bright);
  margin: 3.5rem 0 0.5rem;
}

.prose-wide h4 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin: 2rem 0 0.75rem;
}

.prose-wide a { color: var(--orange); }

.prose-wide .video-grid { margin-bottom: 0.5rem; }

/* ============================
   LIST PAGE
   ============================ */
.list-header {
  padding: 4.5rem 1.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.list-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.list-card:hover {
  background: var(--surface-2);
  border-color: rgba(249,115,22,0.4);
  transform: translateY(-2px);
}

.list-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.list-card-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.list-card-link {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--orange);
  margin-top: 1rem;
}

/* ============================
   ABOUT
   ============================ */
.about-prose {
  max-width: var(--max-w);
  padding: 3rem 1.5rem 5rem;
  margin: 0 auto;
}

.about-person {
  padding-top: 2rem;
  margin-bottom: 3rem;
  max-width: 650px;
}

.about-photo {
  float: right;
  width: 152px;
  height: auto;
  margin-left: 2.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.about-person-clear { clear: both; }

.about-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.about-role {
  font-size: 0.72rem;
  color: var(--teal-bright);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.about-bio p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1.2rem;
  max-width: 64ch;
}

.about-bio a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-mission {
  padding-top: 2rem;
}

.about-mission h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-mission p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 64ch;
  margin-bottom: 1.2rem;
}

.about-update-date {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  display: block;
  margin-bottom: 0.5rem;
}

.about-update-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-update-title a {
  color: var(--text);
  text-decoration: none;
}

.about-update p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 64ch;
  margin-bottom: 1.2rem;
}

/* ============================
   SHORTS PREVIEW CARD
   ============================ */
.shorts-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  transition: border-color var(--ease);
  max-width: 600px;
}

.shorts-card:hover { border-color: var(--orange); }

.shorts-card-img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.85;
  transition: opacity var(--ease);
}

.shorts-card:hover .shorts-card-img { opacity: 1; }

.shorts-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============================
   VIDEO EMBED
   ============================ */
.video-embed {
  max-width: 600px;
  margin: 1.5rem 0;
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.demo-card {
  display: flex;
  flex-direction: column;
}

.demo-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.demo-body {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--orange); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .nav-links { gap: 1.25rem; }

  .hero {
    min-height: auto;
    padding: 3rem 1.25rem;
  }

  .hero-videos { flex-wrap: wrap; }
  .hero-video-wrap { flex-shrink: 0; }
  .hero-videos .timbre-video { width: 108px; height: 108px; }

  .section { padding: 3rem 1.25rem; }

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

  .list-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 3rem;
  }

  .article-header,
  .list-header { padding: 3rem 1.25rem 2rem; }

  .prose,
  .prose-wide { padding: 2rem 1.25rem 3rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-photo { max-width: 150px; }

  .site-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
}
