:root {
  --ink: #1b2838;
  --sand: #f4f6f8;
  --sunset: #d46a4d;
  --deep: #1f3552;
  --mint: #4f7f88;
  --sky: #e6edf3;
  --card: rgba(255, 255, 255, 0.86);
  --card-strong: rgba(255, 255, 255, 0.95);
  --shadow: 0 16px 40px rgba(18, 30, 46, 0.1);
  --border: rgba(31, 53, 82, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(79, 127, 136, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 53, 82, 0.1), transparent 22%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 55%, #e8edf2 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
  opacity: 0.45;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: #8ba8c3;
  top: -70px;
  right: -50px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: #9ec2b3;
  bottom: -120px;
  left: -60px;
}

.hero {
  padding: 4.5rem 1.25rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  background: var(--card-strong);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}

.hero-panel {
  align-self: end;
  background: linear-gradient(180deg, rgba(31, 53, 82, 0.97), rgba(31, 53, 82, 0.9));
  color: #fff;
}

.hero-panel p {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero-panel ul {
  padding-left: 1.05rem;
  margin: 0;
  line-height: 1.7;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--deep);
  font-weight: 700;
}

h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 5.4vw, 4.35rem);
  line-height: 1.05;
  margin: 0.4rem 0 1rem;
}

.subtitle {
  max-width: 730px;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-meta div,
.insight-stat {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(32, 52, 77, 0.04);
  padding: 0.9rem;
}

.hero-meta strong {
  display: block;
  font-size: 1.2rem;
  color: var(--deep);
}

.hero-meta span,
.insight-stat span {
  display: block;
  font-size: 0.88rem;
  opacity: 0.82;
  margin-top: 0.25rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 53, 82, 0.28);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(22, 32, 42, 0.15);
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.1rem;
}

h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.highlights-grid {
  display: grid;
  gap: 0.8rem;
}

.highlights-grid div {
  padding: 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(220, 233, 242, 0.28));
  border: 1px solid var(--border);
}

.highlights-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--deep);
}

.highlights-grid p {
  margin: 0;
  line-height: 1.65;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 0.7rem;
}

.timeline div {
  background: linear-gradient(180deg, #ffffff, #faf7f2);
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(32, 52, 77, 0.14);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  margin-right: 0.4rem;
  background: var(--sunset);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tags span {
  background: rgba(32, 52, 77, 0.08);
  border: 1px solid rgba(32, 52, 77, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
}

.insight-card {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.insight-card p {
  margin-bottom: 0;
  line-height: 1.65;
}

.insight-stat {
  background: linear-gradient(180deg, rgba(31, 53, 82, 0.08), rgba(79, 127, 136, 0.08));
}

.insight-stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.gallery-section {
  display: grid;
  gap: 0.9rem;
}

.section-heading h2 {
  margin-bottom: 0.4rem;
}

.section-heading p {
  margin: 0;
  color: rgba(22, 32, 42, 0.76);
  line-height: 1.6;
}

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

.gallery-card {
  background: var(--card-strong);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-card header {
  padding: 0.9rem 1rem 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.gallery-card h3 {
  margin: 0;
  font-size: 1rem;
}

.gallery-card .meta {
  font-size: 0.82rem;
  color: rgba(22, 32, 42, 0.72);
  line-height: 1.35;
  text-align: right;
}

.frame-wrap {
  background: #fff;
  aspect-ratio: 4 / 3;
  border-top: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.frame-wrap img,
.frame-wrap iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #fff;
  overflow: hidden;
}

footer {
  text-align: center;
  padding: 0 1rem 2.5rem;
  font-size: 0.9rem;
  color: rgba(22, 32, 42, 0.72);
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.footer-links a {
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 650ms ease forwards;
}

.reveal:nth-of-type(2) { animation-delay: 120ms; }
.reveal:nth-of-type(3) { animation-delay: 220ms; }

.reveal:nth-of-type(4) { animation-delay: 300ms; }
.reveal:nth-of-type(5) { animation-delay: 380ms; }

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 850px) {
  .content {
    grid-template-columns: 1.5fr 1fr;
  }

  .content .card:nth-child(1) {
    grid-column: 1 / 3;
  }

  .content .insight-card {
    grid-column: 1 / 3;
  }

  .gallery-section {
    grid-column: 1 / 3;
  }
  .content .full-width-section {
    grid-column: 1 / 3;
  }
}

@media (max-width: 860px) {
  .hero,
  .insight-card,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy,
  .hero-panel,
  .card {
    padding: 1.05rem;
    border-radius: 1rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    gap: 0.85rem;
  }

  .gallery-card header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-card .meta {
    text-align: left;
  }

  .frame-wrap {
    aspect-ratio: 1 / 1;
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .subtitle {
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .frame-wrap {
    aspect-ratio: 1 / 1;
    min-height: 320px;
  }
}