/*
Theme Name: Parmaala
Description: Yksinkertainen esittelysivun teema. Värit: vihreä, keltainen, valkoinen ja musta. Etusivun sisältö muokataan kohdasta Ulkoasu → Mukauta → Etusivun sisältö.
Author: Parmaala.fi
Version: 1.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: parmaala
*/
:root{--bg:#fff;--text:#141414;--muted:#4a4f4a;--green:#1d6b3b;--green-ink:#fff;--yellow:#f4c400;--yellow-ink:#141414;--line:#141414;--soft:#f3f6f1;color-scheme:light}
@media (prefers-color-scheme:dark){:root{--bg:#101410;--text:#f2f4ef;--muted:#b5bcb2;--line:#f2f4ef;--soft:#192019;color-scheme:dark}}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:400 1.125rem/1.65 "Source Serif 4",Georgia,serif}
h1,h2,h3,.brand,nav a,.btn{font-family:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif}
a{color:inherit}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
img{max-width:100%;height:auto}
.wrap{max-width:1040px;margin:0 auto;padding:0 1.25rem}
header.site{border-bottom:3px solid var(--line)}
header.site .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:1rem;padding-bottom:1rem;flex-wrap:wrap}
.brand{font-weight:800;font-size:1.4rem;text-decoration:none;letter-spacing:-.01em}
.brand span{color:var(--green)}
nav ul{display:flex;gap:1.5rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}
nav a{font-weight:500;text-decoration:none;font-size:1rem}
nav a:hover{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:4px;text-underline-offset:5px}
.hero{background:var(--green);color:var(--green-ink)}
.hero .wrap{padding-top:5rem;padding-bottom:5.5rem}
.hero h1{font-weight:800;font-size:clamp(3rem,11vw,8rem);line-height:.95;letter-spacing:-.035em;margin:0 0 1.5rem;overflow-wrap:anywhere}
.hero p{max-width:34rem;font-size:1.3rem;margin:0 0 2rem}
.stripe{height:2rem;background:var(--yellow);border-bottom:3px solid #141414}
.btn{display:inline-block;background:var(--yellow);color:var(--yellow-ink);font-weight:800;padding:.9rem 1.6rem;border:3px solid #141414;text-decoration:none;border-radius:999px;transition:transform .15s}
.btn:hover{transform:translateY(-2px)}
section.block{padding:4.5rem 0}
h2{font-weight:800;font-size:clamp(2rem,5vw,3rem);letter-spacing:-.02em;line-height:1.05;margin:0 0 1.25rem}
.about .wrap{display:grid;grid-template-columns:1fr 1.4fr;gap:3rem;align-items:start}
.portrait{aspect-ratio:4/5;background:var(--soft);border:3px solid var(--line);display:grid;place-items:center;color:var(--muted);font-family:"Bricolage Grotesque",sans-serif;text-align:center;padding:1rem;box-shadow:10px 10px 0 var(--yellow);overflow:hidden}
.portrait img{width:100%;height:100%;object-fit:cover;display:block}
.about p{max-width:38rem;margin:0 0 1rem}
.products{background:var(--soft)}
.plist{list-style:none;margin:2rem 0 0;padding:0;border-top:3px solid var(--line)}
.plist li{display:grid;grid-template-columns:1fr auto;gap:.5rem 2rem;align-items:center;padding:1.6rem 0;border-bottom:3px solid var(--line)}
.plist h3{margin:0 0 .25rem;font-size:1.7rem;font-weight:800;letter-spacing:-.01em}
.plist h3 a.plink{text-decoration:none}
.plist h3 a.plink:hover{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:4px;text-underline-offset:5px}
.pgroup{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:1rem;text-transform:uppercase;letter-spacing:.1em;margin:3rem 0 0;color:var(--green)}
.pgroup+.plist{margin-top:.75rem}
.plist p{margin:0;color:var(--muted);max-width:36rem}
.price{background:var(--yellow);color:var(--yellow-ink);font-family:"Bricolage Grotesque",sans-serif;font-weight:800;padding:.4rem 1rem;border:3px solid #141414;border-radius:999px;white-space:nowrap}
.contact{background:#141414;color:#fff}
.contact .wrap{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.contact h2{margin:0;color:var(--yellow)}
.contact p{margin:.5rem 0 0;color:#d6dbd3}
footer.site{padding:1.5rem 0;font-size:.95rem;color:var(--muted)}
.entry{padding:4rem 0}
.entry .wrap{max-width:760px}
.entry h1{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:clamp(2rem,6vw,3.2rem);letter-spacing:-.02em;line-height:1.05}
.entry a{text-decoration-color:var(--yellow);text-decoration-thickness:3px}
.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:760px){.about .wrap{grid-template-columns:1fr}.portrait{max-width:300px}.plist li{grid-template-columns:1fr}.price{justify-self:start}section.block{padding:3.2rem 0}.hero .wrap{padding-top:3.5rem;padding-bottom:4rem}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}
