/* Minä olen Sanna Marin (2026). Esityksen oma, jäädytetty ulkoasu: etusivun tyylimuutokset eivät koske tätä
   sivua. Kaikki sivun käyttämät tiedostot (fontit, kuvat, logo) ovat tässä kansiossa. Ks. CLAUDE.md. */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --cream: #ffffec;
  --peach: #fdd7c6;
  --ink: #000;
  --olive: #ab9c0e;
  --olive-light: #e3dc9e;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1100px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Yläpalkki */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(8px);
}

.site-header .logo img {
  width: 56px;
  height: 56px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px clamp(14px, 3vw, 32px);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

/* Esityksen nosto */

.show-hero img {
  width: 100%;
  height: clamp(280px, 60vw, 640px);
  object-fit: cover;
}

.show-head {
  padding: 40px 0 0;
  background: linear-gradient(var(--peach), var(--cream));
}

.kicker {
  margin: 0 0 20px;
  font-size: clamp(14px, 2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.show-title {
  margin: 0;
  font-size: clamp(36px, 9vw, 112px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

/* Osiot */

section {
  padding: clamp(56px, 9vw, 112px) 0;
}

.section-title {
  margin: 0 0 32px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 1em;
}

.history {
  background: linear-gradient(270deg, var(--olive) 0%, var(--olive-light) 100%);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 48px 0 0;
}

.facts h3 {
  margin: 0 0 6px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.facts p {
  margin: 0;
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 28px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin-bottom: 10px;
}

.team strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.back-link {
  display: inline-block;
  margin-top: 16px;
}

/* Alapalkki */

.site-footer {
  padding: 64px 0 40px;
  background: var(--ink);
  color: var(--cream);
}

.site-footer .section-title {
  margin-bottom: 24px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  font-size: 20px;
}

.copyright {
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
}
