/* ===========================================================================
   The Guild of Yorkshire Makers
   Brand tokens: Forest Green / Antique Gold / Warm Ivory / Slate / Stone / Walnut
   Type: Cinzel (headings) · Lato (body) · Cormorant Garamond italic (asides)
   =========================================================================== */

:root {
  --forest:       #12291d;
  --forest-deep:  #0b1a12;
  --forest-soft:  #1c3a2a;
  --gold:         #c29b4b;
  --gold-light:   #dcbb74;
  --gold-deep:    #9a7734;
  --ivory:        #f5f1e6;
  --ivory-warm:   #ede7d7;
  --stone:        #cfc3ac;
  --slate:        #4c4f4b;
  --walnut:       #4a2e1e;
  --ink:          #1b2a20;
  --ink-soft:     #45514a;

  --display: "Cinzel", "Times New Roman", serif;
  --body:    "Lato", -apple-system, "Segoe UI", sans-serif;
  --aside:   "Cormorant Garamond", Georgia, serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --rule: 1px solid rgba(194, 155, 75, .38);

  --shadow-soft: 0 18px 40px -24px rgba(11, 26, 18, .55);
  --shadow-lift: 0 28px 60px -32px rgba(11, 26, 18, .7);
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.16; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--forest-deep);
  padding: .75rem 1.25rem; font-weight: 700;
}
.skip:focus { left: 0; }

/* -------------------------------------------------------------- helpers -- */
.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(194,155,75,.55), rgba(194,155,75,0));
  max-width: 90px;
}
.eyebrow--centre { justify-content: center; }
.eyebrow--centre::after { display: none; }
.eyebrow--centre::before {
  content: "❧"; font-size: 1rem; letter-spacing: 0; color: var(--gold);
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--dark { background: var(--forest); color: var(--ivory); }
.section--warm { background: var(--ivory-warm); }

.section-head { max-width: 46rem; }
.section-head--centre { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: .015em;
}
.section-head p { font-size: 1.1rem; color: var(--ink-soft); margin-top: 1.1rem; }
.section--dark .section-head p { color: rgba(245, 241, 230, .78); }
.section--dark .eyebrow { color: var(--gold-light); }

.lede { font-size: 1.2rem; line-height: 1.65; }

/* Engraved rose lattice, used behind dark panels */
.lattice {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c29b4b' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M0 36 36 0l36 36-36 36z'/%3E%3Ccircle cx='36' cy='36' r='4.5'/%3E%3Cpath d='M36 26v4M36 42v4M26 36h4M42 36h4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
}

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--display);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--gold);
  text-decoration: none;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}
.btn:hover { background: var(--gold); color: var(--forest-deep); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--ink { color: var(--forest); border-color: rgba(18, 41, 29, .45); }
.btn--ink:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn--small { padding: .7rem 1.25rem; font-size: .72rem; letter-spacing: .16em; }
.btn--wide { width: 100%; }

/* -------------------------------------------------------------- masthead -- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18, 41, 29, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(194, 155, 75, .3);
  color: var(--ivory);
}
.masthead__inner {
  width: min(100% - (var(--gut) * 2), var(--wrap));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.wordmark { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.wordmark__crest { border-radius: 50%; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__lead {
  font-family: var(--display); font-weight: 600;
  font-size: 1.12rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ivory);
}
.wordmark__sub {
  font-family: var(--display); font-size: .62rem; letter-spacing: .27em;
  text-transform: uppercase; color: var(--gold); margin-top: .35rem;
}

.nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav a {
  text-decoration: none; font-size: .84rem; letter-spacing: .05em;
  color: rgba(245, 241, 230, .82);
  padding-block: .35rem;
  border-bottom: 1px solid transparent;
  transition: color .22s ease, border-color .22s ease;
}
.nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav a.btn { border: 1px solid var(--gold); }
.nav a.btn--gold { color: var(--forest-deep); }
.nav a.btn--gold:hover { color: var(--forest-deep); background: var(--gold-light); border-color: var(--gold-light); }
.nav .is-current { color: var(--gold-light); }

.navtoggle {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 1px solid rgba(194, 155, 75, .45);
  color: var(--ivory); padding: .55rem .9rem; cursor: pointer;
  font-family: var(--display); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
}
.navtoggle__bars { display: grid; gap: 4px; }
.navtoggle__bars i { display: block; width: 18px; height: 1px; background: var(--gold); }

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 50% 0%, #1c3a2a 0%, var(--forest) 48%, var(--forest-deep) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c29b4b' stroke-opacity='.14' stroke-width='1'%3E%3Cpath d='M0 36 36 0l36 36-36 36z'/%3E%3Ccircle cx='36' cy='36' r='4.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 10%, transparent 78%);
}
.hero__inner {
  width: min(100% - (var(--gut) * 2), var(--wrap));
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.hero__crest {
  width: clamp(132px, 18vw, 186px);
  margin-inline: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(194,155,75,.35), 0 30px 60px -30px rgba(0,0,0,.8);
}
.hero__kicker {
  margin: 2.2rem 0 1.4rem;
  font-family: var(--display); font-size: .72rem;
  letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
}
.hero h1 {
  font-size: clamp(2.4rem, 6.6vw, 4.6rem);
  letter-spacing: .02em;
  margin: 0;
}
.hero h1 .rule-word { display: block; color: var(--gold-light); }
.hero__lede {
  font-family: var(--aside); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: rgba(245, 241, 230, .88);
  max-width: 34rem; margin: 1.6rem auto 0;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}

/* Divider: gold rule with fleur-de-lis, lifted from the crest */
.fleur {
  display: flex; align-items: center; gap: 1rem;
  justify-content: center;
  margin: 2.6rem auto 0;
  max-width: 22rem;
  color: var(--gold);
}
.fleur::before, .fleur::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, rgba(194,155,75,0), var(--gold), rgba(194,155,75,0));
}
.fleur span { font-size: 1.1rem; line-height: 1; }

/* Pillar strip along the bottom of the hero */
.pillars {
  border-top: 1px solid rgba(194, 155, 75, .3);
  background: rgba(11, 26, 18, .45);
}
.pillars__inner {
  width: min(100% - (var(--gut) * 2), var(--wrap));
  margin-inline: auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.pillar {
  text-align: center; padding: 1.9rem .8rem;
  border-left: 1px solid rgba(194, 155, 75, .18);
  color: var(--ivory);
}
.pillar:first-child { border-left: 0; }
.pillar svg { width: 30px; height: 30px; color: var(--gold); margin-inline: auto; }
.pillar span {
  display: block; margin-top: .8rem;
  font-family: var(--display); font-size: .66rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: rgba(245, 241, 230, .82);
}

/* ------------------------------------------------------- guild statement -- */
.statement { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.statement h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.statement__body p:last-child { margin-bottom: 0; }
.statement__aside {
  border-left: 2px solid var(--gold);
  padding: .4rem 0 .4rem 1.8rem;
}
.statement__aside p {
  font-family: var(--aside); font-style: italic;
  font-size: 1.35rem; line-height: 1.5; color: var(--ink);
}
.statement__aside cite {
  display: block; font-style: normal; font-family: var(--display);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 1rem;
}

/* Ledger of standards */
.standards { list-style: none; margin-top: 2.4rem; border-top: var(--rule); }
.standards li {
  display: grid; grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem; align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: var(--rule);
}
.standards b {
  font-family: var(--display); font-weight: 500;
  font-size: .82rem; letter-spacing: .16em;
  color: var(--gold-deep);
}
.standards span { color: var(--ink-soft); }
.standards strong { color: var(--ink); font-weight: 700; }

/* -------------------------------------------------------------- offering -- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card {
  background: rgba(245, 241, 230, .05);
  border: 1px solid rgba(194, 155, 75, .28);
  padding: 2.4rem 2rem;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(245, 241, 230, .08); }
.card svg { width: 34px; height: 34px; color: var(--gold); }
.card h3 {
  margin: 1.4rem 0 .8rem;
  font-size: 1.22rem; letter-spacing: .07em; text-transform: uppercase;
}
.card p { color: rgba(245, 241, 230, .76); margin: 0; font-size: .98rem; }

/* ------------------------------------------------------------ membership -- */
.member { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.member__crest {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, var(--forest-soft), var(--forest) 62%, var(--forest-deep));
  border-radius: 50%;
  box-shadow: var(--shadow-lift);
  padding: 2.5rem;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.member__crest::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(194, 155, 75, .55); border-radius: 50%;
}
.member__crest img { width: 78%; border-radius: 50%; }
.member__crest figcaption {
  position: absolute; bottom: -1px; left: 50%; transform: translate(-50%, 50%);
  background: var(--gold); color: var(--forest-deep);
  font-family: var(--display); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .55rem 1.3rem; white-space: nowrap;
}
.benefits { list-style: none; margin-top: 2rem; display: grid; gap: 1.05rem; }
.benefits li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .9rem; align-items: start; }
.benefits li::before {
  content: "❧"; color: var(--gold); font-size: 1rem; line-height: 1.5;
}
.benefits strong { display: block; font-family: var(--display); font-size: .95rem; letter-spacing: .05em; }
.benefits span { color: var(--ink-soft); font-size: .98rem; }

/* --------------------------------------------------------------- process -- */
.process { counter-reset: step; margin-top: 3.2rem; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 5.5rem 3.2rem 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 2.1rem 0;
  border-top: 1px solid rgba(194, 155, 75, .3);
}
.step:last-child { border-bottom: 1px solid rgba(194, 155, 75, .3); }
.step__num {
  counter-increment: step;
  font-family: var(--display); font-size: 2.1rem; color: var(--gold);
  line-height: 1;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__icon svg { width: 32px; height: 32px; color: var(--gold-light); }
.step h3 {
  font-size: 1.18rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .55rem;
}
.step p { margin: 0; color: rgba(245, 241, 230, .78); max-width: 46rem; }

/* ------------------------------------------------------- seal (signature) -- */
.summons { text-align: center; }
.seal {
  --seal: 168px;
  width: var(--seal); height: var(--seal);
  margin: 0 auto 2.2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  background:
    radial-gradient(circle at 34% 28%, var(--gold-light) 0%, var(--gold) 38%, var(--gold-deep) 78%, #7d5f27 100%);
  box-shadow:
    inset 0 -6px 14px rgba(0, 0, 0, .3),
    inset 0 5px 10px rgba(255, 255, 255, .28),
    0 16px 30px -14px rgba(0, 0, 0, .6);
  color: #6a4f1f;
  transform: scale(.4) rotate(-16deg);
  opacity: 0;
  transition: transform .7s cubic-bezier(.2, 1.5, .4, 1), opacity .35s ease;
}
.seal::before {
  content: ""; position: absolute; inset: 9px;
  border: 1px solid rgba(106, 79, 31, .45); border-radius: 50%;
}
/* irregular wax edge */
.seal::after {
  content: ""; position: absolute; inset: -7px; border-radius: 47% 53% 51% 49% / 50% 47% 53% 50%;
  background: inherit; z-index: -1; opacity: .75; filter: blur(.4px);
}
.seal svg { width: 52%; height: 52%; }
.seal.is-pressed { transform: scale(1) rotate(-4deg); opacity: 1; }
.summons h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.summons p { max-width: 38rem; margin-inline: auto; color: rgba(245, 241, 230, .8); }
.summons .btn { margin-top: 1.8rem; }

/* ------------------------------------------------------------------ FAQ -- */
.faq { max-width: 52rem; margin: 3rem auto 0; border-top: var(--rule); }
.faq details { border-bottom: var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .03em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__body { padding: 0 2.5rem 1.7rem 0; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- footer -- */
.footer { background: var(--forest-deep); color: rgba(245, 241, 230, .78); }
.footer__inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.footer__brand img { border-radius: 50%; }
.footer__mission {
  margin-top: 1.4rem; font-family: var(--aside); font-style: italic;
  font-size: 1.15rem; line-height: 1.55; color: rgba(245, 241, 230, .82);
  max-width: 26rem;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col h2 {
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer__col ul { list-style: none; display: grid; gap: .7rem; }
.footer__col a { text-decoration: none; font-size: .95rem; color: rgba(245, 241, 230, .78); }
.footer__col a:hover { color: var(--gold-light); }
.footer__base { border-top: 1px solid rgba(194, 155, 75, .22); }
.footer__baseinner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 1.3rem 0;
  font-size: .82rem; color: rgba(245, 241, 230, .55);
}
.footer__baseinner p { margin: 0; }
.footer__baseinner a { color: var(--gold); text-decoration: none; }

/* ============================== APPLICATION ============================== */
.applyhead {
  background: var(--forest); color: var(--ivory);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.applyhead h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
.applyhead p {
  max-width: 40rem; margin: 1.4rem auto 0;
  color: rgba(245, 241, 230, .82);
}
.applyhead .fleur { margin-top: 2rem; }

.applybody { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 6.5rem); }
.applygrid { display: grid; grid-template-columns: 1fr 19rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.form { display: grid; gap: 2.8rem; }
fieldset { border: 0; margin: 0; padding: 0; }
legend {
  font-family: var(--display); font-size: 1.05rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--forest);
  padding: 0 0 1rem;
  width: 100%;
  border-bottom: var(--rule);
  margin-bottom: 1.7rem;
}
legend b {
  color: var(--gold-deep); font-weight: 500; margin-right: .8rem;
}
.fields { display: grid; gap: 1.5rem; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.field--full { grid-column: 1 / -1; }

label { display: block; }
.label {
  display: block;
  font-family: var(--display); font-size: .78rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--forest);
  margin-bottom: .55rem;
}
.label span { color: var(--gold-deep); }
.hint { display: block; font-size: .84rem; color: var(--ink-soft); margin-top: .45rem; font-style: italic; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%;
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1px solid rgba(18, 41, 29, .22);
  border-radius: 0;
  padding: .85rem 1rem;
  transition: border-color .22s ease, box-shadow .22s ease;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c29b4b' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.6rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 155, 75, .18);
}
input.has-error, select.has-error, textarea.has-error { border-color: #a03a2c; background: #fdf6f4; }
.error {
  display: block; margin-top: .45rem;
  font-size: .84rem; font-weight: 700; color: #a03a2c;
}

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.5rem; }
.check {
  display: grid; grid-template-columns: 1.15rem 1fr; gap: .75rem;
  align-items: start; cursor: pointer;
  font-size: .97rem; line-height: 1.5;
}
.check input { margin: .35rem 0 0; accent-color: var(--forest); width: 1.05rem; height: 1.05rem; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit { border-top: var(--rule); padding-top: 2rem; }
.submit .btn { padding-inline: 3rem; }
.submit .note { font-size: .86rem; color: var(--ink-soft); margin: 1.1rem 0 0; }

.aside {
  background: var(--forest); color: var(--ivory);
  padding: 2.2rem 1.9rem;
  position: sticky; top: 104px;
  box-shadow: var(--shadow-soft);
}
.aside h2 {
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem;
}
.aside ol { list-style: none; counter-reset: a; display: grid; gap: 1.1rem; }
.aside li {
  counter-increment: a;
  display: grid; grid-template-columns: 1.9rem 1fr; gap: .7rem;
  font-size: .93rem; line-height: 1.55; color: rgba(245, 241, 230, .8);
}
.aside li::before {
  content: counter(a, decimal-leading-zero);
  font-family: var(--display); color: var(--gold); font-size: .9rem;
}
.aside .aside__rule { height: 1px; background: rgba(194,155,75,.3); margin: 1.6rem 0; }
.aside p { font-size: .9rem; color: rgba(245, 241, 230, .72); margin: 0; }
.aside a { color: var(--gold-light); }

/* Notices */
.notice {
  border: 1px solid;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2.4rem;
  font-size: .97rem;
}
.notice--bad { border-color: #a03a2c; background: #fbf1ee; color: #7d2d21; }
.notice--bad ul { list-style: disc; padding-left: 1.2rem; margin-top: .5rem; }
.notice p:last-child { margin-bottom: 0; }

/* Application received */
.received { text-align: center; max-width: 40rem; margin-inline: auto; padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.received .seal { transform: scale(1) rotate(-4deg); opacity: 1; }
.received h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.2rem; }
.received p { color: var(--ink-soft); }
.received .btn { margin-top: 1.5rem; }

/* --------------------------------------------------------------- reveal -- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1000px) {
  .statement, .member, .applygrid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .aside { position: static; }
  .member__crest { max-width: 320px; }
}

@media (max-width: 860px) {
  .navtoggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--forest-deep);
    border-bottom: 1px solid rgba(194, 155, 75, .3);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gut) 1.5rem; }
  .nav li { border-bottom: 1px solid rgba(194, 155, 75, .14); }
  .nav li:last-child { border: 0; padding-top: 1.1rem; }
  .nav a { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav a.btn { text-align: center; padding: .9rem 1.2rem; }
  .pillars__inner { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-left: 0; border-top: 1px solid rgba(194,155,75,.16); }
  .pillar:nth-child(odd) { border-right: 1px solid rgba(194,155,75,.16); }
  .pillar:last-child { grid-column: 1 / -1; }
  .step { grid-template-columns: 3.4rem 1fr; }
  .step__icon { display: none; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .fields--2, .checks { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero__actions .btn { width: 100%; }
  .statement__aside { padding-left: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .seal { opacity: 1; transform: scale(1) rotate(-4deg); }
}

@media print {
  .masthead, .footer, .hero__actions, .navtoggle { display: none; }
  body { background: #fff; color: #000; }
}
