.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 9vw, 6.3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}

.lead,
.muted,
.identity-copy,
.signal-list,
.timeline-list,
.release-list,
.contact-card p,
.token-list,
.profile-row p,
.quick-answer p,
.capability-card p {
  color: var(--muted);
}

.lead {
  max-width: 700px;
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.22s ease, background-color 0.22s ease,
    border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn.primary {
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), #b95323);
  box-shadow: 0 12px 24px rgba(226, 122, 63, 0.26);
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.contact-note {
  margin-top: 14px;
  color: var(--muted);
}

.btn:hover,
.nav-links a:hover,
.nav-links a.is-active {
  transform: translateY(-1px);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.22s ease, background-color 0.22s ease,
    transform 0.22s ease;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(18, 31, 44, 0.92), rgba(10, 18, 28, 0.88));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.quick-answer,
.hero-panel,
.statement-card,
.profile-card,
.capability-card,
.focus-board,
.release-card,
.stack-card,
.contact-card,
.featured-project-card,
.project-meta-card,
.project-status-card,
.project-info-card {
  padding: 24px;
}

.label,
.panel-kicker,
.profile-label,
.release-label,
.foot-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 12px;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.news-hidden-section {
  text-align: center;
}

.redirect-note {
  margin-top: 18px;
}

.project-back-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.panel-top,
.panel-foot,
.card-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-top {
  margin-bottom: 28px;
}

.status-dot,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(133, 201, 187, 0.1);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge.soft {
  background: rgba(226, 122, 63, 0.14);
  color: var(--accent);
}

.identity-line {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.signal-list,
.timeline-list,
.token-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signal-list,
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signal-list li,
.timeline-list li {
  padding-left: 18px;
  position: relative;
}

.signal-list li::before,
.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.signal-list strong,
.timeline-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.panel-foot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.statement {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.profile-row + .profile-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.capability-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.release-list {
  display: grid;
  gap: 16px;
}

.release-list > div + div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.token-list li {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(226, 122, 63, 0.92), rgba(164, 66, 22, 0.96));
  color: #fff6ef;
}

.accent-card p,
.accent-card h3 {
  color: inherit;
}

.featured-project-card .btn {
  margin-top: 10px;
}

.placeholder-shot {
  margin: 0;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 48%),
    linear-gradient(180deg, rgba(18, 31, 44, 0.96), rgba(10, 18, 28, 0.92));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.placeholder-shot strong {
  font-size: 1.2rem;
  line-height: 1.15;
}

.placeholder-shot p {
  margin-bottom: 0;
  color: var(--muted);
}

.shot-frame {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 31, 44, 0.96), rgba(10, 18, 28, 0.92));
}

.shot-frame img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot-frame figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: min(420px, calc(100% - 32px));
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 12, 20, 0.74);
  backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.shot-frame figcaption strong {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1.15;
}

.shot-frame figcaption p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.shot-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-slider {
  padding: 24px;
}

.comparison-stage {
  position: relative;
  width: min(100%, 1240px);
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  --split: 50%;
  --before-caption-opacity: 1;
  --after-caption-opacity: 1;
  touch-action: none;
  user-select: none;
}

.comparison-pane {
  position: absolute;
  inset: 0;
}

.comparison-pane .slider-shot {
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.comparison-before {
  z-index: 1;
}

.comparison-before figcaption {
  left: auto;
  right: 16px;
  text-align: right;
  opacity: var(--before-caption-opacity);
  transform: translateY(calc((1 - var(--before-caption-opacity)) * 14px));
}

.comparison-after {
  z-index: 2;
  width: var(--split);
  overflow: hidden;
  border-right: 1px solid rgba(226, 122, 63, 0.55);
}

.comparison-after figcaption {
  opacity: var(--after-caption-opacity);
  transform: translateY(calc((1 - var(--after-caption-opacity)) * 14px));
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: var(--split);
  z-index: 3;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  cursor: ew-resize;
}

.comparison-handle span,
.comparison-handle span::before,
.comparison-handle span::after {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 18px;
  background: #fff8ef;
  transform: translateY(-50%);
  content: "";
}

.comparison-handle span {
  left: 50%;
}

.comparison-handle span::before {
  left: -12px;
}

.comparison-handle span::after {
  right: -12px;
}

.comparison-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-shot {
  min-height: 280px;
}

.gallery-shot.wide {
  min-height: 420px;
}

@media (max-width: 760px) {
  h1 {
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .quick-answer,
  .hero-panel,
  .statement-card,
  .profile-card,
  .capability-card,
  .focus-board,
  .release-card,
  .stack-card,
  .contact-card,
  .featured-project-card,
  .project-meta-card,
  .project-status-card,
  .project-info-card,
  .content-card {
    padding: 20px;
  }

  .project-topline,
  .panel-top,
  .panel-foot,
  .card-headline {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-slider {
    padding: 18px;
  }

  .comparison-stage {
    aspect-ratio: 4 / 5;
  }

  .shot-frame figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .comparison-before figcaption,
  .comparison-after figcaption {
    display: none;
  }
}

@media (max-width: 520px) {
  .btn {
    min-height: 46px;
    padding: 11px 16px;
  }

  .content-card,
  .quick-answer,
  .hero-panel,
  .statement-card,
  .profile-card,
  .capability-card,
  .contact-card,
  .project-status-card,
  .project-info-card {
    padding: 18px;
  }
}
