/* ==========================================================
   Article & long-form pages — extends styles.css
   Cream ground, gold accents, Cormorant display, Inter body.
   ========================================================== */

.page-article,
.page-longform {
  background: var(--bg-light);
  color: var(--text-on-light);
}

/* nav CTA rendered as a link on generated pages */
.main-nav .nav-cta[href] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lang-pill.is-muted { opacity: .35; cursor: default; }

/* ---------- shell ---------- */
.art {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(6.5rem, 12vw, 9rem) var(--pad-x) 0;
}

/* ---------- head ---------- */
.art-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--text-on-light-muted);
  margin-bottom: 2rem;
}
.art-crumbs a { color: var(--text-on-light-muted); text-decoration: none; }
.art-crumbs a:hover { color: var(--gold); }
.art-crumbs span { opacity: .4; }

.art-eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.art-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.art-standfirst {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.45;
  color: var(--text-on-light-muted);
  margin-bottom: 2.25rem;
  text-wrap: pretty;
}

.art-byline {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-on-light);
  border-bottom: 1px solid var(--border-on-light);
  margin-bottom: 3rem;
}
.art-byline-img { border-radius: 50%; object-fit: cover; width: 44px; height: 44px; }
.art-byline-name { font-size: .9rem; font-weight: 500; }
.art-byline-name a { color: var(--text-on-light); border-bottom: 1px solid var(--gold-line); }
.art-byline-name a:hover { color: var(--gold); }
.art-byline-meta { font-size: .8rem; color: var(--text-on-light-muted); margin-top: .1rem; }

/* ---------- body ---------- */
.art-body { font-size: 1.075rem; line-height: 1.75; }
.art-body > * + * { margin-top: 1.35rem; }

.art-body h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -.005em;
  margin-top: 3.25rem;
  text-wrap: balance;
}
.art-body h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-top: 2.5rem;
}

.art-body p.lede {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text-on-light-muted);
}

.art-body a {
  color: var(--text-on-light);
  border-bottom: 1px solid var(--gold);
  transition: color .15s ease, border-color .15s ease;
}
.art-body a:hover { color: var(--gold); border-color: var(--gold-bright); }

.art-body strong { font-weight: 600; }
.art-body em { font-style: italic; }
.art-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: rgba(26, 26, 26, .06);
  padding: .1em .35em;
  border-radius: 3px;
}

.art-body ul,
.art-body ol { padding-left: 1.35rem; display: flex; flex-direction: column; gap: .55rem; }
.art-body li { padding-left: .2rem; }
.art-body ul li::marker { color: var(--gold); }
.art-body ol li::marker { color: var(--gold); font-variant-numeric: tabular-nums; }

.art-body blockquote {
  border-left: 2px solid var(--gold);
  padding: .35rem 0 .35rem 1.4rem;
  margin: 2.25rem 0;
}
.art-body blockquote p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.42;
  color: var(--text-on-light);
}

.art-body hr {
  border: 0;
  border-top: 1px solid var(--border-on-light);
  margin: 3rem 0;
}

.art-callout {
  background: var(--bg-light-2);
  border: 1px solid var(--border-on-light);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 1.15rem 1.35rem;
  margin: 2rem 0;
}
.art-callout p { font-size: 1rem; line-height: 1.6; }

.art-table { overflow-x: auto; margin: 2rem 0; }
.art-table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 30rem; }
.art-table th {
  text-align: left;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  font-weight: 500;
  padding: 0 1rem .6rem 0;
  border-bottom: 1px solid var(--border-on-light);
}
.art-table td {
  padding: .75rem 1rem .75rem 0;
  border-bottom: 1px solid var(--border-on-light);
  vertical-align: top;
}
.art-table th:last-child, .art-table td:last-child { padding-right: 0; }

/* ---------- conversion block ---------- */
.art-cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: 4px;
  padding: clamp(2rem, 5vw, 2.75rem);
  margin: 4rem 0 3rem;
}
.art-cta-eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}
.art-cta-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.4vw, 2rem);
  line-height: 1.2;
  margin-bottom: .85rem;
  text-wrap: balance;
}
.art-cta-body { color: var(--text-on-dark-muted); font-size: 1rem; margin-bottom: 1.75rem; max-width: 34rem; }
.art-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.art-cta-alt { font-size: .92rem; color: var(--gold); border-bottom: 1px solid transparent; }
.art-cta-alt:hover { border-color: var(--gold-line); }

/* ---------- author ---------- */
.art-author {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-top: 1px solid var(--border-on-light);
  border-bottom: 1px solid var(--border-on-light);
}
.art-author-img { border-radius: 50%; object-fit: cover; width: 88px; height: 88px; flex-shrink: 0; }
.art-author-name { font-weight: 600; margin-bottom: .35rem; }
.art-author-bio { font-size: .95rem; color: var(--text-on-light-muted); margin-bottom: .6rem; }
.art-author-link { font-size: .9rem; color: var(--gold); }

/* ---------- related ---------- */
.art-related { padding: 2.5rem 0 0; }
.art-related-h {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
  font-weight: 500;
  margin-bottom: 1.15rem;
}
.art-related-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.art-related-list li { border-top: 1px solid var(--border-on-light); }
.art-related-list li:last-child { border-bottom: 1px solid var(--border-on-light); }
.art-related-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: .95rem 0;
  transition: color .15s ease;
}
.art-related-list a:hover .art-related-title { color: var(--gold); }
.art-related-title { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; }
.art-related-meta { font-size: .78rem; color: var(--text-on-light-muted); white-space: nowrap; }

.art-up {
  font-size: .92rem;
  color: var(--text-on-light-muted);
  padding: 2.5rem 0 4rem;
}
.art-up a { color: var(--text-on-light); border-bottom: 1px solid var(--gold-line); }
.art-up a:hover { color: var(--gold); }

/* ==========================================================
   ARTICLE INDEX
   ========================================================== */
.idx { max-width: 60rem; margin: 0 auto; padding: clamp(6.5rem, 12vw, 9rem) var(--pad-x) 0; }
.idx-head { margin-bottom: 3.5rem; }
.idx-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.06;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.idx-standfirst {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  color: var(--text-on-light-muted);
  max-width: 38rem;
}
.idx-cluster { margin-bottom: 3.5rem; }
.idx-cluster-h {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--gold-line);
  margin-bottom: .25rem;
}
.idx-cluster-note { font-size: .9rem; color: var(--text-on-light-muted); margin: .9rem 0 1.25rem; max-width: 40rem; }
.idx-list { list-style: none; }
.idx-list li { border-bottom: 1px solid var(--border-on-light); }
.idx-list a { display: block; padding: 1.15rem 0; }
.idx-item-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.28;
  margin-bottom: .3rem;
  transition: color .15s ease;
}
.idx-list a:hover .idx-item-title { color: var(--gold); }
.idx-item-desc { font-size: .95rem; color: var(--text-on-light-muted); max-width: 44rem; }
.idx-item-meta { font-size: .76rem; color: var(--text-on-light-muted); margin-top: .4rem; letter-spacing: .03em; }

/* ==========================================================
   SITE FOOTER
   ========================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  margin-top: 4rem;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.5rem) var(--pad-x);
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .site-footer-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}
.site-footer-mark { width: 92px; opacity: .55; margin-bottom: 1rem; }
.site-footer-name { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: .5rem; }
.site-footer-line { color: var(--text-on-dark-muted); font-size: .92rem; max-width: 24rem; margin-bottom: .75rem; }
.site-footer-tag { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.site-footer-h {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-footer-nav, .site-footer-contact { display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; }
.site-footer-nav a, .site-footer-contact a {
  color: var(--text-on-dark-muted);
  font-size: .92rem;
  transition: color .15s ease;
}
.site-footer-nav a:hover, .site-footer-contact a:hover { color: var(--gold); }
.site-footer-base {
  border-top: 1px solid var(--border-on-dark);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem var(--pad-x) 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  font-size: .78rem;
  color: var(--text-on-dark-muted);
}

@media (prefers-reduced-motion: reduce) {
  .page-article *, .page-longform * { transition: none !important; animation: none !important; }
}

/* ==========================================================
   LONGFORM LANDING PAGES (pillar, audience, offer, about)
   ========================================================== */
.lf { max-width: 62rem; margin: 0 auto; padding: 0 var(--pad-x); }
.lf-narrow { max-width: 46rem; }

.lf-hero { padding: clamp(7rem, 13vw, 10rem) 0 clamp(3rem, 6vw, 4.5rem); }
.lf-eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.15rem;
}
.lf-h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.3rem, 6.5vw, 4.1rem); line-height: 1.03;
  letter-spacing: -.015em; text-wrap: balance; margin-bottom: 1.35rem;
  max-width: 20ch;
}
.lf-h1 em { font-style: italic; color: var(--gold); }
.lf-lede {
  font-family: var(--font-serif); font-size: clamp(1.2rem, 2.7vw, 1.6rem);
  line-height: 1.42; color: var(--text-on-light-muted); max-width: 34rem;
  margin-bottom: 2.25rem; text-wrap: pretty;
}
.lf-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.lf-cta-alt { font-size: .95rem; color: var(--text-on-light); border-bottom: 1px solid var(--gold-line); }
.lf-cta-alt:hover { color: var(--gold); }

.lf-section { padding: clamp(3.25rem, 7vw, 5rem) 0; }
.lf-section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.lf-section-dark .lf-lede, .lf-section-dark .lf-body { color: var(--text-on-dark-muted); }
.lf-section-cream { background: var(--bg-cream); }
.lf-section-white { background: var(--bg-light-2); }

.lf-h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.14;
  letter-spacing: -.008em; text-wrap: balance; margin-bottom: 1.25rem;
  max-width: 24ch;
}
.lf-h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.lf-body { font-size: 1.05rem; line-height: 1.72; max-width: 40rem; }
.lf-body + .lf-body { margin-top: 1.2rem; }
.lf-body a { color: inherit; border-bottom: 1px solid var(--gold); }
.lf-body a:hover { color: var(--gold); }
.lf-body strong { font-weight: 600; }

.lf-quote {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  line-height: 1.28; text-wrap: balance; max-width: 26ch;
}
.lf-quote em { font-style: italic; color: var(--gold); }

/* signal list */
.lf-signals { list-style: none; display: grid; gap: 0; margin-top: 2rem; }
@media (min-width: 44rem) { .lf-signals { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.lf-signals li {
  padding: .95rem 0 .95rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--border-on-light); font-size: 1rem;
}
.lf-section-dark .lf-signals li { border-color: var(--border-on-dark); }
.lf-signals li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: .5rem; height: 1px; background: var(--gold);
}

/* card grid */
.lf-cards { display: grid; gap: 1rem; margin-top: 2.25rem; }
@media (min-width: 42rem) { .lf-cards-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 56rem) { .lf-cards-3 { grid-template-columns: repeat(3, 1fr); } }
.lf-card {
  background: var(--bg-light-2); border: 1px solid var(--border-on-light);
  border-radius: 4px; padding: 1.5rem 1.6rem;
}
.lf-section-dark .lf-card { background: var(--bg-dark-2); border-color: var(--border-on-dark); }
.lf-card p { font-size: .96rem; line-height: 1.6; color: var(--text-on-light-muted); }
.lf-section-dark .lf-card p { color: var(--text-on-dark-muted); }
.lf-card-num {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold);
  display: block; margin-bottom: .5rem; line-height: 1;
}
a.lf-card { display: block; transition: border-color .18s ease, transform .18s ease; }
a.lf-card:hover { border-color: var(--gold-line); }
a.lf-card .lf-card-more { display: inline-block; margin-top: .9rem; font-size: .88rem; color: var(--gold); }

/* stages */
.lf-stages { counter-reset: st; display: flex; flex-direction: column; margin-top: 2.25rem; }
.lf-stage {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem;
  padding: 1.6rem 0; border-top: 1px solid var(--border-on-light);
}
.lf-section-dark .lf-stage { border-color: var(--border-on-dark); }
.lf-stage:last-child { border-bottom: 1px solid var(--border-on-light); }
.lf-section-dark .lf-stage:last-child { border-color: var(--border-on-dark); }
.lf-stage-n { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); line-height: 1; }
.lf-stage p { font-size: .98rem; line-height: 1.65; color: var(--text-on-light-muted); }
.lf-section-dark .lf-stage p { color: var(--text-on-dark-muted); }

/* for / not for */
.lf-fit { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 44rem) { .lf-fit { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.lf-fit-col { padding: 1.6rem 1.75rem; border-radius: 4px; }
.lf-fit-yes { background: var(--bg-light-2); border: 1px solid var(--gold-line); }
.lf-fit-no { background: transparent; border: 1px solid var(--border-on-light); }
.lf-fit-h { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.lf-fit-yes .lf-fit-h { color: var(--gold); }
.lf-fit-no .lf-fit-h { color: var(--text-on-light-muted); }
.lf-fit ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.lf-fit li { font-size: .96rem; line-height: 1.55; padding-left: 1.25rem; position: relative; }
.lf-fit-yes li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.lf-fit-no li::before { content: "—"; position: absolute; left: 0; color: var(--text-on-light-muted); opacity: .5; }
.lf-fit-no li { color: var(--text-on-light-muted); }

/* faq */
.lf-faq { margin-top: 2rem; max-width: 46rem; }
.lf-faq details { border-top: 1px solid var(--border-on-light); }
.lf-faq details:last-of-type { border-bottom: 1px solid var(--border-on-light); }
.lf-faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0;
  font-size: 1.05rem; font-weight: 500; position: relative;
}
.lf-faq summary::-webkit-details-marker { display: none; }
.lf-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 1rem;
  color: var(--gold); font-size: 1.3rem; line-height: 1; font-weight: 300;
}
.lf-faq details[open] summary::after { content: "–"; }
.lf-faq details p { padding: 0 0 1.35rem; font-size: 1rem; line-height: 1.7; color: var(--text-on-light-muted); max-width: 42rem; }
.lf-faq details p + p { padding-top: 0; margin-top: -.5rem; padding-bottom: 1.35rem; }

/* closing cta band */
.lf-close { background: var(--bg-dark); color: var(--text-on-dark); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.lf-close .lf-h2 { color: var(--text-on-dark); }
.lf-close .lf-body { color: var(--text-on-dark-muted); }

/* read-next rail */
.lf-reads { margin-top: 2.25rem; display: grid; gap: 0; }
.lf-reads a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1rem 0; border-top: 1px solid var(--border-on-light);
}
.lf-reads a:last-child { border-bottom: 1px solid var(--border-on-light); }
.lf-reads-t { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.3; }
.lf-reads a:hover .lf-reads-t { color: var(--gold); }
.lf-reads-m { font-size: .78rem; color: var(--text-on-light-muted); white-space: nowrap; }

.lf-note { font-size: .88rem; color: var(--text-on-light-muted); margin-top: 1.5rem; max-width: 40rem; }
.lf-section-dark .lf-note { color: var(--text-on-dark-muted); }

/* ==========================================================
   APPLICATION PAGE
   ========================================================== */
.page-apply { background: var(--bg-light); }
.ap-wrap { max-width: 42rem; margin: 0 auto; padding: clamp(6.5rem, 12vw, 9rem) var(--pad-x) 5rem; }
.ap-head { margin-bottom: 2.5rem; }
.ap-h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05;
  margin-bottom: 1rem; text-wrap: balance;
}
.ap-lede {
  font-family: var(--font-serif); font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45; color: var(--text-on-light-muted); max-width: 32rem;
}
.ap-lede a { color: var(--text-on-light); border-bottom: 1px solid var(--gold); }

.ap-progress { height: 2px; background: var(--border-on-light); margin-bottom: 3rem; border-radius: 2px; overflow: hidden; }
.ap-progress-bar { height: 100%; width: 0; background: var(--gold); transition: width .35s cubic-bezier(.4,0,.2,1); }

.ap-step { border: 0; display: none; }
.ap-step.is-active { display: block; }
.ap-legend { display: block; width: 100%; margin-bottom: 1.75rem; }
.ap-count {
  display: block; font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .85rem;
}
.ap-q {
  display: block; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.15;
  margin-bottom: .6rem; text-wrap: balance;
}
.ap-lede, .ap-legend .ap-lede { display: block; font-size: 1.02rem; }

.ap-choices { display: flex; flex-direction: column; gap: .6rem; }
.ap-choice { display: block; cursor: pointer; }
.ap-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ap-choice-in {
  display: block; padding: 1.1rem 1.3rem;
  background: var(--bg-light-2); border: 1px solid var(--border-on-light);
  border-radius: 4px; transition: border-color .15s ease, background .15s ease;
}
.ap-choice-in strong { display: block; font-weight: 500; font-size: 1.02rem; }
.ap-choice-in em {
  display: block; font-style: normal; font-size: .9rem;
  color: var(--text-on-light-muted); margin-top: .25rem; line-height: 1.45;
}
.ap-choice:hover .ap-choice-in { border-color: var(--gold-line); }
.ap-choice input:checked + .ap-choice-in {
  border-color: var(--gold); background: #fff;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.ap-choice input:focus-visible + .ap-choice-in { outline: 2px solid var(--gold); outline-offset: 2px; }

.ap-fields { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .ap-fields { grid-template-columns: 1fr 1fr; } }
.ap-field { display: flex; flex-direction: column; gap: .4rem; }
.ap-field-wide { grid-column: 1 / -1; }
.ap-field span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-light-muted); }
.ap-field input, .ap-field textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--text-on-light);
  background: var(--bg-light-2); border: 1px solid var(--border-on-light);
  border-radius: 4px; padding: .8rem .95rem; width: 100%;
  transition: border-color .15s ease;
}
.ap-field input:focus, .ap-field textarea:focus { outline: none; border-color: var(--gold); }
.ap-field textarea { resize: vertical; line-height: 1.6; }

.ap-nav { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.ap-btn-ghost {
  background: transparent; border: 1px solid var(--border-on-light);
  color: var(--text-on-light-muted); font-family: var(--font-sans);
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 1.4rem; border-radius: 3px; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.ap-btn-ghost:hover { border-color: var(--gold-line); color: var(--text-on-light); }

.ap-error {
  margin-top: 1.25rem; font-size: .92rem; color: #9b2f2f;
  background: rgba(155, 47, 47, .07); border-left: 2px solid #9b2f2f;
  padding: .75rem 1rem; border-radius: 0 3px 3px 0;
}

.ap-done { text-align: left; padding: 2rem 0; }
.ap-done-mark {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.75rem;
}
.ap-note {
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border-on-light);
  font-size: .88rem; line-height: 1.65; color: var(--text-on-light-muted);
}

/* ==========================================================
   LEGAL PAGES + CONSENT
   ========================================================== */
.page-legal { background: var(--bg-light); }
.lg { max-width: 44rem; margin: 0 auto; padding: clamp(6.5rem, 12vw, 9rem) var(--pad-x) 5rem; }
.lg-h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; margin-bottom: 1rem;
}
.lg-lede {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.45; color: var(--text-on-light-muted); margin-bottom: 2.5rem;
}
.lg-h2 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: .01em;
  margin: 2.5rem 0 .85rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-on-light);
}
.lg-body { font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.lg-body a { color: var(--text-on-light); border-bottom: 1px solid var(--gold); }
.lg-body a:hover { color: var(--gold); }
.lg-dl { margin: 1rem 0 1.5rem; }
.lg-dl dt { font-weight: 600; font-size: .98rem; margin-top: 1.25rem; }
.lg-dl dd {
  margin: .35rem 0 0; padding-left: 1rem;
  border-left: 1px solid var(--border-on-light);
  font-size: .95rem; line-height: 1.7; color: var(--text-on-light-muted);
}
.lg-meta {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-on-light);
  font-size: .88rem; color: var(--text-on-light-muted);
}
.lg-meta a { color: var(--text-on-light); border-bottom: 1px solid var(--gold-line); }
.lg-warn {
  background: rgba(155, 47, 47, .06); border-left: 2px solid #9b2f2f;
  padding: .95rem 1.2rem; border-radius: 0 3px 3px 0; margin: 1.75rem 0;
}
.lg-warn p { font-size: .95rem; line-height: 1.65; color: var(--text-on-light); }
.lg-todo {
  background: #ffe9a8; color: #6b4c00; padding: .05em .4em;
  border-radius: 2px; font-weight: 600; font-style: normal;
}

/* consent on the application form */
.ap-consent {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-top: 1.5rem; padding: 1.1rem 1.25rem;
  background: var(--bg-light-2); border: 1px solid var(--border-on-light);
  border-radius: 4px; cursor: pointer;
}
.ap-consent input {
  flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: .12rem;
  accent-color: var(--gold); cursor: pointer;
}
.ap-consent span { font-size: .9rem; line-height: 1.6; color: var(--text-on-light-muted); }
.ap-consent a { color: var(--text-on-light); border-bottom: 1px solid var(--gold); }
.ap-consent a:hover { color: var(--gold); }
.ap-consent:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-footer-legal { display: flex; gap: 1.25rem; }
.site-footer-legal a { color: var(--text-on-dark-muted); transition: color .15s ease; }
.site-footer-legal a:hover { color: var(--gold); }

/* ==========================================================
   NAV SUBMENU
   ========================================================== */
.nav-links .nav-has-sub { position: relative; }
.nav-links .nav-has-sub > a { display: inline-flex; align-items: center; gap: .4rem; }
.nav-caret {
  width: 0; height: 0; border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent; border-top: 4px solid currentColor;
  opacity: .55; transition: transform .18s ease, opacity .18s ease;
}
.nav-has-sub:hover .nav-caret,
.nav-has-sub:focus-within .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 16rem; list-style: none; margin: 0; padding: .5rem 0;
  background: var(--bg-dark-2, #111);
  border: 1px solid var(--border-on-dark, rgba(255,255,255,.1));
  border-radius: 4px; box-shadow: 0 18px 44px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* hover bridge so the menu survives the gap */
.nav-has-sub::after { content: ""; position: absolute; inset: 100% 0 auto; height: 10px; }

.nav-sub li { display: block; }
.nav-sub a {
  display: block; padding: .6rem 1.15rem; white-space: nowrap;
  font-size: .88rem; letter-spacing: .02em; text-transform: none;
  color: var(--text-on-dark-muted, #a8a8a8); transition: color .14s ease, background .14s ease;
}
.nav-sub a:hover, .nav-sub a:focus-visible {
  color: var(--gold); background: rgba(255,255,255,.04);
}

@media (max-width: 900px) {
  .nav-sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; min-width: 0; background: transparent;
    border: 0; box-shadow: none; padding: .25rem 0 .5rem 1rem;
  }
  .nav-has-sub::after { display: none; }
  .nav-caret { display: none; }
  .nav-sub a { padding: .45rem 0; }
}

/* second action beside the LinkedIn button in the trust block.
   Mirrors .btn-linkedin exactly so the two read as a pair — outline by
   default, gold on hover. WhatsApp green would fight the cream/gold palette. */
.trust-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  background: transparent;
  color: var(--text-on-light);
  border: 1px solid rgba(11, 11, 12, 0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.btn-whatsapp:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateY(-1px);
}
