:root {
    color-scheme: light;
    --blue: #52788b;
    --ink: #56798a;
    --line: #bdc8cc;
    --orange: #ffb33f;
    --white: #fff;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--blue); }
body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--blue);
    color: var(--white);
    font-family: "Century Gothic", "Avenir Next", Avenir, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.page {
    width: min(100%, 1600px);
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: 72px 4% 48px;
}
.topbar {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(544px, 1fr);
    gap: 34px;
    margin-right: 68px;
    align-items: flex-start;
    min-height: 191px;
}
.brand { display: block; width: 284px; margin-top: 2px; }
.brand img { display: block; width: 100%; height: auto; }
.social { width: 100%; margin: 36px 0 0; text-align: center; }
.social__eyebrow { display: block; margin-bottom: 7px; font-size: 16px; letter-spacing: .02em; }
.social strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 700; }
.social__links { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.social__links a, .social__links img { display: block; width: 48px; height: 48px; }
.social__links a { border-radius: 50%; transition: transform .18s ease; }
.social__links a:hover { transform: translateY(-3px); }
.social__links a:focus-visible, .brand:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(544px, 1fr);
    margin-right: 68px;
    align-items: start;
    gap: 34px;
}
.message { padding-top: 0; overflow: hidden; }
.message__eyebrow { margin: -8px 0 2px; font-size: clamp(20px, 1.9vw, 30px); font-weight: 300; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 3vw, 48px); line-height: 1.08; font-weight: 750; letter-spacing: .005em; text-transform: uppercase; }
.gears { display: block; width: min(50%, 430px); height: auto; margin: 8px 0 0 13.5%; }
.contact {
    width: 100%;
    min-height: 503px;
    padding: 39px 42px 34px;
    border-radius: 28px;
    background: var(--white);
    color: var(--ink);
}
.contact h2 { margin: 0 0 31px 3px; font-size: 28px; line-height: 1.2; font-weight: 700; }
.form-field { margin: 0 0 9px; }
.form-field label { display: block; margin: 0 0 6px 10px; font-size: 16px; line-height: 1.2; }
.form-field input, .form-field textarea {
    display: block;
    width: 100%;
    height: 41px;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    outline: none;
    background: var(--white);
    color: #3e5966;
    font: inherit;
    font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { min-height: 41px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(82 120 139 / 15%); }
button {
    min-width: 135px;
    height: 44px;
    margin: 15px 0 0 -3px;
    padding: 0 30px;
    border: 0;
    border-radius: 24px;
    background: var(--orange);
    color: var(--white);
    font: inherit;
    font-size: 17px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
button:hover { background: #f5a42c; transform: translateY(-1px); }
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.notice { margin: -15px 0 17px; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.notice--success { background: #eaf5ee; color: #286344; }
.notice--error { background: #fff0ed; color: #9c3828; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 1500px) {
    .page { padding-right: 4%; padding-left: 4%; }
    .content { grid-template-columns: minmax(0, 1.5fr) minmax(544px, 1fr); gap: 34px; }
}
@media (max-width: 1100px) {
    .page { padding: 36px 5% 44px; }
    .topbar { grid-template-columns: minmax(0, 1fr) minmax(370px, .95fr); gap: 24px; margin-right: 0; min-height: 165px; }
    .brand { width: 245px; }
    .social { margin-top: 8px; }
    .content { grid-template-columns: minmax(0, 1fr) minmax(370px, .95fr); gap: 24px; margin-right: 0; }
    .contact { min-height: 0; padding: 34px 30px 30px; }
    .contact h2 { font-size: 24px; margin-bottom: 24px; }
    .gears { width: 92%; margin-left: 2%; }
}
@media (max-width: 760px) {
    .page { padding: 25px 22px 32px; }
    .topbar { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 0; margin-right: 0; margin-bottom: 37px; }
    .brand { width: min(47vw, 220px); }
    .social { width: auto; margin: 0; }
    .social__eyebrow { margin-bottom: 3px; font-size: 12px; }
    .social strong { font-size: 17px; }
    .social__links { gap: 9px; margin-top: 10px; }
    .social__links a, .social__links img { width: 34px; height: 34px; }
    .content { display: flex; flex-direction: column; gap: 12px; }
    .message { width: 100%; overflow: visible; }
    .message__eyebrow { margin: 0 0 4px; font-size: clamp(16px, 4.5vw, 22px); letter-spacing: .12em; }
    h1 { max-width: 540px; font-size: clamp(29px, 8vw, 40px); }
    .gears { width: min(78%, 390px); margin: 0 auto 4px; }
    .contact { width: 100%; min-height: 0; padding: 28px 24px 27px; border-radius: 23px; }
    .contact h2 { margin: 0 0 22px 2px; font-size: 23px; }
    .form-field { margin-bottom: 10px; }
    .form-field label { font-size: 14px; }
    .form-field input, .form-field textarea { height: 42px; font-size: 16px; }
    button { margin-top: 10px; }
}
@media (min-width: 761px) and (max-height: 820px) {
    .page { padding-top: 38px; padding-bottom: 24px; }
    .topbar { min-height: 158px; }
    .contact { min-height: 0; padding-top: 30px; padding-bottom: 26px; }
    .contact h2 { margin-bottom: 22px; }
    .form-field { margin-bottom: 7px; }
    button { margin-top: 10px; }
    .gears { width: min(82%, 390px); margin: 5px 0 0 5%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


