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

:root {
  --clr-bg: #0a0a0a;
  --clr-bg-alt: #111111;
  --clr-surface: #1a1a1a;
  --clr-surface-hover: #222222;
  --clr-border: #2a2a2a;
  --clr-text: #e8e8e8;
  --clr-text-muted: #999999;
  --clr-text-dim: #666666;
  --clr-accent: #d4232a;
  --clr-accent-dark: #a01b20;
  --clr-accent-light: #ff3b42;
  --clr-gold: #c8a84e;
  --clr-good: #2d8a4e;
  --clr-warn: #c4872f;
  --clr-bad: #8a2d2d;
  --font-body: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-w: 1200px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--clr-accent-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--clr-gold); }

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP NAV ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--clr-text) !important;
  letter-spacing: 2px;
  white-space: nowrap;
  position: relative;
}
.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex-wrap: wrap;
  overflow: hidden;
  max-height: var(--nav-h);
}
.nav-links li a {
  display: block;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--clr-text);
  background: var(--clr-surface);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0a0a0a;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(40%) blur(2px);
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 1px solid var(--clr-accent);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 30%, rgba(10,10,10,0.3) 70%, rgba(10,10,10,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: var(--clr-accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 30%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--clr-accent);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}
.hero-btn:hover {
  background: var(--clr-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 35, 42, 0.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--clr-text-dim);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--clr-text-dim), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--clr-bg-alt);
}

.section-header {
  margin-bottom: 60px;
}
.section-number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--clr-accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 0.9rem;
  color: var(--clr-text-dim);
  letter-spacing: 1px;
}
.section-intro {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 48px;
  max-width: 800px;
  line-height: 1.8;
}

/* ===== CONTENT GRID ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.content-main h3 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}
.content-main h3:first-child { margin-top: 0; }
.content-main p {
  margin-bottom: 16px;
  color: var(--clr-text-muted);
}
.content-main p strong { color: var(--clr-text); }

/* ===== INFO CARD ===== */
.info-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}
.info-card h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--clr-gold);
}
.info-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 0.88rem;
}
.info-card dt {
  color: var(--clr-text-dim);
  font-weight: 500;
}
.info-card dd {
  color: var(--clr-text-muted);
}
.info-card ul {
  list-style: none;
  font-size: 0.88rem;
}
.info-card ul li {
  padding: 4px 0;
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border);
}
.info-card ul li:last-child { border-bottom: none; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--clr-surface);
  border-left: 3px solid var(--clr-accent);
  border-radius: 0 8px 8px 0;
  padding: 24px;
  margin: 24px 0;
}
.highlight-box h4 {
  color: var(--clr-accent-light);
  margin-bottom: 12px;
  font-size: 1rem;
}
.highlight-box p {
  color: var(--clr-text-muted);
  margin-bottom: 12px;
}
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box ul {
  list-style: none;
  padding-left: 0;
}
.highlight-box ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--clr-text-muted);
  font-size: 0.92rem;
}
.highlight-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--clr-accent);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 140px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--clr-border);
}
.timeline-item {
  position: relative;
  padding: 0 0 48px 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-text-dim);
}
.timeline-item.highlight::before {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  box-shadow: 0 0 12px rgba(212, 35, 42, 0.4);
}
.timeline-marker {
  position: absolute;
  left: -140px;
  top: 2px;
  width: 100px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-gold);
}
.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.timeline-content p {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== VARIANTS GRID ===== */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.variant-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
}
.variant-card:hover {
  border-color: var(--clr-text-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.variant-card.featured {
  border-color: var(--clr-accent);
  background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(212,35,42,0.05) 100%);
}
.variant-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(212, 35, 42, 0.1);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.variant-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.variant-year {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  margin-bottom: 12px;
}
.variant-card > p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.variant-card ul {
  list-style: none;
}
.variant-card ul li {
  padding: 5px 0 5px 16px;
  position: relative;
  font-size: 0.85rem;
  color: var(--clr-text-dim);
}
.variant-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 1px;
  background: var(--clr-accent);
}

/* ===== FEATURE LIST ===== */
.feature-list { margin: 24px 0; }
.feature-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--clr-border);
}
.feature-item:last-child { border-bottom: none; }
.feature-item h4 {
  font-size: 1.05rem;
  color: var(--clr-text);
  margin-bottom: 8px;
}
.feature-item p {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
}

/* ===== TWO COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.two-col h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--clr-gold);
}
.two-col p {
  font-size: 0.9rem;
}

/* ===== METERING DIAGRAM ===== */
.metering-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}
.metering-outer {
  width: 160px;
  height: 110px;
  border: 2px solid var(--clr-text-dim);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255,255,255,0.03);
}
.metering-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 35, 42, 0.1);
}
.metering-inner span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-accent-light);
}
.metering-label {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.75rem;
  color: var(--clr-text-dim);
}
.diagram-caption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  text-align: center;
}

/* ===== SPEC TABLE ===== */
.spec-table {
  margin: 16px 0 24px;
  overflow-x: auto;
}
.spec-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.spec-table th,
.spec-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}
.spec-table th {
  color: var(--clr-text);
  font-weight: 600;
  background: var(--clr-surface);
  white-space: nowrap;
}
.spec-table td {
  color: var(--clr-text-muted);
}
.spec-table tr:hover td {
  background: rgba(255,255,255,0.02);
}
.spec-table.wide { overflow-x: auto; }
.spec-table.wide table { min-width: 700px; }
.table-note {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  margin-top: 8px;
}

/* ===== SPECS CONTAINER ===== */
.specs-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 32px;
}
.spec-group h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--clr-gold);
}

/* ===== FINDER GRID ===== */
.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.finder-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}
.finder-card:hover { border-color: var(--clr-text-dim); }
.finder-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--clr-text);
}
.finder-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ===== LENS COMPAT ===== */
.lens-compat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.compat-item {
  background: var(--clr-surface);
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid;
}
.compat-item.good { border-color: var(--clr-good); }
.compat-item.partial { border-color: var(--clr-warn); }
.compat-item.none { border-color: var(--clr-bad); }
.compat-item h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.compat-item.good h4 { color: #4ecb71; }
.compat-item.partial h4 { color: #e8a84c; }
.compat-item.none h4 { color: #e85050; }
.compat-item ul { list-style: none; }
.compat-item ul li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

/* ===== ACCESSORIES GRID ===== */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.acc-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s;
}
.acc-card:hover {
  border-color: var(--clr-text-dim);
}
.acc-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--clr-gold);
}
.acc-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

/* ===== COMPETITORS ===== */
.competitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.competitor-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.3s;
}
.competitor-card:hover {
  border-color: var(--clr-text-dim);
  transform: translateY(-2px);
}
.competitor-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.competitor-header h3 { font-size: 1.15rem; }
.comp-year {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  background: var(--clr-bg);
  padding: 3px 10px;
  border-radius: 3px;
}
.competitor-card > p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.comp-details dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 4px 12px;
  font-size: 0.84rem;
  margin-bottom: 16px;
}
.comp-details dt { color: var(--clr-text-dim); font-weight: 500; }
.comp-details dd { color: var(--clr-text-muted); }
.comp-vs {
  border-top: 1px solid var(--clr-border);
  padding-top: 12px;
}
.comp-vs h5 {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  margin-bottom: 4px;
  font-weight: 600;
}
.comp-vs p {
  font-size: 0.84rem;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
}

.comparison-summary { margin-top: 24px; }
.comparison-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ===== LEGACY ===== */
.legacy-quotes {
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.legacy-quotes blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clr-text-muted);
  padding: 20px 32px;
  border-left: 3px solid var(--clr-gold);
  background: var(--clr-surface);
  border-radius: 0 8px 8px 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--clr-border);
}
.faq-item summary {
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-text);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--clr-accent-light); }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--clr-text-dim);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 0 20px;
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand h3 {
  font-size: 1rem;
  letter-spacing: 2px;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
}
.footer-note p {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  text-align: right;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(212, 35, 42, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--clr-accent-light);
  transform: translateY(-2px);
}

/* ===== REFERENCES ===== */
.references-list h3 {
  font-size: 1.1rem;
  color: var(--clr-gold);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}
.references-list h3:first-child { margin-top: 0; }
.references-list ol {
  padding-left: 28px;
  list-style: decimal;
}
.references-list ol li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}
.references-list ol li a {
  color: var(--clr-text);
  text-decoration: none;
  border-bottom: 1px solid var(--clr-border);
  transition: color 0.2s, border-color 0.2s;
}
.references-list ol li a:hover {
  color: var(--clr-accent-light);
  border-color: var(--clr-accent);
}
.references-list > p {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--clr-text-dim);
}
.references-list > p a {
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border);
}

/* ===== HERO IMAGE ROW ===== */
.hero-image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.hero-fig {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.hero-fig img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-fig:hover img {
  transform: scale(1.03);
}
.hero-fig figcaption {
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  text-align: center;
}

/* ===== SECTION FIGURES ===== */
.section-fig {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.section-fig.wide {
  margin: 0 0 36px;
}
.section-fig img {
  width: 100%;
  height: auto;
  display: block;
}
.section-fig figcaption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  border-top: 1px solid var(--clr-border);
}

/* ===== CARD FIGURES ===== */
.card-fig {
  margin: -24px -24px 16px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.card-fig img {
  width: 100%;
  height: auto;
  display: block;
}
.card-fig figcaption {
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--clr-text-dim);
  background: var(--clr-bg);
}

/* ===== VARIANT IMAGE ===== */
.variant-img {
  margin: -28px -28px 16px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  max-height: 220px;
}
.variant-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.variant-card:hover .variant-img img {
  transform: scale(1.05);
}

/* ===== COMPETITOR IMAGE ===== */
.comp-img {
  margin: -28px -28px 16px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  max-height: 200px;
  background: #1a1a1a;
}
.comp-img img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 8px;
}

/* ===== TIMELINE FIGURE ===== */
.timeline-fig {
  margin: 12px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.timeline-fig img {
  width: 100%;
  height: auto;
  display: block;
}
.timeline-fig figcaption {
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--clr-text-dim);
}

/* ===== FOCUSING SCREEN GRID ===== */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.screen-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
  position: relative;
}
.screen-card:hover {
  border-color: var(--clr-text-dim);
}
.screen-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.screen-card h4 {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--clr-text);
}
.screen-card p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* Red Dot (K2) featured screen */
.featured-screen {
  border-color: var(--clr-accent);
  background: linear-gradient(135deg, rgba(221,0,0,0.06) 0%, var(--clr-surface) 60%);
}
.screen-type.red-dot {
  background: #dd0000;
  position: relative;
}
.screen-type.red-dot::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #ff2222;
  border-radius: 50%;
  border: 2px solid var(--clr-surface);
  box-shadow: 0 0 6px rgba(255,34,34,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-side {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }
  .specs-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-image-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-fig img { height: 180px; }
  .variant-img { margin: -20px -20px 12px; }
  .comp-img { margin: -20px -20px 12px; }

  :root { --nav-h: 56px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    border-bottom: 1px solid var(--clr-border);
  }
  .nav-links.open {
    max-height: 80vh;
    padding: 16px 24px;
    overflow-y: auto;
  }
  .nav-links li a {
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.8rem; }

  .timeline { padding-left: 0; }
  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 48px; }
  .timeline-item::before { left: 11px; }
  .timeline-marker {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 4px;
    font-size: 0.85rem;
  }

  .variants-grid,
  .competitor-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-title {
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  .finder-grid,
  .lens-compat,
  .accessories-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-note p { text-align: center; }
}
