:root {
    --forest: #315f53;
    --forest-dark: #22463e;
    --forest-soft: #dfeae4;
    --cream: #f7f2e8;
    --paper: #fffdf8;
    --ink: #262a27;
    --muted: #686d68;
    --terracotta: #b56e4d;
    --gold: #d5a34e;
    --plum: #755c70;
    --line: #ddd7ca;
    --shadow: 0 18px 45px rgba(34, 70, 62, .10);
    --radius: 22px;
    --content: 1180px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-dark); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: #fff;
    color: #000;
    padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.content-width { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section-pad { padding: clamp(72px, 9vw, 128px) 0; }
.toned { background: var(--cream); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,253,248,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(49,95,83,.12);
}
.nav-wrap {
    width: min(calc(100% - 40px), var(--content));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--ink);
    text-decoration: none;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50% 50% 50% 12px;
    display: grid;
    place-items: center;
    background: var(--forest);
    color: #fff;
    font-family: var(--serif);
    font-size: 1.45rem;
    transform: rotate(-5deg);
}
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 1.12rem; }
.brand small { margin-top: .25rem; color: var(--muted); font-size: .75rem; letter-spacing: .035em; }
nav { display: flex; gap: 1.35rem; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; }
nav a:hover { color: var(--forest); }
.menu-button { display: none; }

.hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 15% 15%, rgba(213,163,78,.20), transparent 26%),
      linear-gradient(135deg, #fbf6ec 0%, #eef4ef 100%);
}
.hero::after {
    content: '';
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(181,110,77,.20);
    border-radius: 50%;
    right: -120px;
    bottom: -210px;
}
.hero-inner {
    /* Hero saa hieman muuta sivua enemmän leveyttä, jotta kuva pääsee oikeuksiinsa. */
    width: min(calc(100% - 40px), 1320px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(32px, 4.5vw, 64px);
    align-items: center;
}
.eyebrow {
    margin: 0 0 .9rem;
    color: var(--terracotta);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; color: var(--forest-dark); }
h1 { margin: 0; font-size: clamp(3.25rem, 7vw, 6.8rem); font-weight: 500; letter-spacing: -.045em; }
h1 span { color: var(--terracotta); font-style: italic; font-size: .72em; }
h2 { margin: 0 0 1.2rem; font-size: clamp(2.2rem, 4vw, 4.2rem); font-weight: 500; letter-spacing: -.03em; }
h3 { font-size: 1.7rem; font-weight: 500; }
.lead { max-width: 710px; margin: 1.6rem 0 0; font-family: var(--serif); font-size: clamp(1.22rem, 2vw, 1.58rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: .8rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--forest);
    text-decoration: none;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--forest); color: #fff; box-shadow: 0 10px 24px rgba(49,95,83,.18); }
.button.primary:hover { background: var(--forest-dark); }
.button.ghost { background: transparent; color: var(--forest-dark); }
.button.wide { width: 100%; border: 0; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
    /* Näytetään koko alkuperäinen kuva ilman CSS-rajausta. */
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: var(--shadow);
    position: relative;
}

.announcement { background: var(--forest); color: #fff; }
.announcement-inner { min-height: 86px; display: flex; align-items: center; gap: 1.2rem; padding-block: 1rem; }
.announcement-label { flex: 0 0 auto; background: var(--gold); color: #2b2a22; border-radius: 999px; padding: .32rem .75rem; font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.announcement p { margin: 0; }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.prose { font-size: 1.08rem; color: #353a36; }
.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: .8rem; }
.section-heading p:last-child { font-family: var(--serif); font-size: 1.22rem; }
.centered { text-align: center; margin-inline: auto; }
.centered-copy { text-align: center; }

.featured-poem {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.featured-poem figure { margin: 0; min-height: 100%; }
.featured-poem figure img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 42%; }
.poem-panel { padding: clamp(32px, 6vw, 70px); }
.book-note { color: var(--muted); margin: 0 0 .4rem; font-size: .9rem; }
.poem-panel h3 { margin: 0 0 1.4rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.poem { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.78; }
.poem p { margin: 0 0 1.15rem; }
.poem p:last-child { margin-bottom: 0; }
.poem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.poem-card { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.62); overflow: hidden; }
.poem-card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.35rem; }
.poem-card summary::-webkit-details-marker { display: none; }
.poem-card summary span:first-child { display: grid; gap: .2rem; }
.poem-card summary strong { font-family: var(--serif); font-size: 1.2rem; color: var(--forest-dark); }
.poem-card summary small { color: var(--muted); }
.summary-plus { font-size: 1.7rem; color: var(--terracotta); transition: transform .2s ease; }
.poem-card[open] .summary-plus { transform: rotate(45deg); }
.poem-card-body { padding: 0 1.35rem 1.4rem; border-top: 1px solid rgba(221,215,202,.7); padding-top: 1.2rem; }

.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; align-items: stretch; }
.book-card { background: var(--cream); border-radius: var(--radius); padding: 1.35rem; display: flex; flex-direction: column; min-width: 0; }
.cover-wrap { height: 400px; display: grid; place-items: center; padding: .8rem; background: linear-gradient(145deg, #eee8db, #fbf8f1); border-radius: 14px; overflow: hidden; }
.cover-wrap img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 15px 30px rgba(0,0,0,.16); }
.book-info { padding: 1.25rem .25rem .2rem; display: flex; flex-direction: column; flex: 1; }
.book-year { margin: 0; color: var(--terracotta); font-size: .75rem; letter-spacing: .11em; font-weight: 800; }
.book-info h3 { margin: .35rem 0 .7rem; }
.price { margin: 0 0 .85rem; font-size: 1.3rem; font-weight: 800; color: var(--forest-dark); }
.price small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.text-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.small-print { margin: 1.6rem auto 0; max-width: 750px; color: var(--muted); font-size: .88rem; }

.music-section { background: var(--forest-dark); color: #f6f5ef; }
.music-section h2 { color: #fff; }
.music-section .eyebrow { color: #f1bf6d; }
.music-section .prose { color: #e5ece8; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.video-card { position: relative; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #16231f; box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
    display: grid;
    place-items: center;
    background:
      radial-gradient(circle at 25% 20%, rgba(213,163,78,.18), transparent 24%),
      linear-gradient(135deg, #18372f, #10251f);
}
.video-load {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    text-align: left;
}
.video-load > span:last-child { display: grid; gap: .25rem; }
.video-load strong { font-size: 1.1rem; }
.video-load small { color: #c6d3cd; font-size: .78rem; }
.play-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gold);
    color: #282319;
    display: grid;
    place-items: center;
    padding-left: 4px;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.22);
}
.video-load:hover .play-icon { transform: scale(1.04); }
.video-tag { position: absolute; z-index: 2; top: -10px; right: 18px; background: var(--gold); color: #29251c; font-weight: 850; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .38rem .7rem; border-radius: 999px; }
.music-more { text-align: center; margin: 1.4rem 0 0; color: #dce6e1; }
.music-more a { color: #fff; }

.order-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(42px, 7vw, 90px); align-items: start; }
.order-copy { position: sticky; top: 110px; }
.order-copy > p { font-size: 1.04rem; }
.privacy-note { margin-top: 2rem; color: var(--muted); font-size: .86rem !important; }
.order-form-wrap { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); }
.order-form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.order-form legend { font-family: var(--serif); font-size: 1.45rem; color: var(--forest-dark); margin-bottom: 1rem; }
.order-books { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-book-row { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem 1.05rem; border-bottom: 1px solid var(--line); }
.order-book-row:last-child { border-bottom: 0; }
.order-book-row > span:first-child { display: grid; }
.order-book-row small { color: var(--muted); font-size: .78rem; }
.select-wrap { display: flex; gap: .4rem; align-items: center; white-space: nowrap; }
.select-wrap select { width: 72px; min-width: 72px; flex: 0 0 72px; }
.order-total { margin-top: .9rem; padding: 1rem; border-radius: 12px; background: var(--forest-soft); color: var(--forest-dark); }
.order-total small { color: var(--muted); }
.order-form label { display: grid; gap: .42rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 700; color: #414641; }
.order-form input, .order-form select, .order-form textarea {
    width: 100%; border: 1px solid #cfcabd; background: #fff; border-radius: 10px; padding: .82rem .9rem; color: var(--ink); outline: none;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(49,95,83,.12); }
.order-form textarea { resize: vertical; min-height: 110px; }
.field-grid { display: grid; gap: 1rem; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.postal-grid { grid-template-columns: .42fr .58fr; }
.form-status { border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.3rem; }
.form-status strong { display: block; margin-bottom: .2rem; }
.form-status p { margin: .2rem 0 0; }
.form-status ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-status.success { background: #e5f1e9; color: #234d3b; }
.form-status.error { background: #f7e8e4; color: #733c2e; }
.required-note { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-section { background: linear-gradient(135deg, #f7f2e8, #eef4ef); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(30px, 5vw, 58px); background: rgba(255,255,255,.72); border: 1px solid rgba(49,95,83,.16); border-radius: var(--radius); }
.contact-card h2 { margin-bottom: .5rem; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-email { flex: 0 0 auto; font-weight: 800; font-size: clamp(1rem, 2vw, 1.3rem); }

.site-footer { background: #17352e; color: #dce5e1; padding: 2.2rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.footer-inner p { margin: 0; }
.footer-inner span { color: #9faaa5; }

@media (max-width: 900px) {
    .menu-button { display: inline-flex; background: transparent; border: 1px solid rgba(49,95,83,.3); border-radius: 999px; padding: .55rem .85rem; font-weight: 700; color: var(--forest-dark); }
    nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .55rem; }
    nav.is-open { display: flex; }
    nav a { padding: .75rem .8rem; border-radius: 8px; }
    nav a:hover { background: var(--cream); }
    .hero-inner, .split, .featured-poem, .order-layout { grid-template-columns: 1fr; }
    .hero-copy { order: 1; }
    .hero-photo { order: 0; max-width: 760px; margin-inline: auto; }
    .hero-photo img { width: 100%; height: auto; border-radius: 18px; }
    .books-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cover-wrap { height: 310px; }
    .order-copy { position: static; }
    .contact-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .content-width, .nav-wrap, .hero-inner { width: min(calc(100% - 28px), var(--content)); }
    .section-pad { padding: 72px 0; }
    .brand small { display: none; }
    .announcement-inner { align-items: flex-start; flex-direction: column; gap: .5rem; padding-block: 1rem; }
    h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .lead { font-size: 1.15rem; }
    .poem-grid, .books-grid, .video-grid, .field-grid.two, .postal-grid { grid-template-columns: 1fr; }
    .featured-poem figure { max-height: 520px; }
    .cover-wrap { height: 430px; }
    .order-book-row { align-items: flex-end; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
