/* ==========================================================================
   Kurkilaw — tyylit
   Pelkistetty, tyylikäs ja hillitty. Yksi väripaletti, ohuet viivat,
   runsaasti tyhjää tilaa. Ei varjoja, ei pyöristettyjä kortteja.
   ========================================================================== */

:root {
  /* Värit */
  --ink:        #1E2320;  /* pääteksti, hiilenvihreä lähes musta */
  --ink-soft:   #414841;  /* leipäteksti */
  --muted:      #6F7669;  /* toissijainen teksti */
  --paper:      #FAF8F3;  /* sivun tausta, lämmin kerma */
  --paper-alt:  #EDEBE0;  /* vaihtoehtoinen osio, salvian sävyttämä */
  --white:      #FFFFFF;
  --deep:       #2B322A;  /* tumma osio, syvä oliivinhiili — kuten puku muotokuvassa */
  --deep-soft:  #39412F;
  --brass:      #8F7C46;  /* aksentti, lämmin oliivimessinki */
  --brass-lite: #BBA76E;
  --rule:       #DFDBCE;  /* hiusviiva */
  --rule-dark:  rgba(255, 255, 255, 0.16);

  /* Typografia */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Mitat */
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Perusrakenteet ------------------------------------------------------ */

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brass); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

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

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Pieni yläotsikko, harvennettu versaali */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--brass-lite); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
}
.skip:focus { left: 0; color: var(--white); }

/* --- Painikkeet ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }

.btn--light { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn--light:hover { background: var(--brass-lite); border-color: var(--brass-lite); color: var(--deep); }

.btn--ghost { border-color: rgba(255,255,255,.42); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }

.btn--plain {
  border: 0;
  padding: 0;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
  letter-spacing: .1em;
}
.btn--plain:hover { background: transparent; color: var(--brass); }

/* --- Ylätunniste --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink);
  line-height: 1;
}
.brand__name span { color: var(--brass); }
.brand__name { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }

.nav a.btn--plain { border-bottom-color: var(--brass); color: var(--brass); }
.nav a.btn--plain:hover { border-bottom-color: var(--ink); color: var(--ink); }
.nav__cta { font-size: .78rem; letter-spacing: .13em; }

/* Kielivalitsin */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--rule);
}
.nav .lang a,
.nav .lang > span {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0;
  border-bottom: 0;
  color: var(--muted);
}
.nav .lang > span[aria-current] { color: var(--ink); }
.nav .lang a:hover { color: var(--brass); border-bottom: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 10px 12px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  /* Kielivalitsin */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--rule);
}
.nav .lang a,
.nav .lang > span {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0;
  border-bottom: 0;
  color: var(--muted);
}
.nav .lang > span[aria-current] { color: var(--ink); }
.nav .lang a:hover { color: var(--brass); border-bottom: 0; }

.nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 28px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: .85rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--rule); }
  .nav .btn { margin-top: 20px; width: 100%; justify-content: center; }
  .nav .lang {
    margin-top: 22px;
    padding-left: 0;
    border-left: 0;
    gap: 18px;
  }
  .nav .lang a, .nav .lang > span { font-size: .8rem; }
}

/* --- Osiot --------------------------------------------------------------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--paper-alt); }
.section--deep { background: var(--deep); color: rgba(255,255,255,.78); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep a { color: var(--white); }
.section--deep a:hover { color: var(--brass-lite); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head .lead { margin-top: 1rem; }

/* --- Hero ----------------------------------------------------------------
   Etusivun hero on koko leveydeltään tumma ja muotokuva vuotaa reunaan asti.
   Maalauksen salvianvihreä tausta sulautuu oliivinhiileen pehmennyksellä.
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--deep);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}

/* Hyvin hillitty valo oikeasta yläkulmasta, jotta tausta ei ole lattea. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 0%, rgba(187, 167, 110, .16), transparent 62%),
    radial-gradient(80% 70% at 0% 100%, rgba(0, 0, 0, .35), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 104px) 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: .4em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--brass-lite); }

.hero .eyebrow { color: var(--brass-lite); }

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 36em;
  color: rgba(255, 255, 255, .76);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

/* Muotokuva on maalaus kehyksineen: se näytetään sellaisenaan,
   pienenä, ilman omaa rajausta tai häivytystä. */
.hero__portrait {
  margin: 0;
  justify-self: end;
  max-width: 300px;
  width: 100%;
}
.hero__portrait img { display: block; width: 100%; height: auto; }

.hero__figure-placeholder {
  display: none;
  border: 1px dashed var(--rule-dark);
  padding: 56px 24px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  text-align: center;
  line-height: 2;
}
.hero__portrait.is-empty .hero__figure-placeholder { display: block; }

.hero__caption {
  margin: 16px 0 0;
  font-size: .82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}
.hero__caption strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .76rem;
  margin-bottom: 4px;
}

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__portrait { justify-self: start; max-width: 220px; }
}

/* --- Tunnusluvut --------------------------------------------------------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--rule);
}
.fact {
  padding: 44px 0 40px;
  border-bottom: 1px solid var(--rule);
  padding-right: 28px;
}
.fact__num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.5vw, 5.2rem);
  color: var(--ink);
  line-height: .95;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.fact__num span { color: var(--brass); }
.fact__label { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; max-width: 22em; }

/* --- Korostettu hinta -------------------------------------------------- */

.rate {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.rate__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rate__unit {
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--muted);
}

/* --- Listat -------------------------------------------------------------- */

.list-rows { border-top: 1px solid var(--rule); }

.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.row__num {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--brass);
  padding-top: .45em;
}
.row h3 { margin: 0; }
.row p { color: var(--ink-soft); margin: 0; }

@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .row__num { padding-top: 0; }
}

/* Yksinkertainen merkkilista */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--rule);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 10px;
  height: 1px;
  background: var(--brass);
}
.section--deep .ticks li { border-bottom-color: var(--rule-dark); }

.cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 5vw, 64px);
}

/* --- Aikajana ------------------------------------------------------------ */

.timeline { border-top: 1px solid var(--rule); margin: 0; }

.tl {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px);
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}
.tl__years {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--brass);
  padding-top: .35em;
}
.tl__role {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 .25em;
  line-height: 1.25;
}
.tl__org { font-size: .95rem; color: var(--muted); margin: 0 0 .7em; }
.tl p { margin: 0; }

@media (max-width: 720px) {
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .tl__years { padding-top: 0; }
}

/* --- Sitaatti ------------------------------------------------------------ */

.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.35;
  color: var(--white);
  font-style: italic;
}
.quote figcaption {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-lite);
}

/* --- Yhteystiedot -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.dl { margin: 0; border-top: 1px solid var(--rule); }
.dl__item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.dl__item dt {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.dl__item dd { margin: 0; font-size: 1.05rem; color: var(--ink); }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 13px 15px;
  transition: border-color .2s ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--brass); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }

.form-note { font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* --- Alatunniste --------------------------------------------------------- */

.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,.62);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  font-size: .93rem;
}
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--brass-lite); }
.site-footer .brand__name { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* --- Yleistä ------------------------------------------------------------- */

.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head .lead { max-width: 40em; margin-top: 1rem; }

.callout {
  border-left: 2px solid var(--brass);
  padding: 4px 0 4px 24px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
}

.center { text-align: center; }
.mt-lg { margin-top: clamp(36px, 5vw, 56px); }

/* Tulostus */
@media print {
  .site-header, .site-footer, .hero__actions, /* Kielivalitsin */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--rule);
}
.nav .lang a,
.nav .lang > span {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0;
  border-bottom: 0;
  color: var(--muted);
}
.nav .lang > span[aria-current] { color: var(--ink); }
.nav .lang a:hover { color: var(--brass); border-bottom: 0; }

.nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
}

/* --- Ilmestyminen vieritettäessä -----------------------------------------
   JS lisää elementeille data-reveal-määritteen ja <html>-elementille luokan,
   joten ilman JavaScriptiä kaikki sisältö näkyy normaalisti.
   -------------------------------------------------------------------------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1),
              transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Hinnasto -----------------------------------------------------------
   Palkkioteksti esitetään sanatarkasti ja tarkoituksella pienellä:
   se on luettavaa pienaineistoa, ei myyntitekstiä.
   -------------------------------------------------------------------------- */

.fine {
  max-width: 44em;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.fine p { margin: 0 0 1.1em; }
.fine ul {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}
.fine li {
  position: relative;
  padding: 0 0 0 20px;
  margin-bottom: .5em;
}
.fine li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 1px;
  background: var(--brass);
}
.fine .fine__intro {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.5em;
}
