:root {
  --green: #6d6040;
  --green-deep: #3e3624;
  --band: #6d6040;
  --mauve: #af8d84;
  --lime: #e6d7a4;
  --ink: #2c281f;
  --muted: #6d655a;
  --line: #d2d6cb;
  --paper: #e0e5da;
  --white: #fff;
  --header: 74px;
  --shadow: 0 16px 40px rgba(36, 48, 24, .12);
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1.1rem); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-deep); }
button, input, textarea { font: inherit; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.sr, .skip {
  position: absolute; left: -999px; top: auto;
}
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  height: var(--header);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-bar { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand {
  color: var(--ink); text-decoration: none; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; font-size: .92rem; white-space: nowrap;
}
.brand span { font-weight: 650; letter-spacing: .12em; color: var(--green-deep); }
.primary-nav { margin-left: auto; }
.primary-nav > ul, .drawer nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.primary-nav a {
  color: var(--ink); text-decoration: none; font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; padding: .55rem .55rem; display: inline-block;
}
.primary-nav a:hover { color: var(--green-deep); }
.primary-nav a[aria-current="page"] {
  color: var(--green-deep);
  background: rgba(109, 96, 64, .12);
  border-radius: 6px;
  box-shadow: inset 0 -2px 0 var(--mauve);
}
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: .4rem 0; z-index: 5;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { display: block; padding: .65rem 1rem; letter-spacing: .04em; }
.header-social {
  display: flex; align-items: center; gap: .15rem; margin-left: .2rem;
}
.header-social a {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-deep); border-radius: 50%; text-decoration: none; line-height: 1; font-size: .95rem;
}
.header-social a:hover { background: rgba(109, 96, 64, .12); }
.header-social .fa-facebook-f { transform: translateY(-.5px); }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; padding: 0; align-content: center; justify-items: center; gap: 5px;
}
.nav-toggle span:not(.sr) { display: block; width: 18px; height: 2px; background: var(--ink); }
.hero {
  min-height: min(78vh, 740px);
  background-size: cover; background-position: center 40%;
  display: grid; place-items: center; position: relative; color: #fff; text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(44, 40, 28, .62), rgba(44, 40, 28, .34)); }
.hero-inner { position: relative; z-index: 1; padding: 3rem 1rem 3.5rem; max-width: 42rem; }
.crest { width: min(300px, 72vw); height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
.hero h1 {
  margin: .35rem auto 1.2rem; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.25;
  max-width: 18em; text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--band); color: #fff; text-decoration: none; border: 0; border-radius: 6px;
  padding: .85rem 1.5rem; font-weight: 700; cursor: pointer;
}
.btn:hover { background: var(--green-deep); color: #fff; }
.btn-ext {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--green-deep); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem .55rem 1.1rem;
  font-weight: 700; font-size: .92rem; box-shadow: 0 1px 0 rgba(36, 48, 24, .04);
}
.btn-ext:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn-ext i { font-size: .78rem; opacity: .85; }
.ext-row { margin-top: 1.1rem; }
.lead-band { background: #fff; border-bottom: 1px solid var(--line); }
.lead-band .prose { padding: 1.6rem 0; text-align: center; }
.intro { padding: 3.2rem 0 1.2rem; }
.intro-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 2.2rem; align-items: start; }
.intro h2 {
  margin: 0 0 .7rem; font-family: var(--display); font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.intro .prose { padding-bottom: 0; }
.intro-more { margin: .2rem 0 0; font-weight: 700; }
.intro-grid figure { margin: .3rem 0 0; }
.intro-grid img { width: 100%; border-radius: 14px; aspect-ratio: 1; object-fit: cover; object-position: center 18%; display: block; }
.intro-grid figcaption, .wide-photo figcaption, .team-extra figcaption { color: var(--muted); font-size: .92rem; margin-top: .45rem; }
.wide-photo { margin: .4rem auto 0; max-width: 820px; }
.wide-photo img { width: 100%; border-radius: 14px; aspect-ratio: 3/2; object-fit: cover; object-position: center; display: block; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--mauve); border-radius: 14px; padding: 1.25rem 1.15rem 1.35rem; }
.why-card h3 { margin: 0 0 .45rem; font-size: 1.08rem; letter-spacing: -.01em; font-family: var(--display); font-weight: 600; }
.why-card p { margin: 0; color: var(--muted); }
.section-lead { margin: -.4rem 0 1.2rem; max-width: 42rem; color: var(--muted); }
.cta-band { background: var(--green-deep); color: #f4f1e8; text-align: center; padding: 3.4rem 0 3rem; margin: 0; }
.cta-band h2 {
  margin: 0 0 .45rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600; letter-spacing: -.02em;
}
.cta-band p { margin: 0; }
.cta-band .cta-actions {
  display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap;
  margin: 2.2rem 0 0;
}
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-line:hover { background: #fff; color: var(--green-deep); }
.section { padding: 3.4rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2, .page-hero h1, .prose h2, .service-block h2, .case h2, .person h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.section-head h2 {
  margin: 0; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em;
  font-size: .95rem; font-weight: 700;
}
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: #fff; color: inherit; text-decoration: none; border: 1px solid var(--line);
  border-radius: 14px; min-height: 100%; overflow: hidden; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.service-card .pad { padding: 1rem 1rem 1.15rem; }
.service-card h3 { margin: 0 0 .4rem; letter-spacing: -.01em; font-size: 1.02rem; line-height: 1.3; font-family: var(--display); font-weight: 600; }
.service-card p, .service-block p { color: var(--muted); margin: 0; }
.ico { width: 28px; height: 28px; color: var(--green-deep); }
.stats { background: var(--band); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.6rem 0; text-align: center; }
.stats strong { display: block; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-family: var(--display); }
.stats span { display: block; margin-top: .35rem; letter-spacing: .04em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.post-card { background: #fff; border: 1px solid var(--line); overflow: hidden; border-radius: 14px; }
.post-card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.post-card div { padding: 1rem 1rem 1.2rem; }
.post-card time, .meta-line { color: var(--muted); font-size: .86rem; }
.post-card h3, .post-card h2 { margin: .35rem 0; font-size: 1.15rem; font-family: var(--display); font-weight: 600; }
.page-hero { padding: 2.2rem 0 1rem; }
.page-hero h1 { margin: .55rem 0 .15rem; font-size: clamp(2.15rem, 4.2vw, 3.2rem); overflow: visible; }
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  color: var(--muted); font-size: .88rem; font-weight: 600; margin: 0;
}
.crumb a {
  color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .55rem .25rem .45rem; border-radius: 999px; background: rgba(109, 96, 64, .08);
}
.crumb a:hover { color: var(--green-deep); background: rgba(109, 96, 64, .16); }
.crumb .fa-house { font-size: .78rem; }
.crumb-sep { font-size: .62rem; opacity: .55; }
.crumb [aria-current="page"] { color: var(--ink); }
.role, .fine { color: var(--muted); }
.ytunnus { color: rgba(231, 240, 223, .72); font-size: .86rem; margin-top: .35rem; }
.ingress { font-size: 1.15rem; max-width: 40rem; color: var(--muted); }
.prose { padding-bottom: 1rem; }
.prose p, .prose li { color: #2a3326; }
.prose h2, .prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: 10px; margin: 1rem 0; }
.prose a { font-weight: 700; }
.page-body, .post-body { padding-bottom: 3rem; }
.post-cover { width: 100%; border-radius: 12px; margin: .5rem 0 1rem; }
.service-list, .team-list, .cases { padding: 1rem 0 3.5rem; display: grid; gap: 1.2rem; }
.service-block, .person, .case, .section[id] {
  scroll-margin-top: calc(var(--header) + 1.1rem);
}
.service-block, .person, .case {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.4rem; background: #fff;
  border: 1px solid var(--line); padding: 1.2rem; border-radius: 14px;
}
.service-block { grid-template-columns: auto 1fr; align-items: start; }
.service-block.has-photo,
.case.has-photo {
  grid-template-columns: minmax(300px, 46%) 1fr; align-items: stretch; gap: 1.6rem; padding: 1rem;
}
.service-block.has-photo > img,
.case.has-photo > img {
  width: 100%; height: 100%; min-height: 280px; max-height: 560px; object-fit: cover; border-radius: 12px;
}
.service-block ul { margin: .75rem 0 0; padding-left: 1.15rem; }
.service-block li { margin: .28rem 0; }
.service-block.flip, .case.flip { direction: rtl; }
.service-block.flip > *, .case.flip > * { direction: ltr; }
.person { grid-template-columns: minmax(240px, 380px) 1fr; align-items: start; }
.person img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 1; object-position: center 12%; }
.team-extra { padding-bottom: 3rem; margin: 0 auto; }
.team-extra img { width: 100%; border-radius: 14px; aspect-ratio: 3/2; object-fit: cover; display: block; }
.team-network {
  display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: 1.4rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem;
}
.team-network img {
  width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 1;
  object-position: center 18%; display: block; justify-self: end;
}
.team-network p {
  margin: 0; max-width: 42rem; color: #2a3326;
  font-size: 1.08rem; line-height: 1.55;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 4rem; }
.contact-social { margin: .2rem 0 1rem; }
.contact-social a {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none;
}
.contact-social i {
  width: 2.15rem; height: 2.15rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(109, 96, 64, .12); color: var(--green-deep); font-size: 1.05rem;
}
.contact-social a:hover i { background: var(--green-deep); color: #fff; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; display: grid; gap: .8rem; }
.contact-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .92rem; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; background: var(--paper); width: 100%;
}
.aaa {
  display: block; width: min(110px, 38%); margin-top: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .35rem;
}
.form-ok { background: #eef6e4; padding: .7rem .8rem; border-radius: 8px; }
.form-err { background: #fde8e4; padding: .7rem .8rem; border-radius: 8px; }
.hp { position: absolute; left: -9999px; }
.site-footer {
  background: var(--green-deep); color: #f4f1e8; padding: 2.8rem 0 1.2rem; margin-top: 0;
}
body.tpl-home .site-footer {
  padding-top: 0;
}
body.tpl-home .site-footer .footer-grid {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 2.2rem;
}
body.tpl-home main { margin-bottom: 0; padding-bottom: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 0; font-family: var(--sans); font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 1.5rem; }
.footer-logo { display: block; width: 220px; height: auto; background: transparent; padding: 0; border-radius: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: .25rem 0; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 1.5rem; padding-top: 1rem; font-size: .9rem;
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(20, 26, 16, .45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 88vw); background: #fbfbf8;
  z-index: 50; transform: translateX(100%); transition: transform .32s ease; box-shadow: var(--shadow);
  display: flex; flex-direction: column; padding: 1rem 1.1rem 1.4rem;
}
.drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-close { border: 0; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; }
.drawer nav ul { display: block; }
.drawer nav a {
  display: block; padding: .85rem 0; text-decoration: none; color: var(--ink);
  font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--green-deep); }
.drawer nav ul ul a { font-size: 1rem; font-weight: 500; padding-left: .6rem; }
.drawer-social { margin-top: auto; display: flex; flex-direction: column; gap: .35rem; }
.drawer-social a {
  width: auto; height: auto; display: flex; align-items: center; gap: .7rem;
  justify-content: flex-start; text-decoration: none; color: var(--green-deep);
  font-weight: 700; padding: .45rem 0;
}
.drawer-social i { width: 1.1rem; text-align: center; }
@media (max-width: 980px) {
  .primary-nav, .header-social { display: none; }
  .nav-toggle { display: inline-grid; }
  .card-grid, .card-grid.four, .post-grid, .stats-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid,
  .service-block, .service-block.has-photo, .service-block.flip,
  .person, .case, .case.has-photo, .case.flip { grid-template-columns: 1fr; direction: ltr; }
  .service-block.has-photo > img, .case.has-photo > img { min-height: 220px; max-height: 340px; }
  .contact-grid, .footer-grid, .team-network { grid-template-columns: 1fr; }
  .team-network { justify-items: stretch; gap: 1.1rem; }
  .team-network img { max-width: 380px; justify-self: end; }
  .wide-photo img, .team-extra img { aspect-ratio: 3/2; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid.four, .post-grid, .stats-grid, .why-grid { grid-template-columns: 1fr; }
  .brand { letter-spacing: .06em; font-size: .8rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
  html { scroll-behavior: auto; }
}
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
