:root {
  --bg: #eef3fb;
  --text: #101826;
  --muted: #5f6b80;
  --line: rgba(120, 150, 190, 0.18);
  --card: rgba(255, 255, 255, 0.72);

  --accent: #8ec5ff;
  --accent-dark: #4d7fb3;
  --blue: #d7e8ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(226, 241, 255, 0.9) 0%, rgba(244, 249, 255, 0.94) 36%, rgba(229, 246, 226, 0.86) 100%),
    linear-gradient(180deg, #f7faff 0%, #eef3fb 52%, #e7eef9 100%);
  color: var(--text);
  line-height: 1.65;
}

body.is-loading {
  overflow: hidden;
}

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

.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

img,
video {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.site-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(226, 241, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 42%, rgba(230, 248, 223, 0.94) 100%),
    linear-gradient(180deg, #f7faff 0%, #e7eef9 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  width: min(820px, 100%);
  display: grid;
  gap: 18px;
  justify-items: center;
}

.coordinate-panel {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
}

.coordinate-row {
  display: grid;
  grid-template-columns: 110px minmax(150px, 1fr) minmax(170px, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.coordinate-row:first-child {
  border-top: 0;
}

.coordinate-row span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coordinate-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: var(--text);
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 650;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.loading-line {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(120, 150, 190, 0.22);
}

.loading-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #c9ff4f);
  transform-origin: left;
  animation: loading-progress 1.5s ease forwards;
}

@keyframes loading-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 248, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.54);
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--text);
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 86px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero {
  padding: 92px 0 56px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
}

h1 {
  max-width: 980px;
  font-size: clamp(42px, 8vw, 98px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 650;
  text-transform: uppercase;
}

.page-title {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 650;
}

.hero-text,
.page-intro {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  margin-top: 28px;
}

.page-hero > p {
  max-width: 42rem;
  margin: 0 0 1.5em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.page-hero.about-content > p {
  max-width: 980px;
  text-align: justify;
  text-justify: inter-word;
}

.page-hero > p:first-of-type {
  margin-top: 32px;
}

.page-hero > p:nth-of-type(5) {
  margin-top: 2.75em;
}

.page-hero > p:nth-of-type(n + 5) {
  line-height: 1.85;
}

.page-hero > p:last-child {
  margin-bottom: 0;
}

.about-banner {
  width: min(980px, 100%);
  height: auto;
  object-fit: contain;
  margin: 34px 0 38px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--text);
  color: white;
  font-size: 15px;
  transition: 0.2s ease;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 33, 28, 0.12);
}

section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  margin-bottom: 34px;
  align-items: start;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 620;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  max-width: 710px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-panel {
  padding: 4px 0 0;
}

.detail-panel h2 {
  max-width: 680px;
  margin-bottom: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  backdrop-filter: blur(12px);
  min-height: 190px;
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(23, 33, 28, 0.08);
}

.poster-link {
  display: block;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.poster-link:hover {
  opacity: 0.92;
}

.poster-link:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.image-link {
  display: block;
  margin-bottom: 18px;
}

.image-link:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: translateY(-2px);
}

.image-link:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.profile-image {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.58);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.image-link .profile-image {
  margin-bottom: 0;
}

.profile-image.wide {
  aspect-ratio: 16 / 10;
}

.logo-card-image {
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.logo-card-image .logo-image {
  aspect-ratio: auto;
  max-height: 110px;
  object-fit: contain;
}

.artwork-thumb {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.58);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.image-link .artwork-thumb {
  margin-bottom: 0;
}

.artwork-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.92fr);
  gap: 34px;
  align-items: start;
}

.artwork-detail img {
  max-height: 78vh;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.58);
}

.artwork-copy {
  display: grid;
  gap: 18px;
}

.artwork-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.card h3 {
  font-size: 22px;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.card h3 a:hover {
  color: var(--accent-dark);
}

.card h3 a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.ig-link {
  margin: -4px 0 12px;
  font-size: 14px;
}

.ig-link a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ig-link a:hover {
  color: var(--text);
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
}

.card .card-link {
  margin-top: 14px;
}

.meta {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.placeholder {
  min-height: 250px;
  border-radius: 8px;
  border: 1px dashed rgba(23, 33, 28, 0.22);
  background:
    linear-gradient(135deg, rgba(120, 184, 167, 0.2), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(45deg, rgba(23, 33, 28, 0.03) 0 2px, transparent 2px 12px);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  margin-bottom: 16px;
}

.large-feature {
  min-height: 420px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.info-list.compact {
  margin-top: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.info-row strong {
  color: var(--text);
}

.media-note {
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 15px;
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  padding: 48px 22px;
}

.empty-state h2 {
  max-width: 640px;
}

.empty-state p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
}

footer {
  padding: 54px 0 70px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.footer-logos {
  width: min(1040px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  flex-wrap: wrap;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logos a:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.footer-logos a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 8px;
}

.footer-logo {
  max-width: 136px;
  max-height: 54px;
  width: auto;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.footer-logos a:nth-child(5) .footer-logo {
  max-width: 72px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .section-head,
  .feature-layout,
  .artwork-detail,
  .grid,
  .grid.two,
  .info-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 56px 0;
  }

  .large-feature {
    min-height: 280px;
  }

  .footer-logos {
    gap: 22px 28px;
  }

  .footer-logo {
    max-width: 128px;
    max-height: 48px;
  }
}

@media (max-width: 680px) {
  .coordinate-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-screen {
    display: none;
  }

  body.is-loading {
    overflow: auto;
  }

  .loading-line span {
    animation: none;
  }
}
