:root {
  --yellow: #e4c43a;
  --yellow-soft: #f3de7a;
  --green: #6f7d38;
  --green-deep: #3f4a22;
  --copper: #b56a36;
  --copper-deep: #8d4e28;
  --ink: #241f16;
  --ink-soft: #5a5346;
  --paper: #f4efe3;
  --white: #fffaf0;
  --line: rgba(36, 31, 22, 0.12);
  --shadow: 0 18px 50px rgba(80, 55, 20, 0.14);
  --radius: 22px;
  --max: 1120px;
  --font-display: "Zilla Slab", "Palatino Linotype", serif;
  --font-body: "Fira Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a { color: var(--green-deep); }

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--white);
  padding: 0.5rem 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, var(--green) 34% 67%, var(--copper) 67% 100%);
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--yellow-soft) 35%, var(--white));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  justify-self: start;
}

nav.links {
  justify-self: center;
  display: flex;
  gap: 1.4rem;
}

.brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.22rem;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 600;
  margin-bottom: 0.08rem;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

nav a[aria-current="page"] { color: var(--copper-deep); }

.hero {
  padding: 3.6rem 0 3.8rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(228, 196, 58, 0.45), transparent 32%),
    linear-gradient(135deg, #5d6b30 0%, #3f4a22 55%, #8a542c 140%);
  color: #f7f1dd;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.4rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--yellow-soft);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-hero .eyebrow { color: var(--copper-deep); }

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0.85rem 0 1rem;
}

.hero h1 { margin-top: 0; }

.lead {
  font-size: 1.12rem;
  color: #ece6d2;
  max-width: 38rem;
}

.lead.subtle {
  color: #d9c98a;
  font-size: 1rem;
}

.page-hero .lead { color: var(--ink-soft); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 650;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover { background: #f0d45a; }

.hero .btn-ghost {
  background: transparent;
  color: #f7f1dd;
  box-shadow: inset 0 0 0 1.5px rgba(247, 241, 221, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  grid-template-rows: 1fr 1fr 0.92fr;
  gap: 6px;
  width: 100%;
  max-width: 420px;
  min-height: 390px;
  justify-self: end;
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid var(--green);
  background: var(--green);
  box-shadow: var(--shadow);
}

.hero-collage .tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #2c2418;
  min-height: 0;
}

.hero-collage .kirppis {
  grid-row: 1 / span 2;
}

.hero-collage .luonto {
  grid-column: 1 / -1;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.hero-collage figcaption {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green-deep) 88%, black);
  color: #f4efe3;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  max-width: calc(100% - 1.1rem);
}

.hero-collage .luonto figcaption {
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
  border-radius: 0;
  text-align: center;
  padding: 0.48rem 0.7rem;
  font-size: 0.7rem;
  background: color-mix(in srgb, var(--green-deep) 82%, black);
}

.section { padding: 3.4rem 0; }

.trio-band {
  background:
    linear-gradient(180deg, #f6e7a0 0%, #efe3b0 40%, #f4efe3 100%);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.kicker {
  color: var(--copper-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

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

.trio article {
  background: var(--white);
  border-radius: 20px;
  padding: 1.3rem 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.trio article:nth-child(1) { border-top: 7px solid var(--yellow); }
.trio article:nth-child(2) { border-top: 7px solid var(--green); }
.trio article:nth-child(3) { border-top: 7px solid var(--copper); }

.trio h3 {
  margin: 0 0 0.55rem;
  font-size: 1.32rem;
}

.trio p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--copper) 0%, var(--copper-deep) 45%, var(--green-deep) 100%);
  color: #f7f4ec;
}

.cta-band h2 { margin: 0 0 0.3rem; }
.cta-band p { margin: 0; color: #f0e2cf; }
.cta-band .btn-primary { background: var(--yellow); color: var(--ink); }

footer.site {
  padding: 2.6rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.foot-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 0.4rem 0 2.2rem;
}

.foot-pillars article {
  padding: 0.4rem 1rem;
}

.foot-icon {
  width: 34px;
  height: 34px;
  display: block;
  margin: 0 auto 0.85rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot-pillars article:nth-child(1) .foot-icon { stroke: var(--green); }
.foot-pillars article:nth-child(2) .foot-icon { stroke: var(--copper); }
.foot-pillars article:nth-child(3) .foot-icon { stroke: var(--yellow); }

.foot-pillars h3 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
  color: var(--ink);
}

.foot-pillars p {
  margin: 0;
  font-size: 0.95rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.page-hero { padding: 2.6rem 0 0.6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
  padding: 1.2rem 0 3.5rem;
}

.person-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portrait {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--yellow);
  background: #1a2430;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 12%;
}

.person { margin: 0; }
.person h2 { margin: 0; }
.person p {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.bio {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
}

.bio h2 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.bio p { margin: 0 0 0.75rem; }

.meta {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.meta li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.meta span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 650;
}

form.contact {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--green);
  border-radius: 28px;
  padding: 1.4rem;
}

label {
  display: block;
  font-weight: 650;
  margin: 0.85rem 0 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #f7f1dd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

textarea { min-height: 8.5rem; resize: vertical; }

.form-note { color: var(--ink-soft); font-size: 0.95rem; }

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.thanks-banner {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 1.4rem auto 0;
  background: #e8efc4;
  border: 1px solid var(--green);
  color: var(--green-deep);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  font-weight: 650;
  font-size: 1.08rem;
  scroll-margin-top: 5.2rem;
}

.thanks-banner[hidden] {
  display: none;
}

form.contact .actions { margin-top: 1.15rem; }

.privacy {
  padding: 0 0 3.2rem;
  max-width: 46rem;
  scroll-margin-top: 5.2rem;
}

.privacy h2 {
  font-size: 1.35rem;
  margin: 0 0 0.8rem;
}

.privacy p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.foot a {
  color: inherit;
  font-weight: 650;
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
  }

  nav.links {
    justify-self: end;
    gap: 1rem;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .hero-grid,
  .trio,
  .foot-pillars,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  nav.links a { margin-left: 0; }

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

  .hero-collage {
    min-height: 420px;
    max-width: none;
    justify-self: stretch;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.15fr 0.9fr 0.95fr;
  }

  .hero-collage .kirppis {
    grid-row: 1;
    grid-column: span 2;
    min-height: 160px;
  }

  .hero-collage .luonto {
    min-height: 120px;
  }
}
