
:root {
  --ink: #092b35;
  --deep: #063a46;
  --teal: #006d72;
  --mint: #80d8c7;
  --ice: #eaf5f3;
  --mist: #f4f7f6;
  --orange: #f5a623;
  --line: #cbd9d6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.site-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.demo-ribbon { min-height: 34px; padding: 8px 5vw; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; color: #2d494e; background: #dceae7; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.demo-ribbon a { border-bottom: 1px solid currentColor; font-weight: 700; }
.site-header { height: 82px; padding: 0 5vw; display: flex; align-items: center; gap: 36px; justify-content: space-between; background: rgba(255,255,255,.97); position: relative; z-index: 20; border-bottom: 1px solid rgba(9,43,53,.08); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand strong { font-size: 19px; letter-spacing: .12em; }
.brand small { font-size: 7px; letter-spacing: .15em; color: #527076; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--teal); position: relative; overflow: hidden; }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; width: 5px; height: 23px; border-radius: 100%; background: #fff; position: absolute; transform: rotate(28deg); }
.brand-mark::before { transform: rotate(28deg) translateX(-7px); }
.brand-mark::after { transform: rotate(28deg) translateX(7px); }
.site-header nav { font-size: 13px; font-weight: 650; }
.site-header .navbar-nav { gap: 28px; }
.site-header .nav-link { padding-block: 30px; border-bottom: 2px solid transparent; color: var(--ink); }
.site-header .nav-link:hover, .site-header .nav-link.active { border-color: var(--teal); color: var(--teal); }
.navbar-toggler { border: 0; box-shadow: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 18px; background: white; color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 16px; }
.contact-link { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.language-switcher { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.language-switcher a { min-width: 35px; padding: 7px 9px; border-radius: 999px; text-align: center; color: #567176; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.language-switcher a:hover, .language-switcher a.active { background: var(--deep); color: #fff; }
.contact-link span, .text-link span, .status-copy a span, .news-body a span { color: var(--teal); margin-left: 5px; }
.hero { min-height: 675px; position: relative; display: flex; align-items: center; overflow: hidden; background: #173f4b; color: white; }
.hero-image { position: absolute; inset: 0; background-image: url('/oikosulku-hero.webp'), radial-gradient(circle at 75% 25%, rgba(166,226,215,.65), transparent 22%), linear-gradient(160deg, #8fbec0 0 34%, #4c7b82 34% 52%, #1e5059 52% 65%, #0b3741 65%); background-size: cover; background-position: center; filter: saturate(.78) contrast(1.04); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,39,.93) 0%, rgba(3,31,39,.68) 42%, rgba(3,31,39,.12) 74%), linear-gradient(0deg, rgba(3,31,39,.35), transparent 40%); }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, black, transparent 74%); }
.hero-content { position: relative; z-index: 2; padding-block: 100px 120px; }
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 800; letter-spacing: .19em; color: var(--teal); }
.eyebrow.light { color: var(--mint); }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(50px, 6.3vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 520; }
.hero-lead { max-width: 630px; margin: 32px 0; font-size: 19px; line-height: 1.65; color: #d9e9e7; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 49px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; font-size: 12px; font-weight: 800; letter-spacing: .035em; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--orange); color: #132f36; }
.button.ghost { border-color: rgba(255,255,255,.58); color: white; background: rgba(255,255,255,.04); }
.button.outline { border-color: rgba(255,255,255,.48); color: white; }
.button.dark { background: var(--deep); color: white; }
.scroll-cue { position: absolute; left: 5vw; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #d8e7e6; }
.scroll-cue b { font-size: 18px; color: var(--mint); }
.production { padding-block: 96px 80px; }
.section-heading h2, .intro h2, .feature h2, .responsibility h2, .career h2, .quick h2 { margin: 0; letter-spacing: -.035em; font-weight: 550; }
.section-heading h2 { font-size: clamp(38px, 4vw, 58px); }
.section-heading.compact { margin-bottom: 34px; }
.status-panel { min-height: 300px; display: grid; grid-template-columns: 1.05fr .8fr 1.35fr; background: var(--deep); color: white; box-shadow: 0 20px 55px rgba(5,44,52,.14); }
.status-main, .output-gauge, .status-copy { padding: 46px; }
.status-main, .output-gauge { border-right: 1px solid rgba(255,255,255,.15); }
.status-label { display: flex; align-items: center; gap: 9px; color: #bce8df; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.status-label i { width: 8px; height: 8px; border-radius: 50%; background: #57dfa9; box-shadow: 0 0 0 5px rgba(87,223,169,.13); }
.status-main strong { display: block; margin-top: 36px; font-size: clamp(58px, 6vw, 82px); line-height: 1; font-weight: 500; letter-spacing: -.055em; }
.status-main strong small { font-size: 19px; color: #b9d0d1; letter-spacing: 0; }
.status-main p, .output-gauge p { margin: 10px 0 0; color: #a9c8c9; font-size: 12px; }
.output-gauge { display: grid; place-items: center; align-content: center; }
.gauge { width: 145px; height: 145px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--mint) 0 var(--production, 100%), rgba(255,255,255,.12) var(--production, 100%)); position: relative; }
.gauge::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--deep); }
.gauge span { position: relative; z-index: 1; font-size: 44px; letter-spacing: -.05em; }
.gauge small { font-size: 16px; color: #b5ced0; }
.status-copy { display: flex; flex-direction: column; justify-content: center; }
.status-copy > p { color: #d7e7e6; line-height: 1.65; font-size: 14px; }
.status-copy dl { margin: 15px 0 24px; }
.status-copy dl div { padding: 10px 0; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.status-copy dt { color: #94b8ba; }
.status-copy dd { margin: 0; font-weight: 700; }
.status-copy a { font-size: 12px; font-weight: 800; }
.mock-note { margin: 18px 0 0; color: #678087; font-size: 11px; }
.intro { padding-block: 110px; background: var(--mist); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.intro h2 { max-width: 560px; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.07; }
.intro-copy { padding-top: 26px; }
.intro-copy p { color: #506b70; font-size: 15px; line-height: 1.8; }
.intro-copy .large-copy { color: var(--ink); font-size: 22px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; border-bottom: 1px solid #9db4b3; padding-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { min-height: 150px; padding: 35px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 32px; font-weight: 550; letter-spacing: -.035em; }
.stat span { display: block; margin-top: 10px; color: #6a8184; font-size: 12px; }
.feature { min-height: 680px; display: grid; grid-template-columns: 1.1fr .9fr; }
.feature-visual { min-height: 580px; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(128,216,199,.18), transparent 42%), linear-gradient(125deg, #7a9b9d, #31535a 62%, #193c45); }
.feature-visual::before, .feature-visual::after { content: ""; position: absolute; border-radius: 45% 45% 15% 15%; background: linear-gradient(#f2b339 0 16%, #173d48 16% 42%, #e7eeec 42%); width: 160px; height: 360px; bottom: -90px; left: 28%; box-shadow: 210px 20px 0 -20px rgba(223,234,231,.85); opacity: .72; }
.feature-visual::after { left: 58%; width: 130px; height: 325px; bottom: -80px; box-shadow: none; filter: brightness(.75); }
.feature-visual.has-image { background-position: center; background-size: cover; }
.feature-visual.has-image::before, .feature-visual.has-image::after { display: none; }
.visual-caption { position: absolute; left: 34px; bottom: 28px; z-index: 2; color: white; font-size: 9px; letter-spacing: .15em; }
.dark-copy { padding: 100px clamp(44px, 7vw, 105px); background: var(--deep); color: white; display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-size: clamp(42px, 4.2vw, 62px); line-height: 1.05; }
.feature-copy > p:not(.eyebrow) { max-width: 560px; color: #bed3d3; line-height: 1.8; font-size: 14px; }
.feature-copy .button { align-self: flex-start; margin-top: 22px; }
.news { padding-block: 110px; }
.row-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { border: 1px solid var(--line); background: white; }
.news-visual { height: 205px; position: relative; overflow: hidden; background: linear-gradient(145deg, #8ab8bd, #2c5d65); }
.news-visual.has-image { display: block; background-position: center; background-size: cover; }
.news-visual.has-image::before, .news-visual.has-image::after { display: none; }
.news-visual::before { content: ""; position: absolute; inset: 45% -10% -20%; background: #2f6d70; transform: rotate(-6deg); }
.news-visual::after { content: ""; position: absolute; width: 42%; height: 47%; right: 12%; bottom: 17%; background: rgba(224,237,233,.62); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.news-visual.steel { background: linear-gradient(145deg, #a8b9b7, #526e70); }
.news-visual.forest { background: linear-gradient(145deg, #a0c4ae, #315e53); }
.news-visual span { position: absolute; top: 18px; left: 18px; z-index: 2; color: rgba(255,255,255,.7); font-family: var(--font-geist-mono); font-size: 11px; }
.news-body { padding: 28px; }
.news-meta { margin: 0 0 16px; font-size: 10px; color: #7c9294; }
.news-meta span { color: var(--teal); font-weight: 800; margin-right: 10px; text-transform: uppercase; letter-spacing: .08em; }
.news-card h3 { margin: 0; min-height: 58px; font-size: 21px; line-height: 1.35; font-weight: 600; }
.news-card h2 { margin: 0; min-height: 58px; font-size: 21px; line-height: 1.35; font-weight: 600; }
.news-body > p:not(.news-meta) { min-height: 66px; color: #5e7579; font-size: 13px; line-height: 1.65; }
.news-body a { font-size: 11px; font-weight: 800; }
.responsibility { padding-block: 110px; background: var(--ice); }
.responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.coast-art { height: 520px; position: relative; background: radial-gradient(circle at 30% 18%, #f6d9a8 0 3%, transparent 4%), linear-gradient(#8fc5c4 0 50%, #5a9699 50% 68%, #1a5b54 68%); overflow: hidden; }
.coast-art::before { content: ""; position: absolute; inset: 58% -10% -10%; background: #194c45; clip-path: polygon(0 45%, 14% 19%, 25% 43%, 35% 11%, 44% 35%, 58% 5%, 73% 39%, 82% 17%, 100% 42%, 100% 100%, 0 100%); }
.coast-art span { position: absolute; width: 130px; height: 190px; right: 13%; top: 36%; background: #d4dfdc; box-shadow: -57px 35px 0 -20px #c7d8d4; opacity: .72; }
.coast-art.has-image { background-position: center; background-size: cover; }
.coast-art.has-image::before { display: none; }
.responsibility-copy h2 { font-size: clamp(42px, 4.2vw, 60px); line-height: 1.05; }
.responsibility-copy > p:not(.eyebrow) { color: #526f72; line-height: 1.8; }
.responsibility-copy .button-row { margin-top: 32px; }
.career { min-height: 560px; position: relative; display: flex; align-items: center; background: linear-gradient(115deg, #082f39 0 55%, #2c6067 55% 100%); color: white; overflow: hidden; }
.career::before { content: ""; position: absolute; right: 4%; bottom: -160px; width: 48%; height: 650px; border-radius: 50% 50% 0 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 34px, transparent 34px 54px); transform: rotate(-12deg); }
.career-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(128,216,199,.24), transparent 27%); }
.career.has-image { background-position: center; background-size: cover; }
.career.has-image .career-overlay { background: linear-gradient(90deg, rgba(3,31,39,.92), rgba(3,31,39,.35)); }
.career-content { position: relative; z-index: 1; }
.career h2 { max-width: 800px; font-size: clamp(48px, 5.5vw, 76px); line-height: 1; }
.career-content > p:not(.eyebrow) { max-width: 600px; margin: 25px 0 30px; color: #c4d8d8; line-height: 1.7; }
.quick { padding-block: 100px; }
.quick h2 { font-size: clamp(42px, 4vw, 58px); }
.quick-grid { margin-top: 45px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.quick-grid a { min-height: 92px; padding: 24px; display: flex; justify-content: space-between; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.quick-grid a:hover { background: var(--ice); }
.quick-grid span { color: var(--teal); }
footer { padding-top: 80px; background: #062d37; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; padding-bottom: 70px; }
.footer-brand { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; }
.footer-brand .brand-mark { grid-row: 1; }
.footer-brand strong { letter-spacing: .13em; }
.footer-brand p { grid-column: 1 / -1; color: #a9c5c7; line-height: 1.6; }
.brand-mark.pale { background: var(--mint); }
.footer-grid h3 { margin-top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); }
.footer-grid p, .footer-grid a { display: block; color: #b9cccd; font-size: 12px; line-height: 1.9; }
.footer-grid a:hover { color: white; }
.footer-bottom { padding-block: 22px; display: flex; justify-content: space-between; color: #789b9e; font-size: 10px; }

.richtext p { color: inherit; line-height: 1.8; }
.page-hero { min-height: 470px; position: relative; display: flex; align-items: end; padding-block: 100px 80px; color: white; background: linear-gradient(125deg, #07313b, #1f6068); background-position: center; background-size: cover; }
.page-hero.compact-hero { min-height: 360px; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,39,.92), rgba(3,31,39,.25)); }
.page-hero .site-wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: 1; letter-spacing: -.05em; font-weight: 530; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 28px 0 0; color: #d4e4e3; font-size: 18px; line-height: 1.7; }
.listing-page { padding-block: 80px 110px; }
.category-filter { width: min(360px, 100%); margin-bottom: 42px; }
.category-filter label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.news-grid-listing { grid-template-columns: repeat(3, 1fr); }
.pagination-nav { margin-top: 50px; display: flex; justify-content: center; align-items: center; gap: 24px; font-size: 13px; }
.pagination-nav a { color: var(--teal); font-weight: 800; }
.article-header { padding-block: 100px 60px; }
.article-header h1 { max-width: 950px; margin: 15px 0 28px; font-size: clamp(46px, 6vw, 78px); line-height: 1.05; letter-spacing: -.05em; font-weight: 550; }
.article-intro { max-width: 820px; color: #426268; font-size: 21px; line-height: 1.65; }
.article-hero { margin-bottom: 70px; }
.article-hero img, .article-body figure img { width: 100%; height: auto; display: block; }
.article-body { width: min(820px, calc(100% - 48px)); padding-bottom: 110px; color: #2e5056; font-size: 17px; line-height: 1.85; }
.article-body h2 { margin: 60px 0 20px; color: var(--ink); font-size: 34px; letter-spacing: -.025em; }
.article-body figure { margin: 45px 0; }
.article-body blockquote { margin: 45px 0; padding: 24px 30px; border-left: 4px solid var(--teal); background: var(--ice); color: var(--ink); font-size: 22px; }
.article-back { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 800; }

/* Body: tunnusluvut */

.key-figures {
  width: min(1180px, calc(100vw - 48px));
  margin: 64px 0;
  margin-left: 50%;
  padding: 52px;
  transform: translateX(-50%);
  background: var(--ice);
  color: var(--ink);
}

.key-figures__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.article-body .key-figures__header h2 {
  margin: 0 0 14px;
}

.key-figures__header > p {
  margin: 0;
  color: #426268;
  line-height: 1.7;
}

.key-figures__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.key-figure {
  min-width: 0;
  min-height: 190px;
  padding: 30px 26px;
  background: #fff;
}

.key-figure__number {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--deep);
  line-height: 1;
}

.key-figure__value {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.key-figure__unit {
  font-size: 18px;
  font-weight: 700;
}

.key-figure__label {
  margin: 20px 0 0;
  color: #36585e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.key-figure__footnote {
  margin: 12px 0 0;
  color: #627a7e;
  font-size: 12px;
  line-height: 1.5;
}

.key-figures__footnote {
  margin: 20px 0 0;
  color: #526d72;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .site-header { flex-wrap: wrap; height: auto; min-height: 82px; padding-block: 10px; }
  .site-header .navbar-collapse { flex-basis: 100%; }
  .site-header .navbar-nav { gap: 0; padding-bottom: 10px; }
  .site-header .nav-link { padding-block: 12px; }
  .site-header .contact-link { display: none; }
  .language-switcher { margin-left: auto; }
  .status-panel { grid-template-columns: 1fr 1fr; }
  .status-copy { grid-column: 1 / -1; }
  .output-gauge { border-right: 0; }
  .intro-grid, .responsibility-grid { gap: 50px; }
  .feature { grid-template-columns: 1fr; }
  .feature-visual { min-height: 480px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { display: none; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .news-grid-listing { grid-template-columns: 1fr 1fr; }
  .key-figures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .site-wrap { width: min(100% - 30px, 1180px); }
  .demo-ribbon { font-size: 9px; }
  .site-header { min-height: 68px; padding-inline: 15px; }
  .contact-link { display: none; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero { min-height: 650px; }
  .hero-content { padding-top: 70px; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .production, .news, .quick { padding-block: 75px; }
  .status-panel { display: block; }
  .status-main, .output-gauge, .status-copy { padding: 34px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .intro { padding-block: 75px; }
  .intro-grid, .responsibility-grid { grid-template-columns: 1fr; gap: 35px; }
  .intro-copy { padding-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .stat { border-bottom: 1px solid var(--line); }
  .feature-visual { min-height: 390px; }
  .dark-copy { padding: 70px 28px; }
  .row-heading { align-items: flex-start; gap: 24px; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card:last-child { display: block; }
  .news-grid-listing { grid-template-columns: 1fr; }
  .responsibility { padding-block: 75px; }
  .coast-art { height: 360px; }
  .career { min-height: 630px; }
  .career h2 { font-size: 48px; }
  .quick-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .article-body { width: min(100% - 30px, 820px); }
  .key-figures {
    width: calc(100vw - 30px);
    margin-block: 45px;
    padding: 30px 20px;
  }

  .key-figure {
    min-height: 170px;
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .key-figures__grid {
    grid-template-columns: 1fr;
  }
}
