/* Sora Consulting / Henri Sora. Dark editorial theme (v2) */

:root {
  --bg: #0c0c0c;
  --bg-alt: #0a0a0a;
  --bg-elev: #141414;
  --border: #1f1f1f;
  --border-soft: #2a2a2a;
  --text: #ffffff;
  --text-muted: #bbbbbb;
  --text-dim: #888888;
  --text-faint: #666666;
  --accent: #e95420;
  --accent-soft: #ff7044;
  --container: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-soft); }

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.2em; }
h3 { font-size: 1.3rem; margin-top: 1em; }
h4 { font-size: 1rem; }

em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; color: var(--text-muted); }

ul, ol { margin: 0 0 1.2em 1.2em; padding: 0; color: var(--text-muted); }
li { margin-bottom: 0.4em; }

blockquote {
  margin: 1.5em 0;
  padding: 0 0 0 1.6em;
  border-left: 2px solid var(--accent);
  font-style: italic;
  font-size: 1.15rem;
  color: #e8e8e8;
  font-weight: 300;
  line-height: 1.5;
}
blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1em;
  font-weight: 400;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header & navigation ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-logo {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}
.site-logo:hover { color: var(--text-faint); }
.site-logo strong { font-weight: 500; color: var(--text-faint); }
.site-logo span { color: var(--text-faint); margin-left: 6px; font-weight: 400; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav li { margin: 0; }
.main-nav a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}
.main-nav .lang-switch { color: var(--text-faint); }

.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown > a::after {
  content: " ▾";
  font-size: 9px;
  opacity: 0.6;
  margin-left: 2px;
}
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  z-index: 100;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
  display: flex;
}
.main-nav .dropdown li { margin: 0; }
.main-nav .dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--text-muted);
}
.main-nav .dropdown a:hover { color: var(--text); background: var(--bg-elev); }
.main-nav .dropdown a.active { color: var(--accent); }
.main-nav .dropdown a.active::after { display: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== Sections (editorial blocks) ===== */

section.block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
section.block-tight { padding: 48px 0; }
section.block-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.eyebrow-accent { color: var(--accent); }

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.eyebrow-line .eyebrow { margin-bottom: 0; }
.eyebrow-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== Hero ===== */

.hero {
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  max-width: 880px;
  margin: 0 auto 22px;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-soft); color: #fff; }
.btn-ghost {
  background: transparent;
  border: 1px solid #444;
  color: var(--text);
}
.btn-ghost:hover { background: transparent; border-color: var(--accent); color: var(--text); }

/* ===== Logo strip ===== */

.logo-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.logo-strip a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.logo-strip a:hover {
  color: var(--text);
}

/* ===== AI value proposition grid ===== */

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 36px;
}
.numbered-grid .item {
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--border);
}
.numbered-grid .item:last-child { border-right: 0; padding-right: 0; padding-left: 22px; }
.numbered-grid .item:not(:first-child):not(:last-child) { padding-left: 22px; padding-right: 22px; }
.numbered-grid .num {
  font-size: 32px;
  color: var(--accent);
  font-weight: 300;
  margin-bottom: 6px;
}
.numbered-grid .item-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}
.numbered-grid .item-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Service / card grids (no boxes, just dividers) ===== */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.editorial-grid .item {
  padding: 28px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.editorial-grid .item:nth-child(3n) { border-right: 0; }
.editorial-grid .item:first-child,
.editorial-grid .item:nth-child(2),
.editorial-grid .item:nth-child(3) { /* keep border on first row */ }
.editorial-grid .item:nth-last-child(-n+3) { border-bottom: 0; }
.editorial-grid h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.editorial-grid p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 14px;
}
.editorial-grid a.more {
  color: var(--accent);
  font-size: 13px;
}
.editorial-grid a.more:hover { color: var(--accent-soft); }

/* ===== Two-column split (book, etc.) ===== */

.split {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.split-media {
  width: 180px;
  flex-shrink: 0;
  background: var(--bg-elev);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-soft);
}
.split-body {
  flex: 1;
  min-width: 260px;
}

/* ===== Quote ===== */

.pull-quote p {
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: #e8e8e8;
  max-width: 700px;
  margin: 0 0 16px;
}
.pull-quote cite {
  font-size: 13px;
  color: var(--text-dim);
  font-style: normal;
}

/* ===== Newsletter ===== */

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form input[type="email"]:focus {
  outline: 0;
  border-color: var(--accent);
}

/* ===== Person/team list ===== */

.person {
  margin: 36px 0;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.person:last-child { border-bottom: 0; }
.person img {
  border-radius: 4px;
  width: 100%;
  background: var(--bg-elev);
}
.person h2 { margin-top: 0; font-size: 1.8rem; }
.person .role {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* ===== Footer ===== */

.site-footer {
  padding: 60px 0 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.site-footer h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
}
.site-footer p, .site-footer ul {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 6px; }
.site-footer ul a { color: var(--text-muted); }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ===== Utility ===== */
.muted { color: var(--text-dim); }
.text-center { text-align: center; }
.max-readable { max-width: 680px; }

/* ===== Case page (white background for readability) ===== */

body.case-page {
  background: #ffffff;
  color: #1a1a1a;
}
body.case-page h1,
body.case-page h2,
body.case-page h3,
body.case-page h4 {
  color: #0a0a0a;
}
body.case-page p,
body.case-page li {
  color: #2a2a2a;
}
body.case-page em { color: var(--accent); }

/* Yleisten sivurakenteen osioiden mukautukset valkoiseen pohjaan */
body.case-page section.block,
body.case-page section.block-tight {
  border-bottom: 1px solid #e6e6e6;
}
body.case-page section.block-alt {
  background: #f6f7f9;
  border-bottom: 1px solid #e6e6e6;
}
body.case-page .hero {
  border-bottom: 1px solid #e6e6e6;
}
body.case-page .hero-lead {
  color: #3a3a3a;
}
body.case-page .eyebrow {
  color: #888;
}
body.case-page .editorial-grid,
body.case-page .numbered-grid {
  border-top: 1px solid #e6e6e6;
}
body.case-page .editorial-grid .item,
body.case-page .numbered-grid .item {
  border-right-color: #e6e6e6;
  border-bottom-color: #e6e6e6;
}
body.case-page .editorial-grid p,
body.case-page .editorial-grid .item p {
  color: #555;
}
body.case-page .numbered-grid .item-desc {
  color: #666;
}
body.case-page .max-readable {
  color: #2a2a2a;
}
body.case-page .btn-ghost {
  border-color: #ccc;
  color: #1a1a1a;
}
body.case-page .btn-ghost:hover {
  border-color: var(--accent);
  color: #1a1a1a;
}
body.case-page .muted {
  color: #888;
}

body.case-page .case-back {
  padding: 24px 0 0;
  font-size: 13px;
}
body.case-page .case-back a {
  color: #666;
  letter-spacing: 0.05em;
}
body.case-page .case-back a:hover { color: var(--accent); }

body.case-page .case-hero {
  padding: 28px 0 36px;
  max-width: 820px;
  margin: 0 auto;
}
body.case-page .case-hero .case-client {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
body.case-page .case-hero .case-client-logo {
  width: 60px;
  height: 60px;
  background: #f4f4f4;
  border: 0.5px solid #e6e6e6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #999;
  flex-shrink: 0;
  overflow: hidden;
}
body.case-page .case-hero .case-client-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
body.case-page .case-hero .case-client-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
body.case-page .case-hero .case-client-name {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}
body.case-page .case-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
body.case-page .case-lead {
  font-size: 18px;
  color: #3a3a3a;
  line-height: 1.55;
  margin: 0;
}

body.case-page .case-stats {
  max-width: 820px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}
body.case-page .case-stats .stat {
  padding: 20px 16px;
  border-right: 1px solid #e6e6e6;
}
body.case-page .case-stats .stat:first-child { padding-left: 0; }
body.case-page .case-stats .stat:last-child { border-right: 0; padding-right: 0; }
body.case-page .case-stats .stat .num {
  font-size: 26px;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
body.case-page .case-stats .stat .num.accent { color: var(--accent); }
body.case-page .case-stats .stat .label {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

body.case-page .case-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 16px;
}
body.case-page .case-body h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
}
body.case-page .case-body p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}

body.case-page .case-quote {
  margin: 36px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--accent);
  font-size: 20px;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.45;
  font-weight: 300;
}
body.case-page .case-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: #666;
  margin-top: 12px;
  font-weight: 400;
}

body.case-page .case-results {
  background: #f6f7f9;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 28px 0;
}
body.case-page .case-results .case-results-label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-bottom: 14px;
}
body.case-page .case-results ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: #1a1a1a;
}
body.case-page .case-results li { margin-bottom: 4px; }

body.case-page .case-cta {
  background: #f6f7f9;
  padding: 56px 24px;
  border-top: 1px solid #e6e6e6;
  text-align: center;
  margin-top: 56px;
}
body.case-page .case-cta-inner {
  max-width: 580px;
  margin: 0 auto;
}
body.case-page .case-cta h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 12px;
}
body.case-page .case-cta p {
  color: #555;
  margin: 0 0 24px;
  font-size: 15px;
}

body.case-page .case-others {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0;
  border-top: 1px solid #e6e6e6;
}
body.case-page .case-others .others-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
body.case-page .case-others .others-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
body.case-page .case-others .other-card {
  padding: 20px;
  border: 0.5px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
}
body.case-page .case-others .other-card .other-name {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
}
body.case-page .case-others .other-card .other-title {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 10px;
}
body.case-page .case-others .other-card a.more {
  color: var(--accent);
  font-size: 12px;
}

/* Case page mobile */
@media (max-width: 720px) {
  body.case-page .case-stats { grid-template-columns: repeat(2, 1fr); }
  body.case-page .case-stats .stat {
    border-right: 0;
    border-bottom: 1px solid #e6e6e6;
    padding: 16px;
  }
  body.case-page .case-stats .stat:nth-child(2n) { border-right: 0; }
}

/* ===== Mobile ===== */
@media (max-width: 820px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 60px 0 50px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
  }
  .main-nav li a {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
  }
  .main-nav .has-dropdown > a::after { display: none; }
  .main-nav .dropdown {
    display: flex;
    position: static;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 24px;
  }
  .main-nav .dropdown a { padding: 8px 0; }

  .numbered-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .numbered-grid .item,
  .editorial-grid .item {
    border-right: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
  }
  .numbered-grid .item:last-child { padding-left: 0; }

  .site-footer .container { flex-direction: column; }
  .person { grid-template-columns: 1fr; }
  .person img { max-width: 160px; }
}

/* ===== Case preview meta line ===== */

.case-meta {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: -6px;
  margin-bottom: 12px;
  line-height: 1.4;
}
body.case-page .case-meta { color: #888; }

.other-card .case-meta {
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 10px;
}

/* ===== SEM360 test modal ===== */

.test-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.test-modal[aria-hidden="false"] { display: block; }
.test-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.test-modal-frame {
  position: relative;
  max-width: 1200px;
  width: calc(100% - 60px);
  height: 90vh;
  margin: 5vh auto;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}
.test-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid #e6e6e6;
  flex-shrink: 0;
}
.test-modal-header strong { color: #1a1a1a; font-weight: 500; font-size: 15px; }
.test-modal-header .muted { color: #888; margin-left: 10px; font-size: 13px; }
.test-modal-close {
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  color: #555;
  width: 36px;
  height: 36px;
  line-height: 1;
  padding: 0;
  border-radius: 4px;
  transition: background 0.15s ease;
}
.test-modal-close:hover { background: #f0f0f0; color: #1a1a1a; }
.test-modal-iframe {
  flex: 1;
  width: 100%;
  border: 0;
  display: block;
}
.test-modal-intro {
  flex: 1;
  overflow-y: auto;
  background: #fff;
}
.test-modal-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 40px 32px;
}
.test-modal-intro h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #1a1a1a;
  line-height: 1.1;
}
.test-modal-intro h2 em { font-style: italic; color: var(--accent); }
.test-modal-lead {
  font-size: 17px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 32px;
}
.test-modal-section { margin-bottom: 28px; }
.test-modal-section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  font-weight: 500;
  margin-bottom: 14px;
}
.test-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.test-modal-list li {
  padding: 12px 0;
  border-bottom: 1px solid #efefef;
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.55;
}
.test-modal-list li:last-child { border-bottom: 0; }
.test-modal-list strong { color: #1a1a1a; font-weight: 500; }
.test-modal-cta {
  margin: 36px 0 0;
}
.test-modal-iframe-wrap {
  flex: 1;
  flex-direction: column;
}
.test-modal-footer {
  padding: 12px 22px;
  border-top: 1px solid #e6e6e6;
  font-size: 13px;
  color: #888;
  text-align: center;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .test-modal-frame {
    width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
  }
}


/* ===== Pilariartikkelit (Aiheittain-lohko) ===== */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.pillar-card {
  padding: 30px 32px;
  border: 1px solid #e6e6e6;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pillar-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.pillar-card .eyebrow {
  margin-bottom: 14px;
  font-size: 11px;
}
.pillar-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.pillar-card h3 em {
  color: var(--accent);
  font-style: italic;
}
.pillar-card p {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.pillar-card .pillar-meta {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.pillar-card .more {
  margin-top: auto;
  align-self: flex-start;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}
.pillar-card.is-placeholder {
  background: #fafafa;
}
.pillar-card.is-placeholder h3 { color: #555; }
.pillar-card.is-placeholder .pillar-meta { color: #999; }
.pillar-card.is-placeholder:hover {
  transform: none;
  box-shadow: none;
  cursor: default;
}
.pillar-card.is-placeholder .more-disabled {
  color: #999;
  font-size: 13px;
  margin-top: auto;
  letter-spacing: 0.04em;
}

/* Book modal - simple popup for book ordering */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.book-modal[aria-hidden="false"] { display: block; }
.book-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.book-modal-frame {
  position: relative;
  max-width: 720px;
  width: calc(100% - 60px);
  margin: 8vh auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  color: #1a1a1a;
}
.book-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  color: #555;
  width: 36px;
  height: 36px;
  line-height: 1;
  padding: 0;
  border-radius: 4px;
  transition: background 0.15s ease;
  z-index: 1;
}
.book-modal-close:hover { background: #f0f0f0; color: #1a1a1a; }
.book-modal-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 40px 44px;
  align-items: start;
}
.book-modal-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.book-modal-body h2 {
  margin: 0 0 16px;
  font-size: 26px;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.book-modal-body p {
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.book-modal-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 600px) {
  .book-modal-body {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    gap: 24px;
  }
  .book-modal-body img {
    max-width: 200px;
    margin: 0 auto;
  }
}
