/* Mediatum Oy – www.mediatum.fi
   Ulkoasu lukittu 1.10.2026 (demo v14). Fontit: SIL Open Font License, ks. assets/fonts. */

@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/eb-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); }

:root {
  --bg: #152128;
  --amber: #D9A441;
  --line: #1E3A44;
  --pad: clamp(20px, 7vw, 100px);
  --serif: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: #EAF1F3;
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; }
a { color: #C6D8DE; text-decoration: none; }
a:hover { color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
svg { display: block; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.serif { font-family: var(--serif); font-weight: 400; }
.tag { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.26em; line-height: 1.4; }
.label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; line-height: 1.4; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #0B1B22; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; color: #0B1B22; }

/* ---------------------------------------------------------------- ylätunniste */
.site-header { position: relative; z-index: 20; }
.hdr { height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.logo-words { display: flex; flex-direction: column; gap: 6px; }
.logo .mk { width: 108px; height: 44.6px; }
.logo .wm { width: 140px; height: 23.4px; }
.logo .tl { width: 140px; height: 12px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav .nl { font-size: 18px; font-weight: 700; letter-spacing: 0.01em; color: #E3ECEF; }
.nav .nl:hover, .nav .nl[aria-current="page"] { color: var(--amber); }
.btn-nav {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px;
  border: 1px solid var(--amber); background: var(--amber); color: #0B1B22; font-weight: 700; font-size: 18px; white-space: nowrap;
}
.btn-nav:hover { background: #E4B357; border-color: #E4B357; color: #0B1B22; }
.lang { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: #5F7F89; }
.lang a { color: #93AEB7; }
.lang a[aria-current="true"] { color: #F4F9FA; }
.lang a:hover { color: var(--amber); }

.menu-btn {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid rgba(234, 241, 243, 0.4); color: #F4F9FA; cursor: pointer;
}
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease, background-color .2s ease; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }
.site-header.open .menu-btn .bars { background: transparent; }
.site-header.open .menu-btn .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-btn .bars::after { transform: translateY(-6px) rotate(-45deg); }

.sub-header {
  background: linear-gradient(180deg, rgba(10, 22, 28, 0.30) 0%, rgba(10, 22, 28, 0) 70%), #152128 url(../img/band.jpg) center / cover no-repeat;
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 600px; background: var(--bg); }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
.hero-bg > div { position: absolute; }
.hero-img { top: -24px; right: -24px; bottom: -24px; left: -24px; background: url(../img/hero.jpg) 80% 50% / cover no-repeat; }
.hero-mist { top: 0; right: 0; bottom: 0; left: 0; background: rgba(196, 212, 219, 0.30); }
.hero-sh-l { top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(17, 27, 34, 0.90) 0%, rgba(17, 27, 34, 0.78) 22%, rgba(17, 27, 34, 0.38) 40%, rgba(17, 27, 34, 0.06) 60%, rgba(17, 27, 34, 0) 75%); }
.hero-sh-t { left: 0; right: 0; top: 0; height: 300px; background: linear-gradient(180deg, rgba(10, 22, 28, 0.76) 0%, rgba(10, 22, 28, 0.62) 30%, rgba(10, 22, 28, 0.28) 62%, rgba(10, 22, 28, 0) 100%); }
.hero-sh-b { left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(21, 33, 40, 0) 0%, #152128 100%); }
.hero-body { position: relative; z-index: 2; padding-top: 52px; padding-bottom: 56px; }
.hero-inner { max-width: 800px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 2.6vw + 23px, 60px); line-height: 1.1; color: #F4F9FA; }
.hero h1 span { display: block; }
.hero h1 .h1b { color: #E2B75C; }
.hero-rest { display: flex; flex-direction: column; gap: 28px; }
.hero-rule { width: 72px; height: 1px; background: var(--amber); }
.hero p { max-width: 580px; font-size: 19px; line-height: 1.65; color: #D2E0E5; }
.btn {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px;
  background: var(--amber); color: #0B1B22; font-weight: 600; font-size: 17px; line-height: 1.3; text-align: center;
}
.btn:hover { background: #E4B357; color: #0B1B22; }

/* animaatio: etenee kerran */
@keyframes mvFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mvLift { from { filter: blur(7px) brightness(1.1); transform: scale(1.05); } to { filter: blur(0) brightness(1); transform: scale(1); } }
@keyframes mvMist { from { opacity: 1; } to { opacity: 0; } }
.mv-s1 { animation: mvFade 1.1s ease-out .4s both; }
.mv-s2 { animation: mvFade 1.1s ease-out 2s both; }
.mv-img { animation: mvLift 2.6s ease-in-out 2.9s both; }
.mv-mist { animation: mvMist 2.6s ease-in-out 2.9s both; }
.mv-rest { animation: mvFade 1s ease-out 3.9s both; }
@media (prefers-reduced-motion: reduce) {
  .mv-s1, .mv-s2, .mv-img, .mv-rest { animation: none; }
  .mv-mist { animation: none; opacity: 0; }
}

/* ---------------------------------------------------------------- tiedustelu / tutkimus */
.duo { display: flex; gap: 28px; align-items: stretch; padding-top: 40px; padding-bottom: 44px; }
.box { flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.box-dark { isolation: isolate; border: 1px solid #36626F; background: #16323C; }
.box-light { background: #F2EFE9; color: #12202B; }
.box h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 1.2vw + 23px, 40px); line-height: 1.1; color: #F4F9FA; }
.box-light h2 { color: #12202B; }
.box p { max-width: 350px; font-size: 17px; line-height: 1.65; color: #B4CAD2; }
.box-light p { color: #3E5261; }
.box .label { margin-top: 8px; color: #93AEB7; }
.box-light .label { color: #6B5535; }
.box .sub { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--amber); }
.box-light .sub { color: #6E5418; }
.box ul { padding-left: 20px; max-width: 350px; font-size: 17px; line-height: 1.8; color: #EAF1F3; }
.box-light ul { color: #12202B; }
.box-dark .tag { color: var(--amber); }
.box-light .tag { color: #8A5F1F; }
.radar { position: absolute; right: -130px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%); z-index: -1; }
.donut { position: absolute; right: 24px; bottom: 28px; width: 226px; height: 210px; }

/* ---------------------------------------------------------------- caset */
.cases { padding-top: 40px; padding-bottom: 56px; }
.cases h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 1.6vw + 29px, 52px); line-height: 1.05; color: #F4F9FA; margin-bottom: 24px; }
.case { display: grid; grid-template-columns: 70px 330px minmax(0, 1fr); align-items: start; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case svg { width: 44px; height: 44px; margin-top: 2px; }
.case-head { display: flex; flex-direction: column; gap: 8px; }
.case .label { color: #93AEB7; }
.case h3 { font-size: 21px; font-weight: 600; line-height: 1.3; color: #EAF1F3; }
.case p { font-size: 17px; line-height: 1.6; color: #B4CAD2; }

/* ---------------------------------------------------------------- amber-kehote */
.cta { background: var(--amber); color: #0B1B22; }
.cta .wrap { min-height: 200px; display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.cta-text { display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 1.4vw + 26px, 46px); line-height: 1.05; }
.cta p { font-size: 18px; line-height: 1.55; max-width: 620px; }
.btn-dark { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 34px; background: #0B1B22; color: #F4F9FA; font-weight: 600; font-size: 17px; flex-shrink: 0; text-align: center; }
.btn-dark:hover { background: #152128; color: #F4F9FA; }

/* ---------------------------------------------------------------- alatunniste */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-id { display: flex; flex-direction: column; gap: 18px; }
.foot-id .logo .mk { width: 96px; height: 39.6px; }
.foot-id .logo .wm, .foot-id .logo .tl { width: 128px; }
.foot-id .logo .wm { height: 21.4px; }
.foot-id .logo .tl { height: 11px; }
.foot-addr { font-size: 15px; line-height: 1.7; color: #93AEB7; font-style: normal; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; font-size: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col .label { color: #93AEB7; }
.foot-col span, .foot-col a { color: #C6D8DE; }
.foot-col a:hover, .linkbtn:hover { color: var(--amber); }
.linkbtn { align-self: flex-start; padding: 0; background: none; border: 0; color: #C6D8DE; font: inherit; font-size: 16px; line-height: inherit; text-align: left; cursor: pointer; }

/* ---------------------------------------------------------------- yritys ja yhteys */
.about { background: #F2EFE9; color: #12202B; }
.about .wrap { padding-top: 56px; padding-bottom: 52px; }
.about .tag { color: #8A5F1F; }
.about h1 { margin: 16px 0 28px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 2vw + 29px, 58px); line-height: 1.06; color: #12202B; }
.about-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 1100px; }
.about p { font-size: 18px; line-height: 1.7; color: #3E5261; }
.about .about-note { margin-top: 22px; max-width: 1100px; font-style: italic; text-wrap: pretty; }

.book { padding-top: 52px; padding-bottom: 40px; scroll-margin-top: 16px; }
.book h2 { margin-bottom: 28px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 1.6vw + 29px, 52px); line-height: 1.05; color: #F4F9FA; }
.book-cal { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.book-cal h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 0.6vw + 25px, 34px); line-height: 1.15; color: var(--amber); }
.book-cal > p { max-width: 852px; font-size: 18px; line-height: 1.7; color: #B4CAD2; }
.book-cal .note { max-width: 852px; font-size: 15px; line-height: 1.6; color: #93AEB7; }
.cal-area { display: flex; flex-direction: column; gap: 16px; width: calc(100% + 48px); max-width: 900px; margin-left: -24px; }
.cal-area .fallback { margin: 0 24px; }
.meetings-iframe-container { width: 100%; }
/* HubSpotin kehykset vaalealla teemalla, jotta selain ei piirrä niille valkoista taustaa tumman sivun päälle */
.meetings-iframe-container, .meetings-iframe-container iframe, .hs-form-frame, .hs-form-frame iframe { color-scheme: light; }
.meetings-iframe-container iframe { width: 100% !important; margin: 0 !important; display: block; }
.fallback { display: flex; flex-direction: column; gap: 12px; border: 1px dashed #A97C1F; padding: 22px; }
.fallback[hidden] { display: none; }
.fallback .label { color: var(--amber); letter-spacing: 0.2em; }
.fallback p { font-size: 16px; line-height: 1.6; color: #B4CAD2; }
.fallback a { align-self: flex-start; display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border: 1px solid var(--amber); color: #F4F9FA; font-weight: 600; font-size: 15px; }
.fallback a[hidden] { display: none; }

.form-box { max-width: 852px; margin-left: 0; background: var(--amber); color: #0B1B22; padding: 24px 32px 20px; display: flex; flex-direction: column; gap: 8px; }
.form-box h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.form-box > p { margin-bottom: 4px; font-size: 16px; line-height: 1.55; color: #2E2409; }
.form-box .nowrap { white-space: nowrap; }
.form-box .fallback { border-color: #6B5418; padding: 18px; }
.form-box .fallback .label { color: #4A3A12; }
.form-box .fallback p { color: #0B1B22; }
.form-box .fallback a { border: 0; background: #0B1B22; color: #F4F9FA; }
.form-box .small { font-size: 13px; line-height: 1.5; color: #4A3A12; }
.form-box .small a { color: #2E2409; text-decoration: underline; text-underline-offset: 2px; }
.form-box .small a:hover { color: #0B1B22; }

/* ---------------------------------------------------------------- tietosuoja */
.pv-intro .wrap { padding-top: 64px; padding-bottom: 40px; }
.pv-intro { border-bottom: 1px solid var(--line); }
.pv-intro .tag { color: #93AEB7; }
.pv-intro h1 { margin: 18px 0 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 1.8vw + 28px, 54px); line-height: 1.06; color: #F4F9FA; }
.pv-intro p { max-width: 760px; font-size: 17px; line-height: 1.7; color: #93AEB7; }
.pv-body .wrap { padding-top: 56px; padding-bottom: 88px; }
.pv-teksti { max-width: 820px; overflow-wrap: break-word; }
.pv-teksti .pv-h { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 0.6vw + 22px, 30px); line-height: 1.15; color: #F4F9FA; margin: 44px 0 14px; }
.pv-teksti .pv-p { font-size: 17px; line-height: 1.75; color: #B4CAD2; margin: 0 0 16px; }
.pv-teksti .pv-ul { margin: 0 0 20px; padding-left: 22px; }
.pv-teksti .pv-ul li { font-size: 17px; line-height: 1.75; color: #B4CAD2; margin-bottom: 12px; }
.pv-teksti strong { color: #EAF1F3; font-weight: 600; }

/* 404 */
.notfound .wrap { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 20px; }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 2vw + 29px, 54px); line-height: 1.1; color: #F4F9FA; }
.notfound p { color: #B4CAD2; max-width: 620px; }

/* ================================================================= responsiivisuus */

/* rengaskaavio pois laatikon päältä, kun laatikko kapenee */
@media (max-width: 1360px) {
  .donut { position: static; align-self: flex-end; margin: -6px -8px -10px 0; }
}

/* tabletti ja puhelin: valikko */
@media (max-width: 1080px) {
  .hdr { height: 88px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--pad) 26px; background: #152128;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav { display: flex; }
  .nav .nl { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .btn-nav { margin-top: 22px; height: 54px; }
  .lang { margin-top: 20px; font-size: 15px; }
  .radar { opacity: 0.55; }
  .hero-sh-l { background: linear-gradient(90deg, rgba(17, 27, 34, 0.90) 0%, rgba(17, 27, 34, 0.80) 38%, rgba(17, 27, 34, 0.45) 62%, rgba(17, 27, 34, 0.10) 88%, rgba(17, 27, 34, 0) 100%); }
}

@media (max-width: 960px) {
  .duo { flex-direction: column; }
  .box { flex: 0 0 auto; }
  .box p, .box ul { max-width: 520px; }
  .case { grid-template-columns: 56px minmax(0, 1fr); gap: 10px 20px; }
  .case p { grid-column: 2; }
  .cta .wrap { flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding-top: 44px; padding-bottom: 44px; }
  .about-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .form-box { margin-left: 0; }
  .foot-cols { gap: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr { height: 76px; }
  .logo { gap: 12px; }
  .logo .mk { width: 78px; height: 32.2px; }
  .logo .wm, .logo .tl { width: 104px; }
  .logo .wm { height: 17.4px; }
  .logo .tl { height: 8.9px; }
  .logo-words { gap: 4px; }

  .hero { min-height: 0; }
  .hero-img { background-position: 74% 50%; }
  .hero-sh-l { background: linear-gradient(90deg, rgba(17, 27, 34, 0.82) 0%, rgba(17, 27, 34, 0.62) 55%, rgba(17, 27, 34, 0.35) 100%); }
  .hero-body { padding-top: 28px; padding-bottom: 28px; }
  .hero-inner { gap: 20px; }
  .hero-rest { gap: 22px; }
  .hero p { font-size: 17px; }
  .btn { width: 100%; }

  .duo { padding-top: 12px; padding-bottom: 20px; gap: 16px; }
  .box { padding: 30px 22px; }
  .radar { width: 280px; height: 280px; right: -120px; top: 34px; transform: none; opacity: 0.45; }
  .box p, .box ul { font-size: 16px; }

  .cases { padding-top: 24px; padding-bottom: 36px; }
  .cases h2 { margin-bottom: 16px; }
  .case { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 16px; padding: 20px 0; }
  .case svg { width: 34px; height: 34px; }
  .case h3 { font-size: 19px; }
  .case p { grid-column: 1 / -1; font-size: 16px; }

  .btn-dark { width: 100%; }
  .cta p { font-size: 17px; }

  .site-footer .wrap { gap: 36px; }
  .foot-cols { gap: 28px 40px; }

  .about .wrap { padding-top: 40px; padding-bottom: 40px; }
  .about p { font-size: 17px; }
  .book { padding-top: 36px; padding-bottom: 32px; }
  .book h2 { margin-bottom: 18px; }
  .book-cal { margin-bottom: 8px; }
  .book-cal > p { font-size: 17px; }
  .form-box { padding: 22px 20px 18px; }
  .form-box h3 { font-size: 27px; }

  .pv-intro .wrap { padding-top: 40px; }
  .pv-body .wrap { padding-top: 36px; padding-bottom: 64px; }
  .pv-teksti .pv-p, .pv-teksti .pv-ul li { font-size: 16px; }
}

/* ---------------------------------------------------------------- HubSpotin evästeikkuna (lisätty 2.10.2026)
   Muotoilee HubSpotin oman bannerin (#hs-eu-cookie-confirmation) sivuston ilmeeseen:
   palkki alareunassa koko leveydeltä, puhelimessa alareunan paneeli.
   Bannerin tekstit muokataan HubSpotissa. */
#hs-eu-cookie-confirmation {
  position: fixed !important; top: auto !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100% !important; max-width: none !important; margin: 0 !important;
  background: #16323C !important; color: #D2E0E5 !important;
  border: 0 !important; border-top: 3px solid #D9A441 !important; border-radius: 0 !important;
  box-shadow: 0 -12px 36px rgba(5, 12, 16, 0.5) !important;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
  z-index: 1000 !important;
  animation: mtCookieIn .45s ease-out both;
}
@keyframes mtCookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #hs-eu-cookie-confirmation { animation: none; } }
#hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner {
  display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 36px; align-items: center;
  max-width: 1440px !important; margin: 0 auto !important; padding: 20px clamp(20px, 7vw, 100px) !important; background: transparent !important;
}
#hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner::before {
  content: ""; grid-row: 1 / span 2; display: block; width: 72px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%20124%201500%20619%22%3E%3Cpath%20fill%3D%22%23F4F9FA%22%20fill-rule%3D%22evenodd%22%20d%3D%22M709.0%20736.1C709.0%20727.4%20707.3%20706.6%20705.5%20692.5C701.0%20657.8%20688.9%20625.4%20669.6%20596.3C662.4%20585.5%20648.2%20568.0%20642.9%20563.5C641.0%20562.0%20640.0%20560.5%20640.6%20560.3C643.2%20559.4%20672.6%20525.1%20683.7%20510.0C702.9%20483.9%20711.2%20469.8%20732.6%20427.5L749.8%20393.6L764.5%20423.0C782.5%20459.0%20786.5%20466.3%20799.6%20486.2C815.4%20510.3%20835.1%20535.5%20852.2%20553.5L859.3%20561.0L851.6%20569.0C842.8%20578.2%20830.8%20594.1%20824.4%20604.9C809.8%20629.6%20797.7%20663.4%20794.5%20688.7C794.1%20691.3%20793.4%20696.4%20792.9%20700.0C792.4%20703.6%20791.7%20714.7%20791.3%20724.8L790.7%20743.0L749.8%20743.0L709.0%20743.0L709.0%20736.1ZM548.1%20552.4C532.9%20530.0%20503.6%20497.8%20482.2%20480.1C423.2%20431.3%20355.9%20401.7%20277.0%20389.8C263.1%20387.7%20258.1%20387.5%20227.5%20387.5C196.9%20387.5%20191.9%20387.7%20178.0%20389.8C116.5%20399.1%2066.1%20418.1%2012.1%20452.3C5.3%20456.6%200.3%20459.3%201.1%20458.3C17.9%20436.5%2046.9%20409.0%2072.5%20390.4C126.1%20351.5%20195.6%20321.5%20261.5%20308.6C315.7%20298.0%20373.2%20298.7%20434.5%20310.6C494.2%20322.2%20560.2%20346.7%20615.1%20377.6C620.3%20380.6%20624.9%20383.0%20625.2%20383.0C626.1%20383.0%20643.3%20359.5%20651.7%20347.0C681.6%20302.1%20702.3%20250.3%20711.4%20198.0C712.8%20190.0%20714.1%20181.0%20714.4%20178.0C716.4%20156.8%20717.2%20141.2%20716.7%20133.2L716.2%20124.0L749.6%20124.0L783.0%20124.0L783.0%20140.2C783.0%20149.2%20783.5%20160.8%20784.0%20166.0C784.6%20171.2%20785.3%20178.0%20785.5%20181.0C787.9%20205.5%20798.1%20245.0%20809.5%20274.0C814.6%20287.1%20828.7%20316.1%20835.1%20326.7C845.8%20344.6%20872.3%20382.9%20874.1%20383.0C874.4%20383.0%20880.0%20380.0%20886.6%20376.4C996.7%20315.5%201121.8%20289.3%201223.5%20306.0C1276.3%20314.7%201333.4%20334.7%201382.0%20361.4C1409.3%20376.5%201446.1%20403.5%201467.9%20424.5C1478.0%20434.2%201500.3%20459.0%201499.6%20459.7C1499.5%20459.9%201495.3%20457.4%201490.4%20454.2C1460.0%20434.2%201426.8%20418.0%201394.0%20407.0C1370.1%20398.9%201351.9%20394.5%201324.6%20390.3C1308.5%20387.7%201305.4%20387.6%201273.0%20387.5C1235.8%20387.5%201225.3%20388.5%201195.5%20394.6C1132.5%20407.6%201073.2%20435.5%201022.5%20475.9C998.4%20495.2%20969.4%20526.4%20951.5%20552.3L944.8%20562.0L935.2%20553.1C876.3%20498.5%20824.9%20433.0%20786.5%20363.5C777.0%20346.3%20761.9%20315.8%20755.0%20299.5C752.6%20294.0%20750.4%20289.1%20750.0%20288.7C749.6%20288.3%20748.4%20290.3%20747.3%20293.2C738.1%20317.0%20712.8%20365.8%20693.7%20396.5C660.5%20449.8%20614.9%20505.7%20572.2%20545.5C564.7%20552.6%20557.8%20559.2%20556.8%20560.2C555.9%20561.2%20555.0%20562.0%20554.8%20562.0C554.7%20561.9%20551.6%20557.6%20548.1%20552.4Z%22%2F%3E%3C%2Fsvg%3E") left center / contain no-repeat;
}
#hs-eu-cookie-confirmation #hs-eu-policy-wording {
  grid-column: 2; margin: 0 0 4px !important; font-family: inherit !important; font-size: 15px !important; line-height: 1.6 !important; color: #D2E0E5 !important;
}
#hs-eu-cookie-confirmation #hs-eu-policy-wording::before {
  content: "Evästeet"; display: inline; margin-right: 10px;
  font-family: 'EB Garamond', Garamond, Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1; color: #F4F9FA;
}
html[lang="en"] #hs-eu-cookie-confirmation #hs-eu-policy-wording::before { content: "Cookies"; }
#hs-eu-cookie-confirmation #hs-eu-policy-wording a { color: #D9A441 !important; text-decoration: underline !important; text-underline-offset: 2px; font-weight: 400 !important; }
#hs-eu-cookie-confirmation #hs-eu-cookie-disclaimer {
  grid-column: 2; margin: 0 !important; font-family: inherit !important; font-size: 13px !important; line-height: 1.55 !important; color: #93AEB7 !important;
}
#hs-eu-cookie-confirmation #hs-en-cookie-confirmation-buttons-area {
  grid-column: 3; grid-row: 1 / span 2; min-width: 300px;
  display: flex !important; flex-direction: column-reverse !important; align-items: stretch !important; justify-content: center !important; gap: 10px; margin: 0 !important;
}
#hs-eu-cookie-confirmation #hs-eu-confirmation-button-group { display: flex !important; gap: 10px; margin: 0 !important; }
#hs-eu-cookie-confirmation #hs-eu-confirmation-button,
#hs-eu-cookie-confirmation #hs-eu-decline-button {
  flex: 1 1 0; display: inline-flex !important; align-items: center; justify-content: center;
  min-height: 46px; margin: 0 !important; padding: 0 20px !important; border-radius: 0 !important;
  font-family: inherit !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important;
  text-decoration: none !important; cursor: pointer; box-shadow: none !important;
}
#hs-eu-cookie-confirmation #hs-eu-confirmation-button { background: #D9A441 !important; border: 1px solid #D9A441 !important; color: #0B1B22 !important; }
#hs-eu-cookie-confirmation #hs-eu-confirmation-button:hover { background: #E4B357 !important; border-color: #E4B357 !important; }
#hs-eu-cookie-confirmation #hs-eu-decline-button { background: transparent !important; border: 1px solid rgba(234, 241, 243, 0.55) !important; color: #F4F9FA !important; }
#hs-eu-cookie-confirmation #hs-eu-decline-button:hover { border-color: #D9A441 !important; color: #D9A441 !important; }
#hs-eu-cookie-confirmation #hs-eu-cookie-settings-button {
  align-self: center; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
  font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; color: #C6D8DE !important;
  text-decoration: underline !important; text-underline-offset: 3px; cursor: pointer;
}
#hs-eu-cookie-confirmation #hs-eu-cookie-settings-button:hover { color: #D9A441 !important; }

/* tabletti: painikkeet tekstin alle */
@media (max-width: 1000px) {
  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner { column-gap: 24px; }
  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner::before { grid-row: 1 / span 3; align-self: start; margin-top: 4px; width: 60px; height: 25px; }
  #hs-eu-cookie-confirmation #hs-en-cookie-confirmation-buttons-area { grid-column: 2; grid-row: 3; flex-direction: row-reverse !important; justify-content: space-between !important; align-items: center !important; margin-top: 14px !important; min-width: 0; }
  #hs-eu-cookie-confirmation #hs-eu-confirmation-button-group { flex: 0 1 360px; }
}
/* puhelin: alareunan paneeli */
@media (max-width: 640px) {
  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner { display: flex !important; flex-direction: column; align-items: stretch; padding: 20px 20px calc(18px + env(safe-area-inset-bottom, 0px)) !important; }
  #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner::before { width: 52px; height: 22px; margin: 0 0 10px; }
  #hs-eu-cookie-confirmation #hs-eu-policy-wording { font-size: 14px !important; margin-bottom: 8px !important; }
  #hs-eu-cookie-confirmation #hs-eu-policy-wording::before { display: block; margin: 0 0 6px; font-size: 24px; }
  #hs-eu-cookie-confirmation #hs-eu-cookie-disclaimer { font-size: 12.5px !important; margin-bottom: 14px !important; }
  #hs-eu-cookie-confirmation #hs-en-cookie-confirmation-buttons-area { flex-direction: column-reverse !important; align-items: stretch !important; margin-top: 0 !important; }
  #hs-eu-cookie-confirmation #hs-eu-confirmation-button-group { flex: none; }
  #hs-eu-cookie-confirmation #hs-eu-cookie-settings-button { padding: 6px 0 0 !important; }
}

@media print {
  .hero-bg, .menu-btn, .skip, .cal-area, .form-box { display: none !important; }
  body { background: #fff; color: #000; }
}
