/* =========================================================
   Taekwondo e Cidadania
   Identidade: A Trajetória (arco + corte)
   ========================================================= */

:root {
  --void: #070707;
  --ink: #0c0c0c;
  --paper: #f3efe8;
  --cream: #e7e1d4;
  --red: #c8102e;
  --red-deep: #9a0d24;
  --ash: #7c7870;
  --mute: #b7b2a8;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(12, 12, 12, 0.12);
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
  --header: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: #fff;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.display span,
.display em,
.hero__title em {
  font-style: normal;
  color: var(--red);
}

.display--light {
  color: #fff;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
}

.kicker--light {
  color: var(--mute);
}

.lede {
  max-width: 36rem;
  color: #3d3a35;
  font-size: 1.05rem;
  margin-top: 22px;
}

.lede--light {
  color: rgba(243, 239, 232, 0.74);
}

.body-copy {
  max-width: 34rem;
  color: #4a463f;
  margin-top: 16px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(243, 239, 232, 0.7);
  margin-bottom: 22px;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 64px;
}

.section-head--light .display,
.section-head--light .lede {
  color: #fff;
}

.section-head--light .lede {
  color: rgba(243, 239, 232, 0.7);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.35s var(--ease);
}

.btn--solid {
  background: var(--red);
  color: #fff;
}

.btn--solid:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--void);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  width: min(320px, 86vw);
}

.loader__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 18px;
}

.loader__name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.loader__tag {
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--mute);
}

.loader__bar {
  margin-top: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  animation: load-bar 1.35s var(--ease) forwards;
}

.loader .ods {
  width: 100%;
  margin: 34px auto 0;
}

.loader .ods__goals {
  justify-content: center;
  width: 100%;
}

.loader .ods__goal {
  justify-content: center;
  min-width: 0;
}

@keyframes draw-arc {
  to { stroke-dashoffset: 72; }
}

@keyframes draw-slash {
  to { stroke-dashoffset: 0; }
}

@keyframes load-bar {
  to { width: 100%; }
}

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

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: 0.4s var(--ease);
}

.header.is-scrolled {
  background: rgba(7, 7, 7, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.header__bar {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.header__brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.header__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.header__nav {
  margin-left: auto;
}

.header__nav ul {
  display: flex;
  gap: 28px;
}

.header__nav a {
  position: relative;
  color: rgba(243, 239, 232, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}

.header__nav a:hover::after,
.header__nav a:focus-visible::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: #fff;
  transition: 0.3s var(--ease);
}

.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }

.menu-toggle.is-open span:first-child {
  top: 22px;
  transform: rotate(42deg);
}

.menu-toggle.is-open span:last-child {
  top: 22px;
  transform: rotate(-42deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--void);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-menu nav {
  margin: 48px 0 auto;
  display: grid;
  gap: 10px;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
}

.mobile-menu nav a:hover {
  color: var(--red);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media:has(video) img {
  display: none;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.28) 0%, rgba(7, 7, 7, 0.18) 30%, rgba(7, 7, 7, 0.78) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.55) 0%, rgba(7, 7, 7, 0.12) 60%);
}

.hero__mark {
  position: absolute;
  right: -8vw;
  top: 8vh;
  width: min(42vw, 520px);
  opacity: 0.18;
  pointer-events: none;
}

.hero__mark circle,
.hero__mark path {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto 120px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.hero__lead {
  max-width: 32rem;
  margin: 26px 0 34px;
  color: rgba(243, 239, 232, 0.78);
  font-size: 1.05rem;
}

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

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-right: min(240px, 32vw);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 232, 0.55);
}

.hero__ods {
  position: absolute;
  right: max(20px, calc((100vw - 1360px) / 2));
  bottom: 22px;
  z-index: 3;
  width: min(210px, 26vw);
  pointer-events: none;
}

.ods {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #4aa6ea;
}

.ods__onu {
  width: 28%;
  max-width: 58px;
}

.ods__word {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ods__line {
  display: block;
}

.ods__line--lead {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.28em;
  letter-spacing: 0.02em;
}

.ods__wheel {
  width: 0.92em;
  height: 0.92em;
  margin-right: 0.04em;
}

.ods__goals {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.ods__goal {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.ods__goal img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.ods__goal small {
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: left;
}

.scroll-hint {
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  display: grid;
  justify-content: center;
  padding-top: 7px;
}

.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ---------- Impact ---------- */

.impact {
  background: var(--paper);
  padding: 120px 0 100px;
}

.impact__head {
  max-width: 46rem;
  margin-bottom: 72px;
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line-dark);
}

.stat {
  padding: 28px 8px 0;
  position: relative;
}

.stat + .stat {
  border-left: 1px solid var(--line-dark);
  padding-left: 24px;
}

.stat__plus {
  position: absolute;
  top: 28px;
  left: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.stat + .stat .stat__plus {
  left: 24px;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.4rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--ink);
  padding-left: 18px;
}

.stat em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------- Project ---------- */

.project {
  background: var(--paper);
  padding: 0 0 130px;
}

.project__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.value-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.value-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.value-list b {
  color: var(--red);
  font-size: 0.85rem;
}

.project__visual {
  position: relative;
}

.project__visual img {
  width: 100%;
  height: min(680px, 78vh);
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.project__frame {
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1px solid rgba(200, 16, 46, 0.55);
  pointer-events: none;
}

.project__visual figcaption {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--ink);
  color: #fff;
  padding: 22px 24px;
  max-width: 240px;
}

.project__visual figcaption span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.project__visual figcaption strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.project__chip {
  position: absolute;
  top: 24px;
  right: -12px;
  background: var(--red);
  color: #fff;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 14px;
}

/* ---------- TKD ---------- */

.tkd {
  position: relative;
  background: var(--ink);
  padding: 120px 0;
  color: #fff;
}

.tkd::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(circle at 88% 12%, rgba(200, 16, 46, 0.16), transparent 28%);
}

.tkd .wrap {
  position: relative;
  z-index: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tkd-card {
  min-height: 320px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: 0.4s var(--ease);
}

.tkd-card span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
}

.tkd-card h3 {
  margin: 28px 0 14px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tkd-card p {
  color: rgba(243, 239, 232, 0.68);
  font-size: 0.95rem;
}

.tkd-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 16, 46, 0.7);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Civic ---------- */

.civic {
  background: #101010;
  padding: 120px 0 0;
}

.civic__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 80px;
}

.path {
  position: relative;
  display: grid;
  gap: 0;
}

.path::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, var(--red), rgba(200, 16, 46, 0.15));
}

.path__item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 0;
  color: rgba(243, 239, 232, 0.42);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.5s var(--ease);
}

.path__item.is-on,
.path__item:last-child {
  color: #fff;
}

.path__item b {
  width: 34px;
  height: 34px;
  border: 1px solid var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  background: #101010;
  position: relative;
  z-index: 1;
  color: var(--red);
}

.path__item--last span {
  color: var(--red);
}

.civic__banner {
  position: relative;
  min-height: 52vh;
}

.civic__banner img {
  width: 100%;
  height: 58vh;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08);
}

.civic__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.1), rgba(7, 7, 7, 0.78));
}

.civic__banner blockquote {
  position: absolute;
  inset: auto 0 10% 0;
  z-index: 1;
  width: var(--wrap);
  margin: 0 auto;
}

.civic__banner p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  max-width: 24ch;
}

/* ---------- Method ---------- */

.method {
  background: var(--paper);
  padding: 120px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 24px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line-dark);
}

.steps__item {
  position: relative;
}

.steps__item em {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: normal;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.steps__item h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.steps__item p {
  color: #4a463f;
  max-width: 24ch;
}

/* ---------- Audience ---------- */

.audience {
  background: var(--ink);
  padding: 120px 0;
  color: #fff;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.aud-card {
  padding: 36px 26px 40px;
  border-top: 2px solid var(--red);
  background: #141414;
  min-height: 240px;
  transition: 0.35s var(--ease);
}

.aud-card h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.aud-card p {
  color: rgba(243, 239, 232, 0.68);
}

.aud-card:hover {
  transform: translateY(-4px);
  background: #1a1a1a;
}

/* ---------- Gallery ---------- */

.gallery {
  background: var(--paper);
  padding: 120px 0;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
}

.masonry__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.masonry__item span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.4s var(--ease);
}

.masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: 0.4s var(--ease);
}

.masonry__item:hover img,
.masonry__item:focus-visible img {
  transform: scale(1.06);
}

.masonry__item:hover::after,
.masonry__item:hover span,
.masonry__item:focus-visible::after,
.masonry__item:focus-visible span {
  opacity: 1;
  transform: none;
}

.masonry__item--a { grid-column: 1 / 8; grid-row: span 3; }
.masonry__item--b { grid-column: 8 / 13; grid-row: span 2; }
.masonry__item--c { grid-column: 8 / 13; grid-row: span 2; }
.masonry__item--d { grid-column: 1 / 5; grid-row: span 2; }
.masonry__item--e { grid-column: 5 / 9; grid-row: span 2; }
.masonry__item--f { grid-column: 9 / 13; grid-row: span 2; }
.masonry__item--g { grid-column: 1 / 7; grid-row: span 2; }
.masonry__item--h { grid-column: 7 / 13; grid-row: span 2; }

/* ---------- Quotes ---------- */

.quotes {
  background: #101010;
  padding: 120px 0;
}

.quotes__wrap {
  max-width: 860px;
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
}

.slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  margin: 28px 0 24px;
}

.slide figcaption {
  color: var(--mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.slider__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.slider__btn {
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
}

.slider__btn:hover {
  color: var(--red);
  border-color: var(--red);
}

.slider__dots {
  display: flex;
  gap: 8px;
}

.slider__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.slider__dots button.is-on {
  background: var(--red);
}

/* ---------- Master ---------- */

.master {
  background: var(--paper);
  padding: 120px 0;
}

.master__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.master__stage {
  position: relative;
  padding: 36px 28px 40px;
}

.master__portrait {
  width: 100%;
  height: min(640px, 78vh);
  object-fit: cover;
  object-position: center top;
}

.master__screen {
  position: absolute;
  z-index: 2;
  width: min(168px, 34%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(12, 12, 12, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.master__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.master__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.master__screen--a {
  top: 8px;
  left: 0;
}

.master__screen--b {
  right: 0;
  bottom: 4px;
}

.master__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.master__role {
  margin: 10px 0 22px;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meta-list {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}

.meta-list div {
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
}

.meta-list dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
}

.meta-list dd {
  font-size: 1.05rem;
}

/* ---------- CTA ---------- */

.cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.22), transparent 36%),
    var(--void);
  padding: 140px 0;
  text-align: center;
}

.cta__inner {
  max-width: 820px;
}

.cta .lede {
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--paper);
  padding: 120px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact__wa {
  margin-top: 32px;
}

.contact .btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
  margin-left: 10px;
}

.contact .btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.info-list {
  display: grid;
  gap: 0;
}

.info-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 6px;
}

.info-list li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.info-list span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

.info-list strong,
.info-list a {
  font-size: 1.15rem;
  white-space: pre-line;
  line-height: 1.45;
}

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

/* ---------- Place ---------- */

.place {
  position: relative;
  min-height: 520px;
  background: #161616;
  display: grid;
  align-items: center;
}

.place__map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.place__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.04);
}

.place__card {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - 1180px) / 2));
  background: var(--paper);
  padding: 42px 40px;
}

.place__city {
  margin: 10px 0 28px;
  color: var(--ash);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.place .btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
}

.place .btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

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

.footer {
  background: var(--void);
  color: rgba(243, 239, 232, 0.72);
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer__brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #fff;
}

.footer nav,
.footer__social {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer a:hover {
  color: #fff;
}

.footer__base {
  padding-top: 22px;
  font-size: 0.78rem;
  color: var(--ash);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.94);
  display: grid;
  place-items: center;
  padding: 72px 80px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  max-width: min(1100px, 100%);
}

.lightbox img {
  max-height: 78vh;
  margin: 0 auto;
}

.lightbox figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox__close { top: 28px; right: 32px; }
.lightbox__prev { left: 28px; top: 50%; }
.lightbox__next { right: 28px; top: 50%; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .hero__title {
    font-size: clamp(3rem, 7vw, 6.2rem);
  }

  .project__grid,
  .civic__grid {
    gap: 48px;
  }
}

@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }

  .impact__grid,
  .card-grid,
  .audience__grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .project__grid,
  .civic__grid,
  .master__grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project__visual img {
    height: min(560px, 70vh);
  }

  .project__visual figcaption {
    left: 16px;
  }

  .steps::before {
    display: none;
  }

  .masonry {
    grid-auto-rows: 140px;
  }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 32px); --header: 72px; }

  .hero {
    min-height: 100svh;
    align-items: center;
  }

  .hero__content {
    margin-bottom: 80px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .master__stage {
    padding: 24px 12px 28px;
  }

  .master__portrait {
    height: min(460px, 68vh);
  }

  .master__screen {
    width: min(118px, 32%);
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact .btn--ghost {
    margin-left: 0;
    margin-top: 12px;
  }

  .hero__foot {
    padding-right: min(150px, 44vw);
  }

  .hero__foot p {
    max-width: 18ch;
  }

  .hero__ods {
    width: min(152px, 44vw);
    right: 16px;
    bottom: 16px;
  }

  .hero__ods .ods__goal small {
    font-size: 0.34rem;
  }

  .hero__ods .ods__goal img {
    width: 22px;
    height: 22px;
  }

  .impact,
  .tkd,
  .method,
  .audience,
  .gallery,
  .quotes,
  .master,
  .contact {
    padding: 88px 0;
  }

  .impact__grid,
  .card-grid,
  .audience__grid,
  .steps,
  .value-list {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat + .stat {
    border: 0;
    border-top: 1px solid var(--line-dark);
    padding: 22px 0 8px;
  }

  .stat__plus,
  .stat + .stat .stat__plus {
    left: 0;
    top: 22px;
  }

  .masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .masonry__item--a,
  .masonry__item--b,
  .masonry__item--c,
  .masonry__item--d,
  .masonry__item--e,
  .masonry__item--f,
  .masonry__item--g,
  .masonry__item--h {
    grid-column: auto;
    grid-row: span 1;
  }

  .masonry__item--a,
  .masonry__item--g {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .lightbox {
    padding: 72px 16px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 24px;
  }

  .place__card {
    margin: 32px auto;
    width: calc(100% - 32px);
    padding: 32px 22px;
  }

  .project__chip {
    right: 12px;
  }
}

@media (max-width: 420px) {
  .header__brand strong { display: none; }
  .hero__title { font-size: 2.45rem; }
  .display { font-size: 2.15rem; }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .loader__bar span,
  .loader__arc,
  .loader__slash {
    animation: none;
    width: 100%;
    stroke-dashoffset: 0;
  }
}
