﻿        main {
            width: min(1180px, 92%);
            margin: 0 auto;
            padding: 26px 0 44px;
        }

        .contact-shell { padding-top: 34px; }

        .contact-grid {
            display: grid;
            grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
            gap: clamp(34px, 4.4vw, 64px);
            align-items: stretch;
        }

        .contact-image {
            position: relative;
            min-height: 760px;
            overflow: hidden;
            border: 1px solid rgba(230, 226, 218, 0.08);
            background: #171411;
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
        }

        .contact-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 24%;
            display: block;
            filter: brightness(0.9) contrast(1.02) saturate(0.94);
        }

        .content-column {
            min-height: 760px;
            padding-top: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .overline {
            font-family: 'Inter', sans-serif;
            font-size: 0.74rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.28em;
            color: var(--accent);
            margin-bottom: 22px;
        }

        h1 {
            font-family: 'TT Drugs Trial Regular', sans-serif;
            font-size: 2.64rem;
            line-height: 1.08;
            font-weight: 400;
            letter-spacing: 0.05em;
            color: var(--text-heading-soft);
            margin-bottom: 26px;
            max-width: 11ch;
            text-transform: uppercase;
        }

        .intro-copy {
            font-size: 1.05rem;
            font-weight: 300;
            color: var(--text-body);
            max-width: 38ch;
            margin-bottom: 0;
        }

        .form-column {
            width: 100%;
            max-width: 100%;
            margin-top: 0;
        }

        form {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 30px;
            row-gap: 30px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        label {
            font-family: 'Inter', sans-serif;
            font-size: 0.72rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.24em;
            margin-bottom: 12px;
            color: var(--accent);
        }

        input,
        textarea {
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(230, 226, 218, 0.24);
            padding: 12px 0 14px;
            color: var(--text-heading);
            font-family: 'Karla Local', sans-serif;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.35s ease;
        }

        textarea {
            min-height: 94px;
            resize: vertical;
        }

        input:focus,
        textarea:focus {
            border-bottom-color: var(--accent);
        }

        input::placeholder,
        textarea::placeholder {
            color: #5c5852;
            font-weight: 300;
        }

        .submit-row button {
            background: transparent;
            color: var(--text-heading);
            border: 1px solid rgba(183, 162, 141, 0.38);
            padding: 17px 38px;
            text-transform: uppercase;
            letter-spacing: 0.24em;
            font-size: 0.75rem;
            cursor: pointer;
            align-self: flex-start;
            transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
            margin-top: 8px;
        }

        .submit-row button:hover {
            background: rgba(183, 162, 141, 0.08);
            border-color: rgba(183, 162, 141, 0.45);
            color: #f0e7dd;
        }

        @media (max-width: 900px) {
            main {
                width: min(100% - 36px, 1240px);
                padding: calc(5vh + 56px) 0 38px;
            }

            .contact-shell {
                border-top: none;
                padding-top: 0;
            }

            .contact-grid { grid-template-columns: 1fr; gap: 26px; }
            .contact-image {
                min-height: 320px;
                max-height: 420px;
            }
            .content-column {
                min-height: auto;
                padding-top: 0;
                justify-content: flex-start;
            }

            h1 {
                font-size: 2rem;
                max-width: none;
            }

            .intro-copy {
                max-width: none;
            }

            .form-column {
                margin-top: 40px;
            }

            form {
                grid-template-columns: 1fr;
                row-gap: 26px;
            }

            .form-group.full-width {
                grid-column: auto;
            }
        }

        @media (max-width: 768px) {
            .contact-image {
                min-height: 280px;
                max-height: 360px;
            }
            .contact-image img {
                object-position: center 72%;
            }
            .content-column {
                padding-top: 0;
            }
            .form-column {
                margin-top: 28px;
            }
        }
