:root {
  --page-bg: #eef2f5;
  --surface: rgba(255, 255, 255, 0.95);
  --ink: #1f2734;
  --muted: #6a7381;
  --navy: #485f8a;
  --navy-deep: #33445f;
  --steel: #7e8fac;
  --mist: #becbd9;
  --line: rgba(72, 95, 138, 0.12);
  --shadow: 0 28px 70px rgba(27, 42, 68, 0.14);
  --radius-xxl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --header-width: 1440px;
  --content-width: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

html.auth-locked-root {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.78), rgba(232, 238, 244, 0.9)),
    url("https://images.pexels.com/photos/8430307/pexels-photo-8430307.jpeg?auto=compress&cs=tinysrgb&w=1600") center center / cover no-repeat;
  filter: blur(16px);
  transform: scale(1.05);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(180deg, rgba(238, 242, 245, 0.55), rgba(234, 239, 244, 0.86));
}

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

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

p,
h1,
h2,
h3,
h4,
strong,
a {
  overflow-wrap: break-word;
}

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0 14px;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(calc(100vw - 28px), var(--header-width));
  margin: 0 auto;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(26, 40, 65, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-radius: 14px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy strong,
.nav-link span:last-child,
.hero-pill strong,
.service-item strong,
.member-card h4,
.contact-form label {
  font-weight: 700;
}

.brand-copy small,
.overline,
.hero-note-label,
.mini-label,
.step-duration {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-copy small,
.overline,
.mini-label {
  color: var(--muted);
}

.overline-light {
  color: rgba(255, 255, 255, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-link,
.nav-cta,
.soft-button,
.ghost-button,
.accent-button,
.soft-link,
.mobile-dock a {
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(72, 95, 138, 0.08);
}

.nav-icon,
.service-icon,
.pill-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.nav-icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
  background: rgba(72, 95, 138, 0.08);
  border-radius: 10px;
}

.nav-link span:last-child {
  font-size: 0.8rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta,
.soft-button,
.ghost-button,
.accent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid transparent;
}

.nav-cta:hover,
.soft-button:hover,
.ghost-button:hover,
.accent-button:hover,
.soft-link:hover,
.mobile-dock a:hover,
.nav-cta:focus-visible,
.soft-button:focus-visible,
.ghost-button:focus-visible,
.accent-button:focus-visible,
.soft-link:focus-visible,
.mobile-dock a:focus-visible {
  transform: translateY(-2px);
}

.nav-cta {
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(145deg, var(--steel), var(--navy));
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  color: white;
  background: var(--navy-deep);
  border: 0;
  border-radius: 14px;
}

.menu-icon {
  position: relative;
  width: 18px;
  height: 14px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.24s ease, top 0.24s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 6px;
}

.menu-icon span:nth-child(3) {
  top: 12px;
}

.nav-open .menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-open .menu-icon span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  background: rgba(20, 28, 43, 0.28);
  transition: opacity 0.24s ease;
}

.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.site-wrap {
  width: min(calc(100vw - 28px), var(--content-width));
  margin: 0 auto;
  padding-top: 112px;
  padding-bottom: 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 420px);
  gap: 26px;
  align-items: start;
}

.main-column,
.side-column {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.side-column {
  position: sticky;
  top: 112px;
}

.panel-surface,
.dark-panel {
  overflow: hidden;
  border-radius: var(--radius-xxl);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.panel-surface {
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.dark-panel {
  color: white;
  background: linear-gradient(180deg, rgba(72, 95, 138, 0.98), rgba(51, 68, 95, 1));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
  min-height: 720px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 58px 48px 42px;
  color: white;
  background: linear-gradient(180deg, rgba(72, 95, 138, 0.98), rgba(51, 68, 95, 1));
}

.hero-copy h1,
.manifesto h2,
.stage-head h3,
.micro-services h3,
.participation-card h3,
.process-card h3,
.team-contact h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: 0;
}

.hero-copy h1 {
  display: grid;
  max-width: 11.5ch;
  font-size: 3.55rem;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
}

.hero-copy h1 span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.line-two {
  color: var(--mist);
}

.hero-lead,
.hero-story-copy p,
.manifesto-text,
.manifesto-points p,
.stage-copy,
.quote,
.service-item p,
.participation-mini p,
.procedure-content p,
.member-card p,
.contact-line,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  line-height: 1.72;
}

.hero-lead {
  max-width: 58ch;
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-pill {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.pill-icon {
  width: 48px;
  height: 48px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.hero-pill strong {
  display: block;
  margin-bottom: 6px;
}

.hero-pill p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-story {
  display: grid;
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
  gap: 24px;
  margin-top: auto;
}

.hero-thumb,
.gallery-item,
.participation-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-thumb img,
.gallery-item img,
.hero-photo,
.participation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb {
  min-height: 220px;
}

.hero-story-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  max-width: 40ch;
  min-width: 0;
}

.hero-story-copy p,
.participation-mini p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.soft-button {
  color: white;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.soft-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
}

.hero-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: #dad5cb;
}

.hero-photo {
  object-position: 58% center;
}

.hero-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 360px;
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(27, 40, 63, 0.16);
}

.hero-note-label {
  color: var(--navy);
}

.hero-note strong {
  font-size: 1rem;
  line-height: 1.52;
}

.hero-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-note-meta span,
.participation-tags span,
.tag {
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
}

.hero-note-meta span {
  color: var(--navy-deep);
  background: rgba(72, 95, 138, 0.08);
}

.manifesto,
.gallery-stage,
.micro-services,
.process-card,
.team-contact {
  padding: 48px 42px;
}

.manifesto {
  text-align: center;
}

.centered {
  display: inline-block;
}

.manifesto h2 {
  font-size: 3.35rem;
  line-height: 1.14;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
}

.inline-media {
  display: inline-flex;
  width: 78px;
  height: 48px;
  margin: 0 0.18em;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 999px;
  transform: translateY(-4px);
}

.inline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-text {
  max-width: 760px;
  margin: 24px auto 30px;
  color: var(--muted);
}

.manifesto-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.manifesto-points article {
  padding: 18px 18px 20px;
  text-align: left;
  background: rgba(72, 95, 138, 0.05);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.manifesto-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.manifesto-points p {
  margin: 0;
  color: var(--muted);
}

.stage-head,
.team-contact {
  display: grid;
  gap: 24px;
}

.stage-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
}

.stage-head h3,
.micro-services h3,
.participation-card h3,
.process-card h3,
.team-contact h3 {
  font-size: 2.38rem;
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
}

.stage-copy,
.service-item p,
.procedure-content p,
.member-card p,
.contact-line {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 40px;
  gap: 18px;
  margin-top: 34px;
}

.gallery-item img,
.participation-image img {
  transition: transform 0.6s ease;
}

.gallery-item:hover img,
.participation-image:hover img {
  transform: scale(1.04);
}

.gallery-item-a {
  grid-column: 1 / 4;
  grid-row: 1 / 11;
}

.gallery-item-b {
  grid-column: 4 / 9;
  grid-row: 1 / 6;
}

.gallery-item-c {
  grid-column: 9 / 13;
  grid-row: 1 / 9;
}

.gallery-item-d {
  grid-column: 4 / 8;
  grid-row: 6 / 14;
}

.gallery-item-e {
  grid-column: 1 / 4;
  grid-row: 11 / 17;
}

.gallery-item-f {
  grid-column: 8 / 13;
  grid-row: 9 / 17;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.quote {
  margin: 0;
  max-width: 760px;
  font-size: 1.06rem;
}

.text-link {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.micro-services h3,
.process-card h3 {
  margin-top: 12px;
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  gap: 12px;
}

.service-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: rgba(72, 95, 138, 0.05);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--navy);
  background: rgba(72, 95, 138, 0.1);
  border-radius: 16px;
}

.service-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.service-item p {
  margin: 0;
}

.participation-card {
  padding: 40px 36px 34px;
}

.participation-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.participation-top h3 {
  max-width: 12ch;
  margin-top: 12px;
}

.ghost-button {
  margin-top: 18px;
  justify-self: start;
  color: white;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.impact-stat {
  display: grid;
  justify-items: start;
}

.impact-stat strong {
  font-family: "Sora", sans-serif;
  font-size: 4.1rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.impact-stat span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.participation-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 34px;
}

.participation-mini h4,
.procedure-content h4,
.member-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.participation-mini p,
.member-card p {
  margin: 0;
}

.participation-image {
  min-height: 220px;
}

.participation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.participation-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.process-list {
  display: grid;
}

.procedure-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.step-index {
  font-family: "Sora", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--navy);
}

.procedure-content h4 {
  margin-bottom: 8px;
}

.procedure-content p {
  margin: 0 0 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  color: var(--navy-deep);
  background: rgba(72, 95, 138, 0.08);
}

.step-duration {
  padding: 11px 14px;
  color: white;
  white-space: nowrap;
  background: var(--navy);
  border-radius: 999px;
}

.team-contact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  align-items: start;
}

.team-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.member-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(72, 95, 138, 0.05);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.member-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: white;
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-radius: 18px;
}

.contact-side {
  padding: 28px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.94), rgba(232, 238, 244, 0.94));
  border-radius: var(--radius-xl);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin: 24px 0 26px;
}

.contact-line {
  margin: 0;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(72, 95, 138, 0.14);
  border-radius: 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(72, 95, 138, 0.08);
}

.accent-button {
  color: white;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(145deg, var(--steel), var(--navy));
}

.full-width {
  width: 100%;
}

.auth-locked {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(238, 242, 245, 0.9), rgba(232, 238, 244, 0.96)),
    rgba(31, 39, 52, 0.28);
  backdrop-filter: blur(16px);
}

.auth-dialog {
  display: grid;
  gap: 16px;
  width: min(100%, 420px);
  padding: 30px;
  text-align: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(27, 42, 68, 0.18);
}

.auth-mark {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 52px;
  height: 52px;
  color: white;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-radius: 8px;
}

.auth-dialog h2 {
  margin: -4px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.auth-copy {
  max-width: 28ch;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
}

.auth-field {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(245, 247, 250, 0.96);
  border: 1px solid rgba(72, 95, 138, 0.18);
  border-radius: 8px;
  outline: none;
}

.auth-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(72, 95, 138, 0.1);
}

.auth-input.is-invalid {
  border-color: #a94d4d;
  box-shadow: 0 0 0 4px rgba(169, 77, 77, 0.1);
}

.auth-error {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: #8f3f3f;
  font-size: 0.9rem;
  line-height: 1.4;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  border: 0;
  border-radius: 8px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.auth-button:hover,
.auth-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37, 55, 82, 0.18);
}

.mobile-dock {
  display: none;
}

.nav-open .mobile-dock {
  opacity: 0;
  pointer-events: none;
}

.mobile-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(37, 55, 82, 0.22);
}

.mobile-dock svg {
  width: 18px;
  height: 18px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.21, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1440px) {
  .hero-copy {
    padding: 54px 42px 38px;
  }

  .hero-copy h1 {
    font-size: 3.35rem;
  }

  .manifesto,
  .gallery-stage,
  .micro-services,
  .process-card,
  .team-contact {
    padding: 42px 34px;
  }

  .gallery-grid {
    grid-auto-rows: 36px;
  }
}

@media (min-width: 1500px) {
  .hero-layout {
    min-height: 760px;
  }

  .hero-copy h1 {
    font-size: 4.15rem;
  }

  .manifesto h2 {
    font-size: 4.1rem;
  }

  .stage-head h3,
  .micro-services h3,
  .participation-card h3,
  .process-card h3,
  .team-contact h3 {
    font-size: 2.75rem;
  }

  .impact-stat strong {
    font-size: 4.8rem;
  }
}

@media (max-width: 1320px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: 3.35rem;
  }

  .hero-media {
    min-height: 430px;
  }

  .stage-head,
  .team-contact,
  .manifesto-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .side-column {
    position: static;
    top: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: 3.85rem;
  }

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

  .participation-top h3 {
    max-width: 18ch;
  }
}

@media (max-width: 960px) {
  .hero-layout,
  .participation-bottom,
  .team-contact {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-copy h1 {
    font-size: 3.95rem;
  }

  .hero-note {
    max-width: 320px;
  }

  .hero-pill-grid {
    grid-template-columns: 1fr;
  }

  .participation-image {
    order: -1;
    min-height: 320px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-a,
  .gallery-item-b,
  .gallery-item-c,
  .gallery-item-d,
  .gallery-item-e,
  .gallery-item-f {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 1040px) {
  .floating-header {
    top: 12px;
    padding: 0 10px;
  }

  .header-shell {
    width: fit-content;
    max-width: calc(100vw - 24px);
    padding: 10px 12px;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    width: min(330px, calc(100vw - 28px));
    margin-left: 0;
    display: grid;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 22px 38px rgba(26, 40, 65, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px;
    background: rgba(72, 95, 138, 0.04);
  }

  .site-wrap {
    width: min(calc(100vw - 20px), var(--content-width));
    padding-top: 96px;
  }

  .hero-copy {
    padding: 42px 24px 30px;
  }

  .hero-copy h1 {
    font-size: 3.65rem;
  }

  .manifesto,
  .gallery-stage,
  .micro-services,
  .process-card,
  .participation-card,
  .team-contact {
    padding: 32px 22px;
  }

  .hero-story {
    grid-template-columns: 1fr;
  }

  .hero-thumb {
    max-width: 220px;
  }

  .procedure-row {
    grid-template-columns: 1fr;
  }

  .impact-stat {
    justify-items: start;
  }

  .participation-top {
    grid-template-columns: 1fr;
  }

  .quote-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  body.nav-open {
    overflow: hidden;
  }
}

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

  .header-shell {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 2.85rem;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-stage,
  .panel-surface,
  .dark-panel {
    border-radius: 24px;
  }

  .hero-media {
    min-height: 400px;
  }

  .hero-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 16px;
  }

  .manifesto h2,
  .stage-head h3,
  .micro-services h3,
  .participation-card h3,
  .process-card h3,
  .team-contact h3 {
    font-size: 2.15rem;
  }

  .inline-media {
    width: 56px;
    height: 34px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .service-item,
  .member-card,
  .hero-pill {
    grid-template-columns: 1fr;
  }

  .nav-link span:last-child {
    font-size: 0.92rem;
  }

  .mobile-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .site-wrap {
    padding-bottom: 96px;
  }
}

@media (max-width: 430px) {
  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .overline,
  .hero-note-label,
  .mini-label,
  .step-duration {
    letter-spacing: 0.14em;
  }

  .hero-copy {
    padding: 34px 18px 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 2.22rem;
    line-height: 1.08;
  }

  .hero-pill {
    padding: 14px;
  }

  .manifesto h2,
  .stage-head h3,
  .micro-services h3,
  .participation-card h3,
  .process-card h3,
  .team-contact h3 {
    font-size: 1.9rem;
  }

  .hero-note-meta span,
  .participation-tags span,
  .tag {
    width: 100%;
    text-align: center;
  }

  .mobile-dock a {
    padding: 0 10px;
    letter-spacing: 0.1em;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-item img,
  .participation-image img,
  .nav-link,
  .nav-cta,
  .soft-button,
  .ghost-button,
  .accent-button,
  .soft-link,
  .mobile-dock a,
  .menu-icon span,
  .site-nav,
  .nav-backdrop {
    transition: none;
  }
}
