/**
 * Daniel Yoon Design - Main Stylesheet
 */

/* Font Face */
@font-face {
    font-family: 'TiffanyStd-Demi';
    src: url('fonts/tiffanystd.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: rgba(178, 232, 232, 1);
    --teal-light: rgba(200, 240, 238, 1);
    --coral: rgba(245, 210, 200, 1);
    --coral-light: rgba(250, 225, 218, 1);
}

body {
    font-family: Georgia, serif;
    background: 
        linear-gradient(
            180deg,
            var(--teal) 0%,
            var(--teal) 40%,
            var(--coral) 60%,
            var(--coral) 100%
        );
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #2d2d2d;
    line-height: 1.5;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__logo img {
    height: 48px;
    width: auto;
}

.header__menu-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.header__menu-btn:hover {
    transform: none;
}

.header__menu-btn .icon-plus {
    font-size: 2.8rem;
    line-height: 1;
}

/* Right-to-left languages (Arabic): text runs right to left, page layout stays as is */
.is-rtl .project-page__detail-row,
.is-rtl .projects-page__categories,
.is-rtl .accordion__header {
    direction: rtl;
}

.is-rtl .legal-page__content ul {
    padding-left: 0;
    padding-right: 25px;
}

/* Language menu - top left, opposite the +/- menu */
.lang {
    position: relative;
}

.lang__toggle,
.lang__option {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: max(15px, min(1.5rem, 2.3vw));
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: color 0.3s ease;
}

/* "Language" label: same font and size as the footer links (LEGAL NOTICE) */
.lang__toggle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang__toggle:hover,
.lang__option:hover,
.lang__option.is-active {
    color: #000;
}

.lang__menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    list-style: none;
    white-space: nowrap;
}

.lang__menu li {
    margin-bottom: 6px;
}

/* Menu Overlay - Hidden by default */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.menu-overlay.is-open {
    display: block;
}

.menu-overlay__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
}

.menu-overlay__content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay__close {
    position: absolute;
    top: 20px;
    right: 55px;
    background: transparent;
    border: none;
    color: #878787;
    font-size: 2.8rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    z-index: 10002;
}

.menu-overlay__close:hover {
    color: #000;
}

.menu-overlay__nav ul {
    list-style: none;
    text-align: center;
}

.menu-overlay__nav li {
    margin: 20px 0;
}

.menu-overlay__nav a {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 3.75rem;
    color: #878787;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.menu-overlay__nav a:hover {
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 80px;
}

.hero__logo {
    max-width: 800px;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeInUp 0.9s ease-out 0.2s forwards;
    filter: brightness(0) invert(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Grid */
.portfolio {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 75px;
    align-items: center;
    justify-items: center;
}

/* KENZO */
.portfolio__grid > .portfolio__item--kenzo {
    justify-self: end;
    transform: translate(-100px, 0);
}

/* keep KENZO's offset on hover so it only lifts like the other tiles */
.portfolio__grid > .portfolio__item--kenzo:hover {
    transform: translate(-100px, -5px);
}

.portfolio__grid > .portfolio__item--kenzo .portfolio__image {
    width: 432px;
    height: 576px;
    object-fit: cover;
    object-position: center;
}

.portfolio__grid > .portfolio__item:nth-child(2) {
    justify-self: start;
    transform: translateY(30px);
}

.portfolio__grid > .portfolio__item:nth-child(2) .portfolio__image {
    width: 548px;
    height: 349px;
    object-fit: cover;
}

/* AMSEL + BLOQ stacked in the right column of the first row */
.portfolio__stack {
    justify-self: start;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    gap: 75px;
}

/* AMSEL / BLOQ: no crop, original proportion */
.portfolio__item--amsel .portfolio__image,
.portfolio__item--bloq .portfolio__image {
    width: 468px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Third item - BIOTHERM */
.portfolio__grid > .portfolio__item:nth-child(3) .portfolio__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* BIOTHERM - same size as RENAULT and FiT (full column width, 3:2) */
.portfolio__grid > .portfolio__item--biotherm .portfolio__image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

/* INTERLOCK */
.portfolio__grid > .portfolio__item--interlock {
    justify-self: center;
    width: fit-content;
}

.portfolio__grid > .portfolio__item--interlock .portfolio__image {
    max-width: 400px;
    height: auto;
}

.portfolio__item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.portfolio__item--tall {
    /* grid-row: span 2; - removed to let items size naturally */
}

.portfolio__item--wide {
    /* grid-column: span 2; - removed to fit in 2-column layout */
}

.portfolio__item--large {
    /* grid-column: span 2; - removed to fit in 2-column layout */
    /* grid-row: span 2; - removed to let items size naturally */
}

.portfolio__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio__image-wrapper {
    position: relative;
    width: 100%;
}

.portfolio__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.portfolio__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(191, 230, 229, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__item:hover .portfolio__image {
    filter: blur(3px);
    opacity: 0.3;
}

.portfolio__title {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 2rem;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 10px;
}

.portfolio__category {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #ffffff;
}

/* Legal Page */
.legal-page {
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    justify-content: center;
}

.legal-page__content {
    max-width: 800px;
    width: 100%;
    padding: 0 40px;
}

.legal-page__title {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 2.5rem;
    color: #2d2d2d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    text-align: center;
}

.legal-page__content h2 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d2d2d;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page__content p {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-page__content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-page__content li {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Biography Page */
.bio-page {
    min-height: 100vh;
    padding: 120px 0 80px;
}

.bio-page__title {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 4.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    font-weight: normal;
}

.bio-page__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.bio-page__content {
    display: flex;
    gap: 40px;
    margin-bottom: 0;
}

.bio-page__text {
    flex: 1;
    padding-right: 20px;
}

.bio-page__subtitle {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 25px;
}

/* Projects Page - category filter row */
.projects-page__categories {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: min(20px, 1.2vw);
    white-space: nowrap;
    padding: 0 16px;
    margin-bottom: 50px;
}

.projects-page__filter {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: min(1.5rem, 2.3vw);
    color: #878787;
    transition: color 0.3s ease;
}

/* Languages with longer words: slightly smaller so the row stays on one line */
html[lang="id"] .projects-page__filter,
html[lang="ms"] .projects-page__filter,
html[lang="pl"] .projects-page__filter,
html[lang="th"] .projects-page__filter,
html[lang="vi"] .projects-page__filter {
    font-size: min(1.2rem, 1.75vw);
}

.projects-page__filter:hover,
.projects-page__filter.is-active {
    color: #000;
}

/* Projects Page - square thumbnails, 6 per row */
.projects-page__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 16px;
}

.projects-page__item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-page__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.projects-page__item.is-hidden {
    display: none;
}

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

.bio-page__text p {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

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

.bio-page__text strong {
    font-weight: bold;
}

.bio-page__portrait {
    flex: 1;
    display: flex;
}

.bio-page__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.bio-page__images {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.bio-page__image {
    overflow: hidden;
}

.bio-page__image img {
    height: 576px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* Project Page */
.project-page {
    min-height: 100vh;
    padding: 120px 20px 80px;
}

.project-page__container {
    max-width: 1000px;
    margin: 0 auto;
}

.project-page__content {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.project-page__text {
    flex: 0 0 350px;
}

.project-page__title {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: normal;
}

.project-page__description {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

.project-page__details {
    margin-top: 20px;
}

.project-page__detail-row {
    display: flex;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: #2d2d2d;
    line-height: 1.6;
    margin-bottom: 5px;
}

.project-page__detail-row dt {
    font-weight: bold;
    min-width: 80px;
    flex-shrink: 0;
}

.project-page__detail-row dd {
    margin: 0;
}

.project-page__hero {
    flex: 1;
}

.project-page__hero img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.project-page__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-page__gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-page--kenzo .project-page__gallery-item img {
    aspect-ratio: auto;
    object-fit: contain;
}

.project-page--istanbul .project-page__gallery-item:nth-child(3) img {
    object-position: right center;
}

.project-page--woodflow .project-page__gallery-item img {
    aspect-ratio: auto;
    object-fit: contain;
}

.project-page--coral .project-page__gallery-item img {
    aspect-ratio: auto;
    object-fit: contain;
}

.project-page--bloq .project-page__gallery-item img {
    aspect-ratio: auto;
    object-fit: contain;
}

.project-page--amsel .project-page__gallery-item img {
    aspect-ratio: auto;
    object-fit: contain;
}

.project-page--amsel .project-page__hero img + img {
    margin-top: 40px;
}

.project-page--amsel .project-page__description {
    margin-bottom: 15px;
}



/* Contact Page */
.contact-page {
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-page__title {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 4.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: normal;
}

.contact-page__logo {
    max-width: 500px;
    width: 100%;
    margin-bottom: 30px;
}

.contact-page__logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.contact-page__tagline {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.contact-page__location {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-page__info {
    margin-bottom: 20px;
}

.contact-page__section-title {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    margin-bottom: 5px;
}

.contact-page__detail {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    margin-bottom: 5px;
}

.contact-page__detail strong {
    font-weight: bold;
}

.contact-page__detail a {
    color: #2d2d2d;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-page__detail a:hover {
    color: #000;
}

/* Philosophy Page */
.philosophy-page {
    min-height: 100vh;
    padding: 120px 0 80px;
}

.philosophy-page__title {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 4.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    font-weight: normal;
}

.philosophy-page__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-page__intro {
    text-align: center;
    margin-bottom: 40px;
}

.philosophy-page__subtitle {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: normal;
}

.philosophy-page__tagline {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    color: #2d2d2d;
    font-weight: bold;
    margin-bottom: 30px;
}

.philosophy-page__text {
    margin-bottom: 40px;
}

.philosophy-page__text p {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    text-align: justify;
}

.philosophy-page__text strong {
    font-weight: bold;
}

.philosophy-page__hero-image {
    width: 100%;
    margin-bottom: 40px;
}

.philosophy-page__hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.philosophy-page__text--second {
    margin-bottom: 40px;
}

/* Three Nature Images */
.philosophy-page__nature-images {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.philosophy-page__nature-image {
    flex: 1;
    overflow: hidden;
}

.philosophy-page__nature-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Accordion Styles */
.philosophy-page__accordions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion {
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: center;
}

.accordion__header-content {
    flex: 1;
    text-align: center;
}

.accordion__title {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: bold;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.accordion__subtitle {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
}

.accordion__icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 20px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion.is-open .accordion__content {
    max-height: 3000px;
    transition: max-height 0.6s ease-in;
}

.accordion.is-open .accordion__icon {
    transform: none;
}

.accordion__body {
    padding: 0 30px 30px;
}

.accordion__body p {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
}

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

.accordion__body strong {
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 60px 40px;
    background: transparent;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer__link {
    font-family: Georgia, serif;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__link:hover {
    color: #000;
}

.footer__center {
    text-align: center;
}

.footer__company {
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 1.4rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.footer__copyright {
    font-family: Georgia, serif;
    font-size: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 992px) {
    .menu-overlay__content {
        width: 100%;
    }
    
    .menu-overlay__nav a {
        font-size: 2.5rem;
    }
    
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio__item--tall,
    .portfolio__item--wide,
    .portfolio__item--large {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* KENZO: single column - centred, fits the screen, no desktop offset */
    .portfolio__grid > .portfolio__item--kenzo {
        justify-self: center;
        transform: none;
        width: 100%;
        max-width: 432px;
    }

    .portfolio__grid > .portfolio__item--kenzo:hover {
        transform: translateY(-5px);
    }

    .portfolio__grid > .portfolio__item--kenzo .portfolio__image {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }
    
    .footer__container {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer__link--left {
        order: 2;
    }
    
    .footer__center {
        order: 1;
    }
    
    .footer__link--right {
        order: 3;
    }
    
    .footer__company {
        font-size: 1.1rem;
    }

    
    .bio-page__title {
        font-size: 2.5rem;
    }

    .projects-page__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .bio-page__content {
        flex-direction: column;
        gap: 40px;
    }
    
    .bio-page__text {
        order: 2;
        padding-right: 0;
    }
    
    .bio-page__portrait {
        order: 1;
        height: 400px;
    }
    
    .bio-page__images {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
    }
    
    .bio-page__image img {
        height: auto;
        width: 100%;
        max-width: 500px;
    }
    
    .contact-page__title {
        font-size: 2.5rem;
    }
    
    .contact-page__logo {
        max-width: 300px;
    }
    
    .contact-page__tagline {
        font-size: 1.1rem;
    }
    
    .philosophy-page__title {
        font-size: 2.5rem;
    }
    
    .philosophy-page__subtitle,
    .bio-page__subtitle {
        font-size: 1.5rem;
    }
    
    .philosophy-page__nature-images {
        flex-direction: column;
        gap: 15px;
    }
    
    .philosophy-page__nature-image img {
        aspect-ratio: 1 / 1;
    }
    
    .accordion__header {
        padding: 20px;
    }
    
    .accordion__title {
        font-size: 1rem;
    }
    
    .accordion__subtitle {
        font-size: 1rem;
    }
    
    .accordion__body {
        padding: 0 20px 20px;
    }
    
    .project-page__content {
        flex-direction: column;
        gap: 40px;
    }
    
    .project-page__text {
        flex: none;
        width: 100%;
    }
    
    .project-page__title {
        font-size: 2rem;
    }
    
    .project-page__gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 15px 20px;
    }
    
    .header__menu-btn {
        font-size: 2rem;
    }
    
    .menu-overlay__close {
        top: 15px;
        right: 32px;
        font-size: 2rem;
    }
    
    .menu-overlay__nav a {
        font-size: 2rem;
    }
}

/* Service page */
.service-page__section {
    margin-bottom: 20px;
}

.service-page__heading {
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: bold;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.7;
    margin: 0;
}

.service-page__list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}

.service-page__list li {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    margin-bottom: 2px;
    text-align: justify;
}

/* labels inside the bulleted lists are not bold */
.service-page__list strong {
    font-weight: normal;
}

.service-page__intro--next {
    margin-top: 20px;
}

.service-page__pair {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.service-page__pair img {
    min-width: 0;
    height: auto;
    display: block;
}

.service-page__pair + .service-page__intro--next {
    margin-top: 50px;
}

.service-page__note {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: #2d2d2d;
    line-height: 1.7;
    margin: 0 0 12px;
    text-align: justify;
}

.service-page__note--after {
    margin-top: 16px;
}

/* Service page: numbered overview list and numbered section headings (numbers via CSS) */
.service-page {
    counter-reset: svc-section;
}

.service-page__toc {
    list-style: none;
    padding: 0;
    margin: 0 0 13px;
    text-align: center;
    counter-reset: svc-toc;
}

.service-page__toc li {
    counter-increment: svc-toc;
    font-family: 'TiffanyStd-Demi', Georgia, serif;
    font-size: 2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 10px;
}

.service-page__toc li::before {
    content: counter(svc-toc) ". ";
}

.service-page .philosophy-page__subtitle::before {
    counter-increment: svc-section;
    content: counter(svc-section) ". ";
}

@media (max-width: 992px) {
    .service-page__toc li {
        font-size: 1.5rem;
    }
}

/* Service page: half the gap between a section heading and its text */
.service-page .philosophy-page__intro:not(.service-page__sentence) {
    margin-bottom: 20px;
}

.service-page .philosophy-page__subtitle {
    margin-bottom: 5px;
}

/* Service page: same space under the opening sentence as between SERVICE and the overview list */
.service-page .service-page__sentence {
    margin-bottom: 61px;
}
