/* =========================================================
   Angel Apparel — landing page styles
   Palette: deep slate (gravitas) · remembrance poppy (military + Canada)
            warm bone (the "angel" light) · muted olive · brass (limited edition)
   Type:    Fraunces (display) + Archivo (body / utility)
   ========================================================= */

:root {
    --ink:        #14202B;
    --ink-900:    #0C151D;
    --ink-700:    #24333F;
    --bone:       #F4F0E6;
    --bone-dim:   #DED8C8;
    --poppy:      #C0272D;
    --poppy-lit:  #D8353B;
    --sage:       #7C8A6E;
    --brass:      #C9A24B;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1120px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- shared type bits ---------- */
.eyebrow {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--brass);
    margin: 0 0 1rem;
}
.eyebrow--dark { color: var(--poppy); }

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 1.9rem;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary {
    background: var(--poppy);
    color: var(--bone);
    box-shadow: 0 8px 24px -12px rgba(192, 39, 45, .8);
}
.btn--primary:hover { background: var(--poppy-lit); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }

:focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 3px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--bone);
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center 30%;
    overflow: hidden;
    isolation: isolate;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(12,21,29,.55) 0%, rgba(12,21,29,.45) 40%, rgba(12,21,29,.85) 100%),
        linear-gradient(90deg, rgba(12,21,29,.72) 0%, rgba(12,21,29,.15) 65%);
}

.hero__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
}
.brandmark {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--bone);
    text-decoration: none;
}
.brandmark img {
    border-radius: 50%;
    border: 1.5px solid rgba(244, 240, 230, .4);
    display: block;
}
.brandmark__word {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: .01em;
}
.nav__cta {
    color: var(--bone);
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    padding: .6rem .2rem;
    border-bottom: 2px solid transparent;
    transition: border-color .2s var(--ease);
}
.nav__cta:hover { border-color: var(--poppy); }

.hero__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--wrap);
    width: 100%;
    margin-inline: auto;
    padding: 2rem clamp(1.25rem, 5vw, 3rem) 6rem;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(3.2rem, 11vw, 8rem);
    line-height: .92;
    letter-spacing: -.02em;
    margin: 0 0 1.5rem;
    max-width: 12ch;
    text-shadow: 0 2px 30px rgba(12,21,29,.4);
}
.hero__lede {
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    line-height: 1.5;
    max-width: 40ch;
    margin: 0 0 2.2rem;
    color: var(--bone);
}
.hero__lede strong { color: #fff; font-weight: 600; }
.hero__btn { align-self: flex-start; }
.hero__meta {
    margin: 1.75rem 0 0;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bone-dim);
}

/* ---------- limited-edition seal (signature) ---------- */
.seal {
    position: absolute;
    right: clamp(1rem, 5vw, 4.5rem);
    bottom: clamp(1.5rem, 5vw, 4rem);
    width: clamp(96px, 15vw, 168px);
    aspect-ratio: 1;
    z-index: 1;
    animation: sealSpin 40s linear infinite;
}
.seal svg { width: 100%; height: 100%; display: block; }
.seal__ring { fill: none; stroke: var(--bone); stroke-width: 2; opacity: .85; }
.seal__ring--thin { stroke-width: 1; opacity: .5; }
.seal__text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    fill: var(--bone);
    text-transform: uppercase;
}
.seal__poppy-petal { fill: var(--poppy); }
.seal__poppy-core { fill: var(--ink-900); }

@keyframes sealSpin { to { transform: rotate(360deg); } }

/* =========================================================
   MISSION BAND
   ========================================================= */
.band--mission {
    background: var(--ink);
    color: var(--bone);
    padding: clamp(4rem, 10vw, 7rem) 0;
    text-align: center;
}
.band__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.015em;
    margin: 0 auto 1.5rem;
    max-width: 18ch;
}
.band__text {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
    max-width: 46ch;
    margin: 0 auto;
    color: var(--bone-dim);
}
.band__text strong { color: var(--bone); font-weight: 600; }

/* =========================================================
   PILLARS
   ========================================================= */
.pillars {
    background: var(--bone);
    padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.pillar {
    border-top: 2px solid var(--ink);
    padding-top: 1.5rem;
}
.pillar__tag {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--poppy);
    margin-bottom: 1.25rem;
}
.pillar__head {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0 0 .9rem;
    color: var(--ink);
}
.pillar__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-700);
}

/* =========================================================
   JOIN
   ========================================================= */
.join {
    background: var(--ink-900);
    color: var(--bone);
    padding: clamp(4.5rem, 10vw, 8rem) 0;
}
.join__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.join__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1;
    letter-spacing: -.02em;
    margin: 0 0 1.2rem;
}
.join__text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--bone-dim);
    margin: 0;
    max-width: 42ch;
}

.signup {
    background: var(--ink);
    border: 1px solid var(--ink-700);
    border-radius: 4px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
}
.signup__note {
    margin: 0 0 1.25rem;
    padding: .85rem 1rem;
    border-radius: 3px;
    font-size: .92rem;
    line-height: 1.4;
}
.signup__note.is-ok { background: rgba(124, 138, 110, .2); color: #cfe0c0; border: 1px solid var(--sage); }
.signup__note.is-error { background: rgba(192, 39, 45, .18); color: #f4c3c5; border: 1px solid var(--poppy); }

.signup__label {
    display: block;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bone-dim);
    margin-bottom: .7rem;
}
.signup__row {
    display: flex;
    gap: .6rem;
}
.signup__input {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--ink-700);
    border-radius: 2px;
    background: var(--bone);
    color: var(--ink);
}
.signup__input::placeholder { color: #8a97a1; }
.signup__input:focus-visible { outline-offset: 1px; }
.signup__btn { white-space: nowrap; }

/* honeypot — visually + assistively hidden without display:none (bots skip those) */
.signup__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.signup__fine {
    margin: 1rem 0 0;
    font-size: .8rem;
    color: #8a97a1;
    line-height: 1.5;
}
.signup__result {
    margin-top: 1rem;
    font-size: .95rem;
    line-height: 1.45;
}
.signup__result.is-ok { color: #cfe0c0; }
.signup__result.is-error { color: #f4c3c5; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
    background: var(--ink-900);
    color: var(--bone-dim);
    border-top: 1px solid var(--ink-700);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.foot__inner { text-align: center; }
.foot__brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bone);
    margin-bottom: 1rem;
}
.foot__brand img { border-radius: 50%; }
.foot__line {
    max-width: 48ch;
    margin: 0 auto 1.25rem;
    font-size: .95rem;
    line-height: 1.6;
}
.foot__meta {
    font-size: .85rem;
    letter-spacing: .04em;
    margin: 0;
    display: flex;
    gap: .6rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.foot__meta a { color: var(--brass); text-decoration: none; }
.foot__meta a:hover { text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
    .pillars__grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .join__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .nav__cta { display: none; }
    .signup__row { flex-direction: column; }
    .signup__btn { width: 100%; }
    .seal { display: none; }
    .hero__body { padding-bottom: 4rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .seal { animation: none; }
    .btn { transition: none; }
}
