/* Local copies of the same faces used on the other T-700 pages. */
@font-face {
    font-family: "Road Rage";
    src: url("../../team/assets/fonts/RoadRage-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Oswald";
    src: url("../../team/assets/fonts/Oswald-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "T700 Body";
    src: url("../../team/assets/fonts/LiberationSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "T700 Log Hand";
    src: url("kalam-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

html:has(body.t700-contact-page) {background-color: #58736a; scrollbar-gutter: auto}

body.t700-contact-page {
    --t700-display: "Road Rage", Impact, sans-serif;
    --t700-label: "Oswald", Impact, sans-serif;
    --letter: "T700 Log Hand", "T700 Body", sans-serif;
    --body: "T700 Body", Arial, sans-serif;
    --ink: #493742;
    --paper: #ffe5bd;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: #58736a url("paint.webp") repeat;
    background-size: 42rem auto;
    font: 400 1rem/1.45 var(--body);
    color: var(--ink);
}
body.t700-contact-page::before,
body.t700-contact-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
body.t700-contact-page::before {
    inset: 0 0 auto;
    height: min(40svh, 21rem);
    background: #2e504b;
    opacity: .25;
    clip-path: polygon(0 0, 36% 0, 0 89%);
}
body.t700-contact-page::after {
    top: 53svh;
    inset-inline: 0;
    height: 4px;
    background: #344a49;
    box-shadow: 0 1px 0 #99a28a;
    clip-path: polygon(0 49%, 19% 18%, 39% 55%, 62% 4%, 81% 28%, 100% 0, 100% 64%, 75% 92%, 53% 59%, 24% 100%, 0 92%);
}
.t700-contact-page.admin-bar {min-height: calc(100svh - 32px)}
.t700-contact-page .table-rim {
    flex: none;
    position: relative;
    height: clamp(16px, 3.8svh, 40px);
    background: #eaa479;
    border-top: 2px solid #414440;
    border-bottom: clamp(4px, 1svh, 10px) solid #3e3d4a;
    clip-path: polygon(0 13%, 17% 6%, 33% 11%, 55% 4%, 75% 9%, 90% 6%, 100% 0, 100% 100%, 0 100%);
}
.table-rim::before {
    content: "";
    position: absolute;
    inset: 34% 0 auto;
    height: 3px;
    opacity: .65;
    background: #a36d54;
    clip-path: polygon(0 60%, 2% 44%, 3% 37%, 1% 92%, 13% 78%, 18% 40%, 14% 30%, 22% 25%, 23% 68%, 36% 65%, 41% 33%, 36% 21%, 59% 56%, 65% 8%, 72% 28%, 65% 61%, 80% 58%, 92% 13%, 99% 11%, 89% 58%, 100% 55%, 100% 63%, 0 88%);
}
.t700-postcard {
    flex: 1;
    width: min(85.5%, 116rem);
    min-height: 0;
    margin: 0 auto;
    padding: clamp(1.6rem, 4vh, 3.2rem) 0 clamp(2.35rem, 5.1vh, 4.8rem);
    display: grid;
    align-content: center;
}
.t700-postcard :is(a, button):focus-visible {outline: 3px solid #216676; outline-offset: 3px}
.t700-postcard [hidden] {display: none !important}
.t700-postcard .paper {
    position: relative;
    isolation: isolate;
    transform: rotate(-.9deg);
}
.t700-postcard .paper::before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 0;
    z-index: -1;
    background: var(--paper) url("stock.webp") repeat;
    background-size: 30rem auto;
    border: clamp(2px, .18vw, 3px) solid #3b3941;
    border-radius: 1.1% 1.4% 1.25% 1.1% / 2.5% 3.5% 3% 2%;
    box-shadow: .65rem .8rem 0 -.07rem #38414e;
    transform: skewX(-.9deg);
}
.t700-postcard .paper::after {
    content: "";
    position: absolute;
    right: .35%;
    bottom: 1%;
    width: clamp(1.1rem, 4.5vw, 4.5rem);
    height: clamp(.9rem, 4.1vw, 4rem);
    pointer-events: none;
    background: #c18c69;
    opacity: .65;
    clip-path: polygon(0 99%, 43% 47%, 54% 38%, 70% 30%, 100% 1%, 100% 5%, 73% 31%, 57% 40%, 47% 50%, 5% 98%);
}
.t700-postcard .card-inner {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(2rem, 5.2vw, 5.5rem);
    min-height: clamp(25rem, 73svh, 56rem);
    padding: clamp(1.5rem, 3.5vh, 3rem) clamp(1.9rem, 3.1vw, 4.1rem) clamp(1.7rem, 4.2vh, 3.5rem);
}
.t700-postcard :is(.writing, .destination) {min-width: 0; position: relative}
.t700-postcard .writing {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.t700-postcard .postcard-scene {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(9rem, 24svh, 18rem);
    object-fit: contain;
    object-position: left bottom;
}
.t700-postcard .writing h1 {
    margin: clamp(.3rem, 1.35vh, 1.2rem) 0 clamp(.3rem, 1.15vh, .9rem);
    font: 400 clamp(3.5rem, 6vw, 7rem)/.98 var(--t700-display);
    color: var(--ink);
    overflow-wrap: anywhere;
}
.t700-postcard .people {
    display: grid;
    gap: clamp(.6rem, 1.55vh, 1.1rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.t700-postcard .person {
    display: grid;
    align-items: center;
    gap: .2rem .85rem;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
}
.t700-postcard .recipient {
    min-width: 0;
    margin: 0;
    font: 500 clamp(1.18rem, 1.92vw, 2.4rem)/1.2 var(--t700-label);
    color: var(--ink);
    overflow-wrap: anywhere;
}
.t700-postcard .purpose {
    display: block;
    font: 400 clamp(.94rem, 1.32vw, 1.6rem)/1.16 var(--letter);
    padding-top: .17em;
    color: #5b4652;
}
.t700-postcard .address-line {
    display: grid;
    align-content: center;
    justify-items: start;
    min-width: 0;
    gap: .15rem;
    font: 400 clamp(.89rem, 1.05vw, 1.18rem)/1.32 var(--body);
    overflow-wrap: anywhere;
}
.t700-postcard .email-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
    gap: .15rem .3rem;
}
.t700-postcard .address-line a {color: #355457; text-underline-offset: .17em; overflow-wrap: anywhere}
.t700-postcard .address-line a:hover, .t700-postcard .map-action:hover {color: #853f41}
.t700-postcard .uncertain {
    width: 100%;
    height: .5em;
    border-bottom: 2px dotted #926c68;
    opacity: .72;
}
.t700-postcard .copy {
    border: 1px solid #9e8372;
    border-radius: .13em;
    background: transparent;
    padding: .12em .4em;
    color: var(--ink);
    cursor: pointer;
    font: 500 .82rem/1.2 var(--t700-label);
}
.t700-postcard .copy:hover {background: #e6c99e}
.t700-postcard .destination {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: clamp(1.1rem, 3.7vh, 3rem);
    align-self: start;
    min-height: clamp(21.6rem, 64svh, 47rem);
}
.t700-postcard .destination::before {
    content: "";
    position: absolute;
    width: 2px;
    left: calc(clamp(2rem, 5.2vw, 5.5rem) * -.5);
    inset-block: 3% 0;
    background: #745963;
    clip-path: polygon(0 0, 82% 1%, 66% 33%, 100% 75%, 78% 100%, 10% 100%, 28% 69%, 0 49%, 27% 19%);
}
.t700-postcard .postage {
    position: relative;
    align-self: flex-end;
    width: 95%;
    aspect-ratio: 2.6;
    max-width: 37rem;
    margin: 0 0 .2rem;
}
.t700-postcard .stamp, .t700-postcard .mark {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}
.t700-postcard .stamp {top: 0; right: 0; width: 31%}
.t700-postcard .mark {bottom: -3%; right: 31%; width: 52%; transform: rotate(-3deg)}
.t700-postcard .cancel-lines {
    position: absolute;
    right: 10%;
    bottom: 11%;
    width: 27%;
    height: 33%;
    fill: none;
    stroke: #705063;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: .81;
}
.t700-postcard .delivery {padding: 0 0 .2rem}
.t700-postcard .address {margin: 0; padding: 0; font-style: normal}
.t700-postcard .address span {
    display: block;
    margin: .08em 0;
    font: 400 clamp(1.15rem, 1.72vw, 2.12rem)/1.26 var(--body);
    color: var(--ink);
    overflow-wrap: anywhere;
}
.t700-postcard .address .team-name {
    font: 500 clamp(1.55rem, 2.4vw, 3rem)/1.15 var(--t700-label);
    margin: 0 0 .22em;
}
.t700-postcard .map-action {
    display: inline-flex;
    align-items: baseline;
    gap: .3em;
    max-width: 100%;
    margin-top: clamp(.8rem, 1.75vw, 2.4rem);
    color: var(--ink);
    font: 500 clamp(1.18rem, 1.75vw, 2.14rem)/1.25 var(--t700-label);
    text-decoration: none;
}
.t700-postcard .map-action .word {text-decoration: underline; text-underline-offset: .16em; overflow-wrap: anywhere}
.t700-postcard .map-action .arrow {
    position: relative;
    display: inline-block;
    flex: none;
    width: .58em;
    height: .58em;
    border-top: .08em solid;
    border-right: .08em solid;
}
.t700-postcard .map-action .arrow::before {
    content: "";
    position: absolute;
    top: -.035em;
    right: -.015em;
    width: 136%;
    height: .08em;
    background: currentColor;
    transform-origin: top right;
    transform: rotate(-45deg);
}
.t700-postcard .sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.t700-postcard .postcard-extra {
    margin: clamp(2rem, 5vw, 4rem) auto 0;
    padding: clamp(1.3rem, 4vw, 3rem);
    width: min(100%, 54rem);
    overflow-wrap: anywhere;
    background: var(--paper);
    color: var(--ink);
}
.t700-postcard .postcard-extra img {max-width: 100%; height: auto}
.t700-postcard .postcard-extra .contact-form {position: static; margin: 0 auto; width: 100%}

@media (max-width: 1000px) {
    .t700-postcard {width: 90%}
    .t700-postcard .card-inner {gap: 2.5rem; padding-inline: 2.15rem}
    .t700-postcard .destination::before {left: -1.25rem}
    .t700-postcard .person {grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); column-gap: .55rem}
}
@media (min-width: 701px) and (max-width: 1000px) and (orientation: portrait) {
    .t700-postcard .card-inner {min-height: clamp(25rem, 49vw, 33rem)}
    .t700-postcard .destination {min-height: auto; align-self: stretch}
    .t700-postcard .writing h1 {margin: .55rem 0}
}
@media (min-width: 1001px) and (min-aspect-ratio: 2/1) {
    .t700-postcard {width: min(86%, 198svh, 116rem); padding-block: 2.6svh 4.3svh}
    .t700-postcard .writing h1 {font-size: clamp(3.4rem, 10.5svh, 7rem)}
    .t700-postcard .recipient {font-size: clamp(1.2rem, 4.15svh, 2.4rem)}
    .t700-postcard .purpose {font-size: clamp(.96rem, 2.8svh, 1.6rem)}
    .t700-postcard .address span {font-size: clamp(1.2rem, 3.5svh, 2.12rem)}
    .t700-postcard .address .team-name {font-size: clamp(1.35rem, 4.5svh, 2.8rem)}
    .t700-postcard .map-action {font-size: clamp(1.2rem, 3.5svh, 2.14rem); margin-top: 2.65svh}
}
@media (max-width: 782px) {
    .t700-contact-page.admin-bar {min-height: calc(100svh - 46px)}
}
@media (max-width: 700px) {
    .t700-postcard {width: 91%; padding: .9rem 0 1.75rem}
    .t700-postcard .paper {transform: none}
    .t700-postcard .paper::before {
        transform: rotate(-.35deg);
        border-radius: 2% 1.5% 2.6% 1.5% / .9% 1.2% 1% .7%;
        box-shadow: .28rem .42rem 0 #38414e;
    }
    .t700-postcard .card-inner {
        display: block;
        min-height: 0;
        padding: clamp(1.2rem, 5.2vw, 2.25rem);
    }
    .t700-postcard .postcard-scene {
        height: auto;
        max-height: 10.25rem;
        object-position: left center;
    }
    .t700-postcard .writing h1 {font-size: clamp(3rem, 8.6vw, 4rem); margin: .62rem 0 .53rem}
    .t700-postcard .people {gap: .68rem}
    .t700-postcard .person {grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr)}
    .t700-postcard .recipient {font-size: clamp(1.13rem, 3.3vw, 1.42rem)}
    .t700-postcard .purpose {font-size: .93rem}
    .t700-postcard .copy {min-height: 24px}
    .t700-postcard .destination {
        min-height: 0;
        margin-top: 1.35rem;
        padding: .75rem 0 .25rem;
        border-top: 1px solid #a18478;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .3rem;
    }
    .t700-postcard .destination::before {display: none}
    .t700-postcard .postage {justify-self: end; width: clamp(6.6rem, 27vw, 9rem); margin-bottom: -.1rem}
    .t700-postcard .address span {font-size: clamp(1rem, 3vw, 1.3rem)}
    .t700-postcard .address .team-name {font-size: clamp(1.4rem, 5vw, 1.9rem)}
    .t700-postcard .map-action {margin-top: .75rem; font-size: 1.25rem}
}
@media (max-width: 375px) {
    .t700-postcard .person:has(.email-line, .contact-url) {grid-template-columns: minmax(0, 1fr)}
}
.t700-postcard .paper:has(.person:nth-child(8)),
.t700-postcard .paper:has(.person:nth-child(8))::before {transform: none}
@media (prefers-reduced-motion: reduce) {
    .t700-postcard, .t700-postcard *, .t700-postcard *::after {scroll-behavior: auto; transition-duration: 0s}
}
