:root {
  --bg: #050608;
  --text: #f5f7fa;
  --muted: #a7b0bd;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-small: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 32rem),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

code {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--muted);
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-size: 1.25rem;
}

.hero,
.page-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.2rem 5rem;
  overflow: hidden;
}

.compact-hero {
  min-height: 58vh;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  opacity: 0.65;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 6, 8, 0.2), var(--bg)),
    radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 35rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.hero-logo {
  width: min(190px, 46vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.7));
}

.eyebrow,
.section-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

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

h1 {
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 1.4rem;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  max-width: 780px;
  margin: 0 auto 2rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.inline-actions {
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: 160ms ease;
}

.btn-primary {
  background: var(--text);
  color: #050608;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-small {
  padding: 0.62rem 0.95rem;
  font-size: 0.9rem;
  background: var(--text);
  color: #050608;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.quick-links {
  max-width: var(--max-width);
  margin: -2rem auto 3rem;
  padding: 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.pill {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.pill:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.bulletin-strip {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 1rem;
  align-items: center;
}

.bulletin-strip h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.bulletin-strip p {
  color: var(--muted);
  margin: 0;
}

.projects-grid,
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.2rem;
}

.tight-section {
  padding-top: 2rem;
}

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

.project-card,
.main-image-card,
.stats-panel,
.contact-card,
.contact-form,
.placeholder-panel,
.info-card,
.pdf-frame-wrap,
.notice-panel,
.bulletin-text,
.bulletin-image,
.archive-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-card {
  min-height: 250px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-kicker {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  margin-bottom: auto;
}

.project-card h2 {
  margin-bottom: 0.55rem;
}

.project-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-header {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 0.9rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
}

.content-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  position: relative;
  padding: 0.85rem 0.95rem 0.85rem 2.25rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
}

.feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0.9rem;
  color: var(--text);
}

.main-image-card {
  overflow: hidden;
  margin: 0;
}

.main-image-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  background: #111;
}

.main-image-card figcaption,
.bulletin-image figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.placeholder-panel {
  padding: 1.4rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coming-tag {
  width: fit-content;
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.stats-panel {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.stat,
.info-card {
  padding: 0.95rem;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.stat span,
.info-card p,
.archive-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.notice-panel {
  padding: 1.25rem;
}

.notice-panel strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice-panel p {
  margin: 0;
  color: var(--muted);
}

.bulletin-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.25rem;
  align-items: stretch;
}

.bulletin-text {
  padding: 1.35rem;
}

.bulletin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bulletin-meta span {
  display: inline-flex;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bulletin-text h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.bulletin-text p {
  color: var(--muted);
}

.compact-list {
  margin-top: 1rem;
}

.bulletin-image {
  margin: 0;
  overflow: hidden;
}

.bulletin-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #111;
}

.bulletin-gallery-two {
  display: grid;
  gap: 1rem;
}

.bulletin-gallery-two .bulletin-image img {
  min-height: 280px;
}

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

.archive-card {
  padding: 1.2rem;
}

.archive-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card {
  padding: 1rem;
  margin-top: 1.25rem;
}

.contact-card p {
  margin-bottom: 0.35rem;
}

.contact-form {
  padding: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.24);
}

.hidden-honeypot {
  display: none;
}

.pdf-frame-wrap {
  overflow: hidden;
  padding: 0;
}

.pdf-frame {
  width: 100%;
  height: 82vh;
  min-height: 720px;
  border: 0;
  display: block;
  background: #111;
}

.pdf-note {
  color: var(--muted);
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.2rem;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0.35rem;
}

.footer-small {
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .site-nav a {
    font-size: 0.84rem;
    padding: 0.48rem 0.55rem;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(5, 6, 8, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem;
    font-size: 0.94rem;
  }

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

  .content-grid,
  .bulletin-strip,
  .bulletin-card {
    grid-template-columns: 1fr;
  }

  .main-image-card img,
  .bulletin-image img {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .brand-tagline {
    display: none;
  }

  .hero {
    min-height: 76vh;
    padding-top: 5rem;
  }

  .projects-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .pdf-frame {
    height: 70vh;
    min-height: 520px;
  }
}


.platform-image-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 340px;
  background: #111;
}

.platform-image-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.coming-soon-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1) 52%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.image-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.image-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.image-overlay p {
  margin: 0;
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.95rem;
}

.coming-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.release-panel {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.3rem;
}

.release-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-release-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.15rem;
}

.post-release-details div {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-small);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.065);
}

.post-release-details strong {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.post-release-details span {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

@media (max-width: 620px) {
  .post-release-details {
    grid-template-columns: 1fr;
  }
}


.dibs-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dibs-grid {
  display: grid;
  gap: 1.25rem;
}

.dibs-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: stretch;
}

.dibs-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.dibs-card:nth-child(even) .dibs-image-card {
  order: 2;
}

.dibs-card:nth-child(even) .dibs-body {
  order: 1;
}

.dibs-card-emphasis .dibs-body,
.dibs-card-emphasis .dibs-image-card {
  border-color: rgba(255, 255, 255, 0.2);
}

.dibs-image-card,
.dibs-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dibs-image-card {
  margin: 0;
  overflow: hidden;
}

.dibs-image-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #111;
}

.dibs-body {
  padding: 1.35rem;
}

.dibs-tag {
  display: inline-flex;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
}

.dibs-body h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.dibs-body p {
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.dibs-note {
  margin-bottom: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
}

@media (max-width: 980px) {
  .dibs-intro-grid,
  .dibs-card,
  .dibs-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .dibs-card:nth-child(even) .dibs-image-card,
  .dibs-card:nth-child(even) .dibs-body {
    order: initial;
  }

  .dibs-image-card img {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .dibs-intro-grid {
    grid-template-columns: 1fr;
  }
}


/* Image readability / fit overrides */
.platform-image-card,
.dibs-image-card {
  background: #0c1016;
}

.platform-image-card img,
.dibs-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #0c1016;
  padding: 0.6rem;
}

.platform-image-card {
  min-height: 360px;
}

.platform-image-card img {
  min-height: 360px;
}

.dibs-image-card img {
  min-height: 340px;
}

.coming-soon-card::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.42),
    rgba(0, 0, 0, 0.28) 35%,
    rgba(0, 0, 0, 0.72)
  );
}

.coming-soon-card .image-overlay {
  inset: 0;
  z-index: 2;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming-soon-card .image-overlay h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.08;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.coming-soon-card .image-overlay p {
  margin: 0;
  color: rgba(245, 247, 250, 0.92);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.coming-soon-card .coming-badge {
  margin-bottom: 0.55rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

@media (max-width: 980px) {
  .platform-image-card,
  .platform-image-card img,
  .dibs-image-card img {
    min-height: 300px;
  }
}


/* DIBS image watermark overlay */
.dibs-watermarked {
  position: relative;
}

.dibs-watermarked::before {
  content: attr(data-watermark);
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.34);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.dibs-watermarked::after {
  content: attr(data-watermark);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 12rem);
  letter-spacing: 0.12em;
  transform: rotate(-18deg);
  pointer-events: none;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.dibs-watermarked img {
  position: relative;
  z-index: 1;
}


/* DIBS image watermark cleanup: subtle centered watermark only */
.dibs-watermarked {
  position: relative;
}

.dibs-watermarked::before {
  content: none !important;
}

.dibs-watermarked::after {
  content: attr(data-watermark);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.10);
  font-weight: 900;
  font-size: clamp(3.2rem, 10vw, 10rem);
  letter-spacing: 0.10em;
  transform: rotate(-18deg);
  pointer-events: none;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.dibs-watermarked img {
  position: relative;
  z-index: 1;
}

/* GRIFF video block directly under GRIFF */
.griff-media-block {
  margin-top: 2rem;
}

.media-header {
  margin-bottom: 1.15rem;
}

.media-header h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}


/* Clean GRIFF profile media card: no embedded YouTube box */
.griff-profile-media {
  margin-top: 1.35rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.griff-profile-media h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.griff-profile-media p:not(.section-label) {
  margin: 0;
  color: var(--muted);
}

.griff-profile-media .section-label {
  margin-bottom: 0.45rem;
}

.video-panel,
.griff-video-section,
.griff-media-block {
  display: none !important;
}

@media (max-width: 720px) {
  .griff-profile-media {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* GRIFF sideplate revision: reference photographs, no cropping */
.brass-sideplate-photo-gallery {
  display: grid;
  gap: 1rem;
  min-width: 0;
  align-content: start;
}

.brass-sideplate-photo-gallery .bulletin-image {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.brass-sideplate-photo-gallery .bulletin-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: #111923;
}

.brass-sideplate-photo-gallery .bulletin-image figcaption {
  margin-top: auto;
  font-size: 0.89rem;
}

@media (max-width: 980px) and (min-width: 621px) {
  .brass-sideplate-photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Wiring and electronics bulletins: preserve full poster/product images */
.schematic-bulletin-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.reference-bulletin-image {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reference-bulletin-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  background: #0b1320;
}

.reference-bulletin-image figcaption {
  margin-top: auto;
}

@media (max-width: 1024px) {
  .schematic-bulletin-card {
    grid-template-columns: 1fr;
  }
}

/* Manufacturer source cards */
.manufacturer-reference-card {
  display: block;
}
.manufacturer-reference-card .bulletin-text {
  margin-bottom: 1rem;
}
.official-source-panel {
  margin: 1rem 0;
  overflow: hidden;
  background: #0c1119;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.official-source-heading {
  padding: 1rem 1.2rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.official-source-kicker {
  margin: 0 0 .2rem;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.official-source-heading h4 {
  font-size: 1.2rem;
  margin: 0;
}
.official-source-link {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  padding: .65rem 1rem;
  font-weight: 750;
  white-space: nowrap;
}
.official-source-link:hover { background: rgba(255,255,255,.17); }
.official-pdf-viewer {
  width: 100%;
  height: 590px;
  display: block;
  border: 0;
  background: #eef0f3;
}
.official-source-note {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
  padding: .8rem 1.2rem 1rem;
}
.official-source-note a { color: var(--text); text-decoration: underline; }
.reference-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: .9rem;
  margin-top: 1.3rem;
}
.rtsb-esc-photo {
  display: flex;
  flex-direction: column;
  width: min(100%, 540px);
  margin: 1.25rem auto;
}
.rtsb-esc-photo img {
  min-height: 0 !important;
  height: auto !important;
  width: 100%;
  object-fit: contain !important;
}
@media (max-width: 680px) {
 .official-pdf-viewer { height: 445px; }
 .official-source-heading h4 { font-size: 1.05rem; }
}

/* Inline manufacturer boards: show full source images, with no PDF viewers */
.tbs-visual-bulletin { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.93fr); gap: 1.1rem; }
.tbs-visual-bulletin .bulletin-text { grid-column: 1; grid-row: 1 / span 5; align-self: start; }
.tbs-source-figure { grid-column: 2; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #101820; }
.tbs-figure-link { display:block; background: #f6f8fa; padding: 1rem; }
.tbs-figure-link img { display:block; width:100%; height:auto; max-height: 630px; min-height:0; object-fit:contain; object-position:center; margin:auto; }
.tbs-source-figure figcaption { padding: .78rem 1rem; color: var(--muted); font-size:.89rem; }
.tbs-source-action { margin:0; padding: 0 1rem 1rem; }
.tbs-source-action a { color: var(--text); font-size:.87rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .tbs-visual-bulletin { display:block; } .tbs-source-figure { margin-top: 1rem; } }

/* Short manufacturer documentation link */
.tbs-manual-link { display: inline-block; margin-top: .3rem; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }


/* GRIFF airframe size range */
.griff-size-range {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
  margin: -0.1rem 0 1.5rem;
}
.griff-size-range span:not(.griff-size-label) {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  background: rgba(255,255,255,0.07);
  font-size: 0.88rem;
  font-weight: 750;
}
.griff-size-range .griff-size-label {
  color: var(--muted);
  font-weight: 750;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-right: 0.4rem;
}

/* Text-only GRIFF mounting notice */
.vtx-mounting-card {
  display: block;
}
.vtx-mounting-card .bulletin-text {
  padding: 1.45rem;
}
.vtx-mounting-card .bulletin-text p:last-child {
  margin-bottom: 0;
}


/* Battery storage seacan — real photo gallery; no image cropping */
.battery-storage-gallery {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 1rem;
  align-content: start;
  min-width: 0;
}
.battery-storage-gallery .battery-photo {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.battery-storage-gallery .battery-photo a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101318;
}
.battery-storage-gallery .battery-photo img {
  display: block;
  width: 100%;
  height: 300px;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  background: #101318;
}
.battery-storage-gallery .battery-photo figcaption {
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  background: #101318;
}
@media (max-width: 620px) {
  .battery-storage-gallery .battery-photo img { height: auto; max-height: 430px; }
}


/* DIBS battery module — prototype specification */
.battery-capabilities { margin: 1rem 0 1.1rem; }
.battery-capabilities li { line-height: 1.5; }
.dibs-prototype-note {
  margin-top: 1rem; padding-top: .85rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}


/* GRIFF family build reference page */
.family-size-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
}
.family-size-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .85rem;
  background: rgba(255,255,255,.08);
  font-size: .88rem;
  font-weight: 750;
}
.family-current-edition {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: .95rem;
}
