html {
    background-color: #f4f4f4;
}

body {
    font-family: "Inter Tight", "Aptos", "Segoe UI", sans-serif;
    line-height: 1.45;
    margin: 0;
    min-height: 100vh;
    padding: 28px 20px 44px;
    max-width: 920px;
    margin: 0 auto;
    color: #202020;
    background-color: #f4f4f4;
}

button,
input,
textarea {
    font: inherit;
}

.contact-panel[hidden],
.contact-form[hidden],
.contact-response[hidden] {
    display: none !important;
}

header {
    background-color: #f4f4f4;
    padding: 10px 20px 14px;
    text-align: center;
    margin-bottom: 18px;
}

.landing-logo {
    display: block;
    width: min(240px, 70vw);
    height: auto;
    margin: 0 auto;
}

main {
    padding-bottom: 32px;
}

.mission {
    text-align: center;
}

.mission h1 {
    color: #555;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0;
    margin: 0 0 14px;
}

.sector-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sector {
    display: inline-block;
    position: relative;
    color: #171717;
    cursor: default;
    font-size: clamp(1.2rem, 3.2vw, 2rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
    padding: 2px 14px 7px;
    transform-origin: center;
    transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.sector::after {
    background: #c5101c;
    bottom: 0;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
    width: 72%;
}

.sector:hover,
.sector:focus-visible {
    color: #c5101c;
    outline: none;
    text-shadow: 0 10px 24px rgba(197, 16, 28, 0.18);
    transform: scale(1.045);
}

.sector:hover::after,
.sector:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.contact-footer {
    margin: 30px auto 0;
    max-width: 420px;
    text-align: center;
}

.contact-toggle {
    align-items: center;
    appearance: none;
    background: #ededed;
    border: 1px solid #d2d2d2;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(23, 23, 23, 0.06);
    color: #171717;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    gap: 9px;
    justify-content: center;
    letter-spacing: 0;
    min-height: 42px;
    padding: 8px 15px 8px 10px;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-icon {
    align-items: center;
    background: #171717;
    border-radius: 50%;
    color: #f4f4f4;
    display: inline-flex;
    flex: 0 0 auto;
    height: 26px;
    justify-content: center;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    width: 26px;
}

.contact-icon svg {
    display: block;
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 15px;
}

.contact-toggle:hover,
.contact-toggle:focus-visible {
    background: #171717;
    border-color: #171717;
    box-shadow: 0 12px 28px rgba(23, 23, 23, 0.14);
    color: #c5101c;
    outline: none;
    transform: translateY(-2px);
}

.contact-toggle:hover .contact-icon,
.contact-toggle:focus-visible .contact-icon {
    background: #c5101c;
    color: #ffffff;
    transform: rotate(-6deg) scale(1.06);
}

.contact-panel {
    margin-top: 18px;
    opacity: 1;
    position: relative;
    transform: translateY(0);
    transition: opacity 320ms ease, transform 320ms ease;
}

.contact-panel.is-closing {
    opacity: 0;
    transform: translateY(-4px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 1;
    text-align: left;
    transform: translateY(0);
    transition: opacity 320ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-form.is-exiting {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
}

.contact-form label {
    color: #444;
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 5px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    background: #ededed;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    color: #171717;
    font-size: 0.95rem;
    padding: 10px 11px;
}

.contact-form textarea {
    min-height: 96px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c5101c;
    outline: 2px solid rgba(197, 16, 28, 0.14);
}

.submit-button {
    align-self: center;
    appearance: none;
    background: #171717;
    border: 1px solid #171717;
    border-radius: 4px;
    color: #f4f4f4;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 9px 18px;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
    background: #c5101c;
    border-color: #c5101c;
    outline: none;
    transform: translateY(-1px);
}

.submit-button:disabled {
    cursor: default;
    opacity: 0.58;
    transform: none;
}

.contact-response {
    align-items: center;
    color: #171717;
    display: flex;
    font-size: 1rem;
    font-weight: 600;
    inset: 0;
    justify-content: center;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    text-align: center;
    transform: translateY(8px) scale(0.985);
    transition: opacity 360ms ease 80ms, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms;
}

.contact-response.is-visible {
    opacity: 1;
    transform: translateY(0);
}
