@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('assets/fonts/dm-sans.ttf') format('truetype');
}

:root {
    --cream: #fbf4e1;
    --yellow: #feefb8;
    --blue: #CDDDE8;
    --brown: #432f2e;
    --red: #821319;
    --bg: var(--cream);
    --ink: var(--brown);
    --accent: var(--red);
    --line: rgba(67, 47, 46, .18);
    --panel: #f4ead2;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', sans-serif
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    transition: background .7s, color .7s
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer
}

button,
a,
summary {
    -webkit-tap-highlight-color: transparent
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid #ad6961;
    outline-offset: 6px
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -1.8px
}

em {
    font-weight: 400
}

h2 {
    font-size: clamp(35px, 3.3vw, 50px)
}

.header {
    max-width: 1440px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%;
    gap: 30px;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: block;
    line-height: 0
}

.brand img {
    width: 220px;
    height: auto
}

.header nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 12px;
    font-weight: 500
}

.header nav a {
    position: relative;
    white-space: nowrap
}

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

.header nav .active:after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    bottom: -9px;
    left: 50%
}

.nav-contact {
    border: 1px solid var(--line);
    padding: 10px 18px;
    border-radius: 50px
}

.nav-contact span {
    margin-left: 20px
}

.menu-toggle {
    display: none
}

.hero {
    max-width: 1440px;
    margin: auto;
    padding: 65px 5% 0;
    position: relative;
    display: grid;
    grid-template-columns: 1.06fr 1fr;
    gap: 0 55px
}

.eyebrow,
.section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px
}

.little-star {
    font-size: 26px;
    color: var(--accent);
    line-height: 1
}

h1 {
    font-size: clamp(42px, 4.3vw, 66px);
    white-space: nowrap;
    position: relative;
    z-index: 2
}

h1 em {
    color: var(--accent)
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
    margin-top: 25px;
    font-weight: 500
}

.hero-description {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.85;
    margin: 16px 0 26px;
    opacity: .8
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    border: 0;
    border-radius: 50px;
    background: var(--red);
    color: var(--cream);
    padding: 15px 25px;
    font-size: 12px;
    font-weight: 500;
    transition: transform .2s, background .2s
}

.button:hover {
    transform: translateY(-3px);
    background: #652023
}

.button span {
    font-size: 20px;
    line-height: 1
}

.hero-note {
    font-size: 10px;
    margin-top: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: .8
}

.hero-note span {
    font-size: 18px
}

.hero-visual {
    position: relative;
    padding-top: 5px
}

.photo-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 180px 180px 8px 8px;
    height: 490px;
    background: #d8c3a1
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 51% center;
    transition: filter .9s, transform 1s
}

.hero-immersive .photo-wrap picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 760px) {
    .home-page .hero-immersive .photo-wrap {
        top: 70px;
        height: 650px;
    }

    .home-page .hero-immersive .hero-photo {
        object-position: center 30%;
    }
}

.night-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #19263c88, #25171888);
    opacity: 0;
    transition: opacity .9s
}

.photo-caption {
    position: absolute;
    left: 30px;
    bottom: 27px;
    font-family: var(--serif);
    color: #fff8e8;
    font-size: 26px;
    line-height: 1.2;
    text-shadow: 0 2px 20px #432f2e
}

.round-badge {
    position: absolute;
    top: 31px;
    left: -41px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--brown);
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    line-height: 1.3;
    transform: rotate(-13deg);
    z-index: 3
}

.round-badge span {
    font-size: 25px;
    margin-top: 3px
}

.lamp-toggle {
    position: absolute;
    right: -24px;
    top: -49px;
    z-index: 4;
    background: none;
    border: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: rotate(6deg)
}

.lamp-toggle svg {
    width: 64px;
    height: 90px;
    transition: transform .3s;
    color: var(--accent)
}

.lamp-toggle:hover svg {
    transform: rotate(-8deg)
}

.lamp-shade {
    fill: var(--yellow);
    stroke: var(--accent);
    stroke-width: 1.5
}

.lamp-toggle>span {
    font-size: 10px;
    line-height: 1.5;
    text-align: left
}

.lamp-toggle em {
    font-family: var(--serif);
    font-size: 15px
}

.photo-star {
    position: absolute;
    opacity: 0;
    color: var(--yellow);
    font-size: 42px;
    transition: opacity 1s
}

.star-one {
    top: 60px;
    right: 50px
}

.star-two {
    top: 150px;
    left: 40px;
    font-size: 25px
}

.hero-bottom {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0 25px;
    border-top: 1px solid var(--line);
    font-size: 9px;
    letter-spacing: 1.7px
}

.hero-bottom a {
    font-size: 25px
}

.section {
    padding: 90px max(5%, calc((100vw - 1296px)/2));
    scroll-margin-top: 20px
}

.section-label {
    margin-bottom: 20px
}

.familiar {
    position: relative;
    background: var(--cream);
    color: var(--brown);
    text-align: center;
    overflow: visible;
    z-index: 2;
}

.familiar::before {
    content: "";
    position: absolute;

    left: 0;
    top: -40px;

    width: 100%;
    height: 630px;

    pointer-events: none;
    z-index: 1;
}

.familiar > * {
    position: relative;
    z-index: 2;
}

.questions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 45px 0 30px;
    text-align: left
}

.questions article {
    position: relative;
    min-height: 170px;
    border-left: 1px solid #432f2e30;
    padding: 0 23px
}

.questions article:first-child {
    border: 0
}

.questions article>span {
    font-size: 10px;
    opacity: .65
}

.questions h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 16px
}

.line-icon {
    font-size: 33px;
    margin-top: 18px;
    color: var(--red)
}

.familiar-end {
    font-size: 13px;
    line-height: 2
}

.familiar-end strong {
    font-weight: 600
}

.approach {
    display: grid;
    grid-template-columns: .85fr 1fr;
    gap: 10%;
    align-items: center;
}

.dream-art {
    background: var(--yellow);
    aspect-ratio: 0.88;
    border-radius: 260px 260px 4px 4px;
    position: relative;
    overflow: hidden;
}

.dream-photo {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 8%;
    bottom: 6%;
    z-index: 2;
    overflow: hidden;

    border-radius: 220px 220px 0 0;
}

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

/* finom belső kontúrvonal */
.dream-photo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50% 50% 0 0 / 34% 34% 0 0;
    border: 1px solid rgba(67, 47, 46, 0.14);
    pointer-events: none;
}

/* csillagok */
.art-star {
    position: absolute;
    color: var(--red);
    z-index: 3;
    animation: starFloat 5.5s ease-in-out infinite;
    transform-origin: center;
    opacity: .95;
}

.art-star svg {
    width: 1em;
    height: 1em;
    display: block;
}

.art-star.a {
    left: 8%;
    top: 26%;
    font-size: 28px;
    animation-delay: 0s;
}

.art-star.b {
    right: 9%;
    top: 16%;
    font-size: 22px;
    animation-delay: .8s;
}

.art-star.c {
    right: 8%;
    bottom: 18%;
    font-size: 18px;
    animation-delay: 1.6s;
}

.art-star.d {
    left: 10%;
    bottom: 18%;
    font-size: 20px;
    animation-delay: 1.1s;
}

.art-star.e {
    left: 24%;
    top: 8%;
    font-size: 14px;
    animation-delay: 2s;
}

.art-star.f {
    right: 22%;
    bottom: 8%;
    font-size: 14px;
    animation-delay: 2.5s;
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-7px) rotate(4deg);
    }
}

.approach-copy {
    position: relative;
    z-index: 2;
}

.approach h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.15;
    margin: 0 0 20px;
}

.approach p {
    margin: 20px 0;
    font-size: 14px;
    opacity: .85;
}

.approach .section-label {
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .approach {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .dream-art {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .dream-photo {
        left: 12%;
        right: 12%;
        top: 12%;
        bottom: 9%;
    }

    .art-star.a {
        left: 8%;
        top: 24%;
    }

    .art-star.b {
        right: 8%;
        top: 15%;
    }

    .art-star.c {
        right: 8%;
        bottom: 18%;
    }

    .art-star.d {
        left: 10%;
        bottom: 18%;
    }

    .art-star.e {
        left: 22%;
        top: 8%;
    }

    .art-star.f {
        right: 22%;
        bottom: 8%;
    }
}

@media (max-width: 640px) {
    .approach h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .approach p {
        font-size: 14px;
    }

    .dream-photo {
        left: 11%;
        right: 11%;
        top: 11%;
        bottom: 8%;
    }

    .art-star.a {
        font-size: 24px;
    }

    .art-star.b {
        font-size: 19px;
    }

    .art-star.c {
        font-size: 16px;
    }

    .art-star.d {
        font-size: 17px;
    }

    .art-star.e,
    .art-star.f {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .art-star {
        animation: none;
    }
}

.text-link {
    display: inline-flex;
    gap: 25px;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--accent);
    padding: 8px 0;
    color: var(--accent)
}

.text-link span {
    font-size: 20px
}

.support {
    text-align: center;
    border-top: 1px solid var(--line)
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: left;
    margin: 45px 0
}

.support-grid article {
    border-top: 1px solid var(--line);
    padding-top: 20px
}

.support-grid article>span {
    font-size: 12px;
    color: var(--accent)
}

.support-grid h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 27px;
    margin: 15px 0 12px
}

.support-grid p {
    font-size: 14px;
    opacity: .8
}

.about {
    background: var(--panel);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    transition: background .7s
}

.hand-heart {
    display: block;
    font-family: var(--serif);
    font-size: 100px;
    color: var(--accent);
    transform: rotate(-12deg);
    line-height: 1.3;
    margin-left: 35px
}

.about-copy h3 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6
}

.about-copy p {
    margin-top: 22px;
    font-size: 14px
}

.about-more {
    margin-top: 22px
}

.about-more summary {
    font-size: 12px;
    color: var(--accent);
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px
}

.faq {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 10%
}

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

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

details summary span {
    font-size: 22px;
    transition: transform .2s
}

details[open] summary span {
    transform: rotate(45deg)
}

.faq details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line)
}

.faq details:first-child {
    padding-top: 0
}

.faq summary {
    font-size: 14px;
    font-weight: 500
}

.faq details p {
    font-size: 13px;
    padding: 15px 25px 0 0;
    opacity: .8
}

.contact {
    text-align: center;
    background: var(--yellow);
    color: var(--brown);
    position: relative
}

.contact h2 {
    font-size: clamp(35px, 4vw, 56px)
}

.contact p {
    font-size: 14px;
    margin: 25px 0
}

.contact-note {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 15px
}

.contact-star {
    font-size: 43px;
    color: var(--red);
    display: block;
    margin-bottom: 20px
}

footer {
    padding: 42px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

footer p {
    font-family: var(--serif);
    font-size: 18px;
    text-align: center;
    line-height: 1.6
}

footer>span {
    font-size: 10px;
    text-align: right;
    opacity: .75
}

dialog {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg);
    color: var(--ink);
    padding: 50px;
    max-width: 530px;
    width: calc(100% - 32px)
}

dialog::backdrop {
    background: #21181888;
    backdrop-filter: blur(5px)
}

dialog h2 {
    font-size: 38px;
    margin: 18px 0
}

dialog p {
    font-size: 14px;
    margin-bottom: 25px
}

.dialog-close {
    position: absolute;
    top: 10px;
    right: 17px;
    background: none;
    border: none;
    font-size: 28px
}

.skip {
    position: fixed;
    left: 15px;
    top: -80px;
    z-index: 100;
    background: var(--yellow);
    padding: 10px
}

.skip:focus {
    top: 10px
}

.preloader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--ink);
    pointer-events: none
}

.preloader img {
    width: min(400px, 80vw)
}

.preloader span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px
}

.preloader i {
    width: 100px;
    height: 1px;
    background: var(--accent);
    transform-origin: left
}

.preloader.loading {
    display: flex;
    animation: loader-out .7s 1.25s forwards
}

.loading img {
    animation: logo-in .8s both
}

.loading i {
    animation: line-in 1.2s both
}

@keyframes logo-in {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

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

@keyframes line-in {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

@keyframes loader-out {
    to {
        transform: translateY(-100%);
        visibility: hidden
    }
}

[data-theme=night] {
    --bg: #432f2e;
    --ink: #fbf4e1;
    --accent: #feefb8;
    --line: #fbf4e130;
    --panel: #503b39
}

[data-theme=night] .hero-photo {
    filter: brightness(.6) saturate(.6)
}

[data-theme=night] .night-tint {
    opacity: 1
}

[data-theme=night] .photo-star {
    opacity: 1
}

[data-theme=night] .brand img {
    filter: none
}

[data-theme=night] .button {
    background: var(--yellow);
    color: var(--brown)
}

[data-theme=night] .contact .button {
    background: var(--red);
    color: var(--cream)
}

[data-theme=night] .familiar {
    background: #34434c;
    color: var(--cream)
}

[data-theme=night] .questions article {
    border-color: #fbf4e130
}

[data-theme=night] .line-icon {
    color: var(--yellow)
}

@media(min-width:1500px) {
    .hero {
        padding-top: 80px
    }

    .photo-wrap {
        height: 540px
    }

    .hero-description {
        font-size: 15px
    }

    .hero-subtitle {
        font-size: 19px
    }

    .header nav {
        font-size: 13px
    }
}

@media(max-width:1050px) {
    .header nav {
        gap: 15px;
        font-size: 11px
    }

    .hero {
        gap: 30px;
        padding-top: 55px
    }

    h1 {
        font-size: 43px
    }

    .hero-description {
        font-size: 12px
    }

    .photo-wrap {
        height: 465px
    }

    .lamp-toggle {
        right: -12px
    }

    .lamp-toggle>span {
        display: none
    }

    .questions h3 {
        font-size: 19px
    }

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

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

    .header {
        padding: 15px 6%;
        position: relative;
        z-index: 10
    }

    .brand img {
        width: 132px
    }

    .menu-toggle {
        display: flex;
        gap: 14px;
        align-items: center;
        background: none;
        border: 1px solid var(--line);
        border-radius: 30px;
        padding: 7px 14px;
        font-size: 12px
    }

    .header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 25px 6%;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        font-size: 14px;
        gap: 20px
    }

    .header nav.open {
        display: flex
    }

    .header nav .active:after {
        display: none
    }

    .nav-contact {
        align-self: flex-start
    }

    .hero {
        padding: 38px 6% 0;
        grid-template-columns: 1fr;
        gap: 35px
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.6px;
        margin-bottom: 20px
    }

    h1 {
        font-size: clamp(34px, 7.7vw, 58px);
        letter-spacing: -1.5px;
        white-space: normal
    }

    .hero-subtitle {
        font-size: 16px;
        margin-top: 22px
    }

    .hero-description {
        font-size: 13px;
        max-width: 490px
    }

    .hero-visual {
        margin: 20px 8px 0
    }

    .photo-wrap {
        height: 450px;
        border-radius: 160px 160px 8px 8px
    }

    .round-badge {
        left: -20px;
        top: 30px;
        width: 100px;
        height: 100px;
        font-size: 14px
    }

    .lamp-toggle {
        right: 0;
        top: -52px
    }

    .lamp-toggle>span {
        display: block
    }

    .hero-bottom {
        margin-top: 0;
        padding: 17px 0;
        font-size: 8px;
        gap: 15px;
        letter-spacing: .8px
    }

    .hero-bottom>span:last-child {
        display: none
    }

    .section {
        padding: 60px 6%
    }

    .questions {
        grid-template-columns: 1fr 1fr;
        gap: 25px 0;
        margin-top: 35px
    }

    .questions article {
        padding: 0 15px;
        min-height: 155px
    }

    .questions article:nth-child(3) {
        border-left: 0
    }

    .questions h3 {
        font-size: 20px
    }

    .familiar-end {
        font-size: 12px
    }

    .approach {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .dream-art {
        max-width: 390px;
        width: 100%;
        margin: auto
    }

    .approach h2 {
        font-size: 34px
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 35px 0
    }

    .support-grid h3 {
        margin: 7px 0;
        font-size: 25px
    }

    .support-grid article {
        padding-top: 15px
    }

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

    .hand-heart {
        display: none
    }

    .about-copy h3 {
        font-size: 18px
    }

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

    .contact p br {
        display: none
    }

    .contact h2 {
        font-size: 36px
    }

    footer {
        flex-direction: column;
        padding: 35px 6%;
        gap: 22px
    }

    footer>span {
        text-align: center
    }

    footer p {
        font-size: 17px
    }

    dialog {
        padding: 40px 25px
    }

    .hero-note {
        font-size: 9px
    }
}

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

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

    .preloader.loading {
        display: none
    }
}

.contact-email {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    border-bottom: 1px solid #432f2e40
}

.brand img,
.preloader img {
    filter: none
}


@media(min-width:761px) and (max-width:1050px) {
    h1 {
        font-size: clamp(32px, 4vw, 42px)
    }

    .round-badge {
        left: -25px;
        top: 8px;
        width: 90px;
        height: 90px;
        font-size: 12px
    }

    .hero {
        grid-template-columns: 1.12fr 1fr;
        gap: 35px
    }

    .header nav {
        gap: 13px
    }

    .brand img {
        width: 130px
    }
}

/* Full-width photographic opening */
.header {
    max-width: none;
    padding-left: 4%;
    padding-right: 4%;
    gap: 20px
}

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

.header .brand {
    flex-shrink: 0
}

.hero.hero-immersive {
    max-width: none;
    min-height: 760px;
    height: calc(100svh - 98px);
    max-height: 1000px;
    padding: 65px 6% 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    overflow: hidden;
    gap: 25px
}

.hero-immersive .hero-visual {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
    z-index: -2
}

.hero-immersive .photo-wrap {
    height: 100%;
    width: 100%;
    border-radius: 0
}

.hero-immersive .hero-photo {
    object-position: center 58%
}

.hero-immersive:after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 244, 225, .98) 0%, rgba(251, 244, 225, .91) 25%, rgba(251, 244, 225, .58) 42%, transparent 65%)
}

.hero-immersive .hero-copy {
    max-width: 550px;
    position: relative;
    z-index: 1
}

.hero-immersive h1 {
    font-size: clamp(40px, 4.2vw, 67px);
    white-space: normal
}

.hero-immersive .hero-description {
    max-width: 385px;
    opacity: 1
}

.hero-immersive .hero-subtitle {
    font-size: 17px
}

.hero-immersive .hero-note {
    opacity: 1
}

.hero-immersive .hero-bottom {
    position: relative;
    z-index: 1;
    margin-top: 35px;
    margin-bottom: 0;
    border-color: #432f2e35;
    background: var(--bg);
    margin-left: -6.82%;
    margin-right: -6.82%;
    padding: 17px 6%;
    gap: 20px
}

.hero-immersive .lamp-toggle {
    position: absolute;
    top: 28px;
    right: 5%;
    z-index: 5;
    transform: none;
    padding: 10px 15px;
    border-radius: 15px;
    background: var(--cream);
    color: var(--brown);
    pointer-events: auto
}

.hero-immersive .hero-visual {
    z-index: auto
}

.hero-immersive .photo-wrap {
    z-index: -2;
    position: absolute;
    inset: 0
}

.hero-immersive .lamp-toggle svg {
    color: var(--red);
    width: 48px;
    height: 70px
}

.hero-immersive .lamp-toggle>span {
    display: block
}

.hero-immersive .photo-star {
    right: 20%;
    left: auto;
    top: 14%
}

.hero-immersive .star-two {
    right: 35%;
    top: 8%
}

[data-theme=night] .hero-immersive:after {
    background: linear-gradient(90deg, #432f2efc 0%, #432f2ee8 25%, #432f2e99 42%, transparent 68%)
}

.about-button {
    margin-top: 25px
}

/* Shared footer */
.site-footer {
    display: block;
    background: var(--brown);
    color: var(--cream);
    padding: 70px 6% 25px;
}

.site-footer .brand img {
    width: 220px;
    height: auto;
    filter: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 70px;
    padding-bottom: 55px;
}

.site-footer p {
    text-align: left;
}

.footer-intro p {
    margin: 22px 0 18px;
    font-size: 23px;
    line-height: 1.5;
}

.footer-intro > span {
    font-size: 11px;
    opacity: .65;
}

.site-footer h3 {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin: 14px 0 25px;
    font-weight: 500;
}

.site-footer nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--yellow);
}

.footer-email {
    font-family: var(--serif);
    font-size: 25px;
}

.site-footer .footer-details {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 2;
    margin: 22px 0 18px;
}


/* SOCIAL */
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 13px;

    border: 1px solid rgba(251, 244, 225, .22);
    border-radius: 100px;

    color: var(--cream);

    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .3px;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.footer-socials a svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.footer-socials a:hover {
    color: var(--brown);
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-2px);
}


.site-footer .text-link {
    color: var(--yellow);
    border-color: #feefb855;
}

.footer-bottom {
    border-top: 1px solid #fbf4e130;
    padding-top: 25px;

    display: flex;
    justify-content: space-between;
    gap: 25px;

    font-size: 10px;
    color: #e8dec9;
}

.footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}


/* MOBILE */
@media (max-width: 800px) {

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

    .footer-bottom {
        flex-direction: column;
    }

    .footer-socials {
        gap: 8px;
    }

}

/* Inner pages */
.page-intro {
    text-align: center;
    padding-top: 85px;
    padding-bottom: 75px;

    background-color: var(--panel);
    background-image: url("assets/bemutatkozas.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page-intro h1 {
    white-space: normal;
    font-size: clamp(44px, 6vw, 80px)
}

.page-intro p {
    max-width: 700px;
    margin: 27px auto 0;
    font-size: 17px;
    line-height: 1.9
}

.intro-heart {
    font-size: .65em;
    color: var(--accent)
}

.intro-caption {
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 35px
}

.story-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    gap: 9%;
    justify-content: center;
    align-items: start
}

.story-aside {
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 12px
}

.story-aside .section-label {
    margin-bottom: 10px
}

.story-aside a:hover {
    color: var(--accent)
}

.aside-moon {
    font-family: var(--serif);
    color: var(--accent);
    font-size: 95px;
    line-height: 1.2;
    margin-top: 20px
}

.story-aside p {
    font-family: var(--serif);
    font-size: 20px
}

.story>section {
    padding-bottom: 55px;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--line)
}

.story>section:last-child {
    margin: 0;
    padding: 0;
    border: 0
}

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

.story p {
    font-size: 15px;
    line-height: 1.95;
    margin: 20px 0
}

.story blockquote {
    margin: 30px 0;
    padding: 18px 0 18px 26px;
    border-left: 2px solid var(--accent);
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-size: 32px;
    line-height: 1.4
}

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 8%;
    align-items: start
}

.contact-information>p {
    font-size: 14px;
    margin: 22px 0;
    max-width: 400px
}

.contact-information dl {
    margin: 30px 0
}

.contact-information dt {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .75;
    margin-top: 17px
}

.contact-information dd {
    margin: 2px 0;
    font-size: 18px
}

.consultation-note {
    padding: 30px;
    background: var(--blue);
    color: var(--brown);
    border-radius: 5px;
    margin-top: 35px
}

.consultation-note>span {
    font-size: 38px
}

.consultation-note h3 {
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 400;
    margin: 12px 0
}

.consultation-note p {
    font-size: 13px;
    line-height: 1.9
}

.contact-form {
    padding: 40px;
    background: var(--panel);
    border-radius: 6px
}

.contact-form h2 {
    font-size: 32px;
    letter-spacing: -.8px
}

.form-note {
    font-size: 12px;
    opacity: .8;
    line-height: 1.7;
    margin: 15px 0 25px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 20px
}

.contact-form label>span:not(:last-child) {
    color: var(--accent)
}

.contact-form small {
    font-size: 10px;
    font-weight: 400
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg);
    color: var(--ink);
    padding: 13px 12px;
    font: inherit;
    font-size: 14px;
    margin-top: 9px;
    outline-offset: 3px
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent)
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--ink);
    opacity: .6
}

.contact-form .consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400
}

.consent input {
    margin-top: 5px
}

.consent a {
    text-decoration: underline
}

.mail-result {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 25px
}

.mail-result h3 {
    font-size: 19px;
    font-weight: 500
}

.mail-result p {
    font-size: 12px;
    margin: 12px 0
}

.mail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px
}

.mail-actions .button {
    font-size: 11px;
    padding: 13px 18px
}

.mail-actions button {
    background: none;
    border-width: 0 0 1px
}

.legal-page {
    min-height: 55vh
}

.legal-page h1 {
    font-size: clamp(36px, 5vw, 65px);
    overflow-wrap: anywhere
}

@media(max-width:1180px) {
    .header nav {
        gap: 12px;
        font-size: 10px
    }

    .header .brand img {
        width: 115px
    }

    .nav-contact {
        padding: 8px 12px
    }

    .nav-contact span {
        margin-left: 8px
    }

    .hero.hero-immersive {
        min-height: 700px
    }

    .hero-immersive .hero-copy {
        max-width: 440px
    }

    .hero-immersive:after {
        background: linear-gradient(90deg, #fbf4e1fa, #fbf4e1dc 30%, #fbf4e16b 53%, transparent 78%)
    }

    .footer-top {
        gap: 35px
    }

    .footer-email {
        font-size: 21px
    }
}

@media(max-width:950px) {
    .header .menu-toggle {
        display: flex;
        gap: 14px;
        align-items: center;
        background: none;
        border: 1px solid var(--line);
        border-radius: 30px;
        padding: 7px 14px;
        font-size: 12px
    }

    .header {
        position: relative;
        z-index: 20;
        padding: 16px 6%
    }

    .header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 25px 6%;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        font-size: 14px;
        gap: 18px
    }

    .header nav.open {
        display: flex
    }

    .header nav .active:after {
        display: none
    }

    .nav-contact {
        align-self: flex-start
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .story-aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid var(--line);
        padding-bottom: 25px
    }

    .story-aside .section-label {
        grid-column: 1/-1
    }

    .aside-moon,
    .story-aside p {
        display: none
    }

    .contact-layout {
        gap: 5%
    }

    .contact-form {
        padding: 25px
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    .footer-intro {
        grid-column: 1/-1
    }

    .footer-bottom {
        flex-direction: column
    }
}

@media(max-width:760px) {
    .hero.hero-immersive {
        min-height: 940px;
        height: auto;
        max-height: none;
        padding: 40px 6% 0;
        display: block
    }

    .hero-immersive .hero-copy {
        max-width: 100%
    }

    .hero-immersive h1 {
        font-size: clamp(34px, 8vw, 55px)
    }

    .hero-immersive .hero-description {
        font-size: 13px;
        max-width: 430px
    }

    .hero-immersive .hero-visual {
        inset: 0
    }

    .hero-immersive .photo-wrap {
        top: 380px;
        height: calc(100% - 420px)
    }

    .hero-immersive .hero-photo {
        object-position: 52% center
    }

    .hero-immersive:after {
        background: linear-gradient(180deg, #fbf4e1 0%, #fbf4e1 35%, #fbf4e1ed 44%, #fbf4e150 57%, transparent 68%)
    }

    [data-theme=night] .hero-immersive:after {
        background: linear-gradient(180deg, #432f2e 0%, #432f2e 35%, #432f2eed 44%, #432f2e50 57%, transparent 68%)
    }

    .hero-immersive .hero-bottom {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        min-height: 65px;
        padding: 15px 6%
    }

    .hero-immersive .lamp-toggle {
        top: auto;
        bottom: 95px;
        right: 6%;
        padding: 8px 12px;
        background: #fbf4e1ed;
        border-radius: 12px
    }

    .hero-immersive .lamp-toggle svg {
        width: 40px;
        height: 62px
    }

    .hero-immersive .hero-note {
        font-size: 10px
    }

    .hero-immersive .hero-subtitle {
        font-size: 16px
    }

    .site-footer {
        padding: 50px 6% 25px
    }

    .footer-top {
        gap: 30px 20px;
        padding-bottom: 35px
    }

    .site-footer h3 {
        margin-bottom: 17px
    }

    .site-footer nav {
        font-size: 12px
    }

    .footer-email {
        font-size: 18px;
        overflow-wrap: anywhere
    }

    .footer-intro p {
        font-size: 24px
    }

    .site-footer .footer-details {
        font-size: 11px
    }

    .footer-bottom>div {
        gap: 12px 20px
    }

    .page-intro {
        padding-top: 55px;
        padding-bottom: 50px
    }

    .page-intro h1 {
        font-size: 45px
    }

    .page-intro p {
        font-size: 15px
    }

    .intro-caption {
        font-size: 8px;
        line-height: 1.8
    }

    .story-aside {
        font-size: 10px;
        gap: 14px 8px
    }

    .story h2 {
        font-size: 32px
    }

    .story p {
        font-size: 14px
    }

    .story blockquote {
        font-size: 27px;
        padding-left: 20px
    }

    .story>section {
        padding-bottom: 35px;
        margin-bottom: 35px
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .contact-information>p {
        max-width: none
    }

    .contact-form {
        padding: 25px 20px
    }

    .contact-form h2 {
        font-size: 28px
    }

    .legal-page h1 {
        font-size: 34px
    }
}

@media(max-width:370px) {
    .hero.hero-immersive {
        min-height: 1000px
    }

    .hero-immersive .photo-wrap {
        top: 450px;
        height: calc(100% - 490px)
    }

    .footer-top {
        grid-template-columns: 1fr
    }

    .footer-intro {
        grid-column: auto
    }
}

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

.service-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8%;
    padding: 50px 0;
    border-bottom: 1px solid var(--line)
}

.service-card:first-child {
    padding-top: 0
}

.service-card:last-child {
    border: 0;
    padding-bottom: 0
}

.service-heading h2 {
    font-size: 47px
}

.service-heading>p {
    font-size: 14px;
    margin-top: 15px
}

.service-price {
    font-family: var(--serif);
    font-size: 36px;
    line-height: 1.3;
    margin-top: 25px
}

.service-price small {
    font-size: 22px
}

.service-duration {
    display: block;
    font-size: 12px;
    margin: 10px 0 25px
}

.service-content h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7
}

.service-content p {
    font-size: 14px;
    line-height: 1.9;
    margin: 18px 0
}

.service-content h4 {
    font-size: 15px;
    margin: 25px 0 15px;
    font-weight: 600
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px;
    font-size: 14px
}

.service-content li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line)
}

.service-content li:before {
    content: '✓';
    margin-right: 12px;
    color: var(--accent)
}

.service-content .service-fineprint {
    font-size: 12px;
    opacity: .8
}

.full-service {
    padding: 45px;
    border: 0;
    border-radius: 8px;
    background: var(--panel)
}

.service-moon {
    font-size: 50px;
    color: var(--accent)
}

.follow-up {
    border-top: 1px solid var(--line);
    margin-top: 30px
}

.first-step .service-price {
    color: var(--accent)
}

@media(max-width:760px) {
    .service-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px 0 40px
    }

    .full-service {
        padding: 28px 22px
    }

    .service-heading h2 {
        font-size: 39px
    }

    .service-content h3 {
        font-size: 17px
    }

    .service-price {
        font-size: 32px
    }

    .services {
        gap: 20px
    }
}

.service-options {
    margin-top: 25px
}

.service-options>div {
    padding: 20px 0;
    border-top: 1px solid var(--line)
}

.service-options h3 {
    font-size: 13px;
    font-weight: 500
}

.service-options .service-price {
    margin: 8px 0 15px
}

.service-options .button {
    font-size: 11px;
    gap: 15px;
    padding: 13px 20px
}

/* Consistent vector icons on every device, including iOS. */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -.14em;
    flex-shrink: 0;
    overflow: visible
}

.button .icon,
.text-link .icon {
    width: 18px;
    height: 18px
}

.line-icon .icon {
    width: 34px;
    height: 34px
}

.hand-heart .icon {
    width: 90px;
    height: 90px
}

.service-content li:before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 7px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin: 0 14px 4px 2px
}

.menu-toggle .icon {
    width: 20px;
    height: 20px
}

.intro-heart .icon {
    width: 1em;
    height: 1em
}

/* The photograph continues behind the home navigation. */
.home-page>.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: transparent;
    border-bottom: 1px solid #432f2e20;
    padding: 22px 6%
}

.header nav {
    gap: 32px;
    font-size: 12px
}

.home-page .hero.hero-immersive {
    height: 100svh;
    min-height: 790px;
    padding-top: 155px
}

.home-page .hero-immersive .photo-wrap {
    top: 0;
    height: 100%;
    border-radius: 0
}

.home-page .hero-immersive .hero-photo {
    object-position: center 55%
}

.home-page .hero-immersive:after {
    background: linear-gradient(90deg, #fbf4e1f0 0%, #fbf4e1d1 25%, #fbf4e170 44%, #fbf4e10a 70%)
}

[data-theme=night] .home-page>.header {
    border-color: #fbf4e130
}

[data-theme=night] .home-page .hero-immersive:after {
    background: linear-gradient(90deg, #432f2ef5 0%, #432f2edb 25%, #432f2e88 44%, transparent 72%)
}

.home-page .header .nav-contact {
    border-color: currentColor
}

/* Two-state, sliding sun / moon control. */
.hero-immersive .lamp-toggle.theme-switch {
    top: auto;
    bottom: 105px;
    right: 6%;
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: transparent;
    padding: 0;
    border: 0;
    transform: none
}

.hero-immersive .theme-switch>span {
    display: block
}

.theme-switch .theme-track {
    position: relative;
    display: flex !important;
    align-items: center;
    width: 100px;
    height: 50px;
    border-radius: 30px;
    background: #fbf4e1f5;
    border: 1px solid #432f2e26;
    box-shadow: 0 4px 20px #432f2e12;
    transition: background .4s, border-color .4s
}

.theme-switch .theme-thumb {
    position: absolute;
    width: 38px;
    height: 38px;
    left: 5px;
    top: 5px;
    background: #feefb8;
    border-radius: 50%;
    box-shadow: 0 2px 7px #432f2e20;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), background .4s
}

.theme-switch .theme-sun,
.theme-switch .theme-moon {
    position: absolute;
    top: 13px;
    width: 22px;
    height: 22px;
    display: block;
    z-index: 1
}

.theme-switch .theme-sun {
    left: 13px
}

.theme-switch .theme-moon {
    right: 13px
}

.hero-immersive .theme-switch svg {
    width: 22px;
    height: 22px;
    color: #432f2e;
    transition: color .4s, transform .4s
}

.hero-immersive .theme-switch:hover svg {
    transform: none
}

.theme-switch .theme-moon svg {
    opacity: .5
}

.hero-immersive .theme-switch .theme-caption {
    font-size: 10px;
    letter-spacing: .5px;
    color: #432f2e;
    background: #fbf4e1e8;
    padding: 3px 10px;
    border-radius: 20px;
    text-align: center;
    line-height: 1.5
}

[data-theme=night] .theme-switch .theme-track {
    background: #302324;
    border-color: #fbf4e13b
}

[data-theme=night] .theme-switch .theme-thumb {
    transform: translateX(50px);
    background: #c4dae8
}

[data-theme=night] .theme-switch .theme-sun svg {
    color: #fbf4e1;
    opacity: .55
}

[data-theme=night] .theme-switch .theme-moon svg {
    color: #432f2e;
    opacity: 1
}

[data-theme=night] .hero-immersive .theme-switch .theme-caption {
    background: #302324e8;
    color: #fbf4e1
}

@media(max-width:950px) {
    .home-page>.header {
        padding: 18px 6%
    }

    .header .menu-toggle {
        background: #fbf4e1;
        color: #432f2e;
        border: 1px solid #432f2e55;
        box-shadow: 0 3px 12px #432f2e0f;
        min-height: 44px
    }

    .header nav {
        top: calc(100% + 8px);
        left: 4%;
        right: 4%;
        padding: 14px 22px 18px;
        gap: 0;
        background: #fbf4e1;
        color: #432f2e;
        border: 1px solid #432f2e40;
        border-radius: 16px;
        box-shadow: 0 20px 60px #23191840
    }

    .header nav a {
        padding: 17px 4px;
        border-bottom: 1px solid #432f2e24;
        white-space: normal;
        font-size: 15px
    }

    .header nav a:last-child {
        border-bottom: 0
    }

    .header nav .nav-contact {
        align-self: stretch;
        border: 0;
        border-radius: 0;
        display: flex;
        justify-content: space-between
    }

    .header nav .active {
        color: #821319
    }

    .menu-open:before {
        content: '';
        position: fixed;
        inset: 0;
        background: #241b1b55;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 25
    }

    .header {
        z-index: 30
    }

    .menu-open .menu-toggle span {
        transform: rotate(90deg);
        transition: transform .2s
    }

    [data-theme=night] .header nav {
        background: #302324;
        color: #fbf4e1;
        border-color: #fbf4e140
    }

    [data-theme=night] .header nav a {
        border-color: #fbf4e130
    }

    [data-theme=night] .header nav .active {
        color: #feefb8
    }

    [data-theme=night] .header .menu-toggle {
        background: #302324;
        color: #fbf4e1;
        border-color: #fbf4e160
    }

    .header nav a:hover {
        color: inherit
    }
}

@media(max-width:760px) {
    .home-page .hero.hero-immersive {
        padding-top: 112px;
        min-height: 0;
        height: auto;
        max-height: none;
        padding-bottom: 75px
    }

    .home-page .hero-immersive .hero-copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: none
    }

    .home-page .hero-immersive .eyebrow {
        order: 0;
        font-size: 7px;
        margin-bottom: 15px;
        gap: 8px
    }

    .home-page .hero-immersive h1 {
        order: 1;
        font-size: clamp(32px, 8.2vw, 49px);
        line-height: 1.08;
        letter-spacing: -1.2px
    }

    .home-page .hero-immersive .hero-subtitle {
        order: 2;
        font-size: 14px;
        line-height: 1.6;
        margin-top: 16px
    }

    .home-page .hero-immersive .hero-copy>.button {
        order: 3;
        margin-top: 20px;
        padding: 13px 22px
    }

    .home-page .hero-immersive .hero-note {
        order: 4;
        margin-top: 12px;
        font-size: 9px
    }

    .home-page .hero-immersive .hero-description {
        order: 5;
        margin: 325px 0 20px;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.9;
        padding-top: 20px
    }

    .home-page .hero-immersive .photo-wrap {
        top: 0;
        height: 720px
    }

    .home-page .hero-immersive .hero-photo {
        object-position: 50% center
    }

   .home-page .hero-immersive:after {
        background: linear-gradient(
            180deg,
            #fbf4e1f2 0%,
            #fbf4e1e8 20%,
            #fbf4e19a 32%,
            #fbf4e130 43%,
            #fbf4e100 50%,
            #fbf4e100 76%,
            #fbf4e1 94%
        );
    }

    [data-theme=night] .home-page .hero-immersive:after {
        background: linear-gradient(180deg, #432f2edd 0%, #432f2ef0 26%, #432f2eb3 43%, #432f2e00 57%, #432f2e00 68%, #432f2e 82%)
    }

    .home-page .hero-immersive .lamp-toggle.theme-switch {
        top: 610px;
        bottom: auto;
        right: 6%;
        gap: 6px
    }

    .home-page .hero-immersive .hero-bottom {
        min-height: 55px;
        padding: 12px 6%;
        border-top: 1px solid var(--line)
    }

    .home-page .hero-immersive .photo-star {
        top: 57%;
        right: 15%
    }

    .home-page .hero-immersive .star-two {
        top: 68%;
        right: 85%
    }
}

@media(max-width:370px) {
    .home-page .hero-immersive .hero-description {
        margin-top: 300px
    }

    .home-page .hero-immersive .lamp-toggle.theme-switch {
        top: 620px
    }
}

.menu-toggle .icon-menu path {
    transform-origin: 12px 12px;
    transition: transform .25s
}

.menu-open .menu-toggle span {
    transform: none
}

.menu-open .icon-menu path:first-child {
    transform: translateY(4px) rotate(45deg)
}

.menu-open .icon-menu path:last-child {
    transform: translateY(-4px) rotate(-45deg)
}

@media(min-width:761px) and (max-width:950px) {
    .header .menu-toggle {
        display: none
    }

    .header nav,
    .header nav.open {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 22px;
        padding: 0;
        background: transparent;
        color: var(--ink);
        border: 0;
        border-radius: 0;
        box-shadow: none
    }

    .header nav a {
        font-size: 12px;
        padding: 0;
        border: 0;
        white-space: nowrap
    }

    .header nav .nav-contact {
        display: inline-flex;
        gap: 15px;
        align-items: center;
        padding: 10px 15px;
        border: 1px solid var(--line);
        border-radius: 30px
    }

    .header nav .nav-contact span {
        margin: 0
    }

    [data-theme=night] .header nav {
        background: transparent
    }

    .menu-open:before {
        display: none
    }

    .header .brand img {
        width: 180px
    }
}

/* Matching generated day and evening photographs; no artificial darkening. */
.home-page .hero-immersive .hero-photo {
    position: absolute;
    inset: 0;
    filter: none;
    transition: opacity .8s ease;
    object-position: 65% 55%
}

.home-page .hero-immersive .hero-day {
    opacity: 1
}

.home-page .hero-immersive .hero-night {
    opacity: 0
}

[data-theme=night] .home-page .hero-immersive .hero-day {
    opacity: 0
}

[data-theme=night] .home-page .hero-immersive .hero-night {
    opacity: 1;
    filter: none
}

@media(max-width:760px) {
    .home-page .hero-immersive .hero-photo {
        object-position: 70% center
    }
}
/* Shared, seamless opening and compact navigation. */
.home-page > .header,
.inner-page > .header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 30;
    padding: 10px 6%;
    background: transparent;
    border-bottom: 1px solid var(--line);
}
.header .brand img { width: 170px; height: auto; }
.inner-page .page-intro {
    padding-top: 165px;
    padding-bottom: 80px;
    background: radial-gradient(ellipse at 90% 10%, #cddde899, transparent 60%),
        linear-gradient(115deg, #fbf4e1 15%, #f4ead2 65%, #feefb8);
}
[data-theme=night] .inner-page .page-intro {
    background: radial-gradient(ellipse at 90% 10%, #64708255, transparent 60%),
        linear-gradient(115deg, #432f2e 15%, #513c3b 65%, #65504a);
}
.about-heading .hand-heart { display: none; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.services .service-card {
    display: flex; flex-direction: column; gap: 30px;
    padding: 32px 26px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--panel); min-width: 0;
}
.services .first-step { background: transparent; border-top: 4px solid #a7bbc5; }
.services .service-card:nth-child(2) { border-top: 4px solid var(--accent); }
.services .service-card:nth-child(3) { border-top: 4px solid #bd9b64; }
.services .service-heading h2 { font-size: clamp(32px, 3vw, 44px); }
.services .service-heading .section-label { font-size: 10px; letter-spacing: 1.4px; }
.services .button { padding: 14px 18px; font-size: 12px; gap: 12px; }
.services .service-content { border-top: 1px solid var(--line); padding-top: 24px; }
.services .full-service {
    grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.2fr;
    gap: 7%; padding: 52px; margin-top: 12px;
    background: linear-gradient(120deg, var(--panel), var(--bg));
    border: 1px solid var(--accent); border-top: 5px solid var(--accent);
}
.services .full-service .service-content { border: 0; padding: 0; }
.services .full-service .service-price { font-size: 56px; color: var(--accent); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
#form-status:not(:empty) { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; }
@media(max-width: 1000px) { .services { gap: 16px; } .services .service-card { padding: 26px 18px; } .services .full-service { padding: 36px; } }
@media(max-width: 760px) {
    .home-page > .header, .inner-page > .header { padding: 8px 6%; }
    .header .brand img { width: 140px; }
    .inner-page .page-intro { padding-top: 125px; padding-bottom: 52px; }
    .services { grid-template-columns: 1fr; }
    .services .service-card, .services .full-service { display: flex; padding: 28px 24px; gap: 24px; }
}

/* A photograph across the entire introduction, with a quiet reading area. */
.home-page .about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-left: 55%;
    min-height: 680px;
    background: linear-gradient(90deg, transparent 18%, #fbf4e133 35%, #fbf4e1f5 57%, #fbf4e1 100%), url('assets/bemutatkozas.webp') left center / cover no-repeat;
}
.home-page .about-heading, .home-page .about-copy { max-width: 540px; }
[data-theme=night] .home-page .about {
    background-image: linear-gradient(90deg, #432f2e22 18%, #432f2e55 35%, #432f2ef5 57%, #432f2e 100%), url('assets/bemutatkozas.webp');
}
.privacy-content { max-width: 940px; margin: auto; padding: 64px 6% 90px; }
.privacy-content section { margin-bottom: 42px; scroll-margin-top: 30px; }
.privacy-content h2 { font-size: clamp(25px, 4vw, 34px); margin-bottom: 18px; }
.privacy-content h3 { font-size: 17px; margin: 24px 0 10px; }
.privacy-content p, .privacy-content li { margin-bottom: 14px; }
.privacy-content a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-content ul { padding-left: 22px; }
.privacy-draft { padding: 24px; background: var(--panel); border-left: 3px solid var(--accent); margin-bottom: 36px; }
.privacy-content dl { display: grid; grid-template-columns: 170px 1fr; gap: 12px 24px; }
.privacy-content dt { font-weight: 600; }
.privacy-content dd { margin: 0; }
.privacy-missing { font-weight: 600; color: var(--accent); }
@media(max-width:760px) {
    .home-page .about {
        padding: 300px 6% 56px;
        min-height: 0;
        background-image: linear-gradient(180deg, transparent 0, #fbf4e122 180px, #fbf4e1f5 300px, #fbf4e1 420px), url('assets/bemutatkozas.webp');
        background-position: center, 38% top;
        background-size: cover, auto 430px;
        background-color: var(--bg);
    }
    [data-theme=night] .home-page .about {
        background-image: linear-gradient(180deg, #432f2e22 0, #432f2e44 180px, #432f2ef5 300px, #432f2e 420px), url('assets/bemutatkozas.webp');
    }
    .privacy-content dl { grid-template-columns: 1fr; gap: 4px; }
    .privacy-content dd { margin-bottom: 14px; }
}

/* More visible colour in the opening photograph. */
[data-theme=day] .home-page .hero-immersive:after {
    background: linear-gradient(90deg, #fbf4e1c7 0%, #fbf4e196 25%, #fbf4e138 44%, transparent 66%);
}


.home-page .about {
    background-size: cover, auto 100%;
    background-position: center, left top;
    background-color: var(--bg);
}
@media(max-width:760px) {
    [data-theme=day] .home-page .hero-immersive:after {
        background: linear-gradient(180deg, #fbf4e1b3 0px, #fbf4e1a6 160px, #fbf4e15c 260px, #fbf4e114 350px, transparent 430px, transparent 560px, #fbf4e180 650px, #fbf4e1 700px);
    }


    .home-page .about { background-size: cover, auto 430px; background-position: center, 28% top; }
}

/* The about-page photo continues behind the navigation and introduction. */
.inner-page .page-intro.about-page-hero {
    min-height: 620px;
    background: linear-gradient(90deg, #fbf4e1b8, #fbf4e199 50%, #fbf4e166),
        url('assets/bemutatkozas.webp') center 46% / cover no-repeat;
}
[data-theme=night] .inner-page .page-intro.about-page-hero {
    background-image: linear-gradient(90deg, #432f2ed9, #432f2eb8 50%, #432f2e99), url('assets/bemutatkozas.webp');
}
@media(max-width:760px) {
    .inner-page .page-intro.about-page-hero {
        min-height: 570px;
        background-position: center, 38% center;
    }
}

/* Original SVG colours; the visible asset follows the selected theme. */
.logo-night { display: none; }
[data-theme=night] .logo-day { display: none; }
[data-theme=night] .logo-night { display: block; }
@media(max-width:760px) {
    .services .service-card {
        border: 1px solid var(--line);
        border-radius: 12px;
        background-color: var(--panel);
    }
    .services .first-step { border-top: 4px solid #a7bbc5; }
    .services .service-card:nth-child(2) { border-top: 4px solid var(--accent); }
    .services .service-card:nth-child(3) { border-top: 4px solid #bd9b64; }
    .services .full-service { border-color: var(--accent); border-top-width: 5px; }
}
