/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff;
    --bg-dark: #2a2e2a;
    --bg-cream: #f0e8d9;
    --bg-cream-soft: #f7f2e8;
    --ink: #181a18;
    --ink-soft: #3a3d3a;
    --muted: #6e706d;
    --rule: #e6e2d6;
    --accent: #c66a2c;
    --accent-dark: #a8551d;

    --pad-x: clamp(20px, 4.5vw, 80px);

    --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --serif-italic: "Fraunces", "Georgia", "Times New Roman", Times, serif;

    --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }

/* ---------- Nav ---------- */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--pad-x);
    background: var(--bg-dark);
    color: #fff;
}
.site-nav .brand { position: relative; z-index: 110; }
.site-nav .brand img { width: clamp(120px, 13vw, 160px); height: auto; display: block; }

.site-nav nav {
    display: flex;
    gap: clamp(16px, 2.2vw, 36px);
    align-items: center;
}
.site-nav nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    padding: 6px 0;
}
.site-nav nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.site-nav nav a:hover { color: #fff; }
.site-nav nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    position: relative;
    background: none;
    border: 0;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
    z-index: 110;
}
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nav-toggle span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s ease, top .3s cubic-bezier(.2,.7,.2,1);
}
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.is-active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    background:
        linear-gradient(180deg, rgba(42, 46, 42, 0.82) 0%, rgba(42, 46, 42, 0.92) 100%),
        url("../assets/hero-bg.jpg") center / cover no-repeat;
    color: #fff;
    padding: clamp(140px, 18vw, 220px) var(--pad-x) clamp(80px, 10vw, 140px);
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hero-inner {
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}
.hero h1 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(40px, 6.5vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 clamp(20px, 2vw, 28px);
}
.hero p {
    font-size: clamp(15px, 1.1vw, 18px);
    font-weight: 400;
    max-width: 580px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}

/* ---------- About / Meistä ---------- */
.about {
    padding: clamp(72px, 9vw, 140px) var(--pad-x);
    background: #fff;
}
.about-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.about-text .eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 18px;
}
.about-text h2 {
    font-weight: 700;
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.018em;
    margin-bottom: clamp(24px, 2.4vw, 36px);
}
.about-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: clamp(28px, 3vw, 44px);
}
.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    max-width: 620px;
    margin: 0 auto;
}
.bullet-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 10px;
    height: 1px;
    background: var(--accent);
}
.bullet-list strong { font-weight: 600; color: var(--ink); }

/* ---------- Services / Palvelut ---------- */
.services {
    padding: clamp(72px, 9vw, 140px) var(--pad-x);
    background: #fff;
    border-top: 1px solid var(--rule);
}
.services-head {
    max-width: var(--max-w);
    margin: 0 auto clamp(40px, 5vw, 72px);
    text-align: center;
}
.services-head h2 {
    font-weight: 700;
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.018em;
    margin-bottom: 18px;
}
.services-head p {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 32px);
}
.service-card {
    background: #fafaf7;
    border: 1px solid var(--rule);
    padding: clamp(28px, 3vw, 44px);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.12);
}
.card-num {
    font-family: var(--serif-italic);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(28px, 2.6vw, 38px);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}
.service-card h3 {
    font-weight: 700;
    font-size: clamp(22px, 1.9vw, 28px);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.card-sub {
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    font-weight: 500;
}
.service-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex: 1;
}
.service-card ul li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.service-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 1px;
    background: var(--accent);
}
.price {
    font-weight: 700;
    font-size: clamp(18px, 1.4vw, 22px);
    color: var(--ink);
    padding-top: 18px;
    border-top: 1px solid var(--rule);
}
.price span {
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
    margin-left: 6px;
}
.price-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

/* ---------- Booking / Kengitys ---------- */
.booking {
    background: var(--bg-cream);
    padding: clamp(64px, 8vw, 120px) var(--pad-x);
}
.booking-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.booking h2 {
    font-weight: 700;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}
.booking-price {
    font-size: 16px;
    color: var(--ink-soft);
    margin-bottom: 8px;
    font-weight: 500;
}
.booking-detail {
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 520px;
    line-height: 1.6;
}
.booking-detail a {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 1px;
    font-weight: 600;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 18px 32px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 2px;
    transition: background .25s ease, transform .25s ease;
    white-space: nowrap;
}
.cta::after {
    content: "→";
    font-size: 18px;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}
.cta:hover::after { transform: translateX(4px); }

/* ---------- Quote ---------- */
.quote {
    background: var(--bg-cream-soft);
    padding: clamp(72px, 9vw, 130px) var(--pad-x);
    text-align: center;
}
.quote blockquote {
    max-width: 820px;
    margin: 0 auto;
}
.quote p {
    font-family: var(--serif-italic);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(26px, 3.2vw, 44px);
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin-bottom: 20px;
}
.quote cite {
    font-style: normal;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #fff;
    padding: clamp(56px, 7vw, 96px) var(--pad-x) 32px;
    border-top: 1px solid var(--rule);
}
.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    margin-bottom: 56px;
}
.footer-brand img { height: 44px; width: auto; }
.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 14px;
}
.footer-col p {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 8px;
}
.footer-col a {
    position: relative;
}
.footer-col a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.footer-col a:hover::after { transform: scaleX(1); }

.copyright {
    max-width: var(--max-w);
    margin: 0 auto;
    border-top: 1px solid var(--rule);
    padding-top: 28px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* ---------- Reveal (subtle) ---------- */
.hero h1, .hero p {
    opacity: 0;
    transform: translateY(16px);
    animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero h1 { animation-delay: 200ms; }
.hero p { animation-delay: 400ms; }

@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
    }
    .hero h1, .hero p { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .site-nav nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--bg-dark);
        padding: 80px var(--pad-x) 40px;
        gap: clamp(20px, 3.5vw, 32px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease, visibility 0s linear .35s;
        z-index: 105;
    }
    .site-nav nav.is-open {
        opacity: 1;
        visibility: visible;
        transition: opacity .35s ease, visibility 0s linear;
    }
    .site-nav nav a {
        font-size: clamp(20px, 4.5vw, 28px);
        color: #fff;
        padding: 8px 0;
    }
    .nav-toggle { display: block; }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .booking-inner {
        grid-template-columns: 1fr;
    }
    .cta { justify-self: start; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
