/* Runebergia: yhteiset tyylit. Logot ovat hyväksyttyjä kuvia, eivät tekstiä. */
:root {
  --white: #f7f5f2;
  --stone: #d9d3ce;
  --rose: #c9959e;
  --rose-dark: #a76470;
  --ink: #302824;
  --charcoal: #2f2c2b;
  --line: #bd8e89;
  --panel: rgb(250 246 244 / 90%);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 17px/1.6 var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:not(:disabled), [role="slider"] { cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
button, a, [role="slider"], [tabindex] { outline-offset: 5px; }
:focus-visible { outline: 2px solid #814654; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 31px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(120deg, #edd2d4, #ddb0b6); color: #231e1d; text-transform: uppercase; text-decoration: none; font-family: var(--sans); font-size: 14px; letter-spacing: .2em; line-height: 1.3; transition: box-shadow .2s, background-color .2s; }
.button:hover { box-shadow: 0 3px 16px #71434c24; }
.button--outline { border-color: #ab7773; background: transparent; text-transform: none; font: italic 21px/1.4 var(--serif); letter-spacing: .03em; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 16px; letter-spacing: .04em; }
.text-link:hover, a[href^="tel:"]:hover { color: var(--rose-dark); }
.text-link span { font-size: 25px; }
.marble-light { background: #f0e9e7 url('../images/hero-light.webp') center / cover; }
.section-container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.page-title { margin: 0 0 28px; text-align: center; font-size: clamp(40px, 3.7vw, 58px); letter-spacing: .08em; }
.draft-label { display: inline-block; margin-bottom: 16px; border-radius: 99px; padding: 3px 18px; background: #f0dade; color: #673a42; font: italic 16px/1.5 var(--serif); letter-spacing: .035em; }
.draft-note { max-width: 850px; margin: 26px auto 0; font-size: 14px; line-height: 1.6; text-align: center; color: #65504e; }
.page-main { min-height: calc(100svh - 136px); padding: 38px 0 58px; }
.content-panel { padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: 19px; background: var(--panel); }
.content-panel > :last-child { margin-bottom: 0; }

/* Etusivun kaksi täysin samankokoista kerrosta. */
.hero { position: relative; min-height: 520px; height: 100svh; overflow: hidden; isolation: isolate; background: #29292b; touch-action: pan-y; user-select: none; }
.hero__scene { position: absolute; inset: 0; background-position: center; background-size: cover; }
.hero__dark { z-index: 0; color: #f7f5f2; background-color: #29292b; background-image: url('../images/hero-dark.webp'); }
.hero__light { z-index: 1; color: #302824; background-color: #f0e9e7; background-image: url('../images/hero-light.webp'); clip-path: inset(0 0 0 var(--split)); pointer-events: none; }
.hero__logo { position: absolute; top: 19%; left: 50%; width: min(58%, 1040px); max-width: none; transform: translateX(-50%); filter: drop-shadow(0 5px 3px #0006); }
.hero__light .hero__logo { filter: brightness(.28) sepia(.32) drop-shadow(0 4px 3px #54392d3b); }
.hero__slogan { position: absolute; top: 60.6%; left: 50%; width: max-content; max-width: 92%; transform: translateX(-50%); margin: 0; font-size: clamp(16px, 1.75vw, 30px); font-weight: 400; letter-spacing: .19em; line-height: 1.5; text-align: center; }
.hero__booking { position: absolute; top: 71%; left: 50%; width: clamp(230px, 19vw, 330px); min-height: clamp(48px, 3.7vw, 64px); transform: translateX(-50%); font-size: clamp(16px, 1.55vw, 26px); letter-spacing: .17em; text-align: center; background: linear-gradient(110deg, #edcdd0, #d7afb7 50%, #eac4c9); }
.hero__booking:lang(en) {
  padding-inline: 16px;
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: .12em;
  white-space: nowrap;
}
.hero__dark .hero__booking:focus-visible { outline-color: #f5d4d2; }
.hero__light .hero__booking { border-color: #be9690; background: linear-gradient(120deg, #5a4236, #2d2522); color: #f6e7de; }
.hero__arrow { position: absolute; top: 85.4%; left: 50%; display: flex; align-items: center; justify-content: center; width: 64px; height: 52px; transform: translateX(-50%); }
.hero__arrow svg { width: 43px; height: 25px; transition: transform .2s; }
.hero__arrow:hover svg { transform: translateY(4px); }
.hero__divider { position: absolute; inset-block: 0; left: var(--split); z-index: 3; width: 1px; opacity: 0; background: #ffe4cb; box-shadow: 0 0 9px 3px #edb79866, 0 0 28px 9px #d19c7a33; pointer-events: none; }
.hero.is-between .hero__divider { opacity: .85; }
.hero__divider i { position: absolute; left: -3px; width: 7px; height: 7px; background: #fff0e1; border-radius: 50%; box-shadow: 0 0 12px 6px #ffdcba66; transform: rotate(45deg) scale(.4); opacity: 0; }
.hero__divider i:nth-child(1) { top: 17%; }
.hero__divider i:nth-child(2) { top: 53%; }
.hero__divider i:nth-child(3) { top: 82%; }
.hero.is-dragging .hero__divider i { animation: crystal-glint 1.9s ease-in-out infinite; }
.hero.is-dragging .hero__divider i:nth-child(2) { animation-delay: .5s; }
.hero.is-dragging .hero__divider i:nth-child(3) { animation-delay: 1s; }
@keyframes crystal-glint { 0%, 85%, 100% { opacity: 0; transform: rotate(45deg) scale(.3); } 40% { opacity: .85; transform: rotate(45deg) scale(1); } }
.hero__handle { position: absolute; z-index: 5; left: clamp(24px, var(--split), calc(100% - 24px)); top: 49%; display: grid; place-items: center; width: 44px; height: 62px; border: 1px solid #dfc1b0a6; border-radius: 999px; transform: translate(-50%, -50%); color: #f7dfcf; background: #332e2bd1; box-shadow: 0 2px 14px #0003; touch-action: pan-y; }
.hero__handle svg { width: 29px; height: 23px; }
.hero__handle:focus-visible { outline-color: #f7d3b9; box-shadow: 0 0 0 7px #332e2b80; }
.hero.is-dragging, .hero.is-dragging .hero__handle { cursor: ew-resize; }

/* Siro yhteinen ylä- ja alatunniste. */
.site-header, .site-footer { color: #f2eae6; background: #28282a url('../images/chrome-dark.webp') center / cover no-repeat; }
.site-header { position: relative; z-index: 20; background-position: center 35%; }
.site-footer { background-position: center bottom; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 4px 32px; gap: 32px; }
.brand { display: block; width: 164px; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 35px); font-size: 13px; letter-spacing: .05em; }
.main-nav a { position: relative; padding-block: 12px; text-decoration: none; white-space: nowrap; }
.main-nav a::after { content: ''; position: absolute; right: 0; left: 0; bottom: 4px; height: 2px; background: #e6bbc3; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav > span { color: #dbb6ba; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #f3c9ce; }
.language-picker {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid #c9a2a379;
  border-radius: 24px;
  background: #28282add;
  color: #fff6f2;
  font: 600 11px/1 var(--sans);
  letter-spacing: .08em;
}
.language-picker a {
  display: grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border-radius: 20px;
  text-decoration: none;
}
.language-picker a:hover { background: #ffffff24; }
.language-picker a[aria-current="page"] { background: #e8c4cb; color: #32252b; }
.language-picker a:focus-visible { outline-color: #f3c9ce; }
.site-header .main-nav { margin-inline-start: auto; }
.hero .language-picker {
  position: absolute;
  z-index: 8;
  top: max(16px, env(safe-area-inset-top));
  right: clamp(16px, 3vw, 40px);
}
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid #c9a2a36b; border-radius: 50%; color: inherit; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: currentColor; }
.site-footer__inner { display: grid; grid-template-columns: minmax(42px, 1fr) auto; align-items: center; min-height: 72px; padding: 0 28px; gap: 32px; }
.footer-brand { display: block; justify-self: start; width: 42px; }
.site-footer__right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 3vw, 40px); min-width: 0; }
.footer-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 3vw, 40px); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; text-decoration: none; white-space: nowrap; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .025em; }
.footer-nav .footer-nav__contact { color: #f2d6da; font-size: 16px; font-weight: 700; }
.footer-nav a:hover { color: #f3c9ce; }
.socials { display: flex; align-items: center; gap: 9px; }
.socials a { display: grid; place-items: center; width: 36px; height: 40px; padding: 7px; color: #d1c7c4; }
.socials a:hover { color: #f3c9ce; }
.socials svg { width: 23px; height: 23px; }

/* Hyväksytyn palvelunäkymän yhteinen komponentti. */
.services-section { padding: 42px 0 68px; }
body[data-page="palvelut"] .services-section { min-height: calc(100svh - 136px); }
body[data-page="home"] .services-section { padding-top: 66px; }
.category-switch { display: flex; width: min(480px, 100%); margin: 0 auto 28px; border: 1px solid var(--line); border-radius: 999px; }
.category-switch button { flex: 1; min-width: 0; min-height: 46px; padding: 7px 18px; border: 0; border-radius: 999px; background: transparent; font: 23px/1.35 var(--serif); letter-spacing: .04em; }
.category-switch button[aria-selected="true"] { background: #b57e81; color: #221817; }
.service-tabs { display: flex; justify-content: space-between; margin: 0 0 34px; border-bottom: 1px solid #b6a3a05c; gap: 12px; }
.service-tabs button { position: relative; flex: 0 1 auto; min-height: 60px; padding: 12px 10px 15px; border: 0; background: transparent; font-size: 14px; letter-spacing: .025em; }
.service-tabs button::after { content: ''; position: absolute; inset: auto 0 -1px; height: 4px; background: #b57e81; transform: scaleX(0); }
.service-tabs button[aria-selected="true"] { font-weight: 700; }
.service-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.service-tabs button:hover { color: #7c4651; }
.service-card { display: grid; grid-template-columns: 45% 55%; overflow: hidden; min-height: 370px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.service-card__media { position: relative; min-height: 350px; background: #d6c9c1; }
.service-card__media img { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; }
.service-card__placeholder { display: flex; min-height: 100%; align-items: center; justify-content: center; padding: 32px; color: #6b5652; background: linear-gradient(125deg,#e4d8d1,#f4edeb); font: italic 24px/1.5 var(--serif); text-align: center; }
.service-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 55px); }
.service-card h3 { margin: 0 0 22px; font-size: clamp(32px, 3vw, 48px); font-style: italic; }
.service-card__intro { margin-bottom: 22px; font-size: 18px; letter-spacing: .025em; }
.service-card__detail { margin-bottom: 25px; font-size: 13px; line-height: 1.9; letter-spacing: .035em; }
.service-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 30px; margin-top: 5px; }
.empty-panel { max-width: 1000px; min-height: 290px; margin: 35px auto 0; padding: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); text-align: center; }
.empty-panel h3 { font-size: 36px; }
.empty-panel p:last-child { max-width: 600px; margin: 0 auto; }

/* Sisäsivujen ensimmäiset sisältörungot. */
.price-list { max-width: 1000px; margin: 0 auto; }
.price-list details { overflow: hidden; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.price-list summary, .legal-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 9px 25px; cursor: pointer; font: italic 25px/1.25 var(--serif); list-style: none; }
summary::-webkit-details-marker { display: none; }
.price-list summary::after, .legal-list summary::after { content: '+'; font: 28px/1 var(--serif); }
.price-list details[open] > summary::after, .legal-list details[open] > summary::after { content: '−'; }
.price-list details[open] > summary { background: #e9d6d475; }
.price-subgroup { padding: 11px 29px; }
.price-subgroup h3 { margin: 11px 0 10px; font-size: 20px; }
.price-subgroup table { width: 100%; border-collapse: collapse; font-family: var(--serif); font-size: 19px; }
.price-subgroup :is(th, td) { padding: 4px 6px; border-bottom: 1px solid #cdb7b44d; }
.price-subgroup th { text-align: left; font-weight: 400; }
.price-subgroup td:last-child { text-align: right; white-space: nowrap; padding-left: 20px; }
.price-subgroup tr:last-child :is(th, td) { border-bottom: 0; }
.price-subgroup p { margin: 10px 6px 7px; font-size: 13px; }
.center-actions { display: flex; justify-content: center; margin-top: 28px; }
.about-intro { display: grid; grid-template-columns: 57% 43%; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; }
.about-intro > img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.about-intro__copy { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.about-intro h2 { margin-bottom: 24px; font-size: clamp(30px, 3.1vw, 49px); font-style: italic; }
.about-intro p { font: 22px/1.5 var(--serif); }
.subheading { margin: 40px 0 25px; text-align: center; font-size: 37px; letter-spacing: .035em; }
.staff-placeholders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: 1050px; margin: 0 auto 45px; text-align: center; }
.staff-placeholders .portrait { display: flex; justify-content: center; align-items: center; aspect-ratio: 1 / 1.1; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(135deg,#d9cdc7,#f7f2ef 45%,#d7c9c3); color: #725d58; font-size: 14px; }
.staff-placeholders h3 { font-size: 24px; margin-bottom: 7px; }
.staff-placeholders p { font: italic 17px/1.5 var(--serif); }
.legal-list { display: grid; gap: 12px; }
.legal-list details { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.legal-list summary { min-height: 56px; }
.legal-list details[open] summary { background: #ecd7d978; }
.legal-list details > p { padding: 18px 28px; margin: 0; }
.legal-intro { margin: -12px 0 28px; text-align: center; font: italic 23px/1.5 var(--serif); }
.narrow-panel { max-width: 860px; margin-inline: auto; }
.narrow-panel h2 { font-size: 35px; }

@media (max-width: 1000px) {
  .section-container { width: calc(100% - 56px); }
  .site-header__inner { padding-inline: 24px; gap: 24px; }
  .brand { width: 164px; }
  .main-nav { gap: 15px; font-size: 13px; }
  .service-tabs { gap: 4px; }
  .service-tabs button { font-size: 12px; padding-inline: 7px; }
  .service-card__intro { font-size: 16px; }
  .service-card__body { padding: 28px; }
  .service-card__actions { gap: 10px 20px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section-container { width: calc(100% - 36px); }
  .hero { height: 100svh; min-height: 610px; max-height: 1000px; }
  .hero__scene { background-position: 50% 50%; }
  .hero__logo { top: 24%; width: 86%; }
  .hero__slogan { top: 49%; max-width: calc(100% - 56px); font-size: clamp(15px, 3.6vw, 23px); letter-spacing: .12em; line-height: 1.7; }
  .hero__booking { top: 62%; width: 220px; min-height: 52px; font-size: 18px; }
  .hero__arrow { top: 77%; width: 56px; }
  .hero__arrow svg { width: 34px; }
  .hero__handle { top: 43%; height: 58px; width: 44px; }
  .site-header__inner { min-height: 60px; padding: 4px 18px; }
  .brand { width: 146px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; border-top: 1px solid #e4c6bd29; background: #29282a; box-shadow: 0 12px 22px #0002; font-size: 16px; }
  .main-nav.is-open { display: flex; }
  .main-nav > span { display: none; }
  .main-nav a { width: fit-content; padding-block: 9px; }
  .site-footer__inner { min-height: 108px; padding: 8px 16px; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 16px; }
  .footer-brand { grid-column: 1; grid-row: 2; width: 34px; }
  .site-footer__right { display: contents; }
  .footer-nav { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
  .footer-nav a { min-height: 44px; padding: 0; white-space: normal; overflow-wrap: anywhere; font-size: 11px; line-height: 1.35; }
  .footer-nav a:first-child { justify-self: start; }
  .footer-nav .footer-nav__contact { justify-self: center; white-space: nowrap; font-size: 14px; }
  .footer-nav a:last-child { justify-self: end; text-align: right; }
  .site-footer .socials { grid-column: 2; grid-row: 2; justify-self: end; }
  .socials { gap: 0; }
  .socials a { width: 44px; height: 44px; padding: 10px; }
  .socials svg { width: 22px; height: 22px; }
  .page-main { padding: 32px 0 40px; min-height: calc(100svh - 136px); }
  .page-title { margin-bottom: 26px; font-size: 44px; letter-spacing: .055em; }
  .services-section, body[data-page="home"] .services-section { padding: 35px 0 44px; }
  .category-switch { width: min(410px, 100%); margin-bottom: 20px; }
  .category-switch button { min-height: 48px; padding-inline: 9px; font-size: 21px; }
  .service-tabs { flex-wrap: wrap; justify-content: center; margin-bottom: 24px; gap: 0; border-bottom: 0; }
  .service-tabs button { flex: 0 1 33.333%; min-height: 54px; padding: 8px 7px 10px; border-bottom: 1px solid #b6a3a05c; font-size: 12px; line-height: 1.5; }
  .service-tabs button::after { height: 3px; }
  .service-card { grid-template-columns: 1fr; min-height: 0; }
  .service-card__media { min-height: 0; aspect-ratio: 1.36; }
  .service-card__body { padding: 27px 24px 30px; }
  .service-card h3 { font-size: 37px; }
  .service-card__intro { font-size: 16px; }
  .service-card__detail { font-size: 12px; margin-bottom: 18px; }
  .service-card__actions { gap: 13px 25px; }
  .empty-panel { padding: 30px 20px; margin-top: 24px; }
  .price-list summary, .legal-list summary { min-height: 52px; padding: 12px 16px; font-size: 21px; }
  .price-subgroup { padding: 8px 10px 16px; }
  .price-subgroup h3 { padding-inline: 6px; font-size: 19px; }
  .price-subgroup :is(th, td) { font-size: 16px; vertical-align: top; }
  .content-panel { padding: 26px 21px; border-radius: 13px; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro > img { aspect-ratio: 4 / 3; }
  .about-intro__copy { padding: 27px 17px 20px; }
  .about-intro h2 { font-size: 35px; }
  .about-intro p { font-size: 20px; }
  .subheading { margin-top: 34px; font-size: 31px; }
  .staff-placeholders { gap: 18px; grid-template-columns: 1fr; max-width: 300px; }
  .staff-placeholders .portrait { aspect-ratio: 1.1; }
  .legal-list details > p { padding: 17px; font-size: 15px; }
  .legal-intro { font-size: 20px; }
}
@media (max-width: 360px) {
  .hero__slogan { max-width: calc(100% - 40px); font-size: 14px; letter-spacing: .08em; }
  .service-tabs button { flex-basis: 50%; }
  .category-switch button { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* v0.4 – täytetyt sisäsivut ja paikallaan pysyvä marmoripinta. */
body:not([data-page="home"]) { position: relative; isolation: isolate; background: #eee7e4; }
body:not([data-page="home"])::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #eee7e4 url('../images/hero-light.webp') center / cover no-repeat; }
.marble-light { background: transparent; }
.section-container { width: min(1100px, calc(100% - 80px)); }
.page-main { padding: 28px 0 38px; }
.page-title { margin-bottom: 24px; font-size: clamp(36px, 3.2vw, 48px); }
.page-lead { margin: -10px 0 24px; text-align: center; font: italic 19px/1.5 var(--serif); }
.work-note { color: #6a5252; font-size: 12px; line-height: 1.6; }
.eyebrow { margin: 0 0 7px; color: #8b5861; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: #685a57; }
:where(body:not([data-page="home"])) .button { min-height: 44px; font-size: 12px; padding: 10px 26px; }
.button--outline { font: italic 18px/1.4 var(--serif); letter-spacing: .02em; }
.text-link { font-size: 14px; }
.services-section { padding: 28px 0 40px; }
.category-switch { width: min(430px, 100%); margin-bottom: 12px; }
.category-switch button { min-height: 44px; font-size: 21px; }
.service-notice { min-height: 20px; margin: 0 auto 12px; text-align: center; }
.service-tabs { margin-bottom: 22px; gap: 10px; }
.service-tabs button { min-height: 48px; padding: 10px 8px 12px; font-size: 13px; }
.service-card { grid-template-columns: 44% 56%; min-height: 350px; background: rgb(250 247 245 / 94%); }
.service-card__media { margin: 0; min-height: 350px; }
.service-card__body { padding: 30px; }
.service-card h3 { font-size: clamp(29px, 2.7vw, 39px); margin-bottom: 17px; }
.service-card__intro { margin-bottom: 17px; font-size: 16px; line-height: 1.6; letter-spacing: 0; }
.service-card__detail { margin-bottom: 20px; font-size: 12px; line-height: 1.8; letter-spacing: .01em; }
.service-card__actions { gap: 12px 24px; }

/* Hinnaston pitkät ryhmät vierivät laatikon sisällä. Taustaa ei mitoiteta laatikon mukaan. */
.price-container { max-width: 900px; }
.price-status { min-height: 20px; margin: 9px auto 13px; max-width: 780px; text-align: center; font-size: 11px; }
.price-list details { margin-bottom: 5px; border-radius: 7px; background: rgb(251 248 246 / 96%); }
.price-list summary { min-height: 34px; padding: 7px 20px; font-size: 21px; line-height: 1.15; }
.price-list summary::after { font-size: 23px; }
.price-body { max-height: clamp(150px, calc(100svh - 690px), 250px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bc9294 #f4ebe8; }
.price-subgroup { padding: 7px 19px 10px; }
.price-subgroup + .price-subgroup { border-top: 1px solid #ddc8c54d; }
.price-subgroup h3 { margin: 5px 4px 8px; font-size: 17px; font-style: italic; }
.price-subgroup table { font-family: var(--sans); font-size: 14px; line-height: 1.45; }
.price-subgroup :is(th, td) { padding: 4px 5px; }
.price-list[data-category="beauty"] .price-body { max-height: min(56svh, 520px); }
.price-subgroup .treatment-description {
  display: block;
  margin-top: 4px;
  color: #604c4b;
  font-size: .88em;
  line-height: 1.6;
}
.price-subgroup .treatment-duration {
  display: block;
  margin-top: 2px;
  color: #604c4b;
  font-size: .86em;
}
.price-list[data-category="beauty"] :is(th, td) { padding-block: 9px; vertical-align: top; }
.price-subgroup p.price-note { margin: 8px 5px 0; font-size: 11px; line-height: 1.5; color: #705451; }
.price-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 17px; }
.price-bottom p { max-width: 580px; margin: 0; color: #66514e; font-size: 11px; line-height: 1.7; }
.price-bottom .button { flex-shrink: 0; min-height: 40px; }
.price-guide { margin-top: 15px; font-size: 12px; color: #65514f; }
.price-guide summary { cursor: pointer; }
.price-guide summary:hover { color: var(--rose-dark); }
.price-guide :is(p, ul) { margin: 8px 0; line-height: 1.7; }
.price-guide ul { padding-inline-start: 18px; }

/* Yhteystiedot ja henkilökunnan asiointilinkit. */
.contact-container { max-width: 880px; }
.contact-container .page-lead { font-size: 16px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding: 27px 32px; gap: 30px; border-radius: 15px; }
.contact-grid > section + section { padding-inline-start: 30px; border-inline-start: 1px solid var(--line); }
.contact-grid h2 { margin: 0 0 14px; font-size: 23px; font-style: italic; }
.contact-grid h3 { margin: 20px 0 6px; font-size: 18px; font-style: italic; }
.contact-grid address { font: normal 15px/1.65 var(--serif); }
.contact-grid p { margin: 0 0 12px; font: 14px/1.65 var(--sans); }
.contact-grid .button { margin-top: 3px; }
.contact-footnote { margin: 18px auto 0; text-align: center; max-width: 740px; font-size: 11px; }
.contact-people { margin: 0; padding: 0; list-style: none; }
.contact-person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(150px, 6fr); align-items: start; gap: 9px 14px; padding-block: 10px; border-bottom: 1px solid #bd8e894d; }
.contact-person:first-child { padding-top: 0; }
.contact-person:last-child { padding-bottom: 0; border-bottom: 0; }
.person-name { display: block; font: 700 17px/1.4 var(--serif); }
.person-role { display: block; font-size: 12px; color: #685a57; overflow-wrap: anywhere; }
.person-links, .team-actions { display: flex; align-content: flex-start; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; }
.person-links > a, .team-actions > a { display: inline-flex; align-items: center; min-height: 30px; max-width: 100%; padding: 3px 10px; border: 1px solid #b9938b66; border-radius: 999px; background: rgb(237 215 213 / 22%); line-height: 1.5; }
.person-links > a:hover, .team-actions > a:hover { border-color: var(--rose-dark); background: rgb(237 215 213 / 48%); }
.person-links > .instagram-link, .team-actions > .instagram-link { justify-content: center; align-self: center; flex: none; width: 36px; height: 36px; min-height: 36px; padding: 6px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 85%); color: var(--rose-dark); }
.instagram-link svg { width: 24px; height: 24px; }
.person-links > .instagram-link:hover, .team-actions > .instagram-link:hover { background: #fff; box-shadow: 0 0 0 1px var(--rose-dark); }
.phone-actions { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; max-width: 100%; vertical-align: middle; }
.person-links .phone-actions, .team-actions .phone-actions { flex-basis: 100%; }
.person-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.whatsapp-link { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; }
.whatsapp-link img { display: block; border-radius: inherit; }
.whatsapp-link:hover { box-shadow: 0 0 0 1px #25d366; }

/* Meistä: tilakuva ja kolme samankokoista esittelykorttia. */
.about-container { max-width: 1030px; }
.about-intro { grid-template-columns: 43% 57%; padding: 10px; border-radius: 14px; }
.about-intro > img { min-height: 260px; max-height: none; object-fit: cover; border-radius: 9px; }
.about-intro__copy { padding: 18px 27px; }
.about-intro h2 { margin-bottom: 14px; font-size: 32px; }
.about-intro p { margin-bottom: 11px; font: 14px/1.75 var(--sans); }
.about-intro p:last-child { margin-bottom: 0; }
.subheading { margin: 32px 0 20px; font-size: 29px; letter-spacing: .025em; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.team-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #bd8e897d; border-radius: 10px; background: rgb(250 247 245 / 91%); }
.team-card figure { position: relative; margin: 0; aspect-ratio: 4 / 5; background: var(--charcoal); }
.team-card figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.team-card--cosmetologist figure img { object-position: 50% 15%; }
.team-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px; }
.team-copy h3 { margin: 0 0 12px; font-size: 27px; }
.team-copy p { margin-bottom: 11px; font-size: 12px; line-height: 1.75; }
.team-copy .eyebrow { font-size: 10px; margin-bottom: 5px; }
.team-actions { margin-top: auto; padding-top: 8px; min-height: 54px; }
.skills-section { margin-top: 32px; padding-top: 1px; }
.skills-section > .subheading { margin-top: 0; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.skills-grid article { padding: 22px; border: 1px solid #b9938b80; border-radius: 12px; background: rgb(255 250 247 / 58%); }
.skills-grid h3 { font-size: 23px; margin-bottom: 10px; font-style: italic; }
.skills-grid p { margin-bottom: 0; font-size: 13px; line-height: 1.8; }

/* VIART-tuotevalikoima. */
.products-intro { max-width: 800px; margin: 0 auto 24px; text-align: center; }
.products-intro p { margin-bottom: 12px; font-size: 14px; line-height: 1.75; }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 20px; }
.product-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.product-filters button { min-height: 38px; padding: 8px 17px; border: 1px solid #bf96927d; border-radius: 30px; color: #513c3b; background: rgb(250 246 244 / 85%); font-size: 12px; }
.product-filters button[aria-pressed="true"] { color: #221817; background: #ad767d; border-color: #ad767d; }
.product-toolbar > p { margin: 0; white-space: nowrap; font-size: 11px; color: #6e5351; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #bd8e89; border-radius: 11px; background: rgb(252 249 247 / 93%); }
.product-card__image { aspect-ratio: 1; overflow: hidden; background: #292826; }
.product-card__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-card__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px; }
.product-type { margin: 0 0 6px; color: #925560; font-size: 11px; }
.product-card h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: .015em; overflow-wrap: anywhere; }
.product-size { margin: 0; color: #6f5753; font-size: 11px; }
.product-description { margin: 13px 0 0; font-size: 13px; line-height: 1.75; }
.product-benefits { flex: 1; display: flex; flex-direction: column; gap: 6px; margin: 12px 0 16px; padding: 0; list-style: none; }
.product-benefits li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 13px; line-height: 1.55; }
.product-benefits svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: #a65d6c; }
.product-benefits span { min-width: 0; overflow-wrap: anywhere; }
.product-actives { min-width: 0; padding: 12px 14px; border: 1px solid #c69a98; border-radius: 9px; color: #f8eee7; background: linear-gradient(115deg, #3c3132, #292727); }
.product-actives h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #f1c7cb; font-size: 18px; line-height: 1.3; }
.product-actives h3 svg { flex: 0 0 22px; width: 22px; height: 22px; }
.product-actives h3 span { min-width: 0; overflow-wrap: anywhere; }
.product-actives ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.product-actives li { position: relative; min-width: 0; padding-left: 13px; overflow-wrap: anywhere; hyphens: auto; font: 16px/1.4 var(--serif); }
.product-actives li::before { content: ''; position: absolute; top: .55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #e4b2bb; }
.product-usage { margin-top: 16px; border-top: 1px solid #bd8e8999; font-size: 12px; }
.product-usage summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding-top: 9px; cursor: pointer; list-style: none; }
.product-usage summary::-webkit-details-marker { display: none; }
.product-usage summary:hover { color: #925560; }
.product-usage__toggle { flex-shrink: 0; font-size: 20px; line-height: 1; transition: transform .18s; }
.product-usage[open] .product-usage__toggle { transform: rotate(45deg); }
.product-usage p { margin: 8px 0 0; line-height: 1.7; }
@supports (grid-template-rows: subgrid) {
 .product-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
 .product-card__copy { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
 .skills-grid article { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}

/* Täytetyt ajanvaraus- ja juridiset työversiosivut. */
.booking-container { max-width: 870px; }
.booking-panel { max-width: 760px; margin: 0 auto; padding: 32px 38px; text-align: center; }
.booking-panel h2 { font-size: 32px; margin-bottom: 17px; font-style: italic; }
.booking-panel > p { font-size: 14px; line-height: 1.8; }
.booking-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 660px; margin: 19px auto 0; text-align: left; }
.booking-contacts .contact-person { display: flex; flex-direction: column; padding: 13px 16px; border: 1px solid #bd8e897d; border-radius: 8px; }
.booking-note { max-width: 660px; margin: 30px auto 0; }
.booking-note h2 { margin-bottom: 10px; font-size: 24px; font-style: italic; }
.booking-note p { font-size: 13px; line-height: 1.8; margin: 0; }
.legal-container { max-width: 1000px; }
.legal-intro { font-size: 20px; margin-top: -10px; margin-bottom: 16px; }
.legal-status { max-width: 820px; margin: 0 auto 20px; text-align: center; font-size: 11px; }
.legal-container .content-panel { padding: 24px; border-radius: 13px; }
.legal-list { gap: 9px; }
.legal-list summary { min-height: 46px; padding: 10px 20px; font-size: 22px; }
.legal-copy { padding: 17px 21px; }
.legal-copy p { font-size: 14px; line-height: 1.8; margin: 0 0 10px; }
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy a { color: #87505b; font-weight: 600; }
.legal-copy a:hover { color: #613a43; }
.privacy-businesses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 19px 0; }
.privacy-business { min-width: 0; padding: 16px; border: 1px solid #bd8e897d; border-radius: 8px; background: #fff9f53d; }
.privacy-business h3 { margin: 0 0 15px; font-size: 21px; line-height: 1.3; }
.privacy-business dl { margin: 0; font-size: 13px; line-height: 1.55; }
.privacy-business dt { margin-top: 10px; color: #78585d; font-size: 11px; }
.privacy-business dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.legal-copy ul { margin: 0 0 14px; padding-left: 22px; font-size: 14px; line-height: 1.8; }
.legal-copy li + li { margin-top: 7px; }
.privacy-links a { overflow-wrap: anywhere; }
@media (max-width: 700px) {
 .privacy-businesses { grid-template-columns: 1fr; }
 .privacy-business { padding: 15px; }
 .legal-copy ul { padding-left: 19px; font-size: 13px; }
}
.cookie-status { display: flex; align-items: center; gap: 19px; margin-bottom: 23px; }
.cookie-status > span { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; color: #785057; background: #f0dddd; }
.cookie-status h2 { margin-bottom: 7px; font-size: 24px; }
.cookie-status p { margin: 0; font-size: 13px; line-height: 1.7; }

@media (min-width: 701px) and (max-height: 820px) {
 body[data-page="hinnasto"] .category-switch button { min-height: 38px; padding-block: 5px; font-size: 20px; }
 .price-status { margin-block: 7px 10px; }
 .price-body { max-height: clamp(140px, calc(100svh - 640px), 200px); }
 .price-list summary { padding-block: 6px; font-size: 19px; }
 .price-bottom { margin-top: 12px; }
 .price-guide { margin-top: 10px; }
}

@media (max-width: 1000px) {
 .section-container { width: calc(100% - 44px); }
 .service-tabs button { font-size: 12px; }
 .service-card__body { padding: 25px; }
 .team-grid { gap: 18px; }
 .team-copy { padding: 17px; }
 .team-copy p { font-size: 11px; }
 .product-grid { gap: 16px; }
 .product-card__copy { padding: 17px; }
}
@media (min-width: 521px) and (max-width: 850px) {
 .team-grid { grid-template-columns: 1fr; }
 .team-card { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
 .team-card figure { aspect-ratio: auto; min-height: 230px; }
}
@media (max-width: 700px) {
 .section-container { width: calc(100% - 32px); }
 .site-header__inner { gap: 8px; padding-inline: 14px; }
 .site-header .brand { width: clamp(96px, 34vw, 135px); }
 .site-header .language-picker { margin-inline-start: auto; }
 .site-header .menu-toggle { order: 2; flex: 0 0 44px; }
 .site-header .main-nav { margin-inline-start: 0; }
 .language-picker a { min-width: 30px; }
 .page-main { padding: 26px 0 34px; }
 .page-title { font-size: 37px; margin-bottom: 22px; }
 .legal-container .page-title:lang(ru) { font-size: clamp(24px, 7vw, 37px); letter-spacing: .025em; }
 .services-section { padding: 26px 0 34px; }
 .category-switch { margin-bottom: 10px; }
 .category-switch button { font-size: 20px; min-height: 44px; }
 .service-notice { min-height: 36px; font-size: 10px; max-width: 330px; }
 .service-tabs { gap: 0; margin-bottom: 19px; }
 .service-tabs button { min-height: 44px; padding: 8px 6px 10px; font-size: 11px; }
 .service-card { grid-template-columns: 1fr; min-height: 0; }
 .service-card__media { min-height: 0; aspect-ratio: 1.5; }
 .service-card__body { padding: 25px 22px; }
 .service-card h3 { font-size: 32px; }
 .service-card__intro { font-size: 15px; }
 .service-card__detail { font-size: 12px; }
 .service-card__actions { gap: 12px 22px; }
 .price-status { min-height: 34px; font-size: 10px; margin-bottom: 12px; }
 .price-list summary { min-height: 37px; padding: 9px 13px; font-size: 18px; }
 .price-body { max-height: 280px; }
 .price-subgroup { padding: 8px 10px 11px; }
 .price-subgroup :is(th, td) { font-size: 12px; padding-block: 5px; }
 .price-subgroup td:last-child { padding-left: 13px; }
 .price-subgroup h3 { font-size: 16px; }
 .price-bottom { flex-direction: column; align-items: center; gap: 14px; }
 .price-bottom p { font-size: 10px; text-align: center; }
 .contact-grid { grid-template-columns: 1fr; padding: 22px 19px; gap: 21px; }
 .contact-grid > section + section { padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
 .page-lead { font-size: 17px; }
 .about-intro { grid-template-columns: 1fr; }
 .about-intro > img { min-height: 0; max-height: 205px; width: 100%; aspect-ratio: 1.6; }
 .about-intro__copy { padding: 23px 15px 18px; }
 .about-intro h2 { font-size: 30px; }
 .about-intro p { font-size: 13px; }
 .subheading { font-size: 27px; margin-top: 30px; }
 .team-grid { gap: 21px; }
 .team-copy { padding: 19px 17px; }
 .team-copy p { font-size: 12px; }
 .team-copy h3 { font-size: 25px; }
 .skills-grid { grid-template-columns: 1fr; gap: 22px; }
 .skills-grid article { padding: 20px; }
 .skills-grid h3 { font-size: 23px; }
 .products-intro { margin-bottom: 22px; }
 .products-intro p { font-size: 13px; }
 .product-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
 .product-filters { gap: 6px; }
 .product-filters button { padding: 7px 13px; min-height: 36px; font-size: 11px; }
 .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .product-card__copy { padding: 15px 12px; }
 .product-card h2 { font-size: 17px; }
 .product-type, .product-size { font-size: 10px; }
 .product-description, .product-benefits li { font-size: 11px; }
 .product-benefits { gap: 6px; margin: 10px 0 12px; }
 .product-benefits li { gap: 6px; }
 .product-benefits svg { flex-basis: 13px; width: 13px; height: 13px; }
 .product-actives { padding: 10px 9px; border-radius: 8px; }
 .product-actives h3 { margin-bottom: 8px; font-size: 15px; }
 .product-actives h3 svg { display: none; }
 .product-actives li { padding-left: 10px; font-size: 14px; }
 .product-actives li::before { width: 4px; height: 4px; }
 .product-usage { margin-top: 12px; font-size: 11px; }
 .product-usage summary { min-height: 36px; }
 .booking-panel { padding: 27px 22px; }
 .booking-panel h2 { font-size: 29px; }
 .booking-contacts { grid-template-columns: 1fr; }
 .legal-container .content-panel { padding: 15px; }
 .legal-list summary { font-size: 19px; padding: 10px 14px; min-height: 46px; }
 .legal-copy { padding: 15px; }
 .legal-copy p { font-size: 13px; }
 .cookie-status { gap: 12px; align-items: flex-start; }
 .cookie-status h2 { font-size: 22px; }
 .cookie-status p { font-size: 12px; }
}
@media (max-width: 520px) {
 .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
 .product-grid { grid-template-columns: 1fr; }
}


body.admin-bar .hero { height: calc(100svh - 32px); }
@media (max-width:782px) { body.admin-bar .hero { height:calc(100svh - 46px); } }
