/* Public website. Brand red is taken from the AOA logo. */
:root {
    --red: #c00000;
    --red-dark: #960000;
    --ink: #2b161b;
    --text: #40373a;
    --muted: #6e6468;
    --line: #e9e1e3;
    --tint: #fbf3f3;
    --white: #ffffff;
    --ok-bg: #edf7ef;
    --ok-text: #1d5e2c;
    --error-bg: #fdecec;
    --error-text: #8f1414;
    --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 2px;
}

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 0.6rem 0; }
.brand { display: inline-flex; }
.brand img { display: block; width: 122px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 0.4rem 1.4rem; flex-wrap: wrap; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:not(.btn):hover, .main-nav a.current { color: var(--red); border-bottom-color: var(--red); }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-large { padding: 0.75rem 1.7rem; font-size: 1.0625rem; }
.btn-outline { background: transparent; color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: var(--tint); border-color: var(--tint); color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--red-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 0; }
.band .actions { margin: 0; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); }
.hero-inner { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); max-width: 820px; }
.eyebrow { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 0.8rem; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 40em; }
.hero-note { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-tint { background: var(--tint); }
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.page-head h1 { margin-bottom: 0.3em; }
.page-head p { margin: 0; color: var(--muted); max-width: 44em; }

.two-col { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--white); }
.contact-card { margin-bottom: 1.5rem; }
.contact-card h2 { font-size: 1.1rem; margin-bottom: 0.3em; }
.contact-card p { margin: 0; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.9rem; }
.ticks li::before {
    content: "";
    position: absolute; left: 0.2rem; top: 0.85rem;
    width: 0.85rem; height: 0.45rem;
    border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
    transform: rotate(-45deg);
}

.quote { margin: 0; text-align: center; }
.quote p { font-size: 1.25rem; color: var(--ink); font-style: italic; }
.quote footer { font-weight: 700; color: var(--red); }

.stories { display: grid; gap: 2.5rem; }
.stories article { max-width: 800px; }
.stories h2 { border-left: 4px solid var(--red); padding-left: 0.9rem; }

.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4em; }

.band { background: var(--red); color: var(--white); }
.band h2 { color: var(--white); margin-bottom: 0.2em; }
.band p { margin: 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.5rem 0; }

/* Forms */
.form { display: grid; gap: 0.35rem; }
.form label, .choices legend { font-weight: 600; color: var(--ink); margin-top: 0.8rem; }
.form > label:first-of-type { margin-top: 0; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"], .form select, .form textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #b9aeb1;
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
}
.form textarea { resize: vertical; }
.form .btn { justify-self: start; margin-top: 1.2rem; }
.req { color: var(--red); }
.help { color: var(--muted); font-size: 0.92rem; margin: 0.3rem 0 0; }
.pair { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pair > div { display: grid; gap: 0.35rem; }
.prefixed { display: flex; }
.prefixed span { display: flex; align-items: center; padding: 0 0.8rem; border: 1px solid #b9aeb1; border-right: 0; border-radius: 8px 0 0 8px; background: var(--tint); color: var(--ink); font-weight: 600; }
.prefixed input { border-radius: 0 8px 8px 0 !important; }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.choices legend { padding: 0; width: 100%; }
.choices label { font-weight: 400; margin-top: 0.3rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 8px; padding: 0.8rem 1rem; font-weight: 600; }
.notice-ok { background: var(--ok-bg); color: var(--ok-text); }
.notice-error { background: var(--error-bg); color: var(--error-text); }
.done { text-align: center; padding: 2.5rem 1.5rem; }
.done .actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #e8dfe1; font-size: 0.97rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 1.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 2.5rem 0 1.5rem; }
.footer-grid p { margin: 0 0 0.4em; overflow-wrap: anywhere; }
.footer-name { font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-head { font-weight: 700; color: var(--white); }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 1rem 0 1.5rem; color: #cfc4c7; font-size: 0.9rem; }

@media (max-width: 560px) {
    .main-nav { gap: 0.3rem 1rem; }
    .band-inner { padding: 2rem 0; }
}
