/* TYPSNITT (egen server) */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/manrope-v23-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/manrope-v23-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/manrope-v23-latin-600.woff2') format('woff2');
}

/* ===========================================================
   PIRINTED – STYLE.CSS
   Ordning: grundinställningar, header, hero, tjänster,
   portfolio (dold), om oss, kontakt, sidfot, integritetspolicy
   =========================================================== */


/* ===== GRUNDINSTÄLLNINGAR ===== */

:root {
    --p-ink: #5E1F2B;
    --p-gold-text: #8C2F39;
    --p-paper: #F5F3EF;
}

html {
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background-color: #FFFFFF;
    color: #5E1F2B;
    font-family: 'Manrope', sans-serif;
}


/* ===== HEADER OCH LOGOTYP ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 6%;
    background: var(--p-paper);
    border-bottom: 1px solid rgba(94, 31, 43, .13);
    box-shadow: 0 6px 20px rgba(63, 17, 25, .28);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--p-ink);
}

.logo img {
    display: block;
    max-width: 100%;
}

.site-header .logo img {
    width: 150px;
    height: auto;
}


/* ===== NAVIGATION ===== */

/* Menyknappen syns bara på mobil */
.menu-toggle {
    display: none;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #5E1F2B;
    font-size: 16px;
}

.main-nav a:not(.contact-btn):hover {
    color: #8C2F39;
}

.main-nav .contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #5E1F2B;
    color: #FFFFFF;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav .contact-btn:hover {
    background-color: #3F1119;
}

/* Fokusmarkering för länkar och knappar */
.logo:focus-visible,
.main-nav a:focus-visible,
.hero-button:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid #8C2F39;
    outline-offset: 5px;
    border-radius: 5px;
}

@media (max-width: 900px) {
    .main-nav ul {
        align-items: stretch;
    }

    .main-nav .contact-btn {
        display: block;
        text-align: center;
    }
}

/* Mobil: header och hamburgarmeny */
@media (max-width: 768px) {

    .site-header {
        padding: 14px 6%;
    }

    .site-header .logo img {
        width: 110px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: block;
        position: absolute;
        top: calc(100% - 5px);
        right: 6%;
        left: auto;
        width: 210px;
        z-index: 10;
        background-color: #F5F3EF;
        border: 1px solid #DDD8CF;
        border-radius: 6px;
        padding: 20px;
        box-shadow: 0 12px 30px rgba(94, 31, 43, 0.12);
    }

    .main-nav.is-open ul {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 10px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        flex-shrink: 0;
        background-color: #5E1F2B;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    /* Menyikon – öppet läge */
    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* ===== HERO ===== */

.hero.hero-editorial {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 40px);
    overflow: hidden;
    background: #F5F3EF;
    color: var(--p-ink);
}

.hero.hero-editorial .hero-inner {
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: calc(100vh - 40px);
    margin: 0;
    padding: 120px 0 0;
    text-align: center;
}

.hero.hero-editorial .hero-copy {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 860px;
    margin: 0 auto;
    padding: 55px 1.8vw 55px clamp(28px, 6%, 112px);
    text-align: center;
}

/* Rubrik */
.hero.hero-editorial h1 {
    max-width: none;
    margin: 0 0 26px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(49px, 4.6vw, 79px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: #F5F3EF;
    text-shadow: 0 2px 24px rgba(63, 17, 25, .55);
}

#hero-title {
    text-wrap: balance;
}

/* Underrubrik */
.hero.hero-editorial .hero-description {
    max-width: none;
    margin: 0 auto 30px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(15px, 1.14vw, 17px);
    font-weight: 500;
    line-height: 1.75;
    text-align: center;
    color: #F5F3EF;
    text-shadow: 0 1px 12px rgba(63, 17, 25, .7);
}

/* Knappar */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
}

.hero.hero-editorial .hero-actions {
    align-items: stretch;
    gap: 15px;
    width: 100%;
    max-width: 262px;
    margin: 0 auto;
}

.hero-button {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.hero.hero-editorial .hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-radius: 5px;
}

.hero.hero-editorial .hero-actions .hero-button {
    box-sizing: border-box;
    width: auto;
    font-size: 14px;
    text-align: center;
}

/* Primär knapp */
.primary-btn {
    background-color: #5E1F2B;
    color: #FFFFFF;
    padding: 14px 24px;
    border-radius: 4px;
}

.primary-btn:hover {
    background-color: #3F1119;
    transform: translateY(-2px);
}

.hero.hero-editorial .primary-btn {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    padding: 15px 21px;
    border-radius: 5px;
    background: #8C2F39;
    color: #fff;
}

.hero.hero-editorial .primary-btn:hover {
    background: #5E1F2B;
}

/* Sekundär knapp */
.secondary-btn:hover {
    transform: translateY(-2px);
}

.hero.hero-editorial .secondary-btn {
    padding: 5px 0;
    background: transparent;
    color: #5E1F2B;
    border: 0;
    border-bottom: 1px solid #5E1F2B;
    border-radius: 0;
}

/* Bakgrundsbild */
.hero.hero-editorial .pirinted-hero-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.hero.hero-editorial .pirinted-hero-photo img {
    display: block;
    width: 135%;
    max-width: none;
    height: 100%;
    margin-left: -35%;
    object-fit: cover;
    object-position: center 15%;
}

/* Mörk ton över bilden */
.hero.hero-editorial .pirinted-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(63, 17, 25, .5),
        rgba(63, 17, 25, .66)
    );
}

/* Hover på dator */
@media (hover: hover) {
    .hero.hero-editorial .hero-actions .primary-btn {
        transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    }

    .hero.hero-editorial .hero-actions .primary-btn:hover {
        background-color: #C98A6B;
        color: #3F1119;
        box-shadow: 0 10px 24px rgba(94, 31, 43, 0.22);
    }

    .hero.hero-editorial .primary-btn span {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .hero.hero-editorial .primary-btn:hover span {
        transform: translateX(4px);
    }

    .hero.hero-editorial .hero-button.secondary-btn:hover,
    .hero.hero-editorial .hero-button.secondary-btn:focus-visible {
        color: #E0A98A;
        border-color: #E0A98A;
    }
}

/* Dator: länken "Se tjänsterna" och knappen */
@media (min-width: 701px) {
    .hero.hero-editorial .hero-actions {
        justify-content: center;
    }

    .hero.hero-editorial .hero-button.secondary-btn {
        height: auto;
        min-height: 0;
        padding: 0 0 6px;
        align-self: center;
        color: #F5F3EF;
        border-color: #F5F3EF;
    }

    .hero.hero-editorial .hero-button.primary-btn {
        min-height: 0;
        padding: 14px 26px;
        gap: 10px;
    }
}

@media (hover: hover) and (min-width: 701px) {
    .hero.hero-editorial .hero-actions .secondary-btn {
        transition: color 0.3s ease, border-color 0.3s ease;
    }
}

/* Surfplatta: knapparna under varandra */
@media (max-width: 768px) {
    .hero.hero-editorial .hero-inner {
        flex-direction: column;
    }

    .hero.hero-editorial .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 1050px) {
    .hero.hero-editorial .hero-copy {
        padding-left: 5%;
    }

    .hero.hero-editorial h1 {
        font-size: clamp(45px, 5.4vw, 62px);
    }
}

/* Mobil: texten överst, hela bilden bakom */
@media (max-width: 700px) {

    .hero.hero-editorial {
        min-height: calc(100svh - 160px);
    }

    .hero.hero-editorial .hero-inner {
        min-height: calc(100svh - 160px);
        padding-top: 160px;
        padding-bottom: 56px;
    }

    .hero.hero-editorial .hero-copy {
        max-width: none;
        padding: 46px 6% 0;
    }

    .hero.hero-editorial h1 {
        max-width: 780px;
        font-size: clamp(43px, 10vw, 62px);
    }

    .hero.hero-editorial .hero-description {
        max-width: 555px;
        margin: 0 0 30px;
        font-size: 15px;
        line-height: 1.7;
        align-self: center;
    }

    .hero.hero-editorial .hero-actions {
        gap: 14px;
    }

    .hero.hero-editorial .hero-button {
        max-width: 320px;
    }

    .hero.hero-editorial .hero-actions .hero-button {
        width: 100%;
    }

    .hero.hero-editorial .hero-actions .primary-btn,
    .hero.hero-editorial .hero-actions .secondary-btn {
        padding: 17px 26px;
        border-radius: 5px;
    }

    .hero.hero-editorial .hero-button.secondary-btn {
        border: 1px solid #F5F3EF !important;
        color: #F5F3EF !important;
    }

    .hero.hero-editorial .pirinted-hero-photo {
        height: auto;
    }

    .hero.hero-editorial .pirinted-hero-photo picture {
        display: contents;
    }

    .hero.hero-editorial .pirinted-hero-photo img {
        width: 100%;
        margin: 0;
        object-position: 50% 40%;
    }

    .hero.hero-editorial .pirinted-hero-photo::after {
        background: linear-gradient(
            rgba(63, 17, 25, .55),
            rgba(63, 17, 25, .7)
        );
    }
}

@media (hover: hover) and (max-width: 700px) {
    .hero.hero-editorial .hero-actions .secondary-btn {
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .hero.hero-editorial .hero-actions .secondary-btn:hover {
        background-color: rgba(201, 138, 107, 0.15);
    }
}

/* Ingen rörelse för den som stängt av animationer */
@media (prefers-reduced-motion: reduce) {
    .hero.hero-editorial .hero-button {
        transition: none;
    }

    .hero.hero-editorial .hero-actions .primary-btn:hover,
    .hero.hero-editorial .primary-btn:hover span {
        transform: none;
    }
}


/* ===== TJÄNSTER ===== */

.services {
    position: relative;
    overflow: hidden;
    padding: 100px 6%;
    background:
        radial-gradient(800px 520px at 92% 0%, rgba(201,138,107,.14), transparent 70%),
        #5E1F2B;
    color: #FFFFFF;
}

/* Fint brus över bakgrunden */
.services::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .08;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.services-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.services-label {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #E0A98A;
}

.services h2 {
    max-width: 850px;
    margin: 24px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.1;
}

.services h2 span {
    display: block;
    color: #E0A98A;
    font-style: italic;
}


/* --- Raderna --- */

.services-list {
    margin-top: 56px;
    border-bottom: 1px solid rgba(224,169,138,.28);
}

.service-row {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1.05fr) minmax(0, 1.3fr) 56px;
    gap: 32px;
    align-items: center;
    padding: 44px 32px;
    color: #F5F3EF;
    transition: background-color .4s ease, color .4s ease;
}

/* Linjen ovanför varje rad är en egen detalj som kan "ritas" */
.service-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(224,169,138,.28);
    transform-origin: left;
    transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C98A6B;
    justify-self: start;
    transition: width .35s ease, height .35s ease, background-color .35s ease;
}

.service-row h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 1;
    color: inherit;
}

.service-body p {
    margin: 0 0 18px;
    max-width: 460px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: inherit;
    opacity: .92;
    text-wrap: pretty;
}

.service-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags li {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: .75;
}


/* --- Ord med förklaring --- */

.term {
    display: inline-flex;
    align-items: center;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

/* Litet frågetecken i en cirkel */
.term::after {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    margin-left: .6em;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .8em;
    line-height: 1;
    letter-spacing: 0;
    opacity: .75;
}

.term:hover::after,
.term[aria-expanded="true"]::after {
    opacity: 1;
}

.term:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 999px;
}

/* Skuggad ruta med förklaringen */
.service-body .term-note {
    margin: 14px 0 0;
    padding: 12px 16px;
    max-width: 40ch;
    font-size: .85rem;
    line-height: 1.5;
    border-radius: 12px;
    background: color-mix(in srgb, currentColor 10%, transparent);
    text-wrap: pretty;
}

.service-body .term-note span {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
    font-weight: 600;
    color: #fff;
}


/* --- Hover (bara på dator) --- */

@media (hover: hover) {
    .service-row:hover {
        background: rgba(224, 169, 138, 0.09);
        color: #F5F3EF;
    }

    .service-row:hover .service-dot {
        width: 18px;
        height: 18px;
    }
}


/* --- Animation vid scroll (klasserna läggs till av script.js) --- */

/* Rubriken: avtorkning från vänster, sedan "Det visuella." */
.services h2.is-armed {
    transition: clip-path 1s cubic-bezier(.22, 1, .36, 1);
}

.services h2.is-armed:not(.is-visible) {
    clip-path: inset(-40% 100% -40% -10%);
}

.services h2.is-visible {
    clip-path: inset(-40% -10% -40% -10%);
}

.services h2.is-armed span {
    transition: opacity .9s ease .7s;
}

.services h2.is-armed:not(.is-visible) span {
    opacity: 0;
}

/* Raderna: tonar in en och en, linjen ritas */
.service-row.is-armed {
    transition:
        opacity .9s ease,
        background-color .4s ease,
        color .4s ease;
}

.service-row.is-armed:not(.is-visible) {
    opacity: 0;
}

.service-row.is-armed:not(.is-visible)::before {
    transform: scaleX(0);
}

.service-row:nth-child(2) { transition-delay: .1s, 0s, 0s; }
.service-row:nth-child(3) { transition-delay: .2s, 0s, 0s; }
.service-row:nth-child(4) { transition-delay: .3s, 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
    .service-row::before,
    .service-dot {
        transition: none;
    }
}


/* --- Så arbetar jag --- */

.process {
    margin-top: 84px;
}

.process-label {
    margin: 0 0 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #E0A98A;
}

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.process-steps li {
    border-top: 1px solid rgba(224,169,138,.45);
    padding-top: 22px;
}

.process-steps span {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: #E0A98A;
}

.process-steps h4 {
    margin: 12px 0 8px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 32px;
    color: #F5F3EF;
}

.process-steps p {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #F5F3EF;
    opacity: .82;
}


/* --- Mobil och surfplatta --- */

@media (max-width: 900px) {
    .service-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "dot arrow"
            "title title"
            "body body";
        gap: 18px 16px;
        padding: 34px 0;
    }

    .service-dot    { grid-area: dot; align-self: center; }
    .service-row h3 { grid-area: title; }
    .service-body   { grid-area: body; }

    .process-steps { grid-template-columns: 1fr; gap: 34px; }
    .process { margin-top: 64px; }
}

@media (max-width: 700px) {
    .services {
        padding: 64px 6% 72px;
    }

    .services h2 {
        margin: 16px 0 12px;
    }

    .services-list {
        margin-top: 36px;
    }
}


/* ===== PORTFOLIO (sektionen är dold i index.html) ===== */

.portfolio {
    background-color: #F5F3EF;
    color: #5E1F2B;
    padding: 110px 6%;
}

.portfolio-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 20px 0 24px;
    max-width: 900px;
}

.portfolio-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--p-gold-text);
    margin: 0;
}

.portfolio-description {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

.portfolio-grid {
    margin-top: 64px;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #EFE2DE;
    border-radius: 16px;
    overflow: hidden;
}

.project-info {
    margin-top: 24px;
}

.project-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 8px;
}

.project-info p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6E4A53;
    margin: 0;
}


/* ===== OM PIRINTED ===== */

.about {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(72px, 8vw, 120px) 6%;
    background: linear-gradient(to bottom, #4D1822 0%, #3F1119 100%);
    color: #F5F3EF;
}

/* Symbolen som svag vattenstämpel */
.about::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -8%;
    top: 50%;
    width: clamp(380px, 46vw, 760px);
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
    background: url("../images/brand/favicon.svg") center / contain no-repeat;
    opacity: 0.05;
}

/* Varm kopparglöd i bakgrunden */
.about::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 78% 35%,
                rgba(201, 138, 107, 0.2), transparent 60%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
}

.about .about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    grid-template-areas:
        "copy portrait"
        "facts facts";
    column-gap: clamp(40px, 7vw, 110px);
    row-gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

/* Text till vänster */
.about .about-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.about h2 {
    margin: 0 0 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #F5F3EF;
    text-wrap: balance;
}

/* Kopparstreck ovanför rubriken */
.about h2::before {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin-bottom: 20px;
    background: #C98A6B;
}

.about .about-text {
    max-width: 46ch;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(245, 243, 239, 0.88);
}

/* Namnteckning längst ned i textspalten */
.about .about-sign {
    margin-top: auto;
    padding-top: 32px;
}

.about .about-sign strong {
    display: block;
    margin-bottom: 6px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    font-style: italic;
    color: #E0A98A;
}

.about .about-sign span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E8D9D2;
}

/* Porträtt till höger */
.about .about-portrait {
    grid-area: portrait;
    align-self: center;
    justify-self: center;
    margin: 0;
    text-align: center;
}

.about-portrait {
    position: relative;
}

.about-portrait .portrait-frame {
    position: relative;
    width: min(280px, 100%);
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
    outline: 0;
}

.about-portrait .portrait-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    outline: 0;
    object-fit: cover;
    object-position: 50% 0;
    border-radius: 0;
}

/* Inre kopparlinje i bilden */
.about-portrait .portrait-frame::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid #C98A6B;
    pointer-events: none;
}

/* Ljus bakom bilden, tonar ut innan kanten */
.about-portrait::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 640px;
    height: 640px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side,
        rgba(201, 138, 107, 0.35),
        rgba(201, 138, 107, 0.1) 60%,
        transparent);
    pointer-events: none;
}

/* Tillgängligt / Närvarande */
.about .about-facts {
    grid-area: facts;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
}

.about .about-facts li {
    padding-top: 22px;
    border-top: 1px solid rgba(224, 169, 138, 0.45);
}

.about .about-facts strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 500;
    line-height: 1.1;
    color: #F5F3EF;
}

.about .about-facts span {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(245, 243, 239, 0.8);
}

/* Surfplatta och mobil: porträttet först, sedan texten */
@media (max-width: 900px) {
    .about .about-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "portrait"
            "copy"
            "facts";
    }

    .about .about-facts {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about::before {
        left: -30%;
        width: 420px;
    }
}

@media (max-width: 700px) {
    .about-portrait .portrait-frame {
        aspect-ratio: 1;
    }
}


/* ===== KONTAKT ===== */

.contact {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 6%;
    background-color: #F5F3EF;
    color: #5E1F2B;
}

.contact-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Bakgrund som andas */
.contact::before,
.contact::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.contact::before {
    width: 46vw;
    height: 46vw;
    left: -10%;
    top: -14%;
    background: rgba(201, 150, 100, 0.22);
    animation: contact-drift-a 22s ease-in-out infinite alternate;
}

.contact::after {
    width: 40vw;
    height: 40vw;
    right: -8%;
    bottom: -16%;
    background: rgba(140, 47, 57, 0.14);
    animation: contact-drift-b 28s ease-in-out infinite alternate;
}

@keyframes contact-drift-a {
    to { transform: translate(14vw, 10vh) scale(1.15); }
}

@keyframes contact-drift-b {
    to { transform: translate(-12vw, -8vh) scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
    .contact::before,
    .contact::after { animation: none; }
}


/* --- Rubrik och statusetikett --- */

.contact-intro {
    display: block;
}

.contact-text {
    min-width: 0;
}

.contact-label {
    margin: 0 0 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--p-gold-text);
}

.contact h2 {
    max-width: 750px;
    margin: 0 0 32px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(54px, 6vw, 96px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.contact h2 em {
    font-style: italic;
    font-weight: 400;
    color: #9A5638;
}

.contact-intro .contact-text h2 {
    margin-bottom: 0;
}

.contact-side {
    min-width: 0;
}

.contact-intro .contact-side {
    margin-top: 14px;
}

.contact-signature {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-signature-body {
    min-width: 0;
}

.signature-bubble-wrap {
    position: relative;
}

.signature-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 18px;
    border: 1px solid rgba(154, 86, 56, .4);
    border-radius: 999px;
    outline: 1px solid transparent;
    outline-offset: 0;
    background: rgba(255, 255, 255, .5);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .02em;
    color: #5E1F2B;
}

/* Etiketten rullar ner och pulserar när den kommer i bild */
.contact-signature.is-armed .signature-bubble {
    clip-path: inset(-12px -12px 100% -12px);
}

.contact-signature.is-visible .signature-bubble {
    animation:
        status-roll 1.8s cubic-bezier(0.33, 0, 0.2, 1) 0.3s both,
        pill-ping 2.8s ease-out 2.4s infinite;
}

@keyframes status-roll {
    from { clip-path: inset(-12px -12px 100% -12px); transform: translateY(-10px); }
    to   { clip-path: inset(-12px -12px -12px -12px); transform: none; }
}

@keyframes pill-ping {
    0%   { outline-color: rgba(154, 86, 56, .55); outline-offset: 0; }
    70%, 100% { outline-color: rgba(154, 86, 56, 0); outline-offset: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-signature.is-armed .signature-bubble {
        clip-path: none;
    }

    .contact-signature.is-visible .signature-bubble {
        animation: none;
    }
}


/* --- De två valkorten --- */

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.contact-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 28px 32px;
    text-align: left;
    background-color: #FFFFFF;
    color: #5E1F2B;
    border: 1px solid rgba(94, 31, 43, .12);
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

.contact-option > * {
    position: relative;
    z-index: 1;
}

.contact-option-title {
    margin-bottom: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 500;
    line-height: 1.05;
}

.contact-option-description {
    max-width: 340px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.contact-option-arrow {
    display: inline-block;
    align-self: flex-end;
    margin-top: auto;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    line-height: 1;
    transition: transform .4s ease;
}

.contact-option:hover {
    border-color: #C98A6B;
}

.contact-option[aria-pressed="true"] {
    background-color: #5E1F2B;
    color: #FFFFFF;
    border-color: #5E1F2B;
}

.contact-option[aria-pressed="true"]
.contact-option-description {
    color: #F3E7E3;
}

.contact-option:focus-visible {
    outline: 3px solid #8C2F39;
    outline-offset: 4px;
}

/* Ljus som följer musen i rutorna (--mx och --my sätts av script.js) */
.contact-option::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
                rgba(224, 169, 138, 0.35), transparent 65%);
}

@media (hover: hover) {
    .contact-option:hover {
        background-color: #5E1F2B;
        border-color: #5E1F2B;
    }

    .contact-option:hover .contact-option-title,
    .contact-option:hover .contact-option-description,
    .contact-option:hover .contact-option-arrow {
        color: #F5F3EF;
    }

    .contact-option:hover::before {
        opacity: 1;
    }

    .contact-option:hover .contact-option-arrow,
    .contact-option:focus-visible .contact-option-arrow {
        transform: translateY(4px);
    }
}

/* Dator: rubrik till vänster, valkort till höger */
@media (min-width: 901px) {
    .contact-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(40px, 6vw, 96px);
    }

    .contact-inner > .contact-intro {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-self: center;
        gap: 0;
    }

    .contact-inner > .contact-options {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 20px;
        margin-top: 0;
    }

    .contact-inner > .contact-form-panel {
        grid-column: 1 / -1;
    }
}


/* --- Formulärpanelen --- */

.contact-form-panel {
    margin-top: 24px;
    padding: 32px 36px;
    background-color: #FFFFFF;
    border: 1px solid rgba(94, 31, 43, .12);
    border-radius: 24px;
}

.contact-form-panel[hidden] {
    display: none;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.contact-form-panel .contact-form {
    gap: 16px;
}

.contact-form .form-field:has(textarea) {
    grid-column: 1 / -1;
}

.form-field {
    display: grid;
    gap: 2px;
}

.form-field label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5E1F2B;
}

/* Fält med understrykning */
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    box-sizing: border-box;
    color: #5E1F2B;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.contact-form input,
.contact-form textarea {
    height: auto;
    min-height: 0;
    padding: 14px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(94, 31, 43, .5);
    border-radius: 0;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.contact-form-panel .contact-form .form-field input,
.contact-form-panel .contact-form .form-field textarea {
    padding: 8px 0;
}

.form-field textarea {
    resize: vertical;
}

.contact-form-panel .contact-form .form-field textarea {
    height: 80px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: #5E1F2B;
    box-shadow: 0 0 0 3px rgba(94, 31, 43, 0.12);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;
    border-bottom-color: #8C2F39;
    box-shadow: 0 1px 0 0 #8C2F39;
}

.contact-form ::placeholder {
    color: rgba(94, 31, 43, .7);
    opacity: 1;
}

/* Rullgardin med understrykning */
.contact-form select {
    height: auto;
    min-height: 0;
    padding: 8px 28px 8px 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E1F2B' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center / 12px;
    border: 0;
    border-bottom: 1px solid rgba(94, 31, 43, .5);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.contact-form select:focus-visible {
    outline: none;
    border-bottom-color: #8C2F39;
    box-shadow: 0 1px 0 0 #8C2F39;
}

/* Skicka-knapp */
.contact-form .form-submit {
    grid-column: 1 / -1;
    justify-self: end;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-height: 56px;
    background-color: #5E1F2B;
    color: #FFFFFF;
    border: 1px solid #5E1F2B;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-form-panel .form-submit {
    padding: 14px 24px;
    margin-top: 4px;
}

.form-submit:hover {
    background-color: #7A2A37;
    transform: translateY(-2px);
}

.form-submit:focus-visible {
    outline: 3px solid #8C2F39;
    outline-offset: 4px;
}

.form-submit span {
    display: inline-block;
    transition: transform .4s ease;
}

.form-submit:hover span {
    transform: translateX(4px);
}

/* Noteringen om känsliga uppgifter */
.form-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
}

.contact-form .form-note {
    grid-column: 1 / -1;
}

.form-note a {
    color: inherit;
    text-underline-offset: 3px;
}

/* Spamskydd */
.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Statusrad */
.form-status {
    grid-column: 1 / -1;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #5E1F2B;
}

.form-status:empty {
    display: none;
}


/* --- Projektformuläret --- */

#project-form {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 24px;
}

#project-form > * {
    grid-column: 1 / -1;
}

#project-form .form-field:has(#project-name),
#project-form .form-field:has(#project-email),
#project-form .form-field:has(#project-company) {
    grid-column: span 2;
}

#project-form .form-field:has(#project-timeline),
#project-form .form-field:has(#project-budget) {
    grid-column: span 3;
}

#project-form .form-field textarea {
    height: 80px;
}

/* Tjänsteval som pillar */
.project-services {
    grid-column: 1 / -1;
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.contact-form .project-services {
    margin-bottom: 8px;
}

.project-services legend {
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5E1F2B;
}

.project-services-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #6E4A53;
    margin: 8px 0 20px;
}

/* Jämnt rutnät: 4 i bredd på dator, 2 på surfplatta och mobil */
#project-form .project-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

#project-form .project-service:last-child {
    grid-column: span 2;
}

.project-service {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5E1F2B;
}

.project-service:focus-within {
    outline: 2px solid #5E1F2B;
    outline-offset: 3px;
}

.contact-form .project-service {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 10px 18px;
    background: #FFFFFF;
    border: 1px solid rgba(94, 31, 43, .35);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.contact-form .project-service input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.contact-form .project-service span {
    color: inherit;
    font-size: 15px;
    text-align: center;
}

.contact-form .project-service:hover {
    border-color: #5E1F2B;
}

.contact-form .project-service:has(input:checked) {
    background: #5E1F2B;
    border-color: #5E1F2B;
    color: #F5F3EF;
}

.contact-form .project-service:has(input:focus-visible) {
    outline: 2px solid #8C2F39;
    outline-offset: 3px;
}

/* Beskrivning */
.project-description {
    grid-column: 1 / -1;
}

.form-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #6E4A53;
    margin: 0;
}


@media (max-width: 900px) {
    #project-form .project-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* --- Kontakt: mobil --- */

@media (max-width: 768px) {
    .contact {
        padding: 80px 6%;
    }

    .contact-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .contact-option {
        width: 100%;
        min-width: 0;
    }

    .contact-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form .form-field,
    .contact-form .form-submit {
        grid-column: 1;
        min-width: 0;
    }

    .form-submit {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .contact-form-panel {
        border-radius: 20px;
    }

    #project-form {
        grid-template-columns: 1fr;
    }

    #project-form .form-field:has(#project-name),
    #project-form .form-field:has(#project-email),
    #project-form .form-field:has(#project-company),
    #project-form .form-field:has(#project-timeline),
    #project-form .form-field:has(#project-budget) {
        grid-column: 1 / -1;
    }

    .contact-form .project-service {
        padding: 8px 14px;
    }

    .contact-form .project-service span {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-option-arrow,
    .form-submit span {
        transition: none;
    }
}


/* ===== KOPPARLINJE (tråden) ===== */

.thread {
    position: relative;
    z-index: 5;
    height: 0;
    pointer-events: none;
}

main + .thread {
    z-index: 3;
}

.thread svg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: translateY(-50%);
}

main + .thread svg {
    transform: translateY(-52%);
}

.thread path {
    fill: none;
    stroke: #C98A6B;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 700px) {
    .thread path {
        stroke-width: 4;
    }
}

/* Linjen ritas upp när JavaScript har startat */
.thread.is-armed path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.thread.is-visible path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 5s cubic-bezier(.4, 0, .2, 1);
}


/* ===== SIDFOT ===== */

.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 36px clamp(24px, 6vw, 115px) 18px;
    background-color: #5E1F2B;
    color: #F5F3EF;
}

/* Symbolen som svag vattenstämpel */
.site-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -6%;
    top: 50%;
    width: clamp(380px, 46vw, 760px);
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
    background: url("../images/brand/favicon.svg") center / contain no-repeat;
    opacity: 0.05;
}

/* Varm kopparglöd */
.site-footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 25% 40%,
                rgba(201, 138, 107, 0.18), transparent 60%);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.site-footer a {
    color: #F5F3EF;
    font-size: 15px;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    text-decoration-color: #C98A6B;
    text-underline-offset: 4px;
}

.site-footer a:focus-visible {
    outline: 2px solid #C98A6B;
    outline-offset: 4px;
}

.footer-info img {
    display: block;
    width: 120px;
    height: auto;
    margin: 0;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 32px;
}

.footer-email {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
}

.site-footer .footer-email {
    color: #C98A6B;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.site-footer .footer-email:hover {
    text-decoration: none;
}

.footer-email::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #C98A6B;
    transform: scaleX(0.25);
    transform-origin: left;
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .footer-email:hover::after {
        transform: scaleX(1);
    }
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 243, 239, 0.18);
    font-size: 13px;
    color: rgba(245, 243, 239, 0.7);
}

.footer-bottom p {
    margin: 0;
}

.site-footer .footer-bottom a {
    font-size: 13px;
}

@media (max-width: 800px) {
    .site-footer::before {
        right: -30%;
        width: 420px;
        opacity: 0.06;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 20px;
    }

    .footer-nav ul {
        justify-content: flex-start;
    }
}


/* ===== INTEGRITETSPOLICY ===== */

.site-header.policy-header {
    padding-top: 14px;
    padding-bottom: 14px;
    background: #F5F3EF;
    border-bottom: 1px solid rgba(94, 31, 43, .14);
}

.site-header.policy-header .logo img {
    width: 120px;
    height: auto;
}

.policy-header .policy-header-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #9A5638;
    text-decoration: none;
}

.policy-header .policy-header-back:hover,
.policy-header .policy-header-back:focus-visible {
    text-decoration: none;
}

.policy-header .policy-header-back span {
    display: inline-block;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform .2s ease;
}

.policy-header .policy-header-back:hover span,
.policy-header .policy-header-back:focus-visible span {
    transform: translate(-3px, -1px);
}

/* Mörkt rubrikband */
.policy-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(36px, 4.5vw, 60px) clamp(24px, 6vw, 115px) clamp(40px, 5vw, 64px);
    background-color: #5E1F2B;
    color: #F5F3EF;
}

.policy-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 20% 100%,
                rgba(201, 138, 107, 0.16), transparent 65%);
}

.policy-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.policy-label {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E0A98A;
}

.policy-hero h1 {
    margin: 0 0 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.02;
    color: #F5F3EF;
}

.policy-lead {
    max-width: 36ch;
    margin: 0 0 24px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(245, 243, 239, 0.88);
}

.policy-facts {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.policy-facts li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    font-weight: 500;
}

.policy-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #C98A6B;
}

.policy-updated {
    margin: 0;
    font-size: 13px;
    color: rgba(245, 243, 239, 0.65);
}

/* Ljus textdel med två kolumner */
.policy {
    padding: clamp(16px, 3vw, 40px) clamp(24px, 6vw, 115px) 64px;
    background-color: #F5F3EF;
    color: #3A2A2E;
}

.policy-inner {
    max-width: 900px;
    margin: 0 auto;
}

.policy-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: clamp(24px, 5vw, 64px);
    padding: 20px 0;
    border-top: 1px solid rgba(201, 138, 107, 0.4);
}

.policy-row h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.15;
    color: #5E1F2B;
}

.policy-row h2 span {
    display: block;
    margin-bottom: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #9A5638;
}

.policy-row p {
    margin: 0;
    max-width: 60ch;
    padding-top: 22px;
    font-size: 0.95rem;
    line-height: 1.65;
}

.policy a {
    color: #8C2F39;
    text-underline-offset: 3px;
}

.policy a:hover {
    color: #5E1F2B;
}

@media (max-width: 700px) {
    .policy-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .policy-row p {
        padding-top: 0;
    }
}
