/* PartyPhotoPaint landing site. One stylesheet for every page and both
   languages; the brand tokens live next to it in design-tokens.css.
   No tracking, no web fonts from a CDN: nothing here phones home. */
@import url("design-tokens.css");

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, var(--plum-850), var(--plum-950) 55%),
    var(--plum-950);
  color: var(--cream-50);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--gold-300);
}

a:hover {
  color: var(--pink-400);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--pink-400);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--gold-300);
  color: var(--plum-950);
  border-radius: var(--radius-button);
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(27, 16, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 197, 66, 0.18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.site-header .logo img {
  display: block;
  width: 260px;
  max-width: 54vw;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--cream-200);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--gold-300);
}

/* Language switcher: two short links, the current one marked. */

.lang {
  display: flex;
  gap: 4px;
  align-items: center;
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: 999px;
  padding: 3px;
}

.lang a {
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream-200);
}

.lang a[aria-current="true"] {
  background: var(--gold-gradient);
  color: #2a1600;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0 26px;
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--motion-fast) ease;
}

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

.btn-primary {
  background: var(--gold-gradient);
  color: #2a1600;
}

.btn-primary:hover {
  color: #2a1600;
}

.btn-ghost {
  border-color: rgba(245, 197, 66, 0.5);
  color: var(--cream-50);
}

.btn-ghost:hover {
  color: var(--gold-300);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Sections */

section {
  padding-block: clamp(48px, 7vw, 88px);
}

.lead {
  font-size: 1.2rem;
  color: var(--cream-200);
  max-width: 62ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-400);
  margin-bottom: 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding-top: clamp(36px, 6vw, 72px);
}

.hero-art {
  text-align: center;
}

.hero-art img {
  width: min(360px, 80%);
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.55));
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(42, 26, 58, 0.9),
    rgba(27, 16, 38, 0.9)
  );
  border: 1px solid rgba(245, 197, 66, 0.2);
  border-radius: var(--radius-card);
  padding: 22px 24px;
}

.card h3 {
  color: var(--gold-300);
}

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

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #2a1600;
  font-weight: 800;
  margin-bottom: 10px;
}

.plaque {
  border: 1px solid rgba(245, 197, 66, 0.45);
  border-radius: var(--radius-card);
  background: rgba(42, 26, 58, 0.6);
  padding: 20px 24px;
  font-family: var(--font-display);
  max-width: 44ch;
}

/* The exhibit's picture sits above its caption, inside the same gold rim. */
.plaque {
  margin: 0;
}

.plaque-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border: 1px dashed rgba(245, 197, 66, 0.45);
  border-radius: 12px;
  background: rgba(27, 16, 38, 0.55);
  text-align: center;
  padding: 12px;
}

.plaque-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

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

.plaque .small {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-400);
}

.alt {
  background: rgba(42, 26, 58, 0.45);
  border-block: 1px solid rgba(245, 197, 66, 0.14);
}

.price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-300);
}

ul.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

ul.ticks li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 6px;
}

ul.ticks li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--pink-400);
}

details {
  border-bottom: 1px solid rgba(245, 197, 66, 0.18);
  padding: 14px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 32px;
}

summary::marker {
  color: var(--gold-300);
}

/* Legal pages */

.legal {
  max-width: 78ch;
}

.legal h2 {
  margin-top: 1.6em;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4em;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  border: 1px solid rgba(245, 197, 66, 0.22);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: rgba(42, 26, 58, 0.8);
}

.note {
  border-left: 3px solid var(--pink-400);
  padding: 10px 0 10px 16px;
  color: var(--cream-200);
  background: rgba(255, 93, 143, 0.07);
}

.updated {
  color: var(--plum-600);
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(245, 197, 66, 0.2);
  padding-block: 36px;
  color: var(--cream-200);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.site-footer a {
  color: var(--cream-200);
  text-decoration: none;
  display: block;
  padding: 3px 0;
}

.site-footer a:hover {
  color: var(--gold-300);
}

.site-footer img {
  width: 180px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }
}

/* Placeholders still to be filled in before the site goes live. Deliberately
   loud: nobody should publish these by accident. */
mark.todo {
  background: var(--pink-400);
  color: #2a0010;
  padding: 0 6px;
  border-radius: 6px;
  font-weight: 700;
}
