* {box-sizing: border-box;}

html {scroll-behavior: smooth;}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Glacial', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    background: #f5f4ef;
}

main {
    flex: 1;
    padding-top: calc(clamp(118px, 9.2vw, 215px) + 15px);
}

img {display: block; max-width: 100%;}

a {color: inherit;}


@font-face {
    font-family: 'Glacial';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/GlacialIndifference-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Glacial';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/GlacialIndifference-Bold.woff2') format('woff2');
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: calc(clamp(118px, 9.2vw, 215px) + 15px);
    background: #f5f4ef;
}

.header-inner {
    height: 100%;
    width: 100%;
    padding: 0 2.6vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    flex: 0 0 clamp(113px, 8.8vw, 205px);
    display: block;
}

.logo img {
    width: 100%;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 1.9vw, 44px);
    margin-left: clamp(24px, 1.9vw, 44px);
}

.site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: clamp(165px, 13vw, 450px);
    height: clamp(45px, 3.5vw, 81px);
    padding: 8px 0 6px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(14px, 1.1vw, 25px);
    letter-spacing: 0.32em;
    line-height: 1;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #bbb;
    z-index: 1;
}

.site-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    z-index: 2;
    transition: width 0.25s ease;
}

.site-nav a:hover::before {
    width: 100%;
}

.site-nav a.active::after {
    background-color: #000;
}

.site-nav a.active::before {
    display: none;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

/* Hero / image sections */

.hero,
.image-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.services-hero {
    position: sticky;
    top: calc(clamp(118px, 9.2vw, 215px) + 15px);
    z-index: 0;
}

.services-hero > img {
    width: 100%;
    height: auto;
    display: block;
}

.hero > img,
.image-section > img {
    width: 100%;
    height: auto;
}

.hero-title {
    position: absolute;
    left: 2.5%;
    bottom: 10%;
}

.hero-title h1 {
    margin: 0;
    color: white;
    font-weight: 400;
    font-size: clamp(53px, 4.25vw, 95px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    /* text-shadow: 0 2px 6px rgba(0,0,0,0.9); */
	text-shadow: 0 0.02em 0.10em #333;
}

/* General headings */

h2 {
    margin-top: 0;
    line-height: 1.05;
    text-align: center;
    font-weight: 400;
}

.content {
    width: 60vw;
    max-width: 1700px;
    margin: 0 auto;
    text-align: justify;
}

/* Philosophy / text sections */

.text-section,
.clients {
    padding: 45px 0 45px;
}

.text-section,
.clients {
    position: relative;
    z-index: 2;
    background: #e7e0d7;
}

.text-section p,
.services-section p {
    font-size: clamp(20px, 1.35vw, 36px);
    line-height: 1.5;
}

.text-section p {
    margin-bottom: 20px;
}

.tc ol {
    font-size: clamp(15px, 1.3vw, 27px);
    line-height: 1.5;
    margin-bottom: 20px;
}

.text-section h2,
.tc h2,
.services-section h2,
.clients h2 {
    margin-bottom: 22px;
    font-size: clamp(40px, 3.3vw, 72px);
    font-weight: 400;
}

.rejection-title {
	margin-top: clamp(15px, 1.5vw, 30px);
    font-size: clamp(30px, 2.5vw, 50px) !important;
}
.clients h2 {
    margin-bottom: 35px;
}

/* About */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    background: #e7e0d7;
    color: #480000;
    padding: clamp(40px, 5vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-text h1 {
    margin: 0 0 clamp(22px, 2.5vw, 45px);
    font-size: clamp(40px, 3.6vw, 72px);
    font-weight: 400;
    line-height: 1.05;
}

.about-text p {
    margin: 0 0 clamp(20px, 1.8vw, 32px);
    font-size: clamp(18px, 1.25vw, 25px);
    line-height: 1.4;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Services */

.services-section {
    position: relative;
    z-index: 2;
    background: #f5f4ef;
    padding: 25px 0;
}

.services-section > .content > p {
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 20px;
    width: 110%;
    margin-left: -5%;
    margin-bottom: clamp(40px, 2vw, 75px);
}

.service-image {
    position: relative;
    display: block;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center center;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 1;
}

.service-image:hover {
    transform: scale(1.1);
}

.service-image:hover::after {
    opacity: 0.35;
}

.service-image-text {
    position: absolute;
    left: 50%;
    bottom: 3%;
	transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    color: white;
    font-size: clamp(24px, 1.85vw, 44px);
    font-weight: 400;
    letter-spacing: -0.02em;
    /* text-shadow: 0.1vw 0.1vw 0.1vw #333; */
	text-shadow: 0 0.02em 0.08em #333;
    z-index: 2;
}

/* Contact form */

.contact-form {
    width: 75%;
    max-width: 750px;
    margin: 10px auto 0;
}

.contact-intro {
    width: 80%;
    margin: 0 auto 20px;
    font-size: clamp(15px, 1.3vw, 27px);
    text-align: center;
}

.cf-turnstile {
	transform: scale(0.9);
    transform-origin: left top;
    width: 90%;
    margin-bottom: 17px;
}

.contact-phone {
    font-family: 'Glacial';
    font-size: clamp(11px, 1.2vw, 24px);
    font-weight: 700;
    color: #770000;
}

.contact-phone a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

.form-field {
    margin-bottom: 28px;
}

.form-field label {
    display: block;
    margin-bottom: 4px;
    font-size: clamp(18px, 1.25vw, 25px);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 6px 0;
    border: none;
    border-bottom: 1px solid #999;
    background: #f5f4ef;
    color: #000;
    font-family: 'Glacial', sans-serif;
    font-size: clamp(18px, 1.25vw, 25px);
    font-weight: 400;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: #480000;
}

.form-error {
    margin: 20px 0;
    color: #bb0000;
    font-size: clamp(17px, 1.2vw, 24px);
    text-align: center;
}

/* Buttons */

.button {
    display: inline-block;
    padding: clamp(10px, 0.85vw, 18px) clamp(20px, 1.55vw, 36px);
    border: 1px solid #480000;
    background: transparent;
    text-decoration: none;
    font-family: inherit;
    font-size: clamp(16px, 1.3vw, 30px);
    cursor: pointer;
    transition: .2s ease;
}

.button:hover {
    text-decoration: underline;
}

.button.light {
    color: white;
    border-color: white;
}

.button-wrapper {
    width: 100%;
    text-align: center;
}

.button-left {
    text-align: left;
}

/* Clients */

.client-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.5vw;
    width: 60vw;
    max-width: 1700px;
    text-align: left !important;
}

.client-list span {
    font-size: clamp(17px, 1.5vw, 31px);
    letter-spacing: .06em;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 1.4s ease;
}

.client-list.visible span {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop: second row follows first row */
.client-list.visible span:nth-child(n+6) {
    transition-delay: 0.25s;
}

/* Cultural grid */

.cultural-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 90vw;
    max-width: 2600px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.cultural-item {
    position: relative;
    aspect-ratio: 3/4.2;
    overflow: hidden;
}

.cultural-item > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cultural-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12% 10%;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.4s ease;
}

.cultural-overlay h3 {
    margin: 0;
    font-size: clamp(26px, 2.1vw, 48px);
    line-height: 1.05;
    font-weight: 400;
    /* text-shadow: 2px 2px 2px #000; */
	text-shadow: 0 0.02em 0.08em #333;
}

.cultural-overlay p {
    width: 95%;
    margin: 5% 0 0;
    font-size: clamp(17px, 1.4vw, 32px);
    line-height: 1.1;
    text-align: left;
    /* text-shadow: 1px 1px 2px #000; */
	text-shadow: 0 0.02em 0.08em #333;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cultural-item:is(:hover, .show-info) .cultural-overlay {
    background: rgba(0, 0, 0, 0.55);
}

.cultural-item:is(:hover, .show-info) .cultural-overlay p {
    opacity: 1;
}

/* Footer */

.site-footer {
    background: #1b1c1b;
    color: white;
    padding: clamp(25px, 1.9vw, 45px) clamp(24px, 1.9vw, 44px);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 1.3vw, 25px);
    font-size: clamp(14px, 1vw, 20px);
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 1.3vw, 25px);
    margin-top: 15px;
    font-size: clamp(12px, 0.85vw, 16px);
}

.footer-links-left {
    flex: 1;
}

.footer-logo {
    flex: 0 0 clamp(82px, 6.5vw, 150px);
    display: block;
    margin-left: 50px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============ Smaller screens ============ */

@media (max-width: 1200px) {

    .header-inner {
        padding: 0 25px;
    }

    .client-list {
        grid-template-columns: repeat(2, 1fr);
        width: 90vw;
    }

    .client-list.visible span:nth-child(n+3) {
        transition-delay: 0.25s;
    }

    .services-list {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin-left: 0;
    }

    .services-list a:last-child {
        grid-column: 1 / -1;
        width: 50%;
        justify-self: center;
    }

    /* Cultural grid changes from 4 columns to 2 */
    .cultural-list {
        grid-template-columns: repeat(2, 1fr);
        width: 90vw;
    }

    /* Cultural text for 1200px down to 701px */
    .cultural-overlay {
        padding: 7% 5%;
    }

    .cultural-overlay h3 {
        font-size: clamp(32px, 3.2vw, 42px);
        font-weight: 400;
        line-height: 1;
    }

    .cultural-overlay p {
        width: 95%;
        font-size: clamp(19px, 2vw, 27px);
        line-height: 1.1;
        text-align: left;
    }
}

@media (max-width: 850px) {

    .cf-turnstile {
        transform: scale(0.8);
        transform-origin: left top;
        width: 80%;
        margin-bottom: 20px;
    }

    .site-header {
        height: 110px;
    }

    main {
        padding-top: 110px;
    }

    .header-inner {
        padding: 0 20px;
        justify-content: space-between;
    }

    .services-hero {
        top: 110px;
    }

    .logo {
        flex-basis: 88px;
        width: 88px;
    }

    .logo img {
        width: 88px;
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .contact-phone a {
        pointer-events: auto;
        cursor: pointer;
    }

    .site-nav {
        position: absolute;
        top: 95px;
        left: 0;
        width: 100%;
        margin-left: 0;
        padding: 0 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        background: #f5f4ef;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    }

    .site-nav.open {
        max-height: 300px;
        padding: 20px;
        opacity: 1;
    }

    .site-nav a {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        height: 42px;
        font-size: 15px;
        letter-spacing: .22em;
        text-align: left;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: clamp(300px, 75vw, 400px);
    }

    .about-text {
        padding: 45px 30px;
    }

    .about-text p {
        font-size: 18px;
        line-height: 1.35;
    }

    .hero,
    .image-section {
        height: clamp(300px, 75vw, 400px);
    }

    .hero > img,
    .image-section > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-title {
        left: 5%;
        bottom: 7%;
    }

    .hero-title h1 {
        font-size: clamp(36px, 7vw, 55px);
        font-weight: 400;
    }

    .services-title h1 {
        transform: translateY(30px);
        font-weight: 400;
    }

    .services-list {
        grid-template-columns: 1fr;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .services-list a:last-child {
        grid-column: auto;
        width: 100%;
    }

    .content {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .content.narrow {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }

    .text-section,
    .clients {
        padding: clamp(35px, 8vw, 55px) 0;
    }

    .text-section p {
        width: calc(100% - 18px);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 1.3;
    }

    .client-list {
        width: calc(100% - 40px);
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 30px;
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links-left {
        width: 100%;
    }

    .site-footer nav,
    .footer-links {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 16px;
        white-space: nowrap;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-logo {
        flex: 0 0 auto;
        width: clamp(80px, 26vw, 105px);
        margin: 30px 0 0;
    }

    .footer-logo img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 700px) {

    /* Smaller cultural text for narrow phones */
    .cultural-overlay {
        padding: 7% 6%;
    }

    .cultural-overlay h3 {
        font-size: clamp(18px, 5.2vw, 30px);
        font-weight: 400;
        line-height: 0.9;
    }

    .cultural-overlay p {
        width: 95%;
        font-size: clamp(14px, 3.8vw, 19px);
        line-height: 0.95;
        text-align: left;
    }
}

@media (hover: none) and (pointer: coarse) {

    .cultural-item:hover .cultural-overlay {
        background: rgba(0, 0, 0, 0.25);
    }

    .cultural-item:hover .cultural-overlay p {
        opacity: 0;
    }

    .cultural-item.show-info .cultural-overlay {
        background: rgba(0, 0, 0, 0.55);
    }

    .cultural-item.show-info .cultural-overlay p {
        opacity: 1;
    }
}