/* Andrade Domingos Advocacia · site.css */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Paralucent";
  src: url("../fonts/paralucent-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paralucent";
  src: url("../fonts/paralucent-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paralucent";
  src: url("../fonts/paralucent-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0D2C5A;
  --navy-deep: #06162D;
  --indigo: #234345;
  --cream: #FFF8E8;
  --ink: #222222;
  --lotion: #FAFAFA;
  --white: #FFFFFF;
  --orange: #F9AB50;

  --rule: #E6DCC6;
  --rule-card: #E3E3E3;
  --rule-navy: #3B5480;
  --rule-footer: #2A4777;

  --text-2: #3A3F48;
  --text-card: #3A3A3A;
  --muted: #4A4F57;
  --on-navy: #E4E9F2;
  --on-indigo: #E1E8E8;
  --on-footer: #C9D3E4;
  --on-navy-note: #A8BAD6;

  --font-display: "Paralucent", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 120px);

  --focus: var(--navy);
  color-scheme: light;
}
.page--inner { --wrap: 1200px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 500; }
p, ul, ol, dl, dd, figure { margin: 0; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { color: var(--indigo); }
button { font: inherit; }
i[lang], em { font-style: italic; }
::selection { background: var(--orange); color: var(--navy-deep); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark { --focus: var(--orange); color: var(--cream); }
.on-dark a { color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  --focus: var(--orange);
}
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--indigo);
}
.on-dark .eyebrow, .eyebrow--accent { color: var(--orange); }
.eyebrow--hero { letter-spacing: 0.28em; }

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.2vw + 13px, 22px);
  line-height: 1.55;
}
.on-dark .lead { color: var(--on-navy); }

.h-display { font-weight: 600; font-size: clamp(2.25rem, 1rem + 4vw, 4rem); line-height: 1; }
.h-section { font-weight: 600; font-size: clamp(2rem, 1rem + 3vw, 3.5rem); line-height: 1; color: var(--navy); }
.h-block { font-weight: 600; font-size: clamp(1.875rem, 1rem + 2.4vw, 3rem); line-height: 1.04; color: var(--navy); }
.h-inner { font-weight: 500; font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); line-height: 1.08; color: var(--navy); letter-spacing: 0.01em; }
.on-dark .h-section, .on-dark .h-block, .on-dark .h-inner { color: var(--cream); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.link-arrow--accent { color: var(--orange) !important; font-weight: 500; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--indigo); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--navy) !important; }
.btn--cream:hover { background: var(--white); color: var(--navy) !important; }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: var(--cream); color: var(--navy) !important; border-color: var(--cream); }
.btn--orange { background: var(--orange); color: var(--navy-deep) !important; font-weight: 600; }
.btn--orange:hover { background: #FBBD72; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.text-cta {
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.text-cta:hover { color: var(--white) !important; text-decoration-color: var(--cream); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header--light { background: var(--cream); border-bottom: 1px solid var(--rule); }
.site-header--dark { background: var(--navy); color: var(--lotion); --focus: var(--orange); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}
.brand { flex: none; display: block; border-radius: 4px; }
.brand img { height: 56px; width: auto; }

.site-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  margin-left: clamp(16px, 3vw, 48px);
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(18px, 2.2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { border-bottom-color: currentColor; color: var(--navy); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--orange); }
.site-header--dark .nav-list a { color: var(--lotion); }
.site-header--dark .nav-list a:hover { color: var(--white); }
.site-header--dark .nav-list a[aria-current="page"] { color: var(--orange); border-bottom-color: transparent; }

.header-tools { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.lang li + li::before { content: "·"; margin-right: 6px; }
.lang a { display: inline-block; padding: 8px 2px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; }
.lang a:hover { color: var(--navy); text-decoration: underline; }
.lang a[aria-current="true"] { color: var(--navy); font-weight: 600; }
.site-header--dark .lang, .site-header--dark .lang a { color: #C9D3E4; }
.site-header--dark .lang a[aria-current="true"], .site-header--dark .lang a:hover { color: var(--lotion); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-header--dark .nav-toggle { color: var(--lotion); }
.nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.nav-toggle__icon::before, .nav-toggle__icon::after,
.nav-toggle__icon span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: 5px; }
.nav-toggle__icon::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1099.98px) {
  .brand img { height: 46px; }
  .header-bar { padding-block: 14px; flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .site-menu {
    flex-basis: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-bottom: 8px;
  }
  .js .site-menu { display: none; }
  .js .site-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-top: 1px solid var(--rule); }
  .site-header--dark .nav-list li { border-top-color: var(--rule-navy); }
  .nav-list a { display: block; padding: 16px 0; font-size: 16px; border-bottom: 0; }
  .nav-list a[aria-current="page"] { border-bottom: 0; box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .header-tools { justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 16px; }
  .site-header--dark .header-tools { border-top-color: var(--rule-navy); }
}

/* ---------- Home hero ---------- */
.hero { background: var(--navy); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  padding-block: clamp(72px, 9vw, 112px) clamp(80px, 9.5vw, 120px);
}
.hero__text { grid-column: span 8; display: flex; flex-direction: column; gap: 36px; }
.hero__title {
  font-weight: 500;
  font-size: clamp(2.125rem, 0.9rem + 5.6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero__lead { max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.hero__art { grid-column: span 4; display: flex; justify-content: flex-end; }
.hero__art img { width: 100%; max-width: 380px; opacity: 0.9; }
@media (max-width: 860px) {
  .hero__text { grid-column: 1 / -1; gap: 28px; }
  .hero__art { grid-column: 1 / -1; justify-content: flex-start; order: -1; }
  .hero__art img { max-width: 120px; }
}

/* ---------- Summary strip ---------- */
.strip { border-bottom: 1px solid var(--rule); }
.strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__item { padding: 32px 24px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.strip__item:first-child { padding-left: 0; }
.strip__item:last-child { border-right: 0; }
.strip__label { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.24em; color: var(--indigo); text-transform: uppercase; }
.strip__text { font-size: 15px; line-height: 1.5; }
@media (max-width: 1024px) {
  .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item { padding: 28px 20px 28px 0; }
  .strip__item:nth-child(2n) { border-right: 0; padding-left: 20px; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .strip__list { grid-template-columns: 1fr; }
  .strip__item, .strip__item:nth-child(2n) { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .strip__item:last-child { border-bottom: 0; }
}

/* ---------- Areas ---------- */
.areas {
  background-color: var(--navy);
  background-image: url("../img/pattern-azul.webp");
  background-size: 960px auto;
}
.areas__veil { background: rgba(13, 44, 90, 0.88); padding-block: var(--section-y); }
.areas__inner { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.areas__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px 48px;
  align-items: end;
}
.areas__intro { max-width: 460px; font-size: clamp(17px, 0.6vw + 14px, 19px); line-height: 1.6; }
.areas__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule-navy); }
.area-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: baseline;
  padding-block: 40px;
  border-top: 1px solid var(--rule-navy);
  color: var(--cream);
  text-decoration: none;
  transition: background-color .25s ease;
}
.area-row:hover { background: rgba(255, 248, 232, 0.04); color: var(--cream); }
.area-row__num { grid-column: span 1; font-size: 13px; font-weight: 600; color: var(--orange); }
.area-row__title { grid-column: span 5; font-size: clamp(1.625rem, 0.9rem + 2.2vw, 2.5rem); line-height: 1.05; font-weight: 500; }
.area-row__text { grid-column: span 5; font-size: 16px; line-height: 1.65; color: var(--on-navy); }
.area-row__arrow { grid-column: span 1; font-size: 24px; text-align: right; color: var(--orange); transition: transform .25s ease; }
.area-row:hover .area-row__arrow { transform: translateX(6px); }
.area-row:hover .area-row__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; text-decoration-color: var(--orange); }
@media (max-width: 860px) {
  .area-row { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 12px 12px; padding-block: 28px; }
  .area-row__num, .area-row__title, .area-row__arrow { grid-column: auto; }
  .area-row__text { grid-column: 2 / 3; }
}

/* ---------- Method ---------- */
.section { padding-block: var(--section-y); }
.section--rule { border-top: 1px solid var(--rule); }
.method__inner { display: flex; flex-direction: column; gap: clamp(36px, 4.5vw, 56px); }
.method__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 40px;
}
.step { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--navy); padding-top: 22px; }
.step__num { font-family: var(--font-display); font-weight: 300; font-size: 44px; line-height: 1; color: var(--indigo); }
.step__title { font-size: 18px; font-weight: 500; letter-spacing: 0.04em; color: var(--navy); }
.step__text { font-size: 15px; line-height: 1.65; color: var(--text-2); }

/* ---------- Principles ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px 64px;
}
.split__head { display: flex; flex-direction: column; gap: 20px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.principle { border-top: 1px solid var(--navy); padding: 20px 0 28px; display: flex; flex-direction: column; gap: 8px; }
.principle__title { font-size: 20px; font-weight: 500; color: var(--navy); }
.principle__text { font-size: 15px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------- City band ---------- */
.city { position: relative; margin: 0; background: var(--navy); }
.city__img { width: 100%; height: clamp(320px, 38vw, 520px); object-fit: cover; object-position: 50% 68%; }
.city__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 160px 0 40px;
  background: linear-gradient(0deg, rgb(13, 44, 90) 0%, rgba(13, 44, 90, 0.82) 38%, rgba(13, 44, 90, 0) 100%);
}
.city__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; }
.city__line { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 1rem + 2.4vw, 2.5rem); line-height: 1.05; text-transform: uppercase; color: var(--cream); }
.city__caption { font-size: 13px; color: var(--on-navy); }

/* ---------- Firm (home) ---------- */
.firm { background: var(--navy); padding-block: var(--section-y); }
.firm__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 56px 72px;
  align-items: start;
}
.firm__text { display: flex; flex-direction: column; gap: 24px; }
.firm__title { font-weight: 500; font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); line-height: 1.08; }
.firm__body { font-family: var(--font-display); font-weight: 300; font-size: clamp(17px, 0.6vw + 14px, 19px); line-height: 1.6; color: var(--on-navy); }
.firm__mark { width: 96px; opacity: 0.25; margin-top: 16px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.person-card { display: flex; flex-direction: column; gap: 14px; }
.person-card + .person-card { padding-top: 0; }
.portrait {
  width: 100%;
  aspect-ratio: 29 / 40;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 180px 180px 24px 24px;
  background: rgba(255, 248, 232, 0.08);
}
.person-card__name { font-size: clamp(20px, 1vw + 14px, 24px); font-weight: 500; line-height: 1.15; min-height: 2.3em; }
@media (max-width: 520px) { .person-card__name { min-height: 0; } }
.person-card__meta { font-size: 13px; line-height: 1.5; color: var(--on-navy); }
.person-card__note { font-size: 13px; line-height: 1.55; color: var(--on-navy); }
@media (max-width: 520px) {
  .people { grid-template-columns: 1fr; gap: 48px; }
  .person-card + .person-card { padding-top: 0; }
  .portrait { max-width: 340px; }
}
}
}

/* ---------- Publications ---------- */
.pubs { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.pub {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: baseline;
  padding-block: 22px;
  border-top: 1px solid var(--rule);
}
.pub:first-child { border-top: 2px solid var(--navy); }
.pub__year { font-family: var(--font-display); font-size: 15px; color: var(--indigo); }
.pub__body { grid-column: span 5; display: flex; flex-direction: column; gap: 4px; }
.pub__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 0.8vw + 14px, 22px); line-height: 1.25; color: var(--navy); }
.pub__venue { font-size: 13px; line-height: 1.5; color: var(--muted); }
.note { font-size: 14px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 560px) {
  .pub { grid-template-columns: 1fr; gap: 6px; }
  .pub__body { grid-column: auto; }
}

/* ---------- Footer: home contact ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); }
.contact { padding-block: clamp(80px, 9vw, 112px) 40px; }
.contact__inner { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.contact__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 32px; }
.contact__title-wrap { display: flex; flex-direction: column; gap: 16px; }
.contact__title { font-weight: 600; font-size: clamp(3.5rem, 1.4rem + 8vw, 6.5rem); line-height: 0.9; color: var(--cream); }
.contact__support { font-family: var(--font-display); font-weight: 300; font-size: clamp(17px, 0.6vw + 14px, 19px); color: var(--on-navy); }
.contact__logo { height: 96px; width: auto; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 40px;
  border-top: 1px solid var(--rule-footer);
  padding-top: 40px;
}
@media (min-width: 1100px) {
  .contact__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.85fr); }
}
.contact__cell { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact__label { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.24em; color: var(--orange); text-transform: uppercase; }
.contact__big { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 1.2vw + 18px, 30px); color: var(--cream) !important; text-decoration: none; line-height: 1.2; }
.contact__big:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.contact__mail { font-size: 16px; color: var(--cream) !important; overflow-wrap: break-word; max-width: 100%; }
.contact__small { font-size: 14px; line-height: 1.55; }
.contact__address { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--cream); }

/* ---------- Footer: inner pages ---------- */
.site-footer--inner { background: var(--navy-deep); color: #E3E3E3; }
.footer-inner { padding-block: 64px 40px; }
.footer-inner__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.footer-inner__info { display: flex; flex-direction: column; gap: 8px; }
.footer-inner__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--lotion); }
.footer-inner__line { font-size: 15px; line-height: 1.6; font-style: normal; }
.footer-inner__line a { color: var(--lotion) !important; }
.footer-inner__logo { height: 64px; width: auto; opacity: 0.9; }

/* Legal line (both footers) */
.legal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-footer);
  font-size: 12px;
  line-height: 1.6;
  color: var(--on-footer);
}
.contact .legal { margin-top: 0; }
.legal__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.legal__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.legal__links li { display: flex; }
.legal__links a, .legal__links button {
  color: var(--on-footer) !important;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.legal__links a:hover, .legal__links button:hover { color: var(--white) !important; }

/* ---------- Inner page hero ---------- */
.page-hero { overflow: hidden; }
.page-hero--navy { background: var(--navy); }
.page-hero--indigo { background: var(--indigo); }
.page-hero--ink { background: var(--ink); }
.page-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px 48px;
  align-items: center;
  padding-block: 56px clamp(64px, 6vw, 80px);
}
.page-hero--indigo .page-hero__grid { align-items: end; }
.page-hero__text { display: flex; flex-direction: column; gap: 20px; }
.page-hero__title { font-weight: 600; font-size: clamp(2.125rem, 0.9rem + 4vw, 4rem); line-height: 1.02; letter-spacing: 0.01em; }
.page-hero--indigo .page-hero__title { font-weight: 500; }
.page-hero__lead { max-width: 580px; }
.page-hero--indigo .page-hero__lead { font-family: var(--font-body); font-weight: 400; font-size: clamp(17px, 0.8vw + 13px, 20px); color: var(--cream); max-width: 640px; }
.page-hero--ink .page-hero__lead { color: #EDEDED; }
.page-hero__art { display: flex; justify-content: center; }
.page-hero__art img { width: 70%; max-width: 300px; opacity: 0.9; }
.page-hero--ink .page-hero__art img { opacity: 1; }
@media (max-width: 720px) {
  .page-hero__art { justify-content: flex-start; order: -1; }
  .page-hero__art img { width: 96px; }
  .page-hero__grid { gap: 24px; padding-block: 40px 56px; }
}

.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--orange); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; opacity: 0.8; }
.breadcrumb a { color: var(--orange) !important; }
.breadcrumb a:hover { color: var(--white) !important; }
.breadcrumb [aria-current="page"] { color: inherit; }
.page-hero--indigo .breadcrumb ol, .page-hero--indigo .breadcrumb a { color: var(--cream) !important; }

/* ---------- Cards ---------- */
.block { padding-block: clamp(64px, 7vw, 88px) clamp(48px, 5vw, 64px); }
.block__inner { display: flex; flex-direction: column; gap: 36px; }
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule-card);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__title { font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--navy); letter-spacing: 0.01em; }
.card__text { font-size: 16px; line-height: 1.55; color: var(--text-card); }
.card__link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.card__link:hover { color: var(--navy-deep); }

/* ---------- Bands ---------- */
.band { background: var(--white); border-block: 1px solid var(--rule-card); padding-block: clamp(64px, 6vw, 80px); }
.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px 56px;
}
.band__col { display: flex; flex-direction: column; gap: 20px; }
.band__text { font-size: 17px; line-height: 1.6; color: var(--text-card); }
.panel { background: var(--cream); border-radius: 16px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.panel__title { font-weight: 500; font-size: clamp(22px, 1vw + 16px, 28px); line-height: 1.15; color: var(--navy); letter-spacing: 0.01em; }
.panel__text { font-size: 16px; line-height: 1.6; color: var(--text-card); }

.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: flex; flex-direction: column; gap: 0; }
.numbered li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--rule-card);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-card);
}
.numbered li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.2;
  color: var(--indigo);
}

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--text-card); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 2px;
  background: var(--navy);
}
.panel__close { font-size: 14px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }

/* Checklist section (full width) */
.docs__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0 40px;
  border-bottom: 1px solid var(--rule);
}
.docs__grid li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  padding-block: 18px;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}
.docs__grid li::before {
  content: "";
  width: 14px; height: 14px;
  margin-top: 4px;
  border: 1.5px solid var(--navy);
  border-radius: 3px;
}

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(64px, 7vw, 80px); }
.faq__inner { max-width: 900px; display: flex; flex-direction: column; gap: 28px; }
.page--inner .faq__inner { margin-inline: 0; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--rule-card); padding-block: 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.faq__item:last-child { border-bottom: 1px solid var(--rule-card); }
.faq__q { font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--navy); letter-spacing: 0.02em; }
.faq__a { font-size: 16px; line-height: 1.65; color: var(--text-card); }

/* ---------- Audience cards (transnational) ---------- */
.audiences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.audience { border-radius: 20px; padding: clamp(28px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.audience--navy { background: var(--navy); color: var(--lotion); }
.audience--indigo { background: var(--indigo); color: var(--cream); }
.audience__title { font-weight: 500; font-size: clamp(24px, 1.2vw + 17px, 30px); line-height: 1.12; }
.audience__list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.audience--navy .audience__list { color: #E3E3E3; }
.audience__note { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 248, 232, 0.18); font-size: 14px; line-height: 1.55; }
.audience--navy .audience__note { color: var(--on-navy-note); }
.audience--indigo .audience__note { color: var(--on-indigo); }
.audience__note a { color: var(--orange) !important; font-weight: 600; }

.start__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 0 40px;
}
.start__item { border-top: 2px solid var(--navy); padding-top: 20px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.start__item strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }

.academic__inner { max-width: 900px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- About ---------- */
.about-hero { position: relative; background: var(--navy); overflow: hidden; }
.about-hero__img { width: 100%; height: clamp(380px, 46vw, 600px); object-fit: cover; object-position: 50% 70%; }
.about-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(13, 44, 90, 0.92) 0%, rgba(13, 44, 90, 0.55) 45%, rgba(13, 44, 90, 0.1) 100%);
}
.about-hero__text { display: flex; flex-direction: column; gap: 20px; padding-block: 48px clamp(40px, 5vw, 64px); }
.about-hero__title { font-weight: 600; font-size: clamp(2.25rem, 1rem + 5vw, 5rem); line-height: 0.98; }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 24px 64px;
}
.intro__p { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 0.8vw + 14px, 21px); line-height: 1.6; color: var(--ink); }
.intro__p:first-child { color: var(--navy); }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px 48px; }
.member { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; scroll-margin-top: 24px; }
.member .portrait { background: var(--rule); }
.member__body { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.member__name { font-weight: 500; font-size: clamp(22px, 1vw + 16px, 28px); color: var(--navy); line-height: 1.1; }
.member__meta { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--indigo); }
.member__bio { font-size: 15px; line-height: 1.7; color: var(--text-2); }
@media (max-width: 520px) { .member { grid-template-columns: 1fr; } .member .portrait { max-width: 300px; } }

.coop { background: var(--indigo); padding-block: clamp(64px, 7vw, 96px); }
.coop__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; }
.coop__text { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.coop__body { font-family: var(--font-display); font-weight: 300; font-size: clamp(18px, 0.8vw + 14px, 21px); line-height: 1.6; color: var(--on-indigo); }
.coop__mark { width: 140px; opacity: 0.5; }
@media (max-width: 720px) { .coop__grid { grid-template-columns: 1fr; } .coop__mark { width: 72px; order: -1; } }

.facts { margin: 0; border-bottom: 1px solid var(--rule); }
.facts__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 32px; padding-block: 18px; border-top: 1px solid var(--rule); }
.facts__row:first-child { border-top: 2px solid var(--navy); }
.facts dt { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo); padding-top: 2px; }
.facts dd { font-size: 16px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 560px) { .facts__row { grid-template-columns: 1fr; } }

/* ---------- Legal documents (privacy, terms) ---------- */
.doc-head { border-bottom: 1px solid var(--rule); padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 56px); }
.doc-head__inner { display: flex; flex-direction: column; gap: 18px; }
.doc-head__title { font-weight: 600; font-size: clamp(2.25rem, 1rem + 4vw, 4rem); line-height: 1; color: var(--navy); }
.doc-head__meta { font-size: 14px; color: var(--muted); }
.doc { padding-block: clamp(48px, 6vw, 80px) var(--section-y); }
.doc__grid { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr); gap: 48px 72px; align-items: start; }
.toc { position: sticky; top: 24px; }
.toc__title { margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 9px 0; font-size: 14px; line-height: 1.4; color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--navy); text-decoration: underline; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.prose h2 { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); font-weight: 500; font-size: clamp(20px, 0.8vw + 16px, 24px); line-height: 1.25; color: var(--navy); letter-spacing: 0.02em; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); }
mark { background: #FDE3BF; color: var(--ink); padding: 0 4px; border-radius: 3px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--rule); }
.table thead th { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo); border-top: 2px solid var(--navy); }
.table td:first-child { color: var(--ink); width: 50%; }
@media (max-width: 860px) {
  .doc__grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 560px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100% !important; }
  .table tr { border-top: 1px solid var(--rule); padding-block: 12px; }
  .table td { border: 0; padding: 2px 0; }
  .table td:first-child { font-weight: 600; }
}

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(80px, 12vw, 160px); }
.notfound__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.notfound__code { font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 0.9; color: var(--navy); }
.notfound__title { font-weight: 600; font-size: clamp(2rem, 1rem + 3vw, 3.5rem); line-height: 1; color: var(--navy); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 640px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 18px 48px rgba(6, 22, 45, 0.35);
  font-size: 14px;
  line-height: 1.6;
  --focus: var(--orange);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--cream); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie__btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cookie__btn:hover { background: var(--white); }
.cookie__btn--ghost { background: transparent; color: var(--cream); }
.cookie__btn--ghost:hover { background: rgba(255, 248, 232, 0.1); }
.cookie__settings { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule-navy); display: flex; flex-direction: column; gap: 12px; }
.cookie__settings[hidden] { display: none; }
.cookie__opt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.cookie__opt input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--orange); }
.cookie__opt strong { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 480px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .cookie__btn { flex: 1 1 auto; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header .site-menu, .nav-toggle, .cookie, .skip-link { display: none !important; }
  .on-dark, .hero, .areas, .firm, .site-footer, .page-hero, .coop { background: none !important; color: #000 !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}
/* ---------- Photo heroes (background image, title on the left) ---------- */
.hero--photo, .page-hero--photo { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg__img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 44, 90, 0.96) 0%, rgba(13, 44, 90, 0.88) 34%, rgba(13, 44, 90, 0.42) 64%, rgba(13, 44, 90, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 44, 90, 0.55) 0%, rgba(13, 44, 90, 0) 40%);
}
.page-hero--ink .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(20, 20, 22, 0.95) 0%, rgba(20, 20, 22, 0.86) 34%, rgba(20, 20, 22, 0.4) 64%, rgba(20, 20, 22, 0.14) 100%),
    linear-gradient(0deg, rgba(20, 20, 22, 0.5) 0%, rgba(20, 20, 22, 0) 40%);
}
.hero--photo { background: var(--navy); }
.hero--photo .hero__grid { min-height: clamp(560px, 46vw, 720px); }
.hero--photo .hero__text { grid-column: span 8; }
.page-hero--photo .page-hero__photo-inner { display: flex; align-items: flex-end; min-height: clamp(420px, 36vw, 560px); padding-block: 56px clamp(56px, 6vw, 80px); }
.page-hero--photo .page-hero__text { max-width: 640px; }
@media (max-width: 860px) {
  .hero-bg::after, .page-hero--ink .hero-bg::after {
    background: linear-gradient(0deg, rgba(13, 44, 90, 0.97) 0%, rgba(13, 44, 90, 0.9) 45%, rgba(13, 44, 90, 0.55) 100%);
  }
  .page-hero--ink .hero-bg::after { background: linear-gradient(0deg, rgba(20, 20, 22, 0.97) 0%, rgba(20, 20, 22, 0.9) 45%, rgba(20, 20, 22, 0.55) 100%); }
  .hero--photo .hero__grid { min-height: 0; padding-top: 220px; }
  .hero--photo .hero__text { grid-column: 1 / -1; }
  .page-hero--photo .page-hero__photo-inner { min-height: 0; padding-top: 200px; }
}
/* ---------- Diptych hero (two photos beside the title) ---------- */
.page-hero--diptych .page-hero__grid { align-items: center; padding-block: clamp(48px, 5vw, 72px); }
.diptych { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.diptych__item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.diptych__item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: 0 24px 48px rgba(3, 12, 28, 0.35); }
.diptych__cap { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-navy); }
@media (max-width: 720px) {
  .page-hero--diptych .diptych { order: 2; gap: 10px; }
  .diptych__item img { border-radius: 12px; }
}
/* Publications and press groups */
.pubs-groups { display: flex; flex-direction: column; gap: 18px; }
.pubs-group__title { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--indigo); margin-top: 8px; }
.pubs-groups .pubs + .pubs-group__title { margin-top: 36px; }
.pubs-group__note { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: -6px; }
.pub__link { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.pub__link:hover, .pub__link:focus-visible { background-size: 100% 1px; }
.pub__link .pub__arrow { color: var(--orange); font-size: 0.8em; }
.pubs-orcid { align-self: flex-start; margin-top: 4px; }
.pubs-orcid + .pubs-group__title { margin-top: 32px; }

/* ---------------------------------------------------------------- contact page + form */
.contact__form-link { color: var(--orange) !important; font-size: 14px; font-weight: 500; margin-top: 6px; }
.cpage { padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.cpage__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cpage__main { min-width: 0; }
.cpage__aside { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 28px; border: 1px solid var(--rule); background: var(--white); }
.cpage__aside-title { font-size: 20px; color: var(--navy); letter-spacing: 0.02em; }
.cpage__line { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.cpage__note { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
@media (max-width: 860px) { .cpage__grid { grid-template-columns: 1fr; } }

.cform { display: block; }
.cform__status { margin: 0; color: var(--muted); font-size: 15px; }
.cform__form { display: grid; gap: 22px; }
.cform__field { display: grid; gap: 8px; min-width: 0; }
.cform__label, .cform__legend { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--navy); padding: 0; }
.cform__req { color: var(--muted); font-weight: 400; }
.cform__input, .cform__select, .cform__textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid #C9BFA8; border-radius: 0; padding: 12px 14px; min-height: 48px;
}
.cform__textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.cform__input:focus, .cform__select:focus, .cform__textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.cform__input[aria-invalid="true"], .cform__select[aria-invalid="true"], .cform__textarea[aria-invalid="true"] { border-color: #B3261E; }
.cform__help { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cform__err { margin: 0; font-size: 13px; line-height: 1.4; color: #B3261E; font-weight: 500; }
.cform__err:empty { display: none; }
.cform__fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.cform__choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cform__choice { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); cursor: pointer; }
.cform__choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.cform__consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.cform__consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.cform__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cform__formerr { margin: 0; padding: 12px 14px; border-left: 3px solid #B3261E; background: #FBEDEC; color: #7A1A14; font-size: 14px; }
.cform__formerr:empty { display: none; }
.cform__submit[disabled] { opacity: .6; cursor: progress; }
.cform__thanks { padding: 28px; border: 1px solid var(--rule); background: var(--white); display: grid; gap: 10px; }
.cform__thanks p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--navy); }
