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

:root {
  --navy:   #182B49;
  --gold:   #FFCD00;
  --light:  #F4F6FA;
  --dark:   #0E1C30;
  --white:  #FFFFFF;
  --text:   #1a2636;
  --muted:  #6b7a8d;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(24,43,73,0.13);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

code {
  background: rgba(255,205,0,0.18);
  color: var(--navy);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 28, 48, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 60%, #1e3a60 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

/* subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,205,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,205,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  max-width: 560px;
  position: relative;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(255,205,0,0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,205,0,0.5);
}

.hero-badge {
  width: 160px;
  flex-shrink: 0;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(255,205,0,0.25));
  position: relative;
}

.hero-badge svg { width: 100%; height: auto; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 1.5rem; }
.section--dark { background: var(--light); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section--dark .section-title { color: var(--dark); }

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  max-width: 560px;
}

/* ===== ABOUT CARDS ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-card p { color: var(--muted); font-size: 0.95rem; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(14,28,48,0.85));
  color: #fff;
  padding: 1rem 0.75rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .caption-overlay { opacity: 1; }

.gallery-item.placeholder {
  background: linear-gradient(135deg, #e8ecf3, #d0d8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  border: 2px dashed #c4cdd8;
  cursor: default;
}

.gallery-subsection-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(255,255,255,0.12);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,16,28,0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ===== VIDEO ===== */
.video-wrapper {
  max-width: 840px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.55);
  border: 2px dashed rgba(255,205,0,0.3);
  border-radius: var(--radius);
}

.play-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,205,0,0.15);
  border: 2px solid rgba(255,205,0,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.team-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), #2a4a7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.team-card p { color: var(--muted); font-size: 0.88rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  border-top: 2px solid var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding-top: 4rem;
  }

  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-badge { width: 110px; }
  .nav-links { gap: 1.2rem; }
}

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

/* ===== HERO SECOND BUTTON ===== */
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(255,205,0,0.5);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(255,205,0,0.08);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(255,205,0,0.2);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  position: relative;
}

.hero-badge { width: 130px; opacity: 0.9; filter: drop-shadow(0 0 30px rgba(255,205,0,0.25)); }
.hero-badge svg { width: 100%; height: auto; }

/* CSS Robot */
.robot-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: robot-float 3s ease-in-out infinite;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.robot-head {
  width: 64px;
  height: 52px;
  background: linear-gradient(145deg, #2a4a7a, #1a3060);
  border-radius: 10px;
  border: 2px solid var(--gold);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.robot-eye {
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,205,0,0.8);
  animation: robot-blink 4s ease-in-out infinite;
}

.robot-eye.left  { animation-delay: 0s; }
.robot-eye.right { animation-delay: 0.1s; }

@keyframes robot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%            { transform: scaleY(0.1); }
}

.robot-mouth {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 6px;
  border: 2px solid var(--gold);
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.robot-body {
  width: 72px;
  height: 56px;
  background: linear-gradient(145deg, #1e3a60, #162d4e);
  border-radius: 8px;
  border: 2px solid rgba(255,205,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-panel {
  width: 44px;
  height: 30px;
  background: rgba(255,205,0,0.1);
  border: 1px solid rgba(255,205,0,0.3);
  border-radius: 4px;
  position: relative;
}

.robot-panel::before,
.robot-panel::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(255,205,0,0.7);
  animation: robot-blink 2s ease-in-out infinite alternate;
}

.robot-panel::before { top: 6px; left: 6px; }
.robot-panel::after  { top: 6px; right: 6px; animation-delay: 0.5s; }

.robot-wheels {
  display: flex;
  gap: 20px;
}

.robot-wheel {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #2a2a2a, #444);
  border-radius: 50%;
  border: 3px solid var(--gold);
  animation: robot-spin 2s linear infinite;
}

@keyframes robot-spin { to { transform: rotate(360deg); } }

/* ===== PARTS LIST ===== */
.parts-section {
  margin-top: 3.5rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid #e4e9f0;
  padding: 2rem 2.5rem;
}

.parts-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.parts-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.parts-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.parts-col li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}

.parts-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== BUILD LOG ===== */
.log-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 2rem;
}

.log-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(255,205,0,0.2));
}

.log-entry {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.log-entry:last-child { padding-bottom: 0; }

.log-dot {
  position: absolute;
  left: -1.95rem;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--light);
  flex-shrink: 0;
  z-index: 1;
}

.log-body {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  flex: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}

.log-body:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.log-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.log-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.log-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 50px;
}

.status--done     { background: #d1fae5; color: #065f46; }
.status--progress { background: #fef3c7; color: #92400e; }
.status--planned  { background: #e0e7ff; color: #3730a3; }

.log-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.log-body p { color: var(--muted); font-size: 0.92rem; }

.log-video { width: 320px; height: auto; border-radius: var(--radius); margin-top: 1rem; display: block; }

.log-code-link { display: inline-block; margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); }
.log-code-link:hover { color: var(--gold); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== ANNOTATED ROBOT PHOTO ===== */
.annotated-photo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.annotated-photo {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.annotated-placeholder {
  width: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #e8ecf3, #d0d8e8);
  border: 2px dashed #c4cdd8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.annotated-placeholder-icon { font-size: 3rem; }

.annotated-placeholder-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.annotated-placeholder-hint {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 380px;
}

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

.annotation-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--light);
  border: 1px solid #e4e9f0;
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}

.annotation-arrow {
  color: var(--gold);
  font-weight: 800;
}

/* ===== PID SECTION ===== */
.pid-explainer {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.pid-explainer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.pid-explainer > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.pid-terms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pid-term {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.pid-letter {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pid-term div strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.pid-term div p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.pid-sub-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.pid-values-section { margin-bottom: 2.5rem; }

.pid-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.pid-value-card {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pid-value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.pid-value-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.pid-value-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.pid-value-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.pid-tracks-section { margin-bottom: 2.5rem; }

.track-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.track-card {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.track-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.track-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }

.track-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.track-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.track-values span {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--light);
  padding: 2px 8px;
  border-radius: 4px;
}

.track-values span strong { color: var(--navy); }

.track-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

.pid-code-section {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}

.optional-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(255,205,0,0.2);
  color: #6b5800;
  padding: 2px 8px;
  border-radius: 50px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.pid-code-hint {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.code-block {
  background: var(--dark);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: 0.83rem;
  overflow-x: auto;
  line-height: 1.7;
}

/* ===== MULTI-VIDEO LAYOUT ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.video-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* ===== POSTER ===== */
.poster-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.poster-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.poster-iframe {
  width: 100%;
  height: 640px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.poster-placeholder {
  width: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, #e8ecf3, #d0d8e8);
  border: 2px dashed #c4cdd8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.poster-placeholder-icon { font-size: 3rem; }

.poster-placeholder-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.poster-placeholder-hint {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 380px;
}

/* ===== COMPETITION RESULTS ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.result-card {
  background: var(--white);
  border: 1px solid #e4e9f0;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.result-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }

.result-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.result-stats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.result-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
}

.result-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.result-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.result-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
}

/* ===== IMPROVEMENTS ===== */
.improvements-block {
  max-width: 800px;
  background: var(--light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem 2rem;
}

.improvements-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  font-style: italic;
}

/* ===== TEAM PHOTO ===== */
.team-photo-section {
  margin-top: 3rem;
}

.team-photo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.team-photo-wrapper {
  max-width: 760px;
}

.team-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.team-photo-placeholder {
  width: 100%;
  min-height: 300px;
  background: var(--white);
  border: 2px dashed #c4cdd8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem;
  text-align: center;
}

.team-photo-icon { font-size: 2.5rem; }

.team-photo-title-inner {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.team-photo-hint {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 360px;
}
