/* ALMA INFANTIA support page */

:root {
  --canvas: #f0eee8;
  --ink: #151517;
  --grey: #5e5e61;
  --blue: #2fa8e1;
  --red: #de2b1c;
  --wine: #a6135c;
  --arch: #2246c7;
  --panel: #e9e6de;
  --cream: #f2efe7;
}

html.night {
  --canvas: #242220;
  --ink: #f1ebde;
  --grey: #b3aca1;
  --panel: #2c2926;
  --cream: #f2efe7;
}

html,
body {
  transition: background 0.25s ease, color 0.25s ease;
}

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

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

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Geist", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

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

/* ── NAV ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 18px;
}

.wordmark {
  position: relative;
  display: inline-block;
  font-weight: 900;
  font-size: 13.5px;
  line-height: 0.94;
  letter-spacing: -0.1px;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-weight: 600;
  font-size: 13px;
  color: var(--grey);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-chip {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border: none;
}

.nav-links a.nav-chip,
.nav-links a.nav-chip:hover {
  color: #fff;
}

.mode-btn {
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-label {
  display: inline-flex;
  align-items: center;
}

.lang-select {
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0 10px;
  cursor: pointer;
}

.lang-select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

[data-glitch].glitching {
  animation: alma-glitch 450ms steps(2, jump-none) both;
  text-shadow: -2px 0 var(--blue), 2px 0 var(--wine);
}

[data-glitch].glitching.glitch-stutter {
  animation-duration: 220ms;
}

@keyframes alma-glitch {
  0% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
  15% {
    transform: translate(-3px, 1px);
    clip-path: inset(12% 0 58% 0);
  }
  30% {
    transform: translate(3px, -1px);
    clip-path: inset(48% 0 18% 0);
  }
  45% {
    transform: translate(-2px, 0);
    clip-path: inset(0 0 0 0);
  }
  60% {
    transform: translate(2px, 1px);
    clip-path: inset(28% 0 42% 0);
  }
  75% {
    transform: translate(-1px, -1px);
  }
  100% {
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-glitch].glitching {
    animation: none;
    text-shadow: none;
  }
}

/* ── HERO ── */
.p-hero {
  padding: 52px 28px 34px;
}

.p-hero .eyebrow {
  color: var(--wine);
}

.p-hero h1 {
  font-weight: 900;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 14px;
}

.p-hero .p-lede {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin-top: 18px;
}

.p-divider {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 44px 0;
}

/* ── TALK TO US — copy + artwork share one top-aligned band ── */
.talk .eyebrow {
  color: var(--arch);
  margin-bottom: 10px;
  display: block;
}

.talk h2 {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.pb-copy .talk-lede {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 420px;
  margin: 0 0 28px;
}

.contact-box {
  display: inline-block;
  background: var(--arch);
  color: var(--canvas);
  border: 2px solid var(--arch);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 26px;
  margin-top: 28px;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-box:hover {
  background: var(--canvas);
  color: var(--arch);
}

/* ── PHOTO BAND ── */
.photo-band-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin: 0 0 8px;
}

.photo-band {
  min-width: 0;
}

.photo-frame {
  border: 3px solid var(--ink);
  box-shadow: 0 18px 40px rgba(21, 21, 23, 0.16);
  overflow: hidden;
  background: var(--canvas);
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-placard {
  margin-top: 14px;
}

.photo-placard .p-artist {
  font-weight: 800;
  font-size: 14px;
}

.photo-placard .p-title {
  font-style: italic;
  font-weight: 500;
  font-size: 13.5px;
  margin-top: 2px;
}

.photo-placard .p-medium {
  font-weight: 300;
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 2px;
}

.photo-placard .p-acc {
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.3px;
  color: var(--grey);
  margin-top: 6px;
}

.pb-copy {
  min-width: 0;
}

.pb-copy .cb-eyebrow {
  color: var(--wine);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pb-copy h3 {
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 28px);
  letter-spacing: -0.02em;
  margin-top: 10px;
  max-width: 420px;
}

.pb-copy > p:not(.talk-lede) {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 420px;
  color: var(--ink);
}

.pb-copy b {
  font-weight: 700;
}

/* ── FAQ ── */
.faq {
  padding-bottom: 80px;
}

.faq .eyebrow {
  color: var(--wine);
  margin-bottom: 10px;
  display: block;
}

.faq > h2 {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 15%, transparent);
}

.faq-item:first-of-type {
  border-top: 1.5px solid color-mix(in srgb, var(--ink) 15%, transparent);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  font-weight: 800;
  font-size: 16.5px;
}

.faq-q b {
  font-weight: 800;
}

.faq-icon {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--wine);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transition: opacity 0.15s ease;
}

details[open] .faq-icon::after {
  opacity: 0;
}

.faq-item p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 680px;
  padding: 0 4px 22px;
}

.faq-item a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--arch);
  outline-offset: 3px;
}

/* ── FOOTER ── */
.support-footer {
  border-top: 3px solid var(--ink);
  padding: 44px 0 52px;
}

.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-links a {
  font-weight: 500;
  font-size: 13px;
}

.foot-tag {
  font-weight: 300;
  font-size: 13px;
  color: var(--grey);
}

.foot-tag b {
  font-weight: 700;
}

@media (max-width: 820px) {
  .photo-band-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-nav {
    padding-top: 18px;
  }

  .wordmark {
    font-size: 12.5px;
  }

  .lang-select {
    width: 34px;
    min-width: 34px;
    padding: 0;
    text-align: center;
    text-align-last: center;
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .p-hero {
    padding-left: 28px;
    padding-right: 28px;
  }
}
