/* HobbyPont · Global Game Jam 2027
   Colours and type follow the official poster and the presentation. */

@font-face {
  font-family: "Bowlby One";
  src: url("../fonts/bowlby-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e1d14;
  --bg-alt: #12241a;
  --bg-deep: #0a1610;
  --surface: #172a1f;
  --surface-strong: #1d3326;
  --line: #2c4434;
  --ink: #fbf3f6;
  --ink-soft: #c9d6cc;
  --pink: #f58eae;
  --pink-deep: #c2185b;
  --yellow: #f3eb33;
  --red: #e8473b;

  --font-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(64px, 9vw, 112px);
  --radius: 22px;
  --logo-scale: 0.82;

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* The poster's printed grain, drawn as an SVG noise tile. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

/* Sized so the longest heading word ("Diversificadores", 10.45em in Bowlby
   One) still fits a 320px-wide phone. */
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 0.4rem + 6.2vw, 4.25rem);
  line-height: 1.02;
  color: var(--pink);
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 700;
}

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

::selection {
  background: var(--pink);
  color: var(--bg);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.center {
  text-align: center;
}

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.actions-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1.05rem/1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn-primary {
  background: var(--pink);
  color: var(--bg);
  box-shadow: 0 5px 0 var(--pink-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--pink-deep);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--pink-deep);
}

.btn-ghost {
  background: rgb(23 42 31 / 0.6);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.95rem;
}

.btn-primary.btn-sm {
  box-shadow: 0 4px 0 var(--pink-deep);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 50;
  background: rgb(14 29 20 / 0.88);
  border-bottom: 1px solid rgb(44 68 52 / 0.7);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-block: 12px;
}

.brand img {
  width: 132px;
}

.header-cta {
  margin-left: auto;
}

/* On phones the nav is a swipeable row; the fade hints there is more. */
.site-nav {
  order: 3;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -8px;
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
  mask-image: linear-gradient(to right, #000 82%, transparent);
}

.site-nav ul {
  display: flex;
  gap: 2px;
  padding: 0 40px 0 0;
  list-style: none;
  white-space: nowrap;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

@media (min-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header {
    position: sticky;
    top: 0;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .brand img {
    width: 150px;
  }

  .site-nav {
    order: 0;
    width: auto;
    margin-left: auto;
    margin-inline-end: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .site-nav ul {
    padding-right: 0;
  }

  .header-cta {
    margin-left: 8px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: 32px 8px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-title {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-wordmark {
  width: 100%;
  max-width: 620px;
}

.hero-edition {
  width: 88%;
  max-width: 540px;
}

.hero-dates {
  margin-top: 20px;
}

.hero-dates img {
  width: 94%;
  max-width: 560px;
}

.hero-lede {
  max-width: 38ch;
  margin-top: 26px;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.5;
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
}

.hero-facts b {
  color: var(--ink);
}

.hero-facts .icon {
  color: var(--yellow);
}

.hero-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.countdown {
  margin-top: 26px;
}

.countdown-fallback,
.countdown-clock,
.countdown-live,
.countdown-done {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 18px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: rgb(23 42 31 / 0.7);
}

.countdown [hidden] {
  display: none;
}

.countdown-label {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown-unit {
  color: var(--ink-soft);
  white-space: nowrap;
}

.countdown-unit b {
  display: inline-block;
  min-width: 2ch;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.countdown-fallback .icon {
  color: var(--yellow);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgb(245 142 174 / 0.7);
  animation: pulse 1.6s ease-out infinite;
}

.hero-art {
  position: relative;
}

.hero-art picture img {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent, #000 5%, #000 93%, transparent),
    linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent, #000 5%, #000 93%, transparent),
    linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}

.ggj-badge {
  position: absolute;
  top: 0;
  right: 2%;
  width: clamp(84px, 16vw, 124px);
  padding: 10px;
  border-radius: 18px;
  background: rgb(14 29 20 / 0.72);
  transform: rotate(6deg);
  transition: transform 0.2s ease;
}

.ggj-badge:hover {
  transform: rotate(0deg) scale(1.05);
}

.deco-star {
  position: absolute;
  width: 26px;
  height: 26px;
  color: var(--yellow);
  animation: twinkle 3.4s ease-in-out infinite;
}

.deco-star-1 {
  top: 12%;
  left: 2%;
}

.deco-star-2 {
  bottom: 18%;
  right: 4%;
  width: 20px;
  height: 20px;
  color: var(--red);
  animation-delay: 1.1s;
}

.deco-star-3 {
  bottom: 4%;
  left: 12%;
  width: 16px;
  height: 16px;
  animation-delay: 2.2s;
}

@media (max-width: 480px) {
  .countdown-clock {
    display: flex;
    gap: 4px 12px;
  }

  .countdown-label {
    flex-basis: 100%;
  }

  .countdown-unit b {
    font-size: 1.45rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-block: 56px 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }

  .deco-star-1 {
    left: -4%;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-pad);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}

.section-note {
  margin-top: 16px;
  color: var(--yellow);
  font-size: 0.95rem;
  font-style: italic;
}

.section-head .section-note {
  margin-top: 0;
}

.section-lede {
  max-width: 60ch;
  margin-top: 18px;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
}

.section-lede span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.more-link {
  margin-top: 28px;
}

/* Inline (not flex) so a wrapped link keeps its arrow next to the last word. */
.more-link a,
.rule-link a {
  color: var(--yellow);
  font-weight: 700;
}

.more-link .icon,
.rule-link .icon {
  display: inline-block;
  margin-left: 8px;
  vertical-align: -0.25em;
}

.card {
  padding: clamp(22px, 3vw, 32px);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.about-card p {
  color: var(--ink-soft);
}

.about-card p + p {
  margin-top: 12px;
}

.about-card h3 {
  margin-bottom: 10px;
}

.about-logo {
  width: auto;
  height: 64px;
  margin-bottom: 20px;
}

.about-logo-wordmark {
  height: 30px;
  margin-block: 17px 37px;
}

.about-card .organizers {
  margin-top: 18px;
  color: var(--yellow);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px 22px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat dd {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--pink-deep);
}

.stat dt {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Schedule ---------- */

.days {
  display: grid;
  gap: 20px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.day {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.day-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 16px;
  color: var(--pink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.05;
}

.day-date {
  color: var(--yellow);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slots {
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
}

.slot {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 2px solid var(--line);
}

.slot:last-child {
  border-bottom: 2px solid var(--line);
}

.slot-time {
  color: var(--yellow);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.slot-key .slot-label {
  color: var(--pink);
  font-weight: 700;
}

.slot-jam {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slot-burst {
  flex: 1;
}

.burst {
  height: auto;
  overflow: visible;
}

.burst-sm {
  width: min(100%, 230px);
}

.burst-lg {
  width: min(100%, 340px);
  margin-inline: auto;
}

.burst-text {
  fill: var(--pink);
  stroke: var(--bg);
  stroke-width: 3px;
  paint-order: stroke;
  font-family: var(--font-display);
}

.burst-shadow {
  fill: var(--bg);
  font-family: var(--font-display);
}

.slot-allday {
  flex-direction: column-reverse;
  gap: 10px;
  padding-block: 22px;
  text-align: center;
}

.slot-allday .slot-time {
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.night-note {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  border: 2px dashed var(--pink);
  border-radius: 14px;
  font-size: 0.95rem;
}

.night-note .icon {
  margin-top: 2px;
  color: var(--pink);
}

@media (min-width: 900px) {
  .days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Rules ---------- */

.rules {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.rule p {
  color: var(--ink-soft);
}

.rule h3 {
  margin-bottom: 8px;
}

.rule .rule-num {
  margin-bottom: 10px;
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.rule q {
  color: var(--ink);
  font-style: italic;
}

.rule .rule-link {
  margin-top: 14px;
}

.rule-highlight {
  border-color: var(--pink);
  background: var(--pink);
}

.rule-highlight h3,
.rule-highlight p,
.rule-highlight .rule-num {
  color: var(--bg);
}

.rule-highlight p {
  font-weight: 600;
}

@media (min-width: 640px) {
  .rules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Diversifiers ---------- */

.mods {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.mod {
  padding: 20px 22px;
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  background: var(--surface);
}

.mod h3 {
  margin-bottom: 6px;
  color: var(--pink);
  font-weight: 800;
}

.mod p {
  color: var(--ink-soft);
}

@media (min-width: 640px) {
  .mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .mods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Tips ---------- */

.tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.tip {
  display: flex;
  gap: 14px;
  padding-top: 16px;
  border-top: 3px solid var(--yellow);
}

.tip-num {
  min-width: 1.3ch;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

/* ---------- Practical info ---------- */

.venue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 32px;
  border-color: var(--pink);
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
}

.venue-kind {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.venue h3 {
  margin-block: 4px 6px;
  color: var(--pink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem);
  line-height: 1.05;
}

.venue address {
  font-style: normal;
  font-size: 1.1rem;
}

.venue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

.info-col-title {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-list {
  padding: 0;
  list-style: none;
}

.info {
  padding: 14px 0;
  border-top: 2px solid var(--line);
}

.info h4 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.info p {
  color: var(--ink-soft);
}

.info a:hover {
  color: var(--yellow);
}

.info-highlight {
  margin-bottom: 10px;
  padding: 14px 16px;
  border-top: 0;
  border-radius: 16px;
  background: var(--pink);
}

.info-highlight h4,
.info-highlight p {
  color: var(--bg);
}

.info-highlight + .info {
  border-top: 0;
}

.info-warn h4 {
  color: var(--yellow);
}

.facilities {
  margin-top: 40px;
}

.facilities h3 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 16px 8px 36px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface) no-repeat 13px 50% / 14px 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f3eb33' d='M12 2.5l2.9 6.1 6.6.7-4.9 4.5 1.3 6.6L12 17.1l-5.9 3.3 1.3-6.6-4.9-4.5 6.6-.7z'/%3E%3C/svg%3E");
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Sponsors ---------- */

.sponsors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 44px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.sponsors a {
  display: block;
  border-radius: 8px;
  transition: transform 0.15s ease;
}

.sponsors a:hover {
  transform: translateY(-3px);
}

.sponsors img {
  width: calc(var(--w) * var(--logo-scale) * 1px);
}

@media (min-width: 720px) {
  :root {
    --logo-scale: 1;
  }
}

/* ---------- Call to action ---------- */

.cta-band {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgb(245 142 174 / 0.22), transparent 70%),
    var(--bg-alt);
  text-align: center;
  overflow: clip;
}

.cta-inner {
  position: relative;
}

.cta-band h2 {
  color: var(--yellow);
  font-size: clamp(2.8rem, 1.6rem + 6vw, 6rem);
  text-shadow: 0.05em 0.05em 0 var(--pink-deep);
}

.cta-band p {
  max-width: 52ch;
  margin: 18px auto 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
}

.deco-star-4 {
  top: -12px;
  right: 8%;
  width: 34px;
  height: 34px;
  animation-delay: 0.6s;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 56px 32px;
  border-top: 2px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.footer-about img {
  width: 180px;
  margin-bottom: 16px;
}

.footer-about p {
  max-width: 44ch;
  color: var(--ink-soft);
}

.footer-title {
  margin-bottom: 14px;
  color: var(--yellow);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-links .icon {
  color: var(--pink);
}

.footer-ggj img {
  width: 140px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: start;
  }
}

/* ---------- Motion ---------- */

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.72) rotate(18deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(245 142 174 / 0.7);
  }

  100% {
    box-shadow: 0 0 0 12px rgb(245 142 174 / 0);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
