/* ============================================================
   The Art Society — landing styles
   Brand: Ivory / Black / Stone / Signature Red
   Type: Playfair Display (editorial serif) + Inter (modern sans)
         + Caveat (annotations)
   ============================================================ */

:root {
  --ivory: #fffffe;
  --ivory-2: #f4f2ef;
  --ink: #111111;
  --stone: #cbc4bc;
  --red: #cb102e;

  --maxw: 1200px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --nav-h: 56px;
  --gutter: clamp(1.2rem, 3.5vw, 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: clamp(15px, 1vw + 0.5rem, 17px);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 1.1rem;
  max-width: 60ch;
}
p:last-child {
  margin-bottom: 0;
}

/* ---------- Shared typography ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.h2--bold {
  font-weight: 700;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.eyebrow--light {
  color: var(--stone);
}

.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.6rem;
}

.tagline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Wordmark (logo recreated per brandbook) ---------- */
.wordmark {
  font-family: var(--serif);
  color: var(--ink);
  display: inline-grid;
  justify-items: center;
  line-height: 0.78;
}
.wordmark__the {
  font-style: italic;
  font-weight: 500;
  align-self: start;
}
.wordmark__art {
  font-weight: 600;
}
.wordmark__society {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.wordmark--xl .wordmark__the {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  margin-left: -2.2em;
}
.wordmark--xl .wordmark__art {
  font-size: clamp(4.5rem, 12vw, 8.5rem);
}
.wordmark--xl .wordmark__society {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-top: -0.05em;
}

.wordmark--sm .wordmark__the {
  font-size: 0.7rem;
  margin-left: -2.4em;
}
.wordmark--sm .wordmark__art {
  font-size: 1.55rem;
}
.wordmark--sm .wordmark__society {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* ---------- Seal / stamp ---------- */
.seal {
  display: inline-grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--red);
  text-align: center;
  background: rgba(255, 255, 254, 0.6);
}
.seal__main {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  margin-left: 0.18em;
}
.seal__sub {
  font-family: var(--sans);
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.seal--light {
  border-color: var(--stone);
  color: var(--ivory);
  background: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border: 1.5px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.btn--solid {
  background: var(--ink);
  color: var(--ivory);
}
.btn--solid:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-2px);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 254, 0.92);
  backdrop-filter: blur(12px);
  min-height: var(--nav-h);
}
.nav--split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.nav__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.nav__logo {
  display: block;
  height: clamp(30px, 4.2vw, 40px);
  width: auto;
  filter: brightness(0);
}
.nav__group {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 3.4vw, 3.2rem);
}
.nav__group--end {
  justify-content: flex-end;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3.5vw, 3.2rem);
}
.nav a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--ink);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--red);
}
.nav__divider {
  display: block;
  width: 1px;
  height: 14px;
  background: rgba(17, 17, 17, 0.25);
  flex-shrink: 0;
}
.nav__cta {
  color: var(--red) !important;
}
.nav__cta:hover {
  color: var(--ink) !important;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(1.2rem, 2.6vw, 2.2rem) var(--gutter) clamp(1.6rem, 3vw, 2.6rem);
  background: var(--ivory);
  overflow: hidden;
}
.hero__brand {
  align-self: flex-start;
  color: var(--red);
}
.hero__type {
  display: grid;
  grid-template-areas: "note" "headline";
}
.hero__headline {
  grid-area: headline;
  display: grid;
  justify-items: start;
  font-weight: 400;
  color: var(--ink);
}
.hero__headline-serif {
  position: relative;
  z-index: 2;
  margin-left: clamp(0.5rem, 17vw, 16rem);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 6.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.005em;
}
.hero__headline-display {
  display: flex;
  align-items: flex-start;
  justify-self: stretch;
  margin-top: -0.07em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3.2rem, 22.5vw, 24rem);
  line-height: 0.82;
  letter-spacing: -0.035em;
  color: var(--red);
}
.hero__headline-quote {
  flex: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78em;
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--red);
}
.annotation {
  display: grid;
  justify-items: start;
  margin: 0;
  color: var(--ink);
}
.annotation__text {
  max-width: 11ch;
  margin-left: clamp(1.6rem, 3vw, 3rem);
  font-family: var(--script);
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  line-height: 1.1;
}
.annotation__arrow {
  width: clamp(2.2rem, 3.2vw, 3rem);
  height: auto;
  margin-top: 0.1rem;
}
.hero__annotation {
  grid-area: note;
  align-self: end;
  justify-self: start;
  margin-left: min(58%, 44rem);
  margin-bottom: 0.4rem;
}
.hero__foot {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
}
.hero__intro {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  line-height: 1.6;
  color: var(--ink);
}
.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* The SVG has no intrinsic size, so it would stretch to fill the flex line */
.link-arrow svg {
  flex: none;
  width: clamp(1.5rem, 2.2vw, 2rem);
  height: auto;
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.link-arrow:hover svg {
  transform: translateX(0.25rem);
}
/* ---------- STATEMENT band ---------- */
.statement {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(3rem, 5.6vw, 5.2rem) clamp(1.2rem, 5vw, 4rem);
}
.statement__claim {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
}
.statement__eyebrow {
  font-size: clamp(0.58rem, 0.85vw, 0.68rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 254, 0.9);
  margin-bottom: clamp(0.9rem, 1.6vw, 1.4rem);
}
.statement__line {
  display: block;
}
.italic {
  font-style: italic;
}
.accent {
  color: var(--red);
}
.nowrap {
  white-space: nowrap;
}

/* Hand-drawn underline that stretches to the width of the phrase */
.swash {
  position: relative;
  display: inline-block;
}
.swash__line {
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.02em;
  width: auto;
  height: 0.2em;
  overflow: visible;
}

/* ---------- Hand-drawn circle around a word ---------- */
.marked {
  position: relative;
  display: inline-block;
}
.marked__circle {
  position: absolute;
  left: -0.2em;
  right: -0.2em;
  top: 0.12em;
  bottom: -0.04em;
  width: auto;
  height: auto;
  color: var(--red);
  overflow: visible;
  pointer-events: none;
}

/* ---------- Handwritten note pinned to a marked word ---------- */
.note {
  position: absolute;
  left: calc(100% + 0.55em);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  font-family: var(--script);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-style: normal;
  color: var(--red);
  pointer-events: none;
}
.note__text {
  max-width: 8em;
}
.note__arrow {
  width: clamp(26px, 3vw, 42px);
  flex: none;
}
.note--below {
  left: 1.4em;
  top: calc(100% + 0.1em);
  transform: none;
  align-items: flex-end;
}
.note--below .note__text {
  max-width: 13em;
}
.note__arrow--curve {
  width: clamp(24px, 2.6vw, 36px);
}

/* ---------- MANIFESTO / platform statement ---------- */
.manifesto {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.8rem, 3.4vw, 3rem) var(--gutter) clamp(1.4rem, 2.6vw, 2.2rem);
}
.manifesto__label {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.manifesto__quote {
  position: absolute;
  top: clamp(1.2rem, 2.6vw, 2.4rem);
  right: var(--gutter);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.62;
  color: var(--red);
  pointer-events: none;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 7vw, 6rem);
  margin-top: clamp(1.6rem, 3.2vw, 2.8rem);
}
.manifesto__claim {
  max-width: 6.6em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.8vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.manifesto__claim .swash--accent .swash__line {
  bottom: -0.06em;
  color: var(--red);
}
.manifesto__aside {
  align-self: center;
  max-width: 15em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
}
.manifesto__aside p {
  max-width: none;
  margin: 0;
}
.manifesto__aside-swash {
  display: block;
  width: 100%;
  height: 0.7em;
  margin-top: 0.6em;
  color: var(--red);
  overflow: visible;
}
.manifesto__rule {
  height: 1px;
  background: rgba(17, 17, 17, 0.3);
  margin-top: clamp(2.5rem, 5.5vw, 4.5rem);
}

/* ---------- Generic section ---------- */
.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.2rem, 4vw, 3.5rem);
}
.section__head {
  max-width: 44ch;
  margin-bottom: 3rem;
}

/* ---------- Exhibits ---------- */
.exhibits {
  background: var(--ivory);
}
.exhibits--page {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}
.exhibits__intro {
  color: #55524d;
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.exhibits__list {
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}
.exhibit-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}
.exhibit-item__link {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
  transition: opacity 0.2s ease;
}
.exhibit-item__link:hover {
  opacity: 0.72;
}
.exhibit-item__media {
  flex: 0 0 clamp(120px, 18vw, 160px);
  width: clamp(120px, 18vw, 160px);
  height: clamp(84px, 12vw, 112px);
  overflow: hidden;
  background: #f0eeea;
}
.exhibit-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.exhibit-item__media--empty {
  background: linear-gradient(135deg, #f0eeea 0%, #e2ded8 100%);
}
.exhibit-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}
.exhibit-item__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}
.exhibit-item__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.exhibit-item__year,
.exhibit-item__type,
.exhibit-item__place {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.48);
  white-space: nowrap;
}
.exhibit-item__place {
  text-align: right;
  white-space: normal;
  max-width: min(52ch, 58vw);
}

/* ---------- Become a member / contact ---------- */
.member {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}
.member__head {
  max-width: 52ch;
}
.member__intro {
  color: #55524d;
  max-width: 48ch;
}
.member__intro--light {
  color: var(--stone);
  margin-top: 1.4rem;
}
.member__panel {
  max-width: 34rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  background: #faf9f7;
  border: 1px solid rgba(17, 17, 17, 0.14);
}
.member__panel--dark {
  width: 100%;
  max-width: none;
  margin-top: 0;
  background: rgba(255, 255, 254, 0.04);
  border-color: rgba(255, 255, 254, 0.16);
}
.member__form {
  display: grid;
  gap: 1.2rem;
}
.member__field {
  display: grid;
  gap: 0.55rem;
}
.member__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.member__panel--dark .member__label {
  color: var(--stone);
}
.member__field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(17, 17, 17, 0.2);
  padding: 0.9rem 1rem;
  transition: border-color 0.2s ease;
}
.member__panel--dark .member__field input {
  color: var(--ivory);
  background: rgba(255, 255, 254, 0.06);
  border-color: rgba(255, 255, 254, 0.2);
}
.member__panel--dark .member__field input::placeholder {
  color: rgba(255, 255, 254, 0.42);
}
.member__field input:focus {
  outline: none;
  border-color: var(--ink);
}
.member__panel--dark .member__field input:focus {
  border-color: var(--stone);
}
.member__submit {
  justify-self: start;
  cursor: pointer;
}
.member__success {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
}
.member__panel--dark .member__success {
  color: var(--ivory);
}

/* ---------- Blog ---------- */
.blog {
  background: var(--ivory);
}
.blog--page {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}
.blog__intro {
  color: #55524d;
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
/* ---------- Aliados (grid contact layout) ---------- */
.aliados {
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 3vw, 2.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--ivory);
}
.aliados__frame {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  background: var(--ivory);
}
.aliados__mast {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  border-bottom: 1px solid var(--red);
}
.aliados__kicker {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.aliados__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
}
.aliados__lede {
  max-width: 42rem;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.72);
}
.aliados__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.aliados__aside {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-right: 1px solid var(--red);
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.2rem);
  align-content: start;
}
.aliados__block-title {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.aliados__block p,
.aliados__contact-line {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.78);
  max-width: none;
  margin-bottom: 0.45rem;
}
.aliados__list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.aliados__list li {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.78);
  padding-left: 1rem;
  position: relative;
  max-width: none;
}
.aliados__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
}
.aliados__contact-line a:hover {
  color: var(--red);
}
.aliados__form-wrap {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.aliados__form-title {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.25;
  margin-bottom: clamp(1.4rem, 2.5vw, 2rem);
  max-width: 22rem;
}
.aliados__form {
  display: grid;
  gap: 1rem;
}
.aliados__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.aliados__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.75rem;
}
.aliados__field {
  display: grid;
  gap: 0.45rem;
}
.aliados__label {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.aliados__field input,
.aliados__field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--red);
  padding: 0.85rem 0.95rem;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.aliados__field textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}
.aliados__field input[type="file"] {
  padding: 0.7rem 0.95rem;
  font-size: 0.86rem;
}
.aliados__field input:focus,
.aliados__field textarea:focus {
  outline: none;
  background: rgba(203, 16, 46, 0.03);
  box-shadow: inset 0 0 0 1px var(--red);
}
.aliados__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.aliados__choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.aliados__choice input {
  appearance: none;
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  border: 1px solid var(--red);
  background: transparent;
  display: grid;
  place-content: center;
}
.aliados__choice input::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  transform: scale(0);
  background: var(--red);
  transition: transform 0.15s ease;
}
.aliados__choice input:checked::before {
  transform: scale(1);
}
.aliados__hint {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}
.aliados__submit {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--red);
  padding: 1.05rem 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.aliados__submit:hover {
  background: #a50d25;
  transform: translateY(-1px);
}
.aliados__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.aliados__success {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}
.aliados__error {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--red);
  margin: 0 0 1rem;
}
.aliados__field.is-invalid input,
.aliados__field.is-invalid textarea,
.aliados__fieldset.is-invalid {
  box-shadow: inset 0 0 0 1px var(--red);
  background: rgba(203, 16, 46, 0.04);
}
.aliados__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.blog__list {
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}
.blog__empty {
  padding: clamp(2rem, 4vw, 3rem) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: rgba(17, 17, 17, 0.55);
}
.blog-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(7rem, 14vw, 11rem);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}
.blog-item--plain {
  grid-template-columns: minmax(0, 1fr);
}
.blog-item__text {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.blog-item__thumb {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  background: var(--ivory-2);
}
.blog-item__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.blog-item__thumb a:hover img {
  opacity: 0.82;
}
.blog-item__meta {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.blog-item__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.blog-item__title a {
  transition: color 0.2s ease;
}
.blog-item__title a:hover {
  color: var(--red);
}
.blog-item__excerpt {
  margin: 0.6rem 0 0;
  max-width: 62ch;
  color: #55524d;
}

/* ---------- Article (blog post) ---------- */
.article {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 6.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  background: var(--ivory);
}
.article__header {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.article__meta {
  margin: 0 0 0.8rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.article__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article__byline {
  margin: 0.8rem 0 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
}
.article__figure {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: 32rem;
}
.article__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article__figure--inline {
  margin: clamp(2rem, 4vw, 2.8rem) 0;
}
.article__figure--wide {
  max-width: 42rem;
}
.article__figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.55);
}
.article__body {
  max-width: 42rem;
  font-family: var(--sans);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.75;
  color: var(--ink);
}
.article__body p {
  margin: 0 0 1.1rem;
}
.article__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
}
.article__body h2 {
  margin: clamp(2rem, 4vw, 2.8rem) 0 1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article__body strong {
  font-weight: 600;
}
.article__credits {
  max-width: 42rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.65);
}
.article__credits p {
  margin: 0 0 0.25rem;
}
.article__back {
  max-width: 42rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
.article__back a {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink);
  border-bottom: 1px solid rgba(17, 17, 17, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.article__back a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.article .article__pulse {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.article .article__pulse li {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.4;
  color: var(--ink);
}
.article .article__pulse a {
  color: var(--ink);
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.article .article__pulse a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.article .article__visit {
  margin: clamp(2rem, 4vw, 2.8rem) 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}
.article .article__visit p {
  margin: 0 0 0.7rem;
}
.article .article__visit-q {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: var(--red);
}
.article--feature {
  padding-top: 0;
}
.article--feature .article__hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(16rem, 42vw, 28rem);
  overflow: hidden;
  background: #111;
}
.article--feature .article__hero-media {
  position: absolute;
  inset: 0;
}
.article--feature .article__hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.article--feature .article__hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.12),
    rgba(17, 17, 17, 0.28) 50%,
    rgba(17, 17, 17, 0.18)
  );
}
.article--feature .article__hero-title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(92vw, 22rem);
  text-align: center;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.95;
  color: var(--ivory);
}
.article--feature .article__header {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.article--feature .article__pulse {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.article--feature .article__pulse li {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.4;
  color: var(--ink);
}
.article--feature .article__pulse li em {
  font-style: italic;
  color: rgba(17, 17, 17, 0.62);
}
.article--feature .article__visit {
  margin: clamp(2rem, 4vw, 2.8rem) 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}
.article--feature .article__visit p {
  margin: 0 0 0.7rem;
}
.article--feature .article__visit-q {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: var(--red);
}
@media (max-width: 760px) {
  .article--feature .article__hero {
    height: clamp(14rem, 62vw, 20rem);
  }
}

/* ---------- Opportunities ---------- */
.opportunities {
  background: var(--ivory);
}
.opportunities--page {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}
.opportunities__intro {
  color: #55524d;
  max-width: 62ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.opportunities__filters {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  padding-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}
.opportunities__filter-group {
  display: grid;
  gap: 0.55rem;
}
.opportunities__filter-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}
.opportunities__filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.opportunities__filter {
  appearance: none;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  background: transparent;
  padding: 0.35rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.opportunities__filter:hover {
  border-color: var(--red);
  color: var(--red);
}
.opportunities__filter.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--ivory);
}
.opportunities__list {
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}
.opportunities__empty {
  padding: clamp(2rem, 4vw, 3rem) 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: rgba(17, 17, 17, 0.55);
}
.opportunity-item {
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}
.opportunity-item__meta {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.opportunity-item__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.opportunity-item__title a {
  transition: color 0.2s ease;
}
.opportunity-item__title a:hover {
  color: var(--red);
}
.opportunity-item__org {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
}
.opportunity-item__excerpt {
  margin: 0.65rem 0 0;
  max-width: 62ch;
  color: #55524d;
}

/* ---------- Archive ---------- */
.archive {
  background: var(--ivory);
}
.archive--page {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}
.archive__intro {
  color: #55524d;
  max-width: 64ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.archive-card__link {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.archive-card__link:hover {
  opacity: 0.78;
  transform: translateY(-2px);
}
.archive-card__media {
  aspect-ratio: 4 / 5;
  background: #f0eeea;
  overflow: hidden;
  margin-bottom: 1rem;
}
.archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.16;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.archive-card__meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: rgba(17, 17, 17, 0.5);
}

/* The source PNG is white artwork on transparency, so it is used as a mask
   and tinted with currentColor instead of being drawn directly. */
.brandmark {
  display: block;
  aspect-ratio: 581 / 595;
  background-color: currentColor;
  -webkit-mask: url("assets/logo-wordmark.png") no-repeat center / contain;
  mask: url("assets/logo-wordmark.png") no-repeat center / contain;
}
.brandmark--hero {
  width: clamp(88px, 11.5vw, 165px);
}
/* Explicit tint: `.nav a` sets a colour that would otherwise win over currentColor */
.brandmark--nav {
  width: clamp(32px, 3vw, 44px);
  background-color: var(--red);
}
.brandmark--footer {
  width: clamp(80px, 10vw, 140px);
  background-color: var(--red);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ivory);
  color: var(--ink);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(1.2rem, 2.5vw, 2rem);
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 8vw, 7rem);
}
.footer__menu {
  position: relative;
}
.footer__menu-toggle {
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  user-select: none;
}
.footer__menu-toggle::-webkit-details-marker {
  display: none;
}
.footer__menu-toggle::marker {
  content: "";
}
.footer__menu-links {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  display: grid;
  gap: 0.65rem;
  min-width: 9rem;
  padding: 0.9rem 1rem;
  background: var(--ivory);
  border: 1px solid rgba(17, 17, 17, 0.12);
  text-align: right;
}
.footer__menu:not([open]) .footer__menu-links {
  display: none;
}
.footer__menu-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--ink);
  transition: color 0.2s ease;
}
.footer__menu-links a:hover {
  color: var(--red);
}
.footer__info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-left: auto;
  margin-bottom: clamp(3.5rem, 9vw, 8rem);
}
.footer__block {
  flex: 0 1 auto;
  min-width: min(100%, 11rem);
}
.footer__label {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.72rem, 0.9vw, 0.85rem);
  color: var(--red);
}
.footer__text {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.55;
  color: var(--ink);
}
.footer__text a {
  display: block;
  transition: color 0.2s ease;
}
.footer__text a:hover {
  color: var(--red);
}
.footer__cta {
  display: block;
  color: var(--red);
  transition: opacity 0.25s var(--ease);
}
.footer__cta:hover {
  opacity: 0.72;
}
.footer__cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 3rem);
}
.footer__cta-title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3rem, 14vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.footer__cta-arrow {
  width: clamp(2.8rem, 9vw, 6.5rem);
  flex: none;
  margin-bottom: 0.12em;
}
.footer__rule {
  height: 1px;
  background: var(--red);
  margin-top: clamp(0.8rem, 1.5vw, 1.2rem);
}
.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.45);
}

/* ---------- Contact / member page ---------- */
.member-page {
  background: var(--ivory);
}
.member-page__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.member-page__lead .brandmark {
  margin-bottom: 1.6rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 820px) {
  .manifesto__grid {
    grid-template-columns: 1fr;
  }
  .manifesto__aside {
    align-self: start;
  }
}

@media (max-width: 900px) {
  .archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-page__inner {
    grid-template-columns: 1fr;
  }
  .aliados__grid {
    grid-template-columns: 1fr;
  }
  .aliados__aside {
    border-right: 0;
    border-bottom: 1px solid var(--red);
  }
  .aliados__form-grid {
    grid-template-columns: 1fr;
  }
  .footer__info {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }
  .footer__cta-title {
    font-size: clamp(2.6rem, 16vw, 5rem);
  }
}

@media (max-width: 760px) {
  .hero__annotation {
    display: none;
  }
}

@media (max-width: 620px) {
  .archive__grid {
    grid-template-columns: 1fr;
  }
  .blog-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .blog-item__thumb {
    grid-column: 1;
    grid-row: 1;
  }
  .blog-item__text {
    grid-row: 2;
  }
  .blog-item__thumb img {
    aspect-ratio: 4 / 3;
  }
  .nav__group {
    gap: 0.9rem;
  }
  .nav a {
    font-size: 0.64rem;
  }
  .hero__links {
    gap: 0.9rem;
  }
  .note {
    display: none;
  }
  .manifesto__quote {
    font-size: 4rem;
  }
  .link-arrow {
    gap: 0.7rem;
  }
  .exhibit-item__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .exhibit-item__place {
    text-align: left;
    max-width: none;
  }
  .nav__links {
    gap: 1rem;
  }
  .nav__links a:not(.nav__cta) {
    display: none;
  }
  .nav__divider {
    display: none;
  }
}

/* ---------- Newsletter modal ---------- */
body.newsletter-modal-open {
  overflow: hidden;
}
.newsletter-modal[hidden] {
  display: none;
}
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.newsletter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}
.newsletter-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 28px;
  background: #e8642f;
  color: var(--ink);
}
.newsletter-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.newsletter-modal__title {
  margin: 0 0 1.4rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: 0.02em;
}
.newsletter-modal__form {
  display: grid;
  gap: 1.1rem;
}
.newsletter-modal__field {
  display: grid;
  gap: 0.35rem;
}
.newsletter-modal__label {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
}
.newsletter-modal__field input,
.newsletter-modal__field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  padding: 0.35rem 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
}
.newsletter-modal__field select {
  cursor: pointer;
}
.newsletter-modal__field input:focus,
.newsletter-modal__field select:focus {
  outline: none;
  border-bottom-width: 2px;
}
.newsletter-modal__gender {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.newsletter-modal__gender legend {
  width: 100%;
  margin-bottom: 0.2rem;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
}
.newsletter-modal__check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  cursor: pointer;
}
.newsletter-modal__check input {
  width: 0.95rem;
  height: 0.95rem;
  accent-color: var(--ink);
}
.newsletter-modal__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.45;
  cursor: pointer;
}
.newsletter-modal__consent input {
  margin-top: 0.15rem;
  accent-color: var(--ink);
}
.newsletter-modal__consent a {
  color: var(--ink);
  text-decoration: underline;
}
.newsletter-modal__error {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink);
}
.newsletter-modal__submit {
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #e8642f;
  padding: 0.65rem 1.35rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.newsletter-modal__submit:hover {
  opacity: 0.88;
}
.newsletter-modal__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.newsletter-modal__success-text {
  margin: 0 0 1.4rem;
  max-width: 32ch;
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
