/* Contact page ------------------------------------------------------------- */

.ct-hero {
    position: relative;
    height: 60vh;
    height: 60svh;
    min-height: 60vh;
    min-height: 60svh;
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
}

.ct-hero__media,
.ct-hero__scrim {
    position: absolute;
    inset: 0;
}

.ct-hero__media { z-index: 0; }

.ct-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 48%;
}

.ct-hero__scrim {
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(8, 5, 4, .9) 0%, rgba(8, 5, 4, .58) 38%, rgba(8, 5, 4, .18) 72%, rgba(8, 5, 4, .42) 100%),
        linear-gradient(to bottom, rgba(8, 5, 4, .55) 0%, transparent 38%, rgba(8, 5, 4, .72) 100%);
}

.ct-hero .social-rail {
    top: 36%;
}

.ct-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 12px;
    height: 100%;
    min-height: 0;
    width: min(100% - (var(--gutter) * 2), 1180px);
    margin-inline: auto;
    padding: calc(var(--header-h, 88px) + 8px) 0 20px;
}

.ct-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ct-hero__eyebrow { color: #c5a07f; }

.ct-hero__title {
    margin-top: 6px;
    max-width: 12ch;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    color: var(--cream);
}

.ct-hero__title em {
    font-style: italic;
    color: #c5a07f;
}

.ct-hero__text {
    margin-top: 8px;
    max-width: 42ch;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.5;
    color: var(--cream-70);
}

.ct-facts {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 48px);
}

.ct-facts > li > a,
.ct-facts > li > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(13px, 1vw, 15px);
    color: var(--cream);
}

.ct-facts .ct-icon {
    width: 18px;
    height: 18px;
    color: #c5a07f;
}

.ct-facts a:hover { color: #c5a07f; }

.ct-board {
    background: #f7f3ea;
    color: var(--brown);
}

.ct-board__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    width: min(100% - (var(--gutter) * 2), 1180px);
    margin-inline: auto;
    padding-block: clamp(56px, 8vh, 96px);
}

.ct-form__title {
    margin-bottom: clamp(22px, 3vw, 32px);
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(22px, 2.1vw, 30px);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ct-fields {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ct-field--full { grid-column: 1 / -1; }

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(62, 22, 20, .14);
    border-radius: 10px;
    background: #f3ebe0;
    color: var(--brown);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    transition: border-color .35s var(--ease), background .35s var(--ease);
}

.ct-field textarea {
    min-height: 148px;
    resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(62, 22, 20, .42);
}

.ct-field input:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: rgba(62, 22, 20, .4);
    background: #fbf6ee;
}

.ct-field.is-invalid input,
.ct-field.is-invalid textarea {
    border-color: #b55a42;
}

.ct-field__error {
    margin-top: 6px;
    font-size: 12.5px;
    color: #b55a42;
}

.ct-field--trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 48px;
    padding: 0 26px;
    border-radius: 10px;
    background: #1a120b;
    color: var(--cream);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: background .35s var(--ease), transform .35s var(--ease);
}

.ct-submit .ct-icon {
    width: 16px;
    height: 16px;
}

.ct-submit:hover,
.ct-submit:focus-visible {
    background: #2b1a12;
}

.ct-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--brown-55);
}

.ct-privacy .ct-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.ct-notice {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-left: 2px solid #c5a07f;
    background: rgba(197, 160, 127, .12);
    font-size: 14px;
    color: var(--brown-70);
}

.ct-notice__title {
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--brown);
}

.ct-notice--bad {
    border-left-color: #b55a42;
    background: rgba(181, 90, 66, .08);
}

.ct-aside {
    display: grid;
    gap: 16px;
}

.ct-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: clamp(22px, 2.4vw, 32px);
    border: 1px solid rgba(62, 22, 20, .12);
    border-radius: 16px;
    background: #F7EADD;
}

.ct-card__art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(62%, 280px);
    height: auto;
    max-height: 92%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    user-select: none;
}

.ct-card__art.is-placeholder {
    min-height: 140px;
    background: transparent;
}

.ct-card__title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(16px, 1.35vw, 20px);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ct-card__title .ct-icon {
    width: 18px;
    height: 18px;
    color: #8b5a3c;
}

.ct-card__text {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    max-width: 28ch;
    font-size: 14px;
    line-height: 1.65;
    color: var(--brown-70);
}

.ct-ghost {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(62, 22, 20, .2);
    border-radius: 8px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: background .35s var(--ease), color .35s var(--ease);
}

.ct-ghost .ct-icon {
    width: 16px;
    height: 16px;
}

.ct-ghost:hover,
.ct-ghost:focus-visible {
    background: #1a120b;
    color: var(--cream);
    border-color: #1a120b;
}

.ct-socials {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.ct-ghost + .ct-socials { margin-top: 16px; }

.ct-socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(62, 22, 20, .18);
    border-radius: 50%;
    color: var(--brown);
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.ct-socials svg {
    width: 16px;
    height: 16px;
}

.ct-socials a:hover,
.ct-socials a:focus-visible {
    background: #1a120b;
    color: var(--cream);
    border-color: #1a120b;
}

.ct-map {
    padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
    background: #f7f3ea;
}

.ct-map__frame {
    display: grid;
    grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
    width: min(100%, 1180px);
    margin-inline: auto;
    min-height: clamp(340px, 42vh, 460px);
    overflow: hidden;
    border-radius: 20px;
}

.ct-hours {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 44px) clamp(100px, 14vw, 140px);
    background:
        linear-gradient(180deg, rgba(18, 12, 9, .55) 0%, rgba(18, 12, 9, .18) 42%, rgba(18, 12, 9, .08) 100%),
        #1a120b url('../Images/Elements/Contact/weareopencardbg.png') left bottom / cover no-repeat;
    color: var(--cream);
}

.ct-hours__title {
    max-width: 10ch;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.15;
}

.ct-hours__time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: clamp(14px, 1.1vw, 16px);
}

.ct-hours__time .ct-icon {
    width: 18px;
    height: 18px;
    color: #c5a07f;
}

.ct-hours__text {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    max-width: 32ch;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--cream-70);
}

.ct-map__embed {
    display: grid;
    min-height: 340px;
    background: #e8e0d4;
}

.ct-map__embed iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    filter: grayscale(.12) contrast(1.02);
}

#message {
    scroll-margin-top: calc(var(--header-h, 88px) + 16px);
}

@media (max-width: 980px) {
    .ct-board__inner,
    .ct-map__frame { grid-template-columns: 1fr; }

    .ct-hours { padding-bottom: 140px; }

    .ct-map__embed,
    .ct-map__embed iframe { min-height: 280px; }
}

@media (max-width: 720px) {
    .ct-hero {
        display: flex;
        align-items: flex-end;
        height: auto;
        min-height: 72svh;
        overflow: hidden;
    }

    .ct-hero__inner {
        height: auto;
        min-height: 0;
        gap: 18px;
        padding-top: calc(var(--header-h, 64px) + 20px);
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .ct-hero__copy { justify-content: flex-end; }

    .ct-hero__title { font-size: clamp(26px, 8vw, 36px); }

    .ct-hero__media img { object-position: 86% 44%; }

    .ct-facts { flex-direction: column; gap: 12px; }

    .ct-fields { grid-template-columns: 1fr; }

    .ct-submit { width: 100%; }

    .ct-board__inner { padding-block: 40px; }

    .ct-card { min-height: 0; padding: 20px; }

    .ct-card__art { width: 55%; }

    .ct-map { padding-bottom: 40px; }

    .ct-map__frame { border-radius: 14px; }

    .ct-hours { padding: 28px 20px 120px; }
}
