/* ===================================
   Elisa Nanni - Psicologa
   Design kit: Editorial Minimal (brand/design-kit)
   =================================== */

/* --- Fonts (self-hosted variable woff2, latin subset) --- */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Design tokens --- */
:root {
    --color-ivory: #FBF8F3;
    --color-cream: #FFFDFC;
    --color-blush: #D99A8E;
    /* Darker blush for text and button fills: #D99A8E is 2.3:1 on white (Q5, #5); 4.8:1 on ivory */
    --color-blush-strong: #A05B53;
    --color-blush-light: #F6E9E4;
    --color-sage: #98A18A;
    --color-sage-light: #E5E8DF;
    --color-beige: #EADCCB;
    --color-gold: #C9A46C;
    --color-heading: #33322D;
    --color-text: #66645E;
    --color-line: #EFE5DE;
    /* Kit eyebrow #9D7758 is 3.8:1 on ivory; darkened to pass AA at 11px (Q5, #5) */
    --color-eyebrow: #866246;
    --color-icon: #B77D45;

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Montserrat", Arial, sans-serif;

    --radius-card: 16px;
    --radius-button: 30px;
    --container-max: 1240px;
    --container-gutter: 120px;
    --section-space: 112px;
    --header-height: 88px;
    --shadow-soft: 0 8px 30px rgba(70, 60, 50, .05);
    --transition: .25s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-ivory);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--color-heading);
    outline-offset: 3px;
}

/* --- Typography --- */
h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--color-heading);
    line-height: .98;
}

h1 { font-size: clamp(50px, 5.2vw, 72px); }
h2 { font-size: clamp(42px, 4.2vw, 54px); }
h3 { font-size: 32px; }

p {
    margin: 0 0 18px;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--color-eyebrow);
}

.rule {
    width: 36px;
    height: 2px;
    margin-bottom: 20px;
    background: var(--color-gold);
}

/* --- Layout --- */
.container {
    width: min(calc(100% - var(--container-gutter)), var(--container-max));
    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-link {
    color: var(--color-blush-strong);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Scroll reveal: .reveal-ready is set by main.js only when motion is allowed */
.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s ease, transform .3s ease;
}

.reveal-ready .reveal.visible {
    opacity: 1;
    transform: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border: 0;
    border-radius: var(--radius-button);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-blush-strong);
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(.94);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-sage);
    color: var(--color-heading);
}

.btn-outline {
    border: 1px solid #BEA47F;
    background: transparent;
    color: var(--color-heading);
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Skip link --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: var(--radius-button);
    background: var(--color-heading);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

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

/* --- Header & navigation --- */
.site-header {
    position: relative;
    z-index: 10;
    background: rgba(255, 253, 252, .96);
    border-bottom: 1px solid #F0E9E1;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-height);
}

.site-logo {
    flex-shrink: 0;
}

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.site-menu {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.site-menu a {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    color: #4D4B47;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}

.site-menu a:hover,
.site-menu a[aria-current="page"] {
    color: var(--color-blush-strong);
}

.site-menu a[aria-current="page"] {
    border-bottom-color: var(--color-blush);
}

.nav-cta {
    padding: 13px 22px;
    font-size: 11px;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-heading);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

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

/* --- Footer --- */
.site-footer {
    padding: 28px 0;
    background: var(--color-cream);
    border-top: 1px solid var(--color-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 100px 1.4fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-symbol {
    width: 75px;
    height: 75px;
}

.footer-contact {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0 0 0 28px;
    border-left: 1px solid var(--color-line);
    list-style: none;
    font-size: 14px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 3px 0;
}

.footer-contact svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--color-icon);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact a {
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--color-blush-strong);
}

.footer-legal {
    padding-left: 28px;
    border-left: 1px solid var(--color-line);
    font-size: 13px;
}

.footer-legal p {
    margin: 0 0 10px;
}

.footer-legal p:last-child {
    margin-bottom: 0;
}

.footer-legal a {
    margin-right: 20px;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* --- Cookie banner --- */
.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    background: var(--color-cream);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 -8px 30px rgba(70, 60, 50, .08);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 48px 20px 0;
}

.cookie-banner p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.cookie-banner p a {
    color: var(--color-blush-strong);
}

.cookie-actions {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.cookie-actions .btn {
    justify-content: center;
    padding: 12px 26px;
}

.cookie-close {
    position: absolute;
    top: 50%;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

/* --- Home: full-bleed sections align their text with .container --- */
.hero,
.studio-home {
    container-type: inline-size;
}

/* --- Home: hero --- */
.hero {
    overflow: hidden;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 560px;
}

.hero-copy {
    display: flex;
    align-items: center;
    padding: 74px 45px 74px max(calc(var(--container-gutter) / 2), calc((100cqw - var(--container-max)) / 2));
}

.hero-text {
    position: relative;
}

.hero-text::before {
    content: "";
    position: absolute;
    top: -44px;
    left: -120px;
    width: 190px;
    height: 320px;
    border: 1px solid rgba(217, 154, 142, .24);
    border-radius: 50%;
    transform: rotate(-18deg);
    pointer-events: none;
}

.hero-lead {
    max-width: 530px;
    margin: 24px 0 30px;
    font-size: 17px;
    line-height: 1.55;
}

.hero-photo {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-top-left-radius: 130px;
    background: var(--color-blush-light);
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

/* --- Home: audiences --- */
.audiences {
    background: #fff;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    list-style: none;
}

.audience {
    position: relative;
    padding: 36px 28px;
    text-align: center;
}

.audience:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28%;
    right: 0;
    width: 1px;
    height: 44%;
    background: var(--color-line);
}

.icon-round {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #FAF1EB;
    color: var(--color-icon);
}

.icon-round svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.audience-link {
    display: block;
    text-decoration: none;
}

.audience-link:hover h3 {
    color: var(--color-blush-strong);
}

.audience h3 {
    margin-bottom: 6px;
    font-size: 24px;
    transition: color var(--transition);
}

.audience p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    text-wrap: balance;
}

/* --- Home: approach --- */
.approach-home {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(90deg, #FBF5EF 0%, #fff 28%, #fff 72%, #FBF2EC 100%);
}

.approach-home::before {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -165px;
    width: 340px;
    height: 340px;
    border-radius: 45% 55% 60% 40%;
    background: rgba(217, 154, 142, .10);
}

.approach-home .container {
    position: relative;
    max-width: 900px;
}

.approach-home .rule,
.reviews .rule {
    margin: 0 auto 18px;
}

.approach-home p {
    max-width: 820px;
    margin: 24px auto 26px;
}

/* --- Home: reviews --- */
.reviews {
    background: #fff;
    text-align: center;
}

.reviews p {
    max-width: 640px;
    margin: 22px auto 24px;
}

/* --- Home: call to action --- */
.cta {
    padding: 56px 0;
    background: var(--color-sage-light);
    text-align: center;
}

.cta h2 {
    font-size: clamp(36px, 4vw, 45px);
}

.cta p {
    max-width: 720px;
    margin: 14px auto 24px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* --- Home: studio --- */
.studio-home {
    background: #fff;
}

.studio-grid {
    display: grid;
    grid-template-columns: 46% 54%;
}

.studio-copy {
    padding: 65px 70px 65px max(calc(var(--container-gutter) / 2), calc((100cqw - var(--container-max)) / 2));
}

.studio-copy p {
    max-width: 520px;
    margin: 22px 0 28px;
}

.studio-photo {
    position: relative;
    min-height: 390px;
}

.studio-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

/* --- Internal pages: hero --- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
}

/* The kit wants no repeated decorations on internal pages: the hero ellipse stays on the home only */
.page-hero .hero-text::before {
    display: none;
}

.page-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
    padding: 90px 0;
}

.page-hero-grid.text-only {
    grid-template-columns: minmax(0, 820px);
}

.page-hero h1 {
    font-size: clamp(46px, 4.8vw, 66px);
}

.page-hero .hero-lead {
    margin-bottom: 0;
}

.page-hero-photo {
    overflow: hidden;
    aspect-ratio: 1040 / 941;
    border-top-left-radius: 110px;
    background: var(--color-blush-light);
}

.page-hero-photo.portrait {
    aspect-ratio: 3 / 4;
    max-height: 640px;
}

.page-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

/* --- Internal pages: editorial sections (heading left, text right) --- */
.alt {
    background: #fff;
}

.page-section-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.page-section h2 {
    font-size: clamp(34px, 3.4vw, 44px);
}

.prose {
    max-width: 700px;
}

.prose p {
    font-size: 17px;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose .text-link {
    display: inline-block;
    margin-top: 10px;
}

.page-intro p {
    max-width: 860px;
    margin: 0;
    color: var(--color-heading);
    font-size: 20px;
    line-height: 1.6;
}

.address {
    margin-bottom: 18px;
    color: var(--color-heading);
    font-size: 19px;
    font-style: normal;
    line-height: 1.5;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px 56px;
}

.info-grid h3 {
    margin-bottom: 12px;
    font-size: 28px;
}

.info-grid p {
    margin: 0;
}

.info-grid .btn,
.info-grid .text-link {
    margin-top: 16px;
}

.contact-link {
    color: var(--color-blush-strong);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.price-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-line);
}

.price-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: 17px;
}

.price-list .price {
    flex-shrink: 0;
    color: var(--color-heading);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    white-space: nowrap;
}

/* Google Maps is loaded only on request, see main.js */
.map-embed {
    display: grid;
    place-items: center;
    min-height: 320px;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--color-sage-light);
    text-align: center;
}

.map-embed p {
    max-width: 480px;
    margin: 0 auto 18px;
    padding: 0 20px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.facts {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.facts li {
    position: relative;
    padding-left: 30px;
    font-size: 17px;
}

.facts li::before {
    content: "";
    position: absolute;
    top: .78em;
    left: 0;
    width: 16px;
    height: 1px;
    background: var(--color-gold);
}

/* --- Key quote --- */
.key-quote {
    text-align: center;
}

.key-quote blockquote {
    max-width: 860px;
    margin: 0 auto;
    color: var(--color-heading);
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.25;
}

.key-quote blockquote p {
    margin: 0;
    font-size: inherit;
}

.key-quote blockquote::before {
    content: "\201C";
    display: block;
    height: 34px;
    color: var(--color-blush);
    font-size: 72px;
    line-height: 1;
}

.prose .key-quote {
    margin: 36px 0 0;
    text-align: left;
}

.prose .key-quote blockquote {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 30px);
}

/* --- FAQ --- */
.faq-list {
    border-top: 1px solid var(--color-line);
}

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

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    list-style: none;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--color-blush-strong);
    font-size: 28px;
    line-height: 1;
    transition: transform var(--transition);
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list summary h3 {
    font-size: 24px;
    line-height: 1.2;
}

.faq-list summary:hover h3 {
    color: var(--color-blush-strong);
}

.faq-answer {
    padding: 0 0 24px;
}

.faq-answer p {
    font-size: 17px;
}

.faq-answer .text-link {
    display: inline-block;
}

/* --- Legal pages (privacy) --- */
.legal {
    max-width: 820px;
}

.legal h2 {
    margin: 48px 0 16px;
    font-size: clamp(28px, 2.8vw, 34px);
}

.legal h2:first-child {
    margin-top: 0;
}

.legal h3 {
    margin: 28px 0 12px;
    font-size: 24px;
}

.legal ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--color-blush-strong);
}

.table-wrap {
    margin: 0 0 24px;
    overflow-x: auto;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.legal th,
.legal td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.legal th {
    color: var(--color-heading);
    font-weight: 600;
}

/* --- Error page --- */
.error-page {
    text-align: center;
}

.error-page .rule {
    margin: 0 auto 20px;
}

.error-page p {
    max-width: 520px;
    margin: 24px auto 30px;
}

/* ===================================
   Responsive (breakpoint del design kit; menu a hamburger sotto i 1024 px)
   =================================== */
@media (max-width: 1199px) {
    .header-inner {
        gap: 20px;
    }

    .site-logo img {
        height: 50px;
    }

    .site-nav {
        gap: 18px;
    }

    .site-menu {
        gap: 14px;
    }

    .site-menu a {
        font-size: 12px;
    }
}

@media (max-width: 1050px) {
    :root {
        --container-gutter: 48px;
    }

    .hero-grid,
    .studio-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 65px calc(var(--container-gutter) / 2);
    }

    .hero-photo {
        min-height: 500px;
        border-radius: 60px 60px 0 0;
    }

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

    .audience:nth-child(2)::after {
        display: none;
    }

    .studio-copy {
        padding: 60px calc(var(--container-gutter) / 2);
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 64px 0;
    }

    .page-section-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding: 4px calc(var(--container-gutter) / 2) 26px;
        background: var(--color-cream);
        border-bottom: 1px solid var(--color-line);
        box-shadow: var(--shadow-soft);
    }

    .site-nav.open {
        display: flex;
    }

    .site-menu {
        flex-direction: column;
        gap: 0;
    }

    .site-menu a,
    .site-menu a[aria-current="page"] {
        padding: 13px 0;
        border-bottom-color: var(--color-line);
        font-size: 15px;
    }

    .nav-cta {
        justify-content: center;
        padding: 15px 28px;
        font-size: 12px;
    }
}

@media (max-width: 760px) {
    :root {
        --container-gutter: 34px;
        --section-space: 72px;
        --header-height: 72px;
    }

    .site-logo img {
        height: 46px;
    }

    h1 {
        font-size: clamp(38px, 12vw, 48px);
    }

    .hero-copy {
        padding: 54px calc(var(--container-gutter) / 2);
    }

    .hero-photo {
        min-height: 430px;
    }

    .page-hero h1 {
        font-size: clamp(36px, 10vw, 46px);
    }

    .page-intro p {
        font-size: 18px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 0;
    }

    .cookie-banner p {
        padding-right: 36px;
    }

    .cookie-actions .btn {
        flex: 1;
    }

    .cookie-close {
        top: 8px;
        transform: none;
    }

    .hero-photo img {
        object-position: 78% center;
    }

    .audience {
        padding: 28px 14px;
    }

    .audience h3 {
        font-size: 21px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-symbol {
        width: 60px;
        height: 60px;
    }

    .footer-contact {
        padding-left: 0;
        border-left: 0;
    }

    .footer-legal {
        padding: 18px 0 0;
        border-top: 1px solid var(--color-line);
        border-left: 0;
    }
}

/* Phones get the hero crop centred on Elisa (see <picture> in index.html) */
@media (max-width: 500px) {
    .hero-photo img {
        object-position: center;
    }
}

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

    .btn,
    .nav-toggle-bar {
        transition: none;
    }
}
