/* encore-gold — S6 cinematic scroll
   Palette: near-black #141216 · deep plum-black #1C181F · antique gold #C9A34A
   Text: warm white #F6F1E7 (16.4:1 on near-black) · muted #C8BFB0 (10.6:1)
   Every section is a film frame: full-viewport, thin gold hairline inset,
   overlaid text and a numbered slate. Stage light = CSS gradient beams. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/bodoni-moda-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --black: #141216;
  --black-2: #1C181F;
  --black-3: #100E12;
  --gold: #C9A34A;
  --gold-soft: #E0C176;
  --white: #F6F1E7;
  --muted: #C8BFB0;
  --line: rgba(201, 163, 74, 0.32);
  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --shell: 68rem;
  --gutter: 1.25rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; border-radius: 2px; }
img { display: block; max-width: 100%; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---- demo banner ---- */
.demo-banner {
  display: block;
  position: relative;
  z-index: 9;
  background: var(--gold);
  color: #17130A;
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
.demo-banner b { font-weight: 800; }

/* ---- the film frame ---- */
.frame {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 4.5rem var(--gutter);
  border-top: 1px solid rgba(201, 163, 74, 0.18);
}
/* hairline inset — the "frame" edge */
.frame::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}
.frame-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
}
.frame-inner--narrow { max-width: 44rem; }

.frame--hero { justify-content: flex-start; min-height: calc(100svh - 2.3rem); }
.frame--tarina { background: var(--black-2); }
.frame--kokoonpano { background: var(--black-3); }
.frame--ohjelmisto { background: var(--black-2); }
.frame--sitaatti { background: var(--black-3); min-height: 70svh; }
.frame--hinnasto { background: var(--black-2); }

/* ---- stage lighting ---- */
.stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.beam {
  position: absolute;
  top: -30%;
  width: 60vw;
  height: 130%;
  transform-origin: 50% 0;
  filter: blur(28px);
  opacity: 0.5;
  animation: sway 18s ease-in-out infinite alternate;
}
.beam--1 {
  left: -18vw;
  background: linear-gradient(180deg, rgba(201, 163, 74, 0.55), rgba(201, 163, 74, 0));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  transform: rotate(9deg);
}
.beam--2 {
  left: 24vw;
  background: linear-gradient(180deg, rgba(224, 193, 118, 0.4), rgba(224, 193, 118, 0));
  clip-path: polygon(46% 0, 54% 0, 88% 100%, 12% 100%);
  transform: rotate(-4deg);
  animation-duration: 24s;
}
.beam--3 {
  right: -22vw;
  background: linear-gradient(180deg, rgba(201, 163, 74, 0.42), rgba(201, 163, 74, 0));
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  transform: rotate(-11deg);
  animation-duration: 30s;
}
.floor {
  position: absolute;
  left: 50%;
  bottom: -14vh;
  width: 150vw;
  height: 42vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0, rgba(201, 163, 74, 0.22), rgba(20, 18, 22, 0) 70%);
}
.stage--soft .beam { opacity: 0.32; }
.spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(60% 45% at 50% 12%, rgba(201, 163, 74, 0.16), rgba(20, 18, 22, 0) 70%);
}
@keyframes sway {
  from { transform: rotate(var(--r, 0deg)) translateX(-2vw); }
  to   { transform: rotate(var(--r, 0deg)) translateX(2vw); }
}
.beam--1 { --r: 9deg; }
.beam--2 { --r: -4deg; }
.beam--3 { --r: -11deg; }

/* ---- top bar ---- */
.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  max-width: var(--shell);
  width: 100%;
  margin: 0 auto 3rem;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.topbar-link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
  color: var(--muted);
}
.topbar-link:hover { color: var(--white); border-color: var(--gold); }

/* ---- type ---- */
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  vertical-align: 0.3em;
  margin-right: 0.7rem;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; }
h1 {
  font-size: clamp(2.7rem, 12vw, 6.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
h1 em, h2 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
h2 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  margin-bottom: 1.4rem;
}
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
p + p { margin-top: 1rem; }
.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 2rem;
}
.frame--tarina p, .frame--sitaatti p { color: var(--muted); max-width: 56ch; }
.footnote {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 52ch;
}
.frame-tag {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- buttons ---- */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: #17130A;
  border: 1px solid var(--gold);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { background: rgba(201, 163, 74, 0.14); color: var(--white); }

/* ---- curtain texture ---- */
.curtain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background:
    repeating-linear-gradient(90deg,
      rgba(201, 163, 74, 0.07) 0 2px,
      rgba(20, 18, 22, 0) 2px 26px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 65%);
}

/* ---- figures ---- */
.figures {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.figures dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.figures dd { font-family: var(--display); font-size: 2.2rem; color: var(--gold); line-height: 1.1; }

/* ---- cards ---- */
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.card {
  border: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.03);
  padding: 1.6rem 1.4rem;
}
.card--pick { border-color: var(--gold); background: rgba(201, 163, 74, 0.08); }
.card-num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.card p { color: var(--muted); }
.card-meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* ---- setlist ---- */
.setlist { list-style: none; margin-top: 2rem; }
.setlist li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.2rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.setlist li:last-child { border-bottom: 1px solid var(--line); }
.set-time {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1.5;
}
.set-name { font-weight: 600; }
.set-note { grid-column: 2; font-size: 0.9rem; color: var(--muted); }

/* ---- quote ---- */
.quote { text-align: center; }
.quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 5.5vw, 2.4rem);
  line-height: 1.35;
  color: var(--white) !important;
  max-width: 22ch;
  margin: 0 auto;
}
.quote-by {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- price table ---- */
.price { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.price th, .price td {
  text-align: left;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.price th { font-weight: 500; }
.price td {
  text-align: right;
  font-family: var(--display);
  color: var(--gold);
  white-space: nowrap;
}

/* ---- contact ---- */
.contact {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.contact dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact dd { color: var(--muted); }

/* ---- footer ---- */
.footer {
  background: var(--black-3);
  border-top: 1px solid var(--line);
  padding: 3rem var(--gutter) 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer .small { margin-top: 0.5rem; font-size: 0.8rem; }
.footer a { color: var(--gold); }

/* ---- desktop ---- */
@media (min-width: 48rem) {
  :root { --gutter: 3rem; }
  .frame { padding: 6rem var(--gutter); }
  .frame::after { inset: 1.75rem; }
  .figures { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .contact { grid-template-columns: repeat(3, 1fr); }
  .setlist li { grid-template-columns: 6rem 14rem 1fr; align-items: baseline; }
  .set-note { grid-column: 3; }
  .lede { font-size: 1.2rem; }
}

@media (min-width: 64rem) {
  .frame--hero .frame-inner { padding-top: 2vh; }
  h1 { font-size: clamp(4rem, 7.5vw, 6.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .beam--1 { transform: rotate(9deg); }
  .beam--2 { transform: rotate(-4deg); }
  .beam--3 { transform: rotate(-11deg); }
}

/* Tekoälyilmoitus (EU AI Act 50 art.) — ks. webpages/kit/ai-disclosure/. */
.ai-note {
  margin: 1.5rem auto 0;
  max-width: 62ch;
  padding: 0 1rem 2rem;
  font-size: 0.75rem;
  line-height: 1.55;
}

.ai-note strong {
  font-weight: 600;
}
