:root {
  --ink: #242629;
  --muted: #626975;
  --blue: #2ea3f2;
  --blue-dark: #0c71c3;
  --turquoise: #00bca7;
  --purple: #6f00c1;
  --night: #07023f;
  --soft: #f6f8fb;
  --line: #e6ebf1;
  --white: #fff;
  --header-height: 80px;
  --container: 1080px;
  --shadow: 0 22px 60px rgba(15, 23, 42, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2500;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--night);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}

.site-header.scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, .1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.brand img {
  width: 112px;
  height: 72px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  padding: 27px 0 24px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav a:nth-child(odd) { color: var(--blue); }

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  color: var(--blue-dark);
  background: #edf8ff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumbs a { color: var(--blue-dark); }
.breadcrumbs a:hover { text-decoration: underline; }

.article-hero,
.album-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 72px;
  background:
    radial-gradient(circle at 87% 20%, rgba(46, 163, 242, .18), transparent 29%),
    radial-gradient(circle at 13% 100%, rgba(111, 0, 193, .1), transparent 28%),
    #fff;
}

.article-hero::before,
.album-hero::before {
  position: absolute;
  top: -140px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 44px solid rgba(0, 188, 167, .08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-copy h1,
.album-hero h1 {
  margin: 0;
  color: #25272b;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.hero-copy .lead,
.album-hero .lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 2px solid var(--blue-dark);
  border-radius: 999px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.primary-button {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(12, 113, 195, .24);
}

.secondary-button {
  color: var(--blue-dark);
  background: #fff;
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

.primary-button:hover,
.primary-button:focus-visible { background: #075f9f; }
.secondary-button:hover,
.secondary-button:focus-visible { background: #eef8ff; }

.hero-media {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(12, 113, 195, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}

.hero-media::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 90%;
  height: 88%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(46, 163, 242, .24), rgba(0, 188, 167, .2));
  content: "";
}

.hero-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
}

.article-main { padding: 68px 0 82px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 38px;
}

.article-content,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 42px rgba(15, 23, 42, .07);
}

.article-content { padding: clamp(27px, 5vw, 58px); }

.article-content > *:first-child { margin-top: 0; }

.article-content h2 {
  margin: 46px 0 16px;
  color: #26282d;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.article-content h3 {
  margin: 32px 0 10px;
  color: var(--blue-dark);
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.35;
}

.article-content p { margin: 0 0 20px; color: #515965; }

.article-content ul,
.article-content ol {
  margin: 0 0 26px;
  padding-left: 24px;
  color: #414955;
}

.article-content li { margin: 8px 0; padding-left: 5px; }
.article-content li::marker { color: var(--turquoise); font-weight: 800; }

.content-intro {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: #3c4552 !important;
  font-size: 19px;
  line-height: 1.8;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 28px 0 36px;
}

.fact {
  padding: 18px;
  border: 1px solid #e1e8ef;
  border-radius: 14px;
  background: #f8fbfd;
}

.fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fact strong { color: #2d333b; font-size: 15px; }

.callout {
  position: relative;
  margin: 34px 0;
  padding: 24px 26px 24px 30px;
  border-left: 5px solid var(--turquoise);
  border-radius: 0 15px 15px 0;
  color: #283443;
  background: linear-gradient(90deg, #eefdFA, #f7fbff);
}

.callout strong { color: var(--night); }

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 20px;
}

.sidebar-card { padding: 26px; }

.sidebar-card h2,
.sidebar-card h3 {
  margin: 0 0 14px;
  color: #25282c;
  font-family: Inter, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.3;
}

.sidebar-card p { margin: 0 0 17px; color: var(--muted); font-size: 14px; }
.sidebar-card .primary-button { width: 100%; }

.mini-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }

.mini-list li {
  position: relative;
  padding-left: 22px;
  color: #4d5662;
  font-size: 14px;
  line-height: 1.55;
}

.mini-list li::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 1px var(--turquoise);
  content: "";
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.article-pagination a {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.article-pagination a:last-child { text-align: right; }

.article-pagination a:hover,
.article-pagination a:focus-visible {
  border-color: rgba(12, 113, 195, .35);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
  transform: translateY(-3px);
}

.article-pagination span { color: #79818c; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.article-pagination strong { color: var(--blue-dark); font-size: 15px; line-height: 1.45; }

.cta-band {
  padding: 58px 0;
  color: #fff;
  background: radial-gradient(circle at 0 100%, var(--purple), var(--night) 54%, #02010b 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-band .primary-button { flex: 0 0 auto; border-color: #fff; color: var(--night); background: #fff; }

.album-hero { padding-bottom: 66px; text-align: center; }
.album-hero .lead { margin-inline: auto; }

.gallery-section { padding: 72px 0 90px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #dce4eb;
  box-shadow: 0 15px 35px rgba(15, 23, 42, .12);
  cursor: zoom-in;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7, 2, 63, .55);
  content: "+";
  font-family: Inter, Arial, sans-serif;
  font-size: 42px;
  font-weight: 500;
  opacity: 0;
  transition: opacity .25s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.045); }

.lightbox {
  width: min(94vw, 1040px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: #080b12;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
}

.lightbox::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(5px); }

.lightbox-figure { margin: 0; }

.lightbox-image-wrap {
  display: grid;
  min-height: 260px;
  max-height: calc(94vh - 84px);
  place-items: center;
  background: #06070a;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(94vh - 84px);
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
  padding: 13px 84px 13px 22px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
}

.lightbox-count { color: rgba(255, 255, 255, .55); white-space: nowrap; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 11, 18, .72);
  cursor: pointer;
}

.lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  font-size: 25px;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  transform: translateY(-50%);
}

.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .75);
  background: #05021e;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --header-height: 72px; }

  .brand img { width: 96px; height: 64px; }
  .menu-toggle { display: block; }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 35px rgba(15, 23, 42, .14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .primary-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .primary-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid #eef2f6;
    font-size: 16px;
  }

  .primary-nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-media { width: min(100%, 620px); margin-inline: auto; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .article-hero, .album-hero { padding: 42px 0 54px; }
  .hero-copy h1, .album-hero h1 { font-size: 35px; }
  .hero-copy .lead, .album-hero .lead { font-size: 16px; }
  .article-main { padding: 44px 0 62px; }
  .article-content { border-radius: 17px; }
  .facts-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .article-pagination { grid-template-columns: 1fr; }
  .article-pagination a:last-child { text-align: left; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .cta-band .primary-button { width: 100%; }
  .gallery-section { padding: 48px 0 68px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery-item img { height: 190px; }
  .lightbox { width: 96vw; border-radius: 14px; }
  .lightbox-nav { top: auto; bottom: 10px; }
  .lightbox-prev { left: auto; right: 72px; }
  .lightbox-next { right: 14px; }
  .lightbox figcaption { padding-right: 134px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
