/* ===========================================================
   Laatikainen Enterprises — Warm Editorial Theme
   =========================================================== */

:root {
  --bg:           #F6F1E7;     /* warm cream */
  --bg-alt:       #EFE7D8;     /* deeper sand */
  --ink:          #221C16;     /* dark sepia */
  --ink-soft:     #4A3F33;     /* muted brown */
  --rule:         #C9B98F;     /* warm tan rule */
  --accent:       #B0492C;     /* terracotta */
  --accent-deep:  #823620;     /* burnt brick */
  --moss:         #6B7A4E;     /* sage accent */
  --paper:        #FBF7EE;     /* lightest paper */

  --serif:        'Fraunces', 'EB Garamond', Georgia, serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100vw;
}

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

a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 73, 44, 0.35);
  transition: border-color .2s ease, color .2s ease;
}
a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ----------------- Layout helpers ----------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
  opacity: .6;
}

/* ----------------- Header ----------------- */
.site-header {
  padding: .65rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(6px);
  background: rgba(246, 241, 231, 0.92);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--ink);
  border: 0;
  line-height: 1;
}
.brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}
.brand img {
  display: block;
  height: 110px;
  width: auto;
  max-width: 460px;
}
@media (max-width: 720px) {
  /* Mobile header: logo on its own row, nav + lang toggle on a second row,
     visually separated by a thin rule between the two rows. */
  .site-header { padding: 0; }
  .site-header .container {
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .brand img { max-width: 100%; }
  .nav {
    width: 100%;
    margin: 0;
    padding: .85rem 0;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  .nav a { font-size: .75rem; }
  .lang-toggle { margin-left: auto; }
}
@media (max-width: 520px) {
  .brand img { height: 70px; }
  .nav { gap: .65rem; padding: .8rem 0; }
  .nav a { font-size: .7rem; letter-spacing: .015em; }
  .lang-toggle { font-size: .8rem; }
  .lang-toggle button { padding: .2rem .55rem; }
}
@media (max-width: 380px) {
  .brand img { height: 58px; }
  .nav a { font-size: .68rem; }
}
.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: .95rem;
}
.nav a {
  border: 0;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .8rem;
}
.nav a:hover, .nav a.active { color: var(--accent); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: .9rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .25rem .15rem;
  margin-left: .5rem;
}
.lang-toggle button {
  background: none;
  border: 0;
  padding: .25rem .7rem;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: var(--ink-soft);
  border-radius: 999px;
  letter-spacing: .04em;
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

/* ----------------- Hero ----------------- */
.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}
.hero .eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 1.6rem;
  color: var(--ink);
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 300;
}
.hero .lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  max-width: 56ch;
  color: var(--ink-soft);
  font-weight: 300;
}
.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-meta span strong {
  display: block;
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: .15rem;
}

/* ----------------- Hero panorama band ----------------- */
.hero-panorama {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero-panorama img {
  display: block;
  width: 100%;
  height: clamp(220px, 40vh, 460px);
  object-fit: cover;
  object-position: center 55%;
}
.hero-panorama figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem var(--gutter) 1rem;
  background: linear-gradient(to top, rgba(34, 28, 22, .55), rgba(34, 28, 22, 0));
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--paper);
  letter-spacing: .01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

/* ----------------- Section heads ----------------- */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--rule);
}
.section.alt { background: var(--bg-alt); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: baseline;
}
.section-head .kicker {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--accent-deep); font-weight: 300; }

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
}

/* ----------------- Services ----------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 860px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services { grid-template-columns: 1fr; }
}
.service {
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background .25s ease;
}
.service:hover { background: var(--bg-alt); }
.service .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.service h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 .6rem;
  letter-spacing: -.005em;
}
.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .96rem;
  line-height: 1.55;
}

/* ----------------- Article-style copy ----------------- */
.prose {
  max-width: 64ch;
  font-size: 1.05rem;
}
.prose p { margin: 0 0 1.2em; }
.prose p.dropcap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  padding: .15em .12em 0 0;
  color: var(--accent-deep);
  font-weight: 300;
}
.prose blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--accent-deep);
  border-left: 2px solid var(--accent);
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.2rem;
  font-weight: 300;
}

/* ----------------- About layout ----------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg-alt), var(--rule));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 30% 25%, rgba(176, 73, 44, .15), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(34, 28, 22, .04) 14px 15px);
}
.portrait .initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 11rem;
  color: var(--accent-deep);
  opacity: .3;
  letter-spacing: -.05em;
}

/* Photo variant — cleans away the placeholder treatment */
.portrait--photo {
  aspect-ratio: auto;
  background: var(--bg-alt);
  padding: 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--rule);
}
.portrait--photo::after { content: none; }
.portrait--photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* gentle warm tone to match the editorial palette */
  filter: saturate(0.92) contrast(1.02);
  mix-blend-mode: multiply; /* drops the white studio bg into the cream paper */
}
.portrait--photo figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-soft);
  text-align: center;
  padding: .9rem 0 1.1rem;
  letter-spacing: .01em;
}

.facts {
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
}
.facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}
.facts dt, .facts dd {
  padding: .9rem 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding-right: 1.5rem;
}
.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}

/* In-prose subhead used inside the bio narrative */
.prose .prose-subhead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 2.5rem 0 .75rem;
  color: var(--ink);
  letter-spacing: -.005em;
}
.prose .prose-subhead em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 300;
}

/* Roles list — Markku's professional background */
.role-list {
  margin: 1.75rem 0 1.5rem;
}
.role {
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
}
.role:last-child {
  border-bottom: 1px solid var(--rule);
}
.role-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-bottom: .15rem;
  flex-wrap: wrap;
}
.role-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink);
}
.role-years {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.role-position {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-deep);
  font-size: 1rem;
  font-weight: 300;
  display: block;
  margin-bottom: .65rem;
}
.role p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Education list inside the facts panel */
.edu-entry {
  padding: .65rem 0;
  border-top: 1px dashed var(--rule);
}
.edu-entry:first-child {
  padding-top: 0;
  border-top: 0;
}
.edu-entry:last-child {
  padding-bottom: 0;
}
.edu-entry strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0;
}
.edu-entry em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: .85rem;
  letter-spacing: .04em;
  margin-left: .35rem;
}
.edu-entry [data-fi-block],
.edu-entry [data-en-block] {
  font-size: .92rem;
  color: var(--ink-soft);
  margin-top: .15rem;
  line-height: 1.45;
}

/* ----------------- Work / portfolio ----------------- */
.works {
  display: grid;
  gap: 3rem;
}
.work {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.work:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) {
  .work { grid-template-columns: 1fr; gap: 1.25rem; }
}
.work-cover {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.work-cover .tile {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: rgba(34, 28, 22, .5);
  letter-spacing: -.01em;
  text-align: center;
  padding: 2rem;
}
.work-cover.cover-1 { background: linear-gradient(135deg, #C49A4A, #823620); }
.work-cover.cover-2 { background: linear-gradient(135deg, #6B7A4E, #2C3A23); }
.work-cover.cover-3 { background: linear-gradient(135deg, #B0492C, #5C2412); }
.work-cover.cover-4 { background: linear-gradient(135deg, #E0CFA9, #A38C5F); }
.work-cover.cover-5 { background: linear-gradient(135deg, #4A3F33, #221C16); }
.work-cover .tile { color: rgba(251, 247, 238, .85); }

/* Video cover variant — clickable, with YouTube thumbnail + play icon */
.work-cover--video {
  display: block;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s ease;
}
.work-cover--video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,28,22,.05) 0%, rgba(34,28,22,.55) 100%);
  pointer-events: none;
}
.work-cover--video .play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.work-cover--video .play-icon::before {
  content: '';
  display: block;
  width: 72px;
  height: 72px;
  background: rgba(176, 73, 44, .96);
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0,0,0,.3);
  transition: transform .25s ease, background .25s ease;
}
.work-cover--video .play-icon::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid var(--paper);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 6px;
}
.work-cover--video:hover .play-icon::before {
  transform: scale(1.08);
  background: var(--accent-deep);
}
.work-cover--video .tile-overlay {
  position: absolute;
  bottom: 1.1rem;
  left: 1.2rem;
  right: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--paper);
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  pointer-events: none;
}

/* Embedded YouTube iframe (after click) — replaces .work-cover */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.work-link {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.work-link:hover {
  border-bottom-color: var(--accent-deep);
}

/* Logo cover variant — used when the client's logo is the cover */
.work-cover--logo {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid var(--rule);
}
.work-cover--logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 65%;
  object-fit: contain;
}
.work-cover--logo .tile-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1.2rem;
  right: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
  pointer-events: none;
  border-top: 1px solid var(--rule);
  padding-top: .85rem;
}

/* Screenshot cover variant — used for editorial / press cases */
.work-cover--screenshot {
  display: block;
  background: var(--paper);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}
.work-cover--screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.work-cover--screenshot:hover img {
  transform: scale(1.02);
}
.work-cover--screenshot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,28,22,0) 55%, rgba(34,28,22,.6) 100%);
  pointer-events: none;
  z-index: 1;
}
.work-cover--screenshot .tile-overlay {
  position: absolute;
  bottom: 1.1rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--paper);
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  pointer-events: none;
}

.work-meta {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
  font-weight: 600;
}
.work-meta.featured-engagement {
  margin-top: 1.6rem;
  margin-bottom: .35rem;
  color: var(--ink-soft);
}

/* Inline photo inside an engagement (e.g., lecture photo) */
.engagement-photo {
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.engagement-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.engagement-photo figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  color: var(--ink-soft);
  padding: .65rem .85rem .75rem;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  letter-spacing: .005em;
}
.work h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -.005em;
}
.work h3 em { font-style: italic; color: var(--accent-deep); }
.work p { color: var(--ink-soft); margin: 0 0 1rem; }
.work .tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.work .tag {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--ink-soft);
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* ----------------- CTA ----------------- */
.cta {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--ink);
  color: var(--paper);
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  margin: 0 0 1.2rem;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.cta h2 em { font-style: italic; color: #E5B98A; }
.cta p {
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(251, 247, 238, .8);
  font-weight: 300;
}
.cta a.btn {
  display: inline-block;
  padding: .95rem 1.8rem;
  background: var(--accent);
  color: var(--paper);
  border: 0;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: .12em;
  font-size: .82rem;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.cta a.btn:hover { background: var(--accent-deep); transform: translateY(-1px); border: 0; }

/* ----------------- Footer ----------------- */
.site-footer {
  padding: 3rem 0 2.5rem;
  background: var(--bg);
  font-size: .9rem;
  color: var(--ink-soft);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 720px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 2rem; }
}
.site-footer h4 {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer a { border: 0; color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }
.site-footer .colophon {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: .04em;
}

/* ----------------- Testimonial inside work card ----------------- */
.testimonial {
  margin: 1.75rem 0 1.25rem;
  padding: 1.5rem 1.6rem 1.4rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -.15em;
  left: .35em;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}
.testimonial blockquote p { margin: 0 0 .9em; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial blockquote ul {
  margin: 0 0 .9em;
  padding-left: 1.4em;
  list-style: none;
}
.testimonial blockquote ul li {
  margin-bottom: .35em;
  font-size: .98rem;
  position: relative;
  padding-left: .25em;
}
.testimonial blockquote ul li::before {
  content: '—';
  position: absolute;
  left: -1.2em;
  color: var(--accent);
  font-style: normal;
}
.testimonial figcaption {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
  font-size: .85rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
  font-style: normal;
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .15rem;
  letter-spacing: 0;
}

/* ----------------- Utility / animation ----------------- */
[data-en], [data-fi] { display: inline; }
html[lang="fi"] [data-en] { display: none; }
html[lang="en"] [data-fi] { display: none; }

/* block-level translations */
[data-en-block], [data-fi-block] { display: block; }
html[lang="fi"] [data-en-block] { display: none; }
html[lang="en"] [data-fi-block] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .fade-up.in {
    opacity: 1;
    transform: translateY(0);
  }
}
