/* RevenueOps – RevOps-opas (artikkelit)
   Sivupohja käyttää samoja fontteja (Google Fonts), Tailwindia ja
   navigaation tyylejä kuin etusivu. Tämä tiedosto sisältää etusivulta
   kopioidut yhteiset tyylit sekä artikkelien oman typografian ja kuvat. */

:root {
  --burgundy: #491C1D;
  --burgundy-2: #6E3436;
  --rose: #C9A1A2;
  --sand: #D4A373;
  --ink: #231F20;
  --muted: #5E5556;
  --line: #E4D9D9;
  --tint: #F6F0F0;
  --paper: #FFFFFF;
  --head: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Etusivun yhteiset tyylit ---------- */
* { scroll-behavior: smooth; }
body { font-family: var(--body); line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 600; letter-spacing: 0.02em; }

.hero-gradient {
  background: linear-gradient(135deg, #491C1D 0%, #6d2a2b 50%, #8a3638 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  position: relative;
}
.hero-gradient::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.dot-bg { background-image: radial-gradient(#491C1D 0.5px, transparent 0.5px); background-size: 24px 24px; opacity: 0.03; position: absolute; inset: 0; pointer-events: none; }
.text-gradient { background: linear-gradient(to bottom, #ffffff, #e5e7eb); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-color { color: var(--sand); }

nav.site-nav { backdrop-filter: blur(10px); background-color: transparent !important; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
nav.site-nav .nav-link, nav.site-nav a:not(.modern-btn) { color: white !important; }
nav.site-nav .nav-link::after { background-color: white; }
nav.site-nav img { filter: brightness(0) invert(1); }
nav.site-nav #mobile-menu-btn { color: white; }
nav.site-nav.scrolled { background-color: #491C1D !important; box-shadow: 0 10px 30px rgba(73, 28, 29, 0.3); margin: 12px 20px; border-radius: 16px; max-width: calc(100% - 40px); border-bottom: none; }
nav.site-nav.scrolled .container { padding-left: 2rem; padding-right: 2rem; }
#mobile-menu a { color: white !important; }
.nav-link { transition: all 0.3s ease; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background-color: #491C1D; transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link[aria-current]::after { width: 100%; }

.modern-btn { position: relative; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(73, 28, 29, 0.2); }
.modern-btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.1); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; }
.modern-btn:hover::before { width: 300px; height: 300px; }
.modern-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(73, 28, 29, 0.3); }
.glass-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); }
.card-hover { transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.05); }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(73, 28, 29, 0.1); border-color: rgba(73, 28, 29, 0.1); }
@media (prefers-reduced-motion: reduce) {
  .hero-gradient { animation: none; }
  .card-hover:hover, .modern-btn:hover { transform: none; }
  * { scroll-behavior: auto; }
}

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: #fff; color: var(--burgundy); padding: .6rem 1rem; font-weight: 600; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }
nav.site-nav :focus-visible, .hero-gradient :focus-visible, footer :focus-visible { outline-color: #fff; }
#contact, [id] { scroll-margin-top: 6.5rem; }

/* ---------- Artikkelin otsikkoalue ---------- */
.hero-crumbs { font-size: .9rem; color: rgba(255,255,255,.75); margin: 0 0 1.75rem; }
.hero-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.hero-crumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .6; }
.hero-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hero-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem); line-height: 1.1; margin: 0 0 1.25rem; text-wrap: balance; }
.hero-byline { color: rgba(255,255,255,.82); font-size: .98rem; margin: 0; }

/* ---------- Artikkelin palstat ---------- */
.agrid {
  display: grid;
  grid-template-columns:
    [full-start] minmax(1.5rem, 1fr)
    [wide-start] minmax(0, 5rem)
    [content-start] min(42rem, 100% - 3rem)
    [content-end] minmax(0, 5rem)
    [wide-end] minmax(1.5rem, 1fr) [full-end];
}
.agrid > * { grid-column: content; }
.article > .fig, .article > .table-wrap { grid-column: wide; }

.article { color: var(--ink); font-size: 1.125rem; line-height: 1.7; }
.article h2 { font-size: clamp(1.55rem, 1.3rem + .9vw, 1.95rem); line-height: 1.2; margin: 3.25rem 0 .9rem; color: var(--ink); text-wrap: balance; }
.article h3 { font-size: 1.28rem; line-height: 1.3; margin: 2rem 0 .4rem; color: var(--ink); }
.article p { margin: 0 0 1.1rem; }
.article .lead { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.35rem); line-height: 1.6; color: var(--ink); }
.article a { color: var(--burgundy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article a:hover { text-decoration-thickness: 2px; }
.article strong { font-weight: 700; }
.article > ul, .article > ol { padding-left: 1.4rem; margin: 0 0 1.3rem; }
.article > ul { list-style: disc; }
.article > ol { list-style: decimal; }
.article > ul > li, .article > ol > li { margin: 0 0 .55rem; }
.article > ul > li::marker, .article > ol > li::marker { color: var(--burgundy); font-weight: 600; }
.article blockquote { margin: 1.4rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--burgundy); background: var(--tint); font-size: 1.1rem; border-radius: 0 12px 12px 0; }
.article blockquote p { margin: 0; }

/* Taulukot: kapealla näytöllä jokainen rivi pinoutuu kortiksi */
.table-wrap { margin: 1.75rem 0 2rem; overflow-x: auto; }
.article table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.article th { text-align: left; font-weight: 600; background: var(--tint); padding: .7rem .85rem; vertical-align: bottom; border-bottom: 2px solid var(--burgundy); }
.article td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.article td:first-child { font-weight: 600; }
.article .num-table td:not(:first-child), .article .num-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 40rem) {
  .table-wrap { overflow: visible; }
  .article table, .article tbody, .article tr, .article td { display: block; width: 100%; }
  .article thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .article tr { border: 1px solid var(--line); border-top: 3px solid var(--burgundy); margin: 0 0 1rem; border-radius: 4px; }
  .article td { display: grid; grid-template-columns: minmax(6.5rem, 38%) 1fr; gap: .75rem; }
  .article td:last-child { border-bottom: 0; }
  .article td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .9rem; }
  .article td:first-child { background: var(--tint); }
  .article .num-table td:not(:first-child) { text-align: left; white-space: normal; }
}

/* Kuvat */
.fig { margin: 2.25rem 0 2.5rem; padding: clamp(1.1rem, 3vw, 2.25rem); background: var(--tint); border-radius: 4px; }
.fig figcaption { margin-top: 1.25rem; font-size: .95rem; line-height: 1.55; color: var(--muted); max-width: 42rem; }
.fig .fig-title { font: 500 1.15rem/1.3 var(--head); margin: 0 0 1.1rem; color: var(--ink); }

/* 1. Kokonaiskuva (SVG) */
.hub svg { display: block; width: 100%; max-width: 40rem; margin: 0 auto; }
.hub .node rect { fill: var(--paper); stroke: var(--burgundy); stroke-width: 2; }
.hub .node text { font: 500 21px var(--head); fill: var(--ink); }
.hub .spoke { stroke: var(--burgundy); stroke-width: 2; }
.hub .ring { fill: none; stroke: var(--rose); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.hub .core circle { fill: var(--burgundy); }
.hub .core text { font: 600 27px var(--head); fill: #fff; }
.hub .core .sub { font: 400 14px var(--body); fill: #F1E3E3; }
.hub-list { display: none; }
@media (max-width: 34rem) {
  .hub svg { display: none; }
  .hub-list { display: block; }
  .hub-core { margin: 0 auto 1rem; width: 9.5rem; height: 9.5rem; border-radius: 50%; background: var(--burgundy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 600 1.45rem/1.1 var(--head); text-align: center; }
  .hub-core span { font: 400 .8rem/1.3 var(--body); color: #F1E3E3; margin-top: .25rem; }
  .hub-list ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hub-list li { margin: 0; background: var(--paper); border: 2px solid var(--burgundy); border-radius: 999px; text-align: center; padding: .5rem .4rem; font: 500 1.02rem/1.2 var(--head); }
}

/* 2. Myyntisuppilo */
.funnel { list-style: none; margin: 0 auto; padding: 0; max-width: 38rem; }
.funnel li { margin: 0; }
.funnel .stage {
  width: var(--w); min-width: 15.5rem; margin: 0 auto; flex-wrap: wrap;
  background: var(--burgundy); color: #fff; border-radius: 3px;
  display: flex; align-items: baseline; justify-content: center; gap: .55rem;
  padding: .6rem 1rem;
}
.funnel .num { font: 600 1.65rem/1.1 var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.funnel .lbl { font-size: .98rem; }
.funnel .rate { text-align: center; font-size: .88rem; color: var(--muted); padding: .45rem 0 .5rem; position: relative; }
.funnel .result { background: var(--paper); color: var(--burgundy); border: 2px solid var(--burgundy); }

/* 3. Vivut: kertyvä pylväs */
.levers { display: grid; gap: 1.1rem; }
.lever-label { font-size: .95rem; margin-bottom: .3rem; }
.lever-row { display: grid; grid-template-columns: 1fr 6.5rem; align-items: center; gap: .9rem; }
.lever-track { height: 2.1rem; display: flex; background: var(--paper); border-radius: 2px; overflow: hidden; }
.lever-track .base { background: var(--burgundy); }
.lever-track .gain { background: var(--rose); border-left: 2px solid var(--paper); }
.lever-value { font: 600 1.25rem/1 var(--head); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .9rem; color: var(--muted); margin: 1.25rem 0 0; }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: .95rem; height: .95rem; display: inline-block; border-radius: 2px; }
.legend .k-base { background: var(--burgundy); }
.legend .k-gain { background: var(--rose); }

/* 4. CRM-kauppa minimitasolla */
.deal { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--burgundy); border-radius: 3px; max-width: 36rem; margin: 0 auto; padding: 1.25rem 1.4rem; }
.deal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.deal-title { font: 500 1.2rem/1.3 var(--head); }
.deal-value { font: 600 1.4rem/1 var(--head); color: var(--burgundy); }
.deal-stages { list-style: none; display: flex; gap: 3px; padding: 0; margin: 1rem 0 1.2rem; }
.deal-stages li { flex: 1; margin: 0; text-align: center; font-size: .78rem; padding: .35rem .2rem; background: var(--tint); color: var(--muted); }
.deal-stages .done { background: var(--rose); color: var(--ink); }
.deal-stages .current { background: var(--burgundy); color: #fff; font-weight: 600; }
.deal-fields { margin: 0; display: grid; gap: .75rem; }
.deal-fields div { display: grid; grid-template-columns: 1.9rem 1fr; column-gap: .6rem; }
.deal-fields .n { grid-row: span 2; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--burgundy); color: #fff; font: 600 .9rem/1.6rem var(--head); text-align: center; }
.deal-fields dt { font-size: .85rem; color: var(--muted); }
.deal-fields dd { margin: 0; font-weight: 600; line-height: 1.45; }
.deal-note { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .95rem; }
.deal-note .k { font-size: .85rem; color: var(--muted); display: block; margin-bottom: .2rem; }
.deal-note p { margin: 0; }

/* 5. Myyntiputki ja 6. kolme kohtaa */
.pipeline, .flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: st; }
.pipeline { grid-template-columns: repeat(5, 1fr); }
.flow { grid-template-columns: repeat(3, 1fr); max-width: 46rem; }
.pipeline li, .flow li {
  counter-increment: st; margin: 0; position: relative;
  background: var(--paper); border-top: 4px solid var(--burgundy); padding: .9rem .9rem 1rem;
  display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; line-height: 1.45;
}
.pipeline li::before, .flow li::before { content: counter(st); font: 600 .95rem/1 var(--head); color: var(--burgundy); }
.pipeline li:not(:last-child)::after, .flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -.85rem; top: 1.6rem; width: .7rem; height: .7rem;
  border-top: 3px solid var(--burgundy); border-right: 3px solid var(--burgundy); transform: rotate(45deg);
}
.st-name, .fl-name { font: 500 1.1rem/1.2 var(--head); }
.st-rule, .fl-desc { color: var(--ink); }
.st-exit { margin-top: auto; border-left: 3px solid var(--rose); padding-left: .55rem; color: var(--muted); font-size: .86rem; }
.fl-out { margin-top: auto; font-weight: 600; color: var(--burgundy); }
@media (max-width: 52rem) {
  .pipeline, .flow { grid-template-columns: 1fr; gap: 1.6rem; }
  .pipeline li:not(:last-child)::after, .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -1.2rem; transform: translateX(-50%) rotate(135deg); }
}

/* 7. SPIN-portaat */
.stairs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; align-items: end; counter-reset: none; }
.stairs li {
  margin: 0; background: var(--burgundy); color: #fff; padding: 1rem .9rem 1.1rem;
  min-height: calc(8.5rem + var(--s) * 2.4rem);
  display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; border-radius: 3px 3px 0 0;
}
.stairs li:nth-child(1) { background: #6E3436; }
.stairs li:nth-child(2) { background: #5E2829; }
.stairs .letter { font: 600 3rem/1 var(--head); }
.stairs .s-title { font: 500 1.2rem/1.2 var(--head); }
.stairs .s-en { font-size: .8rem; color: #EBD7D7; }
.stairs .s-desc { font-size: .9rem; line-height: 1.4; margin-top: .35rem; }
.need-shift {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .9rem; font-size: .9rem;
}
.need-shift .span { grid-column: 3 / 5; display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 600; }
.need-shift .line { flex: 1; height: 3px; background: var(--burgundy); position: relative; }
.need-shift .line::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 10px solid var(--burgundy); border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; }
@media (max-width: 44rem) {
  .stairs { grid-template-columns: 1fr; gap: .5rem; }
  .stairs li { min-height: 0; margin-left: calc(var(--s) * .9rem); border-radius: 3px; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .8rem; align-items: center; }
  .stairs .letter { grid-row: span 3; font-size: 2.4rem; }
  .stairs .s-desc { grid-column: 2; margin-top: 0; }
  .need-shift { grid-template-columns: 1fr; }
  .need-shift .span { grid-column: 1; }
}

/* 8. Pelikirjan sisällys */
.toc { list-style: none; counter-reset: luku; padding: 0; margin: 0; background: var(--paper); border-left: 10px solid var(--burgundy); max-width: 40rem; }
.toc li { counter-increment: luku; margin: 0; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: .4rem; padding: 1rem 1.25rem 1rem .9rem; border-bottom: 1px solid var(--line); }
.toc li:last-child { border-bottom: 0; }
.toc li::before { content: counter(luku); grid-row: span 2; font: 600 2rem/1 var(--head); color: var(--burgundy); }
.toc .t-part { font: 500 1.2rem/1.25 var(--head); }
.toc .t-desc { font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* 9. Mittaristo ajassa */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 44rem; }
.m-axis { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .7rem; font: 500 1rem/1 var(--head); color: var(--muted); }
.m-axis .ln { height: 3px; background: var(--rose); }
.m-axis .now { color: #fff; background: var(--burgundy); padding: .35rem .7rem; border-radius: 2px; }
.m-axis .ends { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: .85rem; margin-top: -.2rem; }
.m-block { background: var(--paper); padding: 1rem 1.1rem; border-top: 4px solid var(--burgundy); display: flex; flex-direction: column; gap: .25rem; }
.m-block.team { grid-column: 1 / -1; border-top-color: var(--rose); }
.m-name { font: 500 1.15rem/1.2 var(--head); }
.m-q { font-weight: 600; color: var(--burgundy); }
.m-list { font-size: .92rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 36rem) { .metrics { grid-template-columns: 1fr; } }

/* 10. Ostajan matka */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.band { font: 500 .95rem/1 var(--head); padding: .5rem .7rem; color: #fff; border-radius: 2px; }
.band.mkt { grid-column: 1 / 5; grid-row: 1; background: var(--burgundy-2); }
.band.sales { grid-column: 3 / 7; grid-row: 2; background: var(--burgundy); }
.j-stages { grid-column: 1 / -1; grid-row: 3; list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; counter-reset: st; }
.j-stages li { counter-increment: st; margin: 0; background: var(--paper); padding: .75rem .7rem .85rem; border-top: 3px solid var(--rose); font-size: .9rem; line-height: 1.4; display: flex; flex-direction: column; gap: .3rem; }
.j-stages li.meet { border-top-color: var(--burgundy); }
.j-stages li::before { content: counter(st); font: 600 .9rem/1 var(--head); color: var(--burgundy); }
.j-name { font: 500 1.02rem/1.2 var(--head); }
.j-sub { color: var(--muted); font-size: .84rem; }
.j-owner { display: none; font-size: .8rem; font-weight: 600; color: var(--burgundy); }
@media (max-width: 52rem) {
  .journey { grid-template-columns: 1fr; }
  .band { display: none; }
  .j-stages { grid-row: auto; grid-template-columns: 1fr; margin: 0; }
  .j-owner { display: block; }
}


/* 11. Nykyasiakkaat: säilynyt, lisämyynti ja menetetty */
.ret { display: grid; gap: 1.4rem; }
.ret-line { display: grid; grid-template-columns: 1fr 8rem; align-items: center; gap: .9rem; }
.ret-track { position: relative; height: 2.3rem; display: flex; background: var(--paper); border-radius: 2px; }
.ret-track .kept { background: var(--burgundy); }
.ret-track .gain { background: var(--rose); border-left: 2px solid var(--paper); }
.ret-track .lost { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(73,28,29,.18) 6px 8px); border: 2px dashed var(--burgundy-2); border-left: 0; }
.ret-track .start-mark { position: absolute; left: 83.33%; top: -.45rem; bottom: -.45rem; width: 3px; background: var(--ink); }
.ret-value { font: 600 1.2rem/1.1 var(--head); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ret-value span { display: block; font: 400 .85rem/1.3 var(--body); color: var(--muted); margin-top: .2rem; }
.legend .k-lost { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(73,28,29,.35) 3px 4px); border: 1.5px dashed var(--burgundy-2); }
.legend .k-mark { width: 3px; background: var(--ink); }
@media (max-width: 30rem) { .ret-line { grid-template-columns: 1fr; } .ret-value { text-align: left; } }

/* ---------- Lue lisää, usein kysyttyä, lähde, kirjoittaja ---------- */
.related ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.related li { margin: 0; border-bottom: 1px solid var(--line); }
.article .related a { display: block; padding: .85rem 0; font: 600 1.12rem/1.35 var(--head); letter-spacing: .02em; text-decoration: none; }
.article .related a:hover { text-decoration: underline; }
.faq h3 { margin-top: 1.6rem; }
.source { font-size: .95rem; color: var(--muted); }
.author { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 5.5rem 1fr; gap: 0 1.25rem; align-items: start; }
.author img { width: 5.5rem; height: 5.5rem; border-radius: 9999px; object-fit: cover; grid-row: span 3; }
.article .author h2 { font-size: .95rem; margin: 0 0 .2rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.author .name { font: 600 1.3rem/1.2 var(--head); letter-spacing: .02em; margin: 0 0 .5rem; }
.article .author p { font-size: 1rem; }
@media (max-width: 30rem) { .author { grid-template-columns: 1fr; } .author img { grid-row: auto; margin-bottom: 1rem; } }

/* ---------- Yhteydenotto ---------- */
.contact-people { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-people li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 .9rem; align-items: center; }
.contact-people img { width: 3.5rem; height: 3.5rem; border-radius: 9999px; object-fit: cover; grid-row: span 3; }
.contact-people .p-name { font: 600 1.05rem/1.25 var(--head); letter-spacing: .02em; color: #1f2937; }
.contact-people .p-role { font-size: .85rem; color: #4b5563; line-height: 1.35; }
.contact-people .p-links { font-size: .9rem; display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.contact-people a { color: var(--burgundy); }
.contact-people a:hover { color: #6d2a2b; text-decoration: underline; }

/* ---------- Oppaan sisällysluettelo ---------- */
.guide-card .osa { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

@media print {
  nav.site-nav, footer, #contact, .skip { display: none !important; }
  .hero-gradient { background: none; color: #000; padding-top: 1rem !important; }
  .text-gradient { -webkit-text-fill-color: initial; color: #000; background: none; }
  .fig { break-inside: avoid; }
}
