/* ==========================================================================
   TEDxCIT Tirana — vanilla stylesheet
   Palette and typography follow the original site: Oswald headings,
   Poppins body, TED red on black.
   ========================================================================== */

:root {
  --red: #ff0000;
  --red-soft: #fa5959;
  --red-pale: #ff8080;
  --red-faint: #ffbaba;
  --black: #000000;
  --white: #ffffff;
  --grey: #d8d8d8;
  --grey-dim: #9a9a9a;

  --font-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gap: 24px;
  --radius: 4px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keep the sticky header from covering anchor targets and focused elements. */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  /* A darker red than the brand token: white on #ff0000 is only 4.0:1. */
  background: #d40000; color: var(--white);
  padding: 12px 20px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ------------------------------------------------------------------ layout */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 8px; }
.section > .wrap { padding-block: 24px; }

.col { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap); align-items: center; }
.row > * { flex: 1 1 260px; min-width: 0; }

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.spacer { width: 100%; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  text-decoration: none; white-space: nowrap;
}
.brand__ted {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.02em;
  color: var(--red);
  line-height: 1;
}
.brand__ted sup { font-size: 0.62em; top: -0.5em; position: relative; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}
.brand--footer .brand__ted { font-size: 32px; }
.brand--footer .brand__name { font-size: 24px; }

@media (max-width: 400px) {
  .brand__ted { font-size: 22px; }
  .brand__name { font-size: 16px; }
}

/* The homepage opens on a full-bleed banner; cap its height so it reads as a hero. */
body[data-page='homepage'] .figure--hero { margin-inline: 0; }
body[data-page='homepage'] .img--hero {
  /* Show the whole banner: it is a designed lockup, so cropping it loses the
     "x = independently organized TED event" line entirely on narrow screens. */
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: var(--black);
  border-radius: 0;
}

.nav__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px; margin: 0; padding: 0; list-style: none;
}

.nav__link {
  display: inline-block;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  border-radius: var(--radius);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav__link:hover { color: var(--red); }
.nav__link.is-active { color: var(--red); }
.nav__link.is-active::after {
  content: ''; display: block; height: 2px; margin-top: 4px; background: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar {
  display: block; height: 2px; margin: 4px 0;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__list { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .nav__link { padding: 12px 4px; font-size: 17px; }
  .site-header__inner { position: relative; flex-wrap: wrap; }

  /* The collapsible menu only exists when JavaScript can open it again.
     Without JS the nav stays in flow and every link remains reachable. */
  .js .nav-toggle { display: block; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    max-height: 0; overflow: hidden;
    /* visibility (not just clipping) keeps the closed menu's links out of the
       tab order and out of the accessibility tree. */
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }
  .js .nav.is-open { max-height: 60vh; overflow-y: auto; visibility: visible; }

  html:not(.js) .nav { flex-basis: 100%; }
  html:not(.js) .nav__list { flex-direction: row; flex-wrap: wrap; padding: 0 0 12px; gap: 2px 14px; }
  html:not(.js) .nav__link { padding: 6px 0; font-size: 15px; }
}

/* --------------------------------------------------------------- typography */

.heading {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}

h1.heading { font-size: clamp(30px, 5vw, 52px); }
h2.heading { font-size: clamp(26px, 4vw, 40px); }
h3.heading { font-size: clamp(20px, 3vw, 28px); }

.heading--page {
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 3px solid var(--red);
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 28px;
}

.prose { margin: 0 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose strong { font-weight: 600; }
.prose a { color: var(--red); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 1.4em 0 0.5em;
}
.prose img { display: inline-block; margin: 8px 0; border-radius: var(--radius); }

/* ----------------------------------------------------------------- buttons */

.btn-row { margin: 20px 0 4px; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
a:hover .btn { background: var(--red); color: var(--white); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
a:hover .btn--ghost { background: var(--white); color: var(--black); }

/* ------------------------------------------------------------------ images */

.figure { margin: 0; }
.figure .img { display: inline-block; border-radius: var(--radius); }
.figure[style*='center'] .img { margin-inline: auto; }

/* Tickets: the ornament closes the body copy, so pull it out of its full-bleed
   band into the text column and sit it flush with the text's left edge. */
body[data-page='tickets'] .figure--hero {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
  text-align: left;
}
body[data-page='tickets'] .img--hero {
  margin-inline: 0;
  border-radius: 0;
}

/* ------------------------------------------------------------------- quote */

.quote {
  max-width: 820px;
  margin: 8px auto;
  padding: 28px 24px 28px 32px;
  border-left: 5px solid var(--red);
  text-align: left;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 2.6vw, 27px);
  font-weight: 400;
  line-height: 1.35;
}
.quote blockquote::before { content: '\201C'; color: var(--red); margin-right: 2px; }
.quote blockquote::after { content: '\201D'; color: var(--red); }
.quote__cite {
  display: block; margin-top: 14px;
  font-style: normal; font-size: 15px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red-pale);
}

/* ---------------------------------------------------------------- carousel */

/* The three source slides are portrait posters (1587x2245), so the frame is
   sized for portrait rather than letterboxing them inside a wide box. */
.carousel { position: relative; margin: 8px auto; max-width: 440px; }

.carousel__track {
  display: grid; margin: 0; padding: 0; list-style: none;
  border-radius: var(--radius); overflow: hidden;
}
.carousel__slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s ease;
}
.carousel__slide[data-active='true'] { opacity: 1; visibility: visible; }
/* The source slides are portrait posters, so contain them inside a fixed
   viewport rather than letting a 1587x2245 image set the section height. */
.carousel__slide img {
  width: 100%;
  height: clamp(380px, 72vh, 620px);
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
}

.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 30px; line-height: 1;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.carousel__nav:hover { background: var(--red); }
.carousel__nav--prev { left: 10px; }
.carousel__nav--next { right: 10px; }

.carousel__dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
/* 24px targets (WCAG 2.2 SC 2.5.8) built from padding, with the visible dot
   drawn inside via background-clip. */
.carousel__dot {
  width: 24px; height: 24px; padding: 6px;
  background: rgba(255, 255, 255, 0.45);
  background-clip: content-box;
  border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color 0.18s ease;
}
.carousel__dot:hover { background: rgba(255, 255, 255, 0.75); background-clip: content-box; }
.carousel__dot[aria-current='true'] {
  background: var(--white);
  background-clip: content-box;
}

/* ----------------------------------------------------------------- gallery */

.gallery {
  display: grid; gap: 14px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery__btn {
  display: block; width: 100%; padding: 0;
  background: none; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden;
}
.gallery__btn img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.gallery__btn:hover img { transform: scale(1.05); filter: brightness(1.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: rgba(0, 0, 0, 0.93);
  padding: 24px;
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; }
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 30px; color: var(--white);
  background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 50%;
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--red); }
.lightbox__close { top: 20px; right: 20px; font-size: 26px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------- flip box */

.flip {
  perspective: 1200px;
  height: var(--flip-h, 400px);
  outline-offset: 6px;
}
.flip__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 6px;
}
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }

/* Hover/focus flipping only on pointer devices. On touch, :focus-within would
   latch the card open and the tap-to-flip toggle could never turn it back. */
@media (hover: hover) {
  .flip:hover .flip__inner,
  .flip:focus .flip__inner,
  .flip:focus-within .flip__inner { transform: rotateY(180deg); }
}

.flip__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 24px;
  text-align: center;
  border-radius: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.flip__face--back { transform: rotateY(180deg); color: var(--white); }

.flip__img {
  width: 91%; max-width: 190px; aspect-ratio: 1;
  object-fit: cover; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
}
.flip__name { margin: 6px 0 0; font-family: var(--font-head); font-size: 21px; font-weight: 600; }
.flip__role { margin: 0; font-size: 14px; }
.flip__bio { margin: 0 0 6px; font-size: 14.5px; line-height: 1.6; }

/* -------------------------------------------------------------------- team */

.team__intro { max-width: 62ch; }

.team__note {
  margin: 4px 0 22px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red-pale);
}

.team {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 16px 22px;
  text-align: center;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.member:hover {
  background: #131313;
  border-color: var(--red);
  transform: translateY(-3px);
}

/* Four brand tones, cycled — the same reds the speaker cards use. Text colour
   flips to black on the two lighter tones so every monogram stays readable. */
.member__mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--red);
  color: var(--white);
}
.member[style*='--tone:1'] .member__mark { background: var(--red-soft); color: var(--black); }
.member[style*='--tone:2'] .member__mark { background: var(--red-pale); color: var(--black); }
.member[style*='--tone:3'] .member__mark { background: var(--red-faint); color: var(--black); }

.member__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}
.member__role {
  margin: 0;
  font-size: 13px;
  color: var(--grey-dim);
}

.member__cert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 7px 14px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.member__cert:hover,
.member__cert:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.member__cert-icon {
  width: 13px; height: 13px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;   mask-position: center;
  -webkit-mask-size: contain;      mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v10.6l3.3-3.3 1.4 1.4L12 17.4l-4.7-4.7 1.4-1.4 3.3 3.3V3zM5 19h14v2H5z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v10.6l3.3-3.3 1.4 1.4L12 17.4l-4.7-4.7 1.4-1.4 3.3 3.3V3zM5 19h14v2H5z'/%3E%3C/svg%3E");
}

@media (max-width: 420px) {
  .team { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .member { padding: 20px 10px 16px; }
  .member__mark { width: 58px; height: 58px; font-size: 21px; }
  .member__name { font-size: 15px; }
}

/* --------------------------------------------------------------------- map */

.map { width: 100%; border-radius: var(--radius); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.25); }

/* ------------------------------------------------------------------ social */

.social {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; margin: 4px 0; padding: 0; list-style: none;
}
.social__link {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--red); border-radius: 50%;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.social__link:hover { transform: translateY(-3px); background: var(--white); }
/* The original data lists these networks without a URL. */
.social__link--muted { opacity: 0.45; cursor: default; }

.social__icon {
  width: 22px; height: 22px;
  background: var(--white);
  transition: background-color 0.18s ease;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;   mask-position: center;
  -webkit-mask-size: contain;      mask-size: contain;
}
.social__link:hover .social__icon { background: var(--red); }

.social__icon[data-icon='instagram'] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41-.56-.22-.96-.48-1.38-.9-.42-.42-.68-.82-.9-1.38-.16-.42-.36-1.06-.41-2.23C2.17 15.58 2.16 15.2 2.16 12s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.17 8.8 2.16 12 2.16zm0 6.51A3.33 3.33 0 1 0 15.33 12 3.33 3.33 0 0 0 12 8.67zm0 5.5A2.17 2.17 0 1 1 14.17 12 2.17 2.17 0 0 1 12 14.17zm4.25-5.63a.78.78 0 1 0-.78-.78.78.78 0 0 0 .78.78z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41-.56-.22-.96-.48-1.38-.9-.42-.42-.68-.82-.9-1.38-.16-.42-.36-1.06-.41-2.23C2.17 15.58 2.16 15.2 2.16 12s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.17 8.8 2.16 12 2.16zm0 6.51A3.33 3.33 0 1 0 15.33 12 3.33 3.33 0 0 0 12 8.67zm0 5.5A2.17 2.17 0 1 1 14.17 12 2.17 2.17 0 0 1 12 14.17zm4.25-5.63a.78.78 0 1 0-.78-.78.78.78 0 0 0 .78.78z'/%3E%3C/svg%3E");
}
.social__icon[data-icon='linkedin'] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9h4v12H3zM9 9h3.8v1.7h.05a4.17 4.17 0 0 1 3.75-2.05c4 0 4.75 2.6 4.75 6V21h-4v-5.4c0-1.3 0-2.95-1.8-2.95s-2.08 1.4-2.08 2.85V21H9z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9h4v12H3zM9 9h3.8v1.7h.05a4.17 4.17 0 0 1 3.75-2.05c4 0 4.75 2.6 4.75 6V21h-4v-5.4c0-1.3 0-2.95-1.8-2.95s-2.08 1.4-2.08 2.85V21H9z'/%3E%3C/svg%3E");
}
.social__icon[data-icon='facebook'] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.1h-3.1V7.9c0-.9.25-1.5 1.55-1.5H16.7V3.63A22 22 0 0 0 14.3 3.5c-2.37 0-4 1.45-4 4.1V9.9H7.6V13h2.7v8z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.1h-3.1V7.9c0-.9.25-1.5 1.55-1.5H16.7V3.63A22 22 0 0 0 14.3 3.5c-2.37 0-4 1.45-4 4.1V9.9H7.6V13h2.7v8z'/%3E%3C/svg%3E");
}
.social__icon[data-icon='tiktok'] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 5.82A4.28 4.28 0 0 1 15.54 3h-3.09v12.4a2.59 2.59 0 1 1-2.59-2.59c.27 0 .53.04.78.12v-3.1a5.7 5.7 0 1 0 4.9 5.64V9.01a7.35 7.35 0 0 0 4.3 1.38v-3.1a4.3 4.3 0 0 1-3.24-1.47z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 5.82A4.28 4.28 0 0 1 15.54 3h-3.09v12.4a2.59 2.59 0 1 1-2.59-2.59c.27 0 .53.04.78.12v-3.1a5.7 5.7 0 1 0 4.9 5.64V9.01a7.35 7.35 0 0 0 4.3 1.38v-3.1a4.3 4.3 0 0 1-3.24-1.47z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  margin-top: 40px;
  background: #060606;
  border-top: 3px solid var(--red);
}

.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: flex-start; justify-content: space-between;
  padding-block: 40px 28px;
}
.site-footer__brand { flex: 1 1 240px; }
.site-footer__tag {
  margin: 12px 0 0; color: var(--grey-dim);
  font-family: var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px;
}
.site-footer__nav { flex: 1 1 300px; }
.site-footer__nav .nav__list { gap: 2px 18px; }
.site-footer__nav .nav__link { padding: 4px 0; font-size: 14px; }
.social--footer { justify-content: flex-start; flex: 0 0 auto; }

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 18px 26px;
}
.site-footer__legal p { margin: 0; font-size: 13px; color: var(--grey-dim); }

@media (max-width: 620px) {
  .site-footer__inner { flex-direction: column; gap: 24px; }
  .quote { padding-left: 20px; }
}
