/* VÄRIT JA PERUSTYYLIT */

:root {
    --paper: #f5f0ed;
    --ink: #302332;
    --muted: #6d626b;
    --accent: #a94f4b;
    --line: #d9ced4;
    --soft: #eae1e4;
    --button: #793f55;
    --peach: #e8b29d;

    font-family: "DM Sans", Arial, sans-serif;
    font-synthesis: none;
    color: var(--ink);
    background: var(--paper);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 35px;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 6px;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

p {
    margin: 0 0 1.3rem;
    line-height: 1.8;
}

h1,
h2,
h3,
blockquote {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(58px, 6.3vw, 94px);
    line-height: 1.1;
}

h2 {
    font-size: clamp(38px, 4vw, 59px);
    line-height: 1.17;
}

h3 {
    font-size: 29px;
    line-height: 1.25;
}

em {
    font-weight: 400;
    color: var(--accent);
}

.section {
    max-width: 1180px;
    margin: auto;
    padding: 100px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eyebrow>span {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 17px 22px;
    border: 1px solid var(--button);
    background: var(--button);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-3px);
    background: var(--ink);
}

.arrow-icon {
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.text-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.text-link:hover {
    color: var(--accent);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px;
    background: #fff;
    color: var(--ink);
}

.skip-link:focus {
    top: 10px;
}

/* YLÄVALIKKO */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 95px;
    padding: 23px max(50px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid #584655;
    background: var(--ink);
    color: var(--paper);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.brand>span {
    color: var(--peach);
    font-size: 18px;
}

.brand small {
    margin-left: 4px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
}

.header nav a:hover {
    color: var(--peach);
}

.header .nav-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 13px 19px;
    border: 1px solid #8d7482;
}

/* ALOITUSNÄKYMÄ */

.hero-bold {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 700px;
    padding-left: max(50px, calc((100vw - 1180px) / 2));
    overflow: hidden;
    isolation: isolate;
    background: var(--ink);
    color: #fff;
}

.hero-copy {
    z-index: 2;
    padding: 65px 45px 72px 0;
}

.hero-bold h1 {
    margin-bottom: 28px;
}

.hero-bold em {
    color: #eab39e;
}

.hero-bold .eyebrow {
    color: #e7c9bc;
}

.hero-bold .eyebrow>span {
    color: var(--peach);
}

.hero-lead {
    max-width: 420px;
    margin-bottom: 20px;
    color: #f8efee;
    font-size: 18px;
    line-height: 1.65;
}

.hero-copy>p:not(.eyebrow):not(.hero-lead) {
    max-width: 470px;
    color: #cfbfc9;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
}

.hero-bold .button {
    border-color: var(--peach);
    background: var(--peach);
    color: var(--ink);
}

.hero-bold .button:hover {
    background: #f4c8b5;
}

.hero-bold .text-link {
    border-color: #7f6877;
    color: #f0dde3;
}

.hero-bold-image {
    position: relative;
    margin-left: 20px;
}

.hero-bold-image img {
    object-position: 68% center;
}

.image-caption {
    position: absolute;
    right: 30px;
    bottom: 25px;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.big-e {
    position: absolute;
    bottom: -120px;
    left: 24%;
    z-index: -1;
    color: #ffffff04;
    font-family: Georgia, serif;
    font-size: 580px;
    line-height: 1;
}

/* ARVOT */

.values-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 28px 24px;
    background: #e6b39e;
    color: var(--ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 29px;
    letter-spacing: -0.03em;
}

.values-band i {
    color: #733a50;
    font-size: 14px;
    font-style: normal;
}

/* LIIKETOIMINTAMAHDOLLISUUS */

.fit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.fit h2 {
    margin-bottom: 26px;
    font-size: 64px;
}

.fit>div>p:not(.eyebrow) {
    max-width: 460px;
    color: var(--muted);
    font-size: 14px;
}

.fit .button {
    margin-top: 14px;
}

.fit-points {
    align-self: center;
    padding: 42px 40px;
    background: #e9dfe4;
}

.fit-points h3 {
    margin-bottom: 25px;
    font-size: 26px;
}

.fit-points p {
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.6;
}

.fit-points p>span {
    padding-top: 4px;
    color: var(--accent);
    font-size: 10px;
}

.fit-points small {
    display: block;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

/* OMA TARINA */

.story {
    display: grid;
    grid-template-columns: 1fr 1.14fr;
    align-items: start;
    gap: 95px;
    border-top: 1px solid var(--line);
}

.story-visual {
    position: relative;
    margin-top: 80px;
}

.story-visual>img {
    height: 610px;
    object-position: center 35%;
    filter: saturate(0.7);
}

.photo-note {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.story h2 {
    margin-bottom: 28px;
}

.story-copy>p {
    color: var(--muted);
    font-size: 14px;
}

.story-copy .lead {
    color: var(--ink);
    font-size: 17px;
}

blockquote {
    margin: 25px 0 28px;
    padding: 5px 0 5px 22px;
    border-left: 2px solid var(--accent);
    font-size: 23px;
    line-height: 1.55;
    letter-spacing: -0.02em;
}

summary {
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

.story-more {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.story-more summary {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 12px;
    font-weight: 600;
}

.story-more[open] summary span {
    transform: rotate(45deg);
}

.story-more>div {
    padding: 6px 0 10px;
}

.story-more p {
    color: var(--muted);
    font-size: 14px;
}

/* DUBAI-KUVA */

.journey {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
    isolation: isolate;
    background: #122b2b;
    color: #fff;
}

.journey>img {
    position: absolute;
    inset: 0;
    z-index: -2;
    object-position: center 55%;
}

.journey::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
            rgba(10, 27, 29, 0.88),
            rgba(10, 27, 29, 0.42) 48%,
            transparent);
    content: "";
}

.journey>div {
    max-width: 750px;
    padding: 80px max(50px, calc((100vw - 1180px) / 2));
    padding-right: 30px;
}

.journey .eyebrow {
    color: #eee6d4;
}

.journey .eyebrow>span {
    color: #e5c495;
}

.journey h2 {
    font-size: clamp(42px, 4.4vw, 66px);
}

.journey em {
    color: #e5c495;
}

.journey p:not(.eyebrow) {
    max-width: 360px;
    margin: 26px 0 0;
    color: #f5f2ec;
    font-size: 14px;
}

/* VAPAUS JA TAVOITTEET */

.vision {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 100px;
    border-top: 1px solid var(--line);
}

.section-heading>p:not(.eyebrow) {
    max-width: 360px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
}

.vision-list article {
    display: flex;
    gap: 28px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.vision-list article:first-child {
    padding-top: 5px;
}

.vision-list article>span {
    margin-top: 6px;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.vision-list h3 {
    margin-bottom: 12px;
    font-size: 30px;
}

.vision-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* YHTEISÖ */

.together {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1180px;
    min-height: 590px;
    margin: 0 auto 100px;
    background: var(--soft);
}

.together-image img {
    max-height: 680px;
    object-position: center;
}

.together-copy {
    align-self: center;
    padding: 72px 60px;
}

.together-copy h2 {
    margin-bottom: 28px;
    font-size: 45px;
}

.together-copy p:not(.eyebrow):not(.handwriting) {
    color: var(--muted);
    font-size: 14px;
}

.handwriting {
    margin: 28px 0 0;
    color: var(--accent);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-style: italic;
    line-height: 1.5;
}

/* OTA SELVÄÄ. PÄÄTÄ. TEE. */

.steps {
    padding-top: 64px;
    padding-bottom: 78px;
    border-top: 1px solid var(--line);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 30px;
}

.steps-grid article>span {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.1em;
}

.steps h3 {
    margin: 14px 0;
    font-size: 36px;
}

.steps p {
    max-width: 270px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* USEIN KYSYTTYÄ */

.faq {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
    border-top: 1px solid var(--line);
}

.questions {
    border-top: 1px solid var(--line);
}

.questions details {
    border-bottom: 1px solid var(--line);
}

.questions summary {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.q-no {
    color: var(--accent);
    font-size: 10px;
}

.plus {
    margin-left: auto;
    font-size: 23px;
    font-weight: 400;
}

.questions details[open] .plus {
    transform: rotate(45deg);
}

.questions details p {
    margin: 0;
    padding: 0 28px 23px;
    color: var(--muted);
    font-size: 13px;
}

/* TUTUSTUTAAN */

.contact {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 650px;
    background: var(--ink);
    color: var(--paper);
}

.contact-photo {
    overflow: hidden;
}

.contact-photo img {
    object-position: center 40%;
    filter: saturate(0.75);
}

.contact-copy {
    align-self: center;
    padding: 80px 75px;
}

.contact h2 {
    margin-bottom: 26px;
    font-size: 53px;
}

.contact em {
    color: var(--peach);
}

.contact .eyebrow,
.contact .eyebrow>span {
    color: #e4d0aa;
}

.contact p:not(.eyebrow):not(.signature) {
    max-width: 450px;
    color: #e1e6df;
    font-size: 14px;
}

.contact .button {
    margin: 8px 0 14px;
    border-color: #f4ecdc;
    background: #f4ecdc;
    color: var(--ink);
}

.contact .button:hover {
    background: #fff;
}

.contact .fine-print {
    max-width: 355px !important;
    font-size: 10px !important;
    line-height: 1.6;
}

.signature {
    margin: 30px 0 13px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-style: italic;
    line-height: 1.4;
}

.contact-name,
.contact-role {
    display: block;
    font-size: 12px;
    line-height: 1.7;
}

.contact-role {
    color: #c3d1c7;
    font-size: 10px;
    letter-spacing: 0.03em;
}

/* ALATUNNISTE */

footer {
    max-width: 1180px;
    margin: auto;
    padding: 50px 0 28px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 35px;
}

.footer-top>p {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
}

.footer-top>a:last-child {
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
}

/* TABLETIT JA PIENEMMÄT NÄYTÖT */

@media (min-width: 1500px) {
    .hero-bold-image img {
        object-position: center 55%;
    }
}

@media (max-width: 1250px) {

    .section,
    footer {
        margin-right: 50px;
        margin-left: 50px;
    }

    .story,
    .vision,
    .fit {
        gap: 65px;
    }

    .together {
        margin-right: 50px;
        margin-left: 50px;
    }

    .together-copy {
        padding: 50px 42px;
    }

    .contact-copy {
        padding: 65px 50px;
    }
}

@media (max-width: 950px) {
    .header {
        padding-right: 30px;
        padding-left: 30px;
    }

    .section,
    footer {
        margin-right: 30px;
        margin-left: 30px;
    }

    .section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .hero-bold {
        grid-template-columns: 1.1fr 1fr;
        min-height: 650px;
        padding-left: 30px;
    }

    .hero-bold h1 {
        font-size: 66px;
    }

    .hero-copy {
        padding-top: 55px;
        padding-right: 25px;
    }

    .fit h2 {
        font-size: 51px;
    }

    .story,
    .vision,
    .fit {
        gap: 45px;
    }

    .story h2 {
        font-size: 43px;
    }

    .story-visual>img {
        height: 550px;
    }

    .fit-points {
        padding: 30px 25px;
    }

    .fit-points h3 {
        font-size: 24px;
    }

    .together {
        min-height: 540px;
        margin: 0 30px 75px;
    }

    .together-copy {
        padding: 40px 30px;
    }

    .together h2 {
        font-size: 39px;
    }

    .steps-grid {
        gap: 35px;
    }

    .faq {
        grid-template-columns: 1fr 1.2fr;
        gap: 40px;
    }

    .contact-copy {
        padding: 60px 35px;
    }

    .contact h2 {
        font-size: 44px;
    }

    .values-band {
        gap: 45px;
    }
}

/* PUHELIMET */

@media (max-width: 700px) {
    html {
        scroll-padding-top: 25px;
    }

    .header {
        min-height: 88px;
        padding: 20px 22px;
    }

    .brand {
        font-size: 36px;
    }

    .brand small {
        font-size: 8px;
    }

    .header nav {
        gap: 15px;
        font-size: 11px;
    }

    .header nav>a:nth-child(2),
    .header nav>a:nth-child(3) {
        display: none;
    }

    .header .nav-cta {
        gap: 12px;
        padding: 11px 13px;
    }

    .eyebrow {
        margin-bottom: 22px;
        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .hero-bold {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 0;
    }

    .hero-copy {
        width: 100%;
        padding: 42px 25px 40px;
    }

    .hero-bold h1 {
        font-size: clamp(55px, 13vw, 76px);
        line-height: 1.08;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions {
        gap: 18px;
        margin-top: 25px;
    }

    .hero-bold-image {
        height: 430px;
        margin: 0 22px 35px;
    }

    .hero-bold-image img {
        object-position: 70% 50%;
    }

    .big-e {
        display: none;
    }

    .values-band {
        gap: 17px;
        padding: 23px 15px;
        font-size: 21px;
    }

    .values-band i {
        font-size: 9px;
    }

    .section,
    footer {
        margin-right: 22px;
        margin-left: 22px;
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .fit,
    .vision,
    .faq {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .fit h2 {
        font-size: 44px;
    }

    .fit-points {
        padding: 32px 26px;
    }

    .fit-points h3 {
        font-size: 25px;
    }

    .fit-points p {
        padding-top: 16px;
        padding-bottom: 16px;
        font-size: 13px;
    }

    .story {
        display: flex;
        flex-direction: column-reverse;
        gap: 35px;
    }

    .story h2 {
        font-size: 43px;
    }

    .story-visual {
        width: 100%;
        margin-top: 0;
    }

    .story-visual>img {
        height: 450px;
        object-position: center 30%;
    }

    .story-copy .lead {
        font-size: 17px;
    }

    blockquote {
        font-size: 23px;
    }

    .journey {
        min-height: 565px;
    }

    .journey>img {
        object-position: 48% center;
    }

    .journey::after {
        background: linear-gradient(90deg,
                rgba(10, 27, 29, 0.85),
                rgba(10, 27, 29, 0.3));
    }

    .journey>div {
        padding: 60px 28px;
    }

    .journey h2 {
        font-size: 44px;
    }

    .journey p:not(.eyebrow) {
        max-width: 275px;
    }

    .image-caption {
        right: 22px;
        bottom: 20px;
        font-size: 9px;
    }

    .vision h2 {
        font-size: 44px;
    }

    .section-heading>p:not(.eyebrow) {
        max-width: 430px;
    }

    .vision-list article {
        gap: 22px;
        padding: 23px 0;
    }

    .vision-list h3 {
        font-size: 29px;
    }

    .together {
        display: flex;
        flex-direction: column;
        min-height: auto;
        margin: 0 22px 62px;
    }

    .together-image {
        height: 390px;
    }

    .together-image img {
        object-position: center 35%;
    }

    .together-copy {
        padding: 38px 26px;
    }

    .together h2 {
        font-size: 39px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 25px;
    }

    .steps-grid article {
        display: grid;
        grid-template-columns: 38px 1fr;
        gap: 0 12px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--line);
    }

    .steps-grid article>span {
        padding-top: 10px;
    }

    .steps h3 {
        margin: 0 0 12px;
        font-size: 33px;
    }

    .steps p {
        grid-column: 2;
        max-width: none;
    }

    .steps-grid article:last-child {
        padding: 0;
        border: 0;
    }

    .faq {
        gap: 24px;
    }

    .faq h2 {
        font-size: 41px;
    }

    .questions summary {
        gap: 13px;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 14px;
    }

    .questions details p {
        padding-right: 15px;
        padding-left: 25px;
        font-size: 13px;
    }

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

    .contact-photo {
        order: 2;
        height: 350px;
    }

    .contact-photo img {
        object-position: center 32%;
    }

    .contact-copy {
        padding: 55px 28px;
    }

    .contact h2 {
        font-size: 44px;
    }

    .contact .button {
        padding: 17px 21px;
        font-size: 12px;
    }

    .signature {
        margin-top: 25px;
    }

    footer {
        padding-top: 35px;
        padding-bottom: 28px;
    }

    .footer-top {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 25px;
    }

    .footer-top>p {
        order: 2;
        width: 100%;
        margin-top: 7px;
        font-size: 19px;
    }

    .footer-top>a:last-child {
        font-size: 11px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        padding-top: 22px;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}