:root {
  --ink: #14213d;
  --muted: #5a6578;
  --paper: #f7f1e8;
  --paper-2: #eef6f4;
  --teal: #0f766e;
  --teal-deep: #0b5f59;
  --gold: #d97706;
  --sun: #f4c430;
  --line: rgba(20, 33, 61, 0.12);
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
  --container: 1180px;
  --font-display: "Shantell Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(165deg, #e8f4f8 0%, var(--paper) 42%, var(--paper-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.atmosphere__wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.atmosphere__wash--a {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -6%;
  background: #7dd3c7;
}

.atmosphere__wash--b {
  width: 380px;
  height: 380px;
  top: 18%;
  right: -8%;
  background: #f4c430;
  animation-delay: -4s;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, 18px, 0) scale(1.08);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top {
  position: relative;
  z-index: 3;
  padding: 18px 0 8px;
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #fff;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.35);
  transform-origin: center;
  display: block;
}

.brand strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.top__nav a:not(.top__cta) {
  color: var(--muted);
}

.top__nav a:not(.top__cta):hover {
  color: var(--ink);
}

.top__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.top__cta,
.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: #0c1629;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 28px 0 18px;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  min-height: min(68vh, 640px);
}

.hero__copy {
  animation: rise 0.7s ease both;
}

.hero__kicker,
.section-heading__kicker,
.prize__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero__lead,
.thank-you p,
.section-heading__note {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 34ch;
}

.hero__lead {
  color: var(--ink);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  max-width: 28ch;
}

.hero__sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.hero__deadline {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.hero__deadline strong {
  color: var(--ink);
}

.hero__stage {
  position: relative;
  height: min(56vh, 520px);
  animation: rise 0.85s ease 0.12s both;
}

.hero__shot {
  position: absolute;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.hero__shot--main {
  width: 68%;
  height: 78%;
  right: 4%;
  top: 8%;
  z-index: 3;
  transform: rotate(2.5deg);
  animation: floaty 6s ease-in-out infinite;
}

.hero__shot--side {
  width: 42%;
  height: 48%;
  left: 0;
  bottom: 6%;
  z-index: 2;
  transform: rotate(-6deg);
  animation: floaty 7.5s ease-in-out infinite reverse;
}

.hero__shot--back {
  width: 36%;
  height: 40%;
  left: 18%;
  top: 0;
  z-index: 1;
  opacity: 0.92;
  transform: rotate(8deg);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(2.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(3.2deg);
  }
}

.hero__shot--side {
  animation-name: floaty-side;
}

@keyframes floaty-side {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-8px) rotate(-4.5deg);
  }
}

.prize {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 22px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  animation: rise 0.7s ease 0.2s both;
}

.prize__logo {
  width: 92px;
  height: auto;
  flex-shrink: 0;
}

.prize__text h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.prize__text p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.gallery {
  position: relative;
  z-index: 1;
  padding: 36px 0 28px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.section-heading__note {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 16px;
}

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

.art-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise 0.65s ease both;
  animation-delay: calc(0.05s * var(--i));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(20, 33, 61, 0.16);
}

.art-card__frame {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(180deg, #fffaf3, #eef8f6);
}

.art-card__num {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(20, 33, 61, 0.88);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.art-card__frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.art-card__content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.art-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.art-card__author {
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
}

.art-card__votes {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}

.vote-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 12px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.vote-button:hover,
.back-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.legal {
  position: relative;
  z-index: 1;
  margin: 8px auto 12px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
}

.legal p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal a,
.footer__links a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 12px 0 40px;
}

.site-footer__inner {
  text-align: center;
  padding: 22px;
  border-radius: 18px;
  background: rgba(20, 33, 61, 0.04);
  border: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.site-footer p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.footer__links {
  margin-top: 10px !important;
}

.doc-page {
  position: relative;
  z-index: 1;
  padding: 36px 0 48px;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.6s ease both;
}

.doc__org {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--teal);
  font-weight: 800;
}

.doc h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.doc__meta {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.doc__list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.doc__list li {
  margin-bottom: 12px;
}

.doc__list strong {
  color: var(--ink);
}

.thank-you {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.thank-you__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.65s ease both;
}

.thank-you h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}

.thank-you__kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.thank-you__lead {
  margin: 0 auto 12px !important;
  color: var(--ink) !important;
  font-size: 18px !important;
  font-weight: 600;
  max-width: 34ch;
}

.thank-you__note {
  margin: 0 0 22px !important;
  font-size: 15px !important;
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.14);
  color: var(--teal);
  font-size: 36px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__stage {
    height: 320px;
    order: -1;
  }

  .art-grid {
    grid-template-columns: 1fr;
  }

  .prize {
    flex-direction: column;
    align-items: flex-start;
  }

  .top__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .hero__lead,
  .section-heading__note {
    font-size: 16px;
  }

  .top__nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero__shot--back {
    display: none;
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(20, 33, 61, 0.96);
  color: #fff;
  box-shadow: 0 18px 40px rgba(20, 33, 61, 0.28);
}

.cookie-banner__inner p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__inner a {
  color: #7dd3c7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-btn--primary {
  background: #0f766e;
  color: #fff;
}

.cookie-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.doc__list a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc__list ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
