
/* Copyright 2017 The Spectral Project Authors (https://github.com/productiontype/Spectral)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE. */
@font-face { font-family: Spectral; src: url('assets/spectral-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Spectral; src: url('assets/spectral-semibold.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }

/* Brändin nykyinen ilme; ei Kotisivuagentin yleinen väripaletti. */
:root {
  --forest: #173b32; --surface: #eeeee6; --paper: #faf8f2;
  --gold: #80612d; --muted: #53625b; --line: #cdd2c7;
  --space: clamp(3.5rem, 8vw, 7rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--forest); font: 1rem/1.65 Arial, Helvetica, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .wordmark { font-family: Spectral, Georgia, serif; }
h1, h2 { font-weight: 600; letter-spacing: -.045em; line-height: 1.09; }
h1 { font-size: clamp(3.35rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.2rem); }
h3 { font-size: 1.8rem; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
h1 em, h2 em { color: var(--forest); font-style: italic; font-weight: 400; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 5px;
}
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { color: var(--gold); font-size: .875rem; font-weight: 600; letter-spacing: .1em; line-height: 1.6; }
.wordmark { font-size: 2.25rem; line-height: 1.2; letter-spacing: -.06em; font-weight: 600; }
.wordmark span { color: var(--gold); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .75rem 1.45rem; border: 1px solid var(--gold);
  border-radius: .2rem; background: var(--forest); color: var(--paper); font-weight: 600;
  text-align: center; text-decoration: none;
}

.text-link { display: inline-block; width: fit-content; border-bottom: 1px solid var(--gold); padding-block: .25rem; }

.skip-link { position: fixed; z-index: 30; top: 1rem; left: 1rem; transform: translateY(-200%); background: var(--gold); color: var(--forest); padding: .75rem 1rem; }
.skip-link:focus { transform: none; }

/* Yläreuna ja aloitus: tärkein yhteydenotto näkyy heti. */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .header-logo, .site-footer .header-logo { display: block; width: 2.6rem; height: 2.8rem; object-fit: contain; margin-right: .65rem; flex-shrink: 0; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: .875rem; }
.site-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.site-nav .nav-contact { border: 1px solid var(--forest); border-radius: .2rem; padding-inline: 1rem; background: var(--forest); color: var(--paper); font-weight: 600; }
.hero { display: grid; gap: 2.5rem; padding-block: 3rem 3.5rem; align-items: center; }
.hero .eyebrow { margin-bottom: 1.4rem; }
.hero h1 { max-width: 10ch; }
.hero-intro { max-width: 38ch; font-size: 1.125rem; color: var(--muted); margin-top: 1.65rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.4rem; margin-top: 2rem; }
.hero-art { position: relative; background: transparent; border: 0; border-radius: 0; aspect-ratio: 1; }
.hero-art img { position: absolute; width: 200%; max-width: none; right: 0; top: 50%; transform: translateY(-50%); }
.hero-art figcaption { position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--gold); font-size: .75rem; letter-spacing: .08em; }
.brand-line { background: var(--surface); border-block: 1px solid var(--line); }
.brand-line .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-block: 1.25rem; text-align: center; color: var(--gold); font-size: .875rem; }

/* Kolme palvelukokonaisuutta; nykyiset neljä palvelusivua säilyvät. */
.section-heading { display: grid; gap: 1.2rem; margin-bottom: 2.75rem; }
.section-heading h2 { max-width: 15ch; }
.section-heading > p:last-child { max-width: 44ch; color: var(--muted); font-size: 1.0625rem; }
.service-grid { display: grid; gap: 1rem; }
.service-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1rem; padding: 1.8rem; min-width: 0; background: var(--surface); }
.service-icon { color: var(--gold); font-size: .875rem; margin-bottom: 2.25rem; }
.service-card h3 { margin-bottom: 1rem; }
.service-card p { color: var(--muted); }
.service-card .card-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: auto; padding-top: 1.5rem; font-size: .875rem; }
.service-card .text-link { overflow-wrap: anywhere; }

/* Yrityksen oma lähestymistapa. Valokuva on aiemmin käytettyä kuvitusta. */
.about { background: var(--surface); }
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-photo { overflow: hidden; border-radius: 1rem 1rem 35% 1rem; aspect-ratio: 1.05; }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.about-copy .eyebrow { margin-bottom: 1.25rem; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; max-width: 43ch; font-size: 1.0625rem; }
.about-copy .text-link { margin-top: 1.5rem; }
.process-heading { display: grid; gap: 1.2rem; }
.process-heading .eyebrow { margin-bottom: 1.25rem; }
.process-heading > p { color: var(--muted); max-width: 30ch; }
.process-steps { display: grid; gap: 2rem; list-style: none; padding: 0; margin: 2.8rem 0 0; }
.process-steps li { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.step-icon { display: block; color: var(--gold); margin-bottom: 1.5rem; }
.process-steps h3 { margin-bottom: 1rem; }
.process-steps p { color: var(--muted); }

/* Lomake valmistelee sähköpostin. Se ei väitä lähettävänsä viestejä. */
.contact { background: #e4dbc6; color: var(--forest); }
.contact-grid { display: grid; gap: 2.5rem; }
.contact .eyebrow { color: var(--forest); margin-bottom: 1.25rem; }
.contact h2 em { color: var(--forest); }
.contact-intro { max-width: 36ch; margin-top: 1.5rem; font-size: 1.125rem; }
.contact-address { display: inline-block; margin-top: 1.5rem; font-weight: 600; border-bottom: 1px solid var(--forest); }
.contact-location { margin-top: 1rem; font-size: .875rem; }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-width: 0; border: 1px solid rgba(15,42,37,.6); border-radius: .5rem; padding: .85rem 1rem; color: var(--forest); background: rgba(247,241,228,.85); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 9rem; }
.contact-form .button { justify-self: start; background: var(--forest); color: var(--paper); border-color: var(--forest); }

.form-note { font-size: .875rem; max-width: 49ch; }
.contact a:focus-visible, .contact button:focus-visible, .contact input:focus-visible, .contact textarea:focus-visible { outline-color: var(--forest); }
.contact-result { padding: 1.3rem; border: 1px solid var(--forest); border-radius: .75rem; }
.contact-result p { margin-bottom: .75rem; }
.contact-result .button { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.contact-result:focus { outline: 2px solid var(--forest); outline-offset: 3px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; padding-block: 2.3rem; }
.site-footer p { font-family: Spectral, Georgia, serif; font-size: 1.125rem; }
.site-footer small { color: var(--muted); font-size: .875rem; }

/* Mobile-first: ensin yksi sarake, sitten tabletti ja työpöytä. */
@media (min-width: 600px) {
  .wrap { width: min(1240px, calc(100% - 4rem)); }
  .wordmark { font-size: 2.5rem; }
  .site-nav { gap: 2rem; font-size: .9375rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: 1 / -1; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.12fr .88fr; gap: 4rem; padding-block: 4rem 4.5rem; }
  .hero-art { aspect-ratio: .85; }
  .section-heading { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-heading .eyebrow { grid-column: 1 / -1; }
  .section-heading > p:last-child { padding-bottom: .4rem; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .service-card:last-child { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .about-photo { aspect-ratio: .95; }
  .process-heading { grid-template-columns: 1fr auto; align-items: end; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Päivitys: logon tausta poistettu, palvelutekstit ja somepaketit laajennettu. */
.hero-art { background: transparent; border: 0; border-radius: 0; overflow: visible; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 3rem; }
.hero-art img { position: static; width: min(80%, 28rem); max-width: 100%; height: auto; transform: none; object-fit: contain; }
.hero-art figcaption { left: 1rem; right: 1rem; bottom: .8rem; }
.service-editorial .service-card { display: grid; grid-template-columns: 2rem minmax(0,1fr); gap: .5rem 1rem; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 2rem 0; }
.service-editorial .service-icon { margin: .25rem 0 0; }
.service-editorial .service-card h3 { margin: 0; overflow-wrap: anywhere; }
.service-editorial .service-card > div { grid-column: 2; }
.service-editorial .card-links { padding-top: 1rem; margin-top: 0; }
.audience-section { border-top: 1px solid var(--line); }
.audience-stories { display: grid; gap: 2rem; }
.audience-stories article { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.audience-stories h3 { font-size: 1.65rem; margin-bottom: .8rem; }
.audience-stories p { color: var(--muted); }
.packages-section { background: var(--surface); border-block: 1px solid var(--line); }
.package-grid { display: grid; gap: 1.25rem; }
.package-card { display: flex; flex-direction: column; padding: 1.8rem; background: var(--paper); border: 1px solid var(--line); border-radius: .2rem; min-width: 0; }
.package-featured { border-color: var(--gold); }
.package-card .eyebrow { font-size: .75rem; margin-bottom: 1rem; }
.package-card h3 { font-size: 2.4rem; }
.package-card > p:not(.eyebrow):not(.package-price):not(.package-volume) { color: var(--muted); margin-top: 1rem; }
.package-volume { font-family: Spectral,Georgia,serif; font-size: 1.5rem; margin-top: 1rem; color: var(--gold); }
.package-volume span { font: .875rem/1.6 Arial,Helvetica,sans-serif; display: block; color: var(--muted); }
.package-card ul { padding-left: 1.2rem; margin-block: 1.3rem 1.8rem; color: var(--muted); }
.package-card li + li { margin-top: .5rem; }
.package-price { font-family: Spectral,Georgia,serif; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1.2; margin-top: auto; white-space: nowrap; }
.package-price span { display: block; font: .875rem/1.6 Arial,Helvetica,sans-serif; letter-spacing: 0; color: var(--muted); margin-top: .3rem; }
.package-card .button { margin-top: 1.5rem; font-size: .9375rem; padding-inline: .8rem; }
.package-inclusions { display: grid; gap: 2rem; margin-top: 3rem; }
.package-inclusions h3 { font-size: 1.75rem; margin-bottom: .8rem; }
.package-inclusions p { max-width: 54ch; color: var(--muted); }
.package-inclusions .text-link { margin-top: 1rem; }
.package-note { color: var(--muted); font-size: .875rem; max-width: 80ch; margin-top: 2rem; }
.home-faq { display: grid; gap: 2rem; }
.faq-heading .eyebrow { margin-bottom: 1.3rem; }
.faq-heading > p:last-child { color: var(--muted); margin-top: 1.5rem; max-width: 35ch; }
.faq-list details { border-top: 1px solid var(--line); padding-block: 1.3rem; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; gap: 1rem; cursor: pointer; font-size: 1.0625rem; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.faq-list p { color: var(--muted); margin-top: 1rem; max-width: 54ch; }
.detail-icon { width: 1rem; height: 1rem; position: relative; margin-left: auto; flex-shrink: 0; }
.detail-icon::before, .detail-icon::after { content: ''; position: absolute; background: var(--gold); height: 1px; left: 0; right: 0; top: 50%; }
.detail-icon::after { transform: rotate(90deg); }
details[open] .detail-icon::after { display: none; }
@media (min-width: 700px) { .package-inclusions { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
@media (min-width: 960px) { .service-editorial .service-card { grid-template-columns: 3rem minmax(0,.8fr) minmax(0,1.2fr); gap: 2rem; } .service-editorial .service-card > div { grid-column: auto; } .audience-stories { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem; } .package-card { padding: 2rem; } .home-faq { grid-template-columns: 1fr 1fr; gap: 5rem; } }

  
/* Yrityksen omat ihmiset ja käyttäjän vahvistamat yhteystiedot. */
.about-intro { display: grid; gap: 2rem; }
.about-intro .eyebrow { margin-bottom: 1.25rem; }
.about-intro .about-copy > p:first-child { margin-top: 0; }
.team-grid { display: grid; gap: 2.5rem; margin-top: 3rem; }
.person-profile { min-width: 0; }
.person-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: .2rem; background: #aaa5a4; }
/* Yhtä suuri pää ja sama silmien korkeus eri tavoin rajatuista lähdekuvista.
   Teemun pään korkeus noin 38,7 %, Joelin 45,6 % lähdekuvan korkeudesta.
   Kuvia ei venytetä: leveys ja korkeus muuttuvat samassa suhteessa. */
.person-photo img { position: absolute; display: block; left: 50%; top: -1.55%; width: 100%; max-width: none; height: auto; transform: translateX(-50%); }
.person-profile[data-person="teemu"] .person-photo img { width: 118%; top: -13.4%; }
.person-profile figcaption { padding-top: 1.25rem; }
.person-profile h3 { font-size: clamp(1.9rem,3vw,2.4rem); }
.person-profile figcaption p { margin-top: .35rem; color: var(--muted); }
.person-email { display: inline-block; margin-top: .7rem; border-bottom: 1px solid var(--gold); font-size: 1rem; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3rem; } }
@media (min-width: 960px) { .about-intro { grid-template-columns: 1fr 1fr; gap: 5rem; } .team-grid { margin-top: 4rem; gap: 5rem; } }

/* Palvelujen ja yhteistyön aiheisiin liittyvät koristekuvakkeet. */
.brand-icon { display: block; width: 2rem; height: 2rem; }
.service-icon,.step-icon { display: inline-flex; color: var(--gold); line-height: 1; }

/* Ei automaattisia listanumeroita; vaiheet esitetään vain aihekuvakkeilla. */
.process-steps,.scope-list{list-style:none!important}.process-steps>li::marker,.scope-list>li::marker{content:""}

/* Rajattu opasosioon ja sen omaan tilauslomakkeeseen. */
.guide-section { display: grid; gap: 2.5rem; border-top: 1px solid var(--line); }
.guide-section > * { min-width: 0; }
.guide-copy .eyebrow { margin-bottom: 1.25rem; }
.guide-copy h2 { font-size: clamp(2.15rem, 4vw, 3.6rem); max-width: 18ch; }
.guide-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 1.5rem; max-width: 44ch; }
.guide-copy > .text-link { margin-top: 1rem; }
.guide-subscription { min-width: 0; }
.guide-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface, #eeeee6); border: 1px solid var(--line); }
.guide-form > label { font-weight: 600; }
.guide-form input[type="email"] { width: 100%; min-width: 0; box-sizing: border-box; padding: .85rem; border: 1px solid var(--muted); background: #faf8f2; color: #173b32; font: inherit; font-size: 1rem; }
.guide-form .guide-consent { display: flex; align-items: flex-start; gap: .75rem; font-weight: 400; font-size: .9rem; }
.guide-consent input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: #173b32; }
.guide-form .guide-form-note { margin: 0; }
.guide-form .button { white-space: normal; justify-content: center; }
.guide-form .button:disabled { opacity: .55; cursor: not-allowed; }
.guide-form input:focus-visible, .guide-form button:focus-visible { outline: 2px solid #80612d; outline-offset: 3px; }
.guide-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.guide-status { min-height: 1.5em; font-size: .9rem; overflow-wrap: anywhere; }
#guide-verification { min-width: 0; }
.guide-form-note { color: var(--muted); font-size: .875rem; margin-top: 1rem; }
.guide-form-note .text-link { display: inline; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .guide-section { grid-template-columns: 1fr 1fr; align-items: start; gap: 5rem; }
}
/* Palvelujen koontisivu; ei muuta etusivun tiivistä palveluluetteloa. */
.service-overview { padding-top: 0; }
.service-overview article { display: grid; gap: 1.25rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.service-overview h2 { font-size: clamp(1.8rem,3vw,2.7rem); margin-top: .6rem; overflow-wrap: anywhere; }
.service-overview article p:not(.eyebrow) { color: var(--muted); max-width: 55ch; }
.service-overview .text-link { margin-top: 1rem; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .service-overview article { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 4rem; }
}
/* Puhelin: luettavat palstat, näkyvä navigaatio ja maltillinen tunnus. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
.header-inner { padding-top: calc(1.3rem + env(safe-area-inset-top, 0px)); }
.site-footer { padding-bottom: calc(2.3rem + env(safe-area-inset-bottom, 0px)); }
.wordmark, .text-link, .contact-address, .person-email { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; }
.contact-address, .person-email { overflow-wrap: anywhere; }
.site-nav a { min-width: 2.75rem; }
.button, .site-nav a, .faq-list summary { -webkit-user-select: none; user-select: none; }
.faq-list summary { min-height: 2.75rem; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.form-row { display: grid; gap: 1rem; }
.hero > *, .section-heading > *, .contact-grid > *, .package-inclusions > *, .about-intro > * { min-width: 0; }
.service-editorial .service-card h3 { hyphens: auto; }
.package-grid { grid-template-columns: minmax(0,1fr); }
.package-card { width: 100%; }
a:active { opacity: .75; }
.button:active { opacity: 1; filter: brightness(.9); }
.faq-list summary:active { color: var(--gold); }
@media (max-width: 699px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: .65rem; padding-bottom: .85rem; }
  .header-inner > .wordmark { align-self: flex-start; }
  .site-nav { width: 100%; justify-content: space-between; gap: .25rem .5rem; font-size: .875rem; }
  .site-nav .nav-contact { padding-inline: .85rem; }
  h1 { font-size: clamp(2.6rem, 10.5vw, 3.6rem); }
  h2 { font-size: clamp(2.15rem, 8.8vw, 2.75rem); }
  .hero h1 { max-width: 12ch; }
  .hero-intro { font-size: 1.0625rem; margin-top: 1.25rem; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .07em; margin-bottom: 1rem; }
  .hero-actions { margin-top: 1.5rem; gap: .75rem 1rem; }
  .service-editorial .service-card > div { grid-column: 1 / -1; margin-top: .5rem; }
  .service-editorial .service-card h3 { font-size: clamp(1.5rem, 6vw, 1.8rem); }
  .person-profile { width: 100%; max-width: 24rem; margin-inline: auto; }
  .person-profile h3 { font-size: 1.9rem; }
  .package-card { padding: 1.25rem; }
  .package-price { font-size: clamp(2rem, 8vw, 2.6rem); }
  .contact-form .button, .contact-result .button { width: 100%; }
}
@media (max-width: 959px) {
  .hero { gap: 2rem; padding-block: 2.5rem 3rem; }
  .hero-art { width: 100%; aspect-ratio: auto; padding: 0; display: grid; justify-items: center; gap: 1rem; }
  .hero-art img { width: clamp(7rem, 24vw, 9rem); }
  .hero-art figcaption { position: static; justify-content: center; flex-wrap: wrap; gap: .25rem 1rem; font-size: .6875rem; text-align: center; }
  .package-grid { max-width: 42rem; margin-inline: auto; }
}
@media (min-width: 960px) {
  .brand-line .wrap { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .package-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (hover: hover) and (pointer: fine) {
.button:hover, .site-header .nav-contact:hover { background: #2e5548; }
.text-link:hover { color: var(--gold); }
.contact-form .button:hover { background: #23463e; }
}

/* Valokuva ohittaa aiemmat tunnuksen kokorajat kaikissa näyttökoissa. */
.site-header .site-nav { font-size: 1.0625rem; gap: .5rem 1.5rem; }
@media (max-width: 699px) {
  .site-header .site-nav { justify-content: flex-start; font-size: 1rem; gap: .25rem 1.2rem; }
}
.hero-photo { display: block; padding: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.hero-photo img { display: block; position: static; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 57% 45%; transform: none; }
.hero-photo figcaption { position: absolute; inset: auto 0 0; padding: 1rem 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; background: var(--forest); color: var(--paper); font-size: .65rem; text-align: left; }
.hero h1 { max-width: 12ch; }
.brand-line { background: var(--forest); border: 0; }
.brand-line .wrap { color: var(--paper); }
.package-featured { border: 2px solid var(--forest); }
.package-featured .eyebrow { color: var(--forest); }
.button { border-color: var(--forest); }
.site-footer { border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); padding-block: 4rem; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .hero h1 { font-size: clamp(3.8rem, 5.5vw, 5rem); }
  .team-grid { max-width: 58rem; }
}
@media (max-width: 959px) {
  .hero-photo { width: 100%; max-width: 42rem; aspect-ratio: 6 / 5; }
  .hero-photo img { object-position: 50% 48%; }
}
/* Rajatut käyntikorttimuutokset. Aiempi numerojärjestys säilyy. */
.section { padding-block: clamp(2.5rem,5vw,4rem); }
.hero { padding-block: 2.5rem; }
/* Etusivun kuva kokonaisena; vihreä palkki on kuvan alapuolella. */
.hero .hero-template-image { max-width: none; aspect-ratio: auto; }
.hero .hero-template-image img { height: auto; object-fit: contain; }
.hero .hero-template-image::after { content: ""; display: block; height: 3rem; background: var(--forest); }
@media (min-width: 960px) {
  /* Oikea palsta alkaa sisällön keskeltä ja päättyy wrap-elementin oikeaan reunaan. */
  .hero { grid-template-columns: minmax(0,1fr) 50%; }
}
.compact-heading h2, .compact-team h2 { font-size: clamp(2rem,3.3vw,3rem); }
.compact-heading .eyebrow, .compact-team .eyebrow { margin-bottom: .6rem; }
.compact-service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 3rem; margin-top: 1.5rem; }
.compact-service-list article { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.compact-service-list h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.compact-service-list h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.compact-service-list p { color: var(--muted); max-width: 48ch; }
.compact-services > .button { margin-top: .5rem; }
.compact-team .team-grid { max-width: none; margin-top: 1.5rem; gap: 2rem; }
.compact-team .person-profile { display: grid; grid-template-columns: 7rem minmax(0,1fr); align-items: center; gap: 1.25rem; max-width: none; margin: 0; }
.compact-team .person-photo { width: 7rem; aspect-ratio: 4 / 5; }
.compact-team figcaption { padding-top: 0; }
.compact-team .person-profile h3 { font-size: 1.6rem; }
.compact-team .person-email { margin-top: .25rem; font-size: .9375rem; }
.guide-teaser { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.guide-teaser h2 { font-size: clamp(2rem,3.3vw,3rem); margin-top: .6rem; }
.guide-teaser p:not(.eyebrow) { margin-top: .75rem; color: var(--muted); max-width: 55ch; }
.guide-teaser .button { flex-shrink: 0; }
.contact h2 { font-size: clamp(2.3rem,4vw,3.5rem); }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-result { font-size: .9375rem; }
.contact-form .button:disabled { opacity: .6; cursor: wait; }
.inner-hero { padding-block: clamp(2.5rem,5vw,4.5rem); }
.inner-hero h1 { font-size: clamp(2.7rem,5vw,4.5rem); max-width: 21ch; margin-top: 1rem; }
.inner-hero > p:not(.eyebrow) { margin-top: 1.5rem; max-width: 60ch; font-size: 1.125rem; color: var(--muted); }
.inner-hero > .button { margin-top: 1.5rem; }
.inner-contact h2 { font-size: clamp(2rem,3.5vw,3rem); }
.inner-contact .button { margin-top: 1.5rem; }
.inner-contact > p { margin-top: 1rem; }
.guide-details { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-block: 1px solid var(--line); }
.guide-details h2 { font-size: clamp(2rem,3.5vw,3rem); margin-top: 1rem; }
.guide-details p + p { margin-top: 1rem; }
.guide-details > div:last-child { color: var(--muted); }
.guide-topics h2 { font-size: clamp(2rem,3.5vw,3rem); margin-top: 1rem; }
.guide-topics ol { padding-left: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; margin-top: 2rem; }
.guide-topics li { padding-left: .5rem; }
.guide-topics li::marker { color: var(--gold); font-weight: bold; }
.guide-topics h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.guide-topics li p { color: var(--muted); }
@media (max-width: 699px) {
  .compact-service-list, .guide-details, .guide-topics ol { grid-template-columns: minmax(0,1fr); }
  .compact-service-list { gap: 0; }
  .guide-teaser { flex-direction: column; align-items: flex-start; }
  .guide-details { gap: 1.5rem; }
  .compact-team .person-profile { grid-template-columns: 5rem minmax(0,1fr); gap: 1rem; }
  .compact-team .person-photo { width: 5rem; }
  .compact-team .person-profile h3 { font-size: 1.4rem; }
}
/* Tietosuojaselosteen luettava tekstipalsta. */
.privacy-notice { max-width: 76ch; padding-bottom: 3rem; overflow-wrap: anywhere; }
.privacy-notice h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: clamp(1.65rem,3vw,2.2rem); line-height: 1.2; }
.privacy-notice h3 { margin-top: 1.5rem; margin-bottom: .6rem; font-size: 1.3rem; }
.privacy-notice p, .privacy-notice li { color: var(--muted); }
.privacy-notice p + p { margin-top: 1rem; }
.privacy-notice ul { padding-left: 1.4rem; margin-block: 1rem; }
.privacy-notice li + li { margin-top: .85rem; }
.privacy-notice a { color: var(--forest); text-decoration: underline; text-underline-offset: .15em; }
.privacy-notice code { font-size: .9em; }
.inner-hero .privacy-updated { font-size: .875rem; }
/* Sama yhteydenotto kaikilla sivuilla; sivukohtainen teksti jää osion lähteeseen. */
.contact { background: #e4dbc6; color: #173b32; padding-block: clamp(2.5rem,5vw,4rem); }
.contact .contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(2rem,5vw,5rem); }
.contact-grid > * { min-width: 0; }
.contact .eyebrow { color: #173b32; margin-bottom: 1.25rem; }
.contact h2 { font-size: clamp(2.3rem,4vw,3.5rem); }
.contact h2 em { color: #173b32; }
.contact .contact-intro { max-width: 36ch; margin-top: 1.5rem; font-size: 1.125rem; }
.contact .contact-address { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; margin-top: 1.5rem; font-weight: 600; border-bottom: 1px solid #173b32; overflow-wrap: anywhere; }
.contact .contact-location { margin-top: 1rem; font-size: .875rem; }
.contact-form { display: grid; gap: 1rem; font: 1rem/1.65 Arial, Helvetica, sans-serif; }
.contact-form .form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.contact-form .field { display: grid; gap: .45rem; }
.contact-form label { font-size: .875rem; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; width: 100%; min-width: 0; border: 1px solid #53625b; border-radius: .5rem; padding: .85rem 1rem; color: #173b32; background: #faf8f2; font-size: 1rem; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form .button { justify-self: start; min-height: 3.25rem; border: 1px solid #173b32; border-radius: .2rem; padding: .75rem 1.45rem; background: #173b32; color: #faf8f2; font-size: 1rem; font-weight: 600; cursor: pointer; }
.contact-form .button:disabled { opacity: .6; cursor: wait; }
.contact .form-note { font-size: .875rem; max-width: 49ch; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-result { padding: 1.3rem; border: 1px solid #173b32; border-radius: .75rem; font-size: .9375rem; }
.contact a:focus-visible, .contact button:focus-visible, .contact input:focus-visible, .contact textarea:focus-visible, .contact-result:focus { outline: 2px solid #173b32; outline-offset: 3px; }
.contact [hidden] { display: none !important; }
@media (max-width: 699px) {
  .contact .contact-grid, .contact-form .form-row { grid-template-columns: minmax(0,1fr); }
  .contact-form .button { width: 100%; }
}
@media (hover: hover) and (pointer: fine) { .contact-form .button:hover { background: #23463e; } }
/* Valinnainen aloituskuva. Ilman kuvapohjaa tekstille jää koko leveys. */
.hero-with-image { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.hero-with-image:has(> .hero-template-image) { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
.hero-with-image > * { min-width: 0; }
.hero-with-image h1 { font-size: clamp(2.7rem,4.5vw,4.5rem); max-width: 21ch; }
.hero-with-image .hero-copy > p:not(.eyebrow) { margin-top: 1.5rem; max-width: 60ch; font-size: 1.125rem; color: #53625b; }
.hero-with-image .hero-copy > .button { margin-top: 1.5rem; }
.hero-with-image .breadcrumb { margin-bottom: 1.5rem; }
figure.hero-template-image { display: block; position: relative; width: 100%; max-width: 42rem; aspect-ratio: 6 / 5; overflow: hidden; padding: 0; border: 0; border-radius: 0; background: #eeeee6; }
.hero-template-image img { display: block; position: static; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 57% 45%; transform: none; }
@media (max-width: 959px) {
  .hero-with-image, .hero-with-image:has(> .hero-template-image) { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .hero-template-image img { object-position: 50% 48%; }
}
@media (max-width: 699px) {
  .hero-with-image h1 { font-size: clamp(2.35rem,9.5vw,3.3rem); }
}
