﻿@font-face {
    font-family: "FuturaPT-Book";
    src: url("../fonts/FuturaPT-Book_gdi.woff2") format("woff2"),
         url("../fonts/FuturaPT-Book_gdi.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "FuturaStd-Bold";
    src: url("../fonts/futurastd-bold.woff2") format("woff2"),
         url("../fonts/futurastd-bold.woff") format("woff");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "FuturaPT-Book", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #111;
    background: #f4f4f4;
}

@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 120ms;
    animation-timing-function: ease;
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    background: #f4f4f4;
    transition: opacity 100ms ease;
}

.page-transition-overlay.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 1ms;
    }

    .page-transition-overlay {
        transition: none;
    }
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #111;
    outline-offset: 4px;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 200;
    padding: 10px 14px;
    background: #111;
    color: #fff;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

#main-content:focus {
    outline: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 20;
    display: grid;
    grid-template-columns: 90px auto minmax(0, 1fr) 120px;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 28px;
    height: 22px;
    margin-left: 50px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 6px;
    background: #000;
    transition: transform 200ms ease, opacity 200ms ease;
}

.nav-open .nav-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-button span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.brand {
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.top-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.4vw, 22px);
    min-width: 0;
    padding: 0 20px;
}

.top-nav a {
    position: relative;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 10px;
    line-height: 60px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.top-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 18px;
    height: 1px;
    background: #000;
    transition: right 180ms ease;
}

.top-nav a:hover::after,
.top-nav a.active::after {
    right: 0;
}

.top-nav a.active {
    color: #666;
}

.header-title {
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
}

.nav-overlay {
    position: fixed;
    inset: 60px 0 0;
    z-index: 8;
    visibility: hidden;
    opacity: 0;
    background: rgba(20, 20, 20, 0.72);
    transition: opacity 250ms ease, visibility 250ms ease;
}

.nav-panel {
    position: fixed;
    top: 60px;
    left: -330px;
    bottom: 0;
    z-index: 9;
    width: 300px;
    padding: 70px 45px;
    overflow-y: auto;
    background: #fff;
    transition: left 220ms ease;
}

.nav-open .nav-overlay {
    visibility: visible;
    opacity: 1;
}

.nav-open .nav-panel {
    left: 0;
}

.nav-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-panel li {
    border-bottom: 1px solid #eee;
}

.nav-panel a {
    display: block;
    padding: 13px 0;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-panel a:hover,
.nav-panel a.active {
    color: #666;
    text-decoration: line-through;
}

.page {
    min-height: calc(100vh - 50px);
    padding-top: 60px;
    padding-bottom: 0;
}

.home-hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: grid;
    align-items: center;
    background: #111 url("../images/page-content/hero.jpg") center / cover no-repeat;
    color: #fff;
}

.home-hero::before,
.visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(520px, 80vw);
    margin-left: 15vw;
}

.language-page {
    min-height: calc(100vh - 50px);
}

.language-hero {
    min-height: calc(100vh - 50px);
}

.language-choice-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.language-choice-links .button {
    min-width: 132px;
    margin-top: 0;
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 18px;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 1px;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(38px, 7vw, 76px);
}

h2 {
    margin: 0 0 28px;
    font-size: 28px;
}

h3 {
    margin: 36px 0 12px;
    font-size: 16px;
}

p {
    margin: 0 0 16px;
    text-align: left;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 28px;
    border: 2px solid currentColor;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.button:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.split-page {
    display: grid;
    min-height: calc(100vh - 110px);
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 1fr);
}

.visual-panel {
    position: sticky;
    top: 60px;
    height: calc(100vh - 110px);
    background: #111 url("../images/page-content/panel.jpg") center / cover no-repeat;
}

.content-panel {
    background: #fff;
    padding: 78px clamp(34px, 6vw, 86px);
}

.content-panel > * {
    max-width: 680px;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
}

.meta-list,
.source-list {
    margin: 20px 0 0;
    padding-left: 18px;
    text-align: left;
}

.meta-list li,
.source-list li {
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.gallery-item {
    min-height: 220px;
    display: grid;
    align-content: end;
    padding: 24px;
    background: #111 url("../images/page-content/hero.jpg") center / cover no-repeat;
    color: #fff;
    position: relative;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.gallery-item span {
    position: relative;
    z-index: 1;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-footer {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.template-blog-single {
    background: #f4f4f4;
}

.blog-single-layout {
    padding: 70px 0 90px;
}

.blog-single-layout .container,
.services-layout .container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.single-post {
    background: #fff;
    padding: clamp(34px, 7vw, 76px);
}

.md-content h1 {
    margin-bottom: 30px;
    font-size: clamp(32px, 5vw, 54px);
}

.md-content h2 {
    margin-top: 44px;
    margin-bottom: 18px;
    font-size: 22px;
}

.md-content h3 {
    margin-top: 32px;
}

.md-content p,
.md-content li {
    font-size: 16px;
    line-height: 1.78;
}

.md-content .content-note {
    max-width: 560px;
    margin: 26px auto;
    color: #6f6a62;
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}

.md-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.text-list {
    margin: 0 0 22px 18px;
    padding: 0;
    text-align: left;
}

.content-nav.single-nav {
    margin-top: 24px;
    background: #fff;
    border-top: 1px solid #eee;
}

.content-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
}

.content-nav li {
    text-align: center;
}

.content-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-nav .nav-arrow {
    font-size: 28px;
    line-height: 1;
}

.content-nav .nav-label {
    font-size: 11px;
    line-height: 1.3;
}

.contact-form {
    margin-top: 22px;
    max-width: 640px;
}

.contact-form label {
    display: block;
    margin-bottom: 3px;
    color: #555;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1.6px;
    line-height: 1.3;
    text-transform: uppercase;
}

.template-contact .content-panel {
    padding-top: 46px;
    padding-bottom: 46px;
}

.template-contact .md-content h1 {
    margin-bottom: 20px;
}

.template-contact .md-content p {
    margin-bottom: 10px;
    line-height: 1.62;
}

.template-contact .contact-form {
    margin-top: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #000;
    background: transparent;
    font: inherit;
}

.contact-form textarea {
    min-height: 112px;
    max-height: 140px;
    resize: vertical;
}

.template-contact .contact-form input,
.template-contact .contact-form textarea {
    margin-bottom: 10px;
    padding: 9px 0;
}

.template-contact .contact-form textarea {
    min-height: 86px;
    max-height: 110px;
}

.template-contact .contact-form .button {
    margin-top: 6px;
    padding: 10px 24px;
}

.portfolio3-layout {
    min-height: calc(100vh - 110px);
}

.portfolio-header {
    padding: 70px clamp(24px, 5vw, 70px) 34px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-header > * {
    max-width: 900px;
}

.gallery-filters {
    display: grid;
    gap: 12px;
    margin-top: 34px;
    font-family: "FuturaStd-Bold", Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    padding: 22px;
    align-items: start;
}

.portfolio-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: clamp(280px, 28vw, 420px);
    object-fit: cover;
    background: #eee;
}

.portfolio-card h2 {
    margin: 16px 16px 4px;
    font-size: 15px;
    line-height: 1.25;
}

.portfolio-card span {
    display: block;
    padding: 0 16px 18px;
    font-size: 13px;
    text-align: left;
}

.portfolio-card .caption-credit {
    display: block;
    margin-top: 6px;
    padding: 0;
    color: #666;
}

.documented-works {
    padding: clamp(42px, 6vw, 78px) clamp(24px, 5vw, 70px) 90px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.documented-works > * {
    max-width: 900px;
}

.documented-works h2 {
    margin-bottom: 18px;
}

.documented-works h3 {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.documented-works ul {
    margin: 0 0 18px 18px;
    padding: 0;
}

.documented-works li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
}

.services-layout {
    padding: 70px 0 90px;
}

.source-services {
    background: #fff;
    padding: clamp(34px, 7vw, 76px);
}

.mapped-figure {
    width: min(100%, 520px);
    margin: 30px 0;
    background: #f4f4f4;
    clear: none;
}

.mapped-figure.align-left {
    float: left;
    clear: none;
    width: min(46%, 420px);
    margin: 8px 32px 22px 0;
}

.mapped-figure.align-right {
    float: right;
    clear: none;
    width: min(46%, 420px);
    margin: 8px 0 22px 32px;
}

.mapped-figure.align-center {
    float: none;
    margin: 30px auto;
}

.mapped-figure.image-small {
    width: min(100%, 360px);
}

.mapped-figure.image-extra-small {
    width: min(100%, 240px);
}

.mapped-figure.image-medal {
    width: min(100%, 150px);
}

.mapped-figure.image-extra-large {
    width: min(100%, 760px);
}

.mapped-figure.align-left.image-small,
.mapped-figure.align-right.image-small {
    width: min(31%, 280px);
}

.mapped-figure.align-left.image-extra-small,
.mapped-figure.align-right.image-extra-small {
    width: min(24%, 220px);
}

.mapped-figure.align-left.image-medal,
.mapped-figure.align-right.image-medal {
    width: min(18%, 150px);
}

.mapped-figure.align-left.image-extra-large,
.mapped-figure.align-right.image-extra-large {
    width: min(58%, 620px);
}

.mapped-figure img {
    width: 100%;
    height: auto;
}

.mapped-figure figcaption {
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    color: #555;
}

.caption-credit {
    color: #666;
}

.figure-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.figure-stack.align-right {
    float: right;
    clear: none;
    width: min(31%, 280px);
    margin: 8px 0 22px 32px;
}

.figure-stack .mapped-figure {
    float: none;
    clear: none;
    width: 100%;
    margin: 0;
}

.figure-row {
    clear: both;
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 30px auto;
}

.figure-row .mapped-figure {
    float: none;
    clear: none;
    width: min(50%, 360px);
    margin: 0;
}

.content-clear {
    clear: both;
    height: 0;
}

.signature-figure {
    clear: both;
    width: min(520px, 90%);
    margin: 46px auto 0;
}

.signature-figure img {
    width: 100%;
    height: auto;
}

.standalone-centered-image {
    clear: both;
    width: min(100%, 520px);
    margin: 46px auto 0;
    background: #f4f4f4;
}

.standalone-centered-image.image-extra-small {
    width: min(100%, 240px);
}

.standalone-centered-image.image-large {
    width: min(100%, 760px);
}

.standalone-centered-image.image-extra-large {
    width: min(100%, 900px);
}

.standalone-centered-image img {
    width: 100%;
    height: auto;
}

.standalone-centered-image figcaption {
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    color: #666;
}

.decorative-divider {
    clear: both;
    width: min(100%, 520px);
    margin: 46px auto 0;
}

.decorative-divider img {
    width: 100%;
    height: auto;
}

.lightbox-link {
    display: block;
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 70px 28px 48px;
    background: rgba(0, 0, 0, 0.88);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 78vh;
    object-fit: contain;
    background: #111;
}

.lightbox p {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 16px;
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-open {
    overflow: hidden;
}

.md-content::after {
    content: "";
    display: table;
    clear: both;
}

.language-links {
    display: flex;
    gap: 18px;
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: 70px 1fr 70px;
    }

    .nav-button {
        margin-left: 24px;
    }

    .header-title,
    .top-nav {
        display: none;
    }
}

@media (max-width: 900px) {
    .split-page {
        display: block;
    }

    .visual-panel {
        position: relative;
        top: auto;
        height: clamp(420px, 58vw, 520px);
        background-position: center 30%;
    }

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

    .site-footer {
        padding: 0 22px;
    }

    .portfolio3-layout {
        display: block;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .portfolio-card img {
        height: min(72vw, 620px);
        aspect-ratio: auto;
        object-fit: contain;
    }

    .mapped-figure,
    .mapped-figure.align-left,
    .mapped-figure.align-right,
    .mapped-figure.align-center,
    .mapped-figure.align-left.image-small,
    .mapped-figure.align-right.image-small,
    .mapped-figure.align-left.image-extra-small,
    .mapped-figure.align-right.image-extra-small,
    .mapped-figure.align-left.image-extra-large,
    .mapped-figure.align-right.image-extra-large,
    .figure-stack.align-right {
        float: none;
        width: 100%;
        margin: 26px 0;
    }

    .mapped-figure.image-medal,
    .mapped-figure.align-left.image-medal,
    .mapped-figure.align-right.image-medal {
        float: none;
        width: min(52%, 150px);
        margin: 26px auto;
    }

    .figure-row {
        display: block;
    }

    .figure-row .mapped-figure {
        width: 100%;
        margin: 26px 0;
    }
}

@media (max-width: 560px) {
    .brand {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-copy {
        margin: 0 auto;
    }

    .content-panel {
        padding: 46px 24px;
    }

    .site-footer {
        justify-content: center;
    }

    .language-links {
        display: none;
    }
}
