/*
Theme Name: Центр інновацій у колористиці та догляді за волоссям — Official Theme
Theme URI: https://luneva-cosmetics.com/
Description: Шаблони теми для ГО «Центр інновацій у колористиці та догляді за волоссям» з акцентом на навчання, догляд, відновлення та соціальну підтримку.
Version: 3.0
Author: PF Team
Text Domain: pf
*/

:root {
  --bg: #fff8de;
  --bg-soft: #fffdf6;
  --bg-panel: #ffffff;
  --bg-accent: #17130c;
  --bg-accent-2: #1f1b12;
  --ink: #17130c;
  --ink-soft: #6f6758;
  --line: #eadfbd;
  --line-strong: #d7c76f;
  --accent: #f4c400;
  --accent-strong: #1b1710;
  --accent-soft: #fff0a8;
  --highlight: #ffd43b;
  --warm: #ffd43b;
  --danger: #b94c4c;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --header-h: 84px;
  --trust-h: 42px;
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --shadow-sm: 0 18px 46px rgba(23, 19, 12, 0.08);
  --shadow-md: 0 28px 70px rgba(23, 19, 12, 0.13);
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(244, 196, 0, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(255, 212, 59, 0.1), transparent 32%),
    var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

main.page {
  padding-top: calc(var(--header-h) + var(--trust-h));
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow-content {
  width: min(820px, 100%);
}

.section {
  padding: 88px 0;
}

@supports (content-visibility: auto) {
  .defer-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 960px;
  }

  .section--blog-preview.defer-section,
  .page--home #contact.defer-section {
    contain-intrinsic-size: 1px 720px;
  }
}

.section--soft {
  background:
    linear-gradient(90deg, rgba(244, 196, 0, 0.06), transparent 44%),
    var(--bg-soft);
  border-top: 1px solid rgba(215, 199, 111, 0.55);
  border-bottom: 1px solid rgba(215, 199, 111, 0.55);
}

.section--outline {
  position: relative;
}

.section--outline::before {
  display: none;
}

.section--accent {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.24), transparent 38%),
    linear-gradient(135deg, #11100d, #231f18 62%, #3a3424);
  color: #fffdf6;
}

.section--warm {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 246, 202, 0.52)),
    #fff0a8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--highlight);
}

.section-heading,
.hero__content,
.page-hero__content,
.page-hero__visual,
.split-section__content,
.split-section__panel,
.official-grid__content,
.official-grid__card {
  position: relative;
  z-index: 1;
}

.section-title,
.page-title,
.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__title {
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  max-width: none;
  text-wrap: pretty;
}

.page-title {
  font-size: clamp(1.85rem, 3vw, 3rem);
  max-width: none;
}

.section-title {
  font-size: clamp(1.45rem, 2.5vw, 2.65rem);
  max-width: none;
}

.section-title--light,
.section-text--light {
  color: #fffdf6;
}

.hero__text,
.page-lead,
.section-text,
.info-card p,
.post-card p,
.project-card p,
.role-card p,
.value-card p,
.trust-tile p,
.contact-form__note,
.contact-list__item,
.timeline__content p,
.project-article p,
.prose p,
.prose li,
.manifesto .section-text {
  color: var(--ink-soft);
}

.page-lead,
.section-text,
.hero__text {
  max-width: 74ch;
  font-size: 1.05rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(23, 19, 12, 0.56);
}

.breadcrumbs strong {
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 0;
  background: rgba(244, 196, 0, 0.14);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.pill--outline {
  background: transparent;
  border: 1px solid rgba(244, 196, 0, 0.32);
}

.pill--soft {
  background: rgba(255, 212, 59, 0.18);
  color: var(--accent-strong);
}

.hero-badges,
.hero__trust,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 0;
  border: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, #1f1b12, #ffd43b);
  color: #fffdf6;
  box-shadow: 8px 8px 0 rgba(255, 212, 59, 0.22);
}

.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--secondary {
  background: #17130c;
  color: #fffdf6;
}

.btn--secondary:hover {
  background: #000000;
}

.btn--ghost {
  border-color: rgba(23, 19, 12, 0.26);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: rgba(23, 19, 12, 0.24);
}

.btn--light {
  background: #fffdf6;
  color: var(--accent-strong);
}

.btn--ghost-light {
  border-color: rgba(255, 253, 246, 0.32);
  color: #fffdf6;
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 246, 0.9);
  border-bottom: 1px solid rgba(215, 199, 111, 0.5);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 36px rgba(23, 19, 12, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.site-header__trust {
  min-height: var(--trust-h);
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(215, 199, 111, 0.45);
  background: linear-gradient(90deg, #11100d, #1f1b12);
  color: rgba(255, 253, 246, 0.82);
}

.site-header__trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 212, 59, 0.9), transparent 34%),
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 28px rgba(244, 196, 0, 0.22);
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 176px;
}

.brand__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.brand__mark-core {
  width: 18px;
  height: 18px;
  border-radius: 0;
  transform: rotate(45deg);
  background: #fffdf6;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__copy strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand--has-logo .brand__copy strong {
  font-size: 0.96rem;
}

.brand__copy small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.site-nav > a {
  padding: 10px 14px;
  border-radius: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color var(--transition), color var(--transition);
}

.site-nav > a:hover,
.site-nav > a.is-active {
  background: rgba(244, 196, 0, 0.12);
  color: var(--accent-strong);
}

.site-nav__cta {
  margin-left: 10px;
}

.site-nav > .site-nav__cta {
  color: #fffdf6;
  background: var(--accent);
  border-color: var(--accent);
}

.site-nav > .site-nav__cta:hover {
  color: #fffdf6;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.site-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.8);
  margin-left: auto;
}

.site-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 0;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero {
  padding: 48px 0 64px;
}

.page-hero--mission,
.page-hero--about {
  min-height: clamp(430px, 58vh, 640px);
  display: grid;
  align-items: center;
  background: #11100d;
}

.page-hero--mission::before,
.page-hero--about::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.68)),
    linear-gradient(135deg, rgba(244, 196, 0, 0.34), transparent 42%);
}

.page-hero--mission::after,
.page-hero--about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--page-hero-background) center / cover no-repeat;
  opacity: 0.62;
}

.page-hero--mission .page-hero__grid,
.page-hero--about .page-hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero--mission .page-hero__content,
.page-hero--about .page-hero__content {
  max-width: 1060px;
  color: #fffdf6;
}

.page-hero--mission .page-title,
.page-hero--mission .page-lead,
.page-hero--mission .breadcrumbs,
.page-hero--mission .breadcrumbs strong,
.page-hero--about .page-title,
.page-hero--about .page-lead,
.page-hero--about .breadcrumbs,
.page-hero--about .breadcrumbs strong {
  color: #fffdf6;
}

.page-hero--mission .eyebrow,
.page-hero--about .eyebrow {
  color: var(--highlight);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(244, 197, 66, 0.16), transparent 30%),
    linear-gradient(315deg, rgba(244, 196, 0, 0.14), transparent 24%);
  pointer-events: none;
}

.hero__grid,
.page-hero__grid,
.split-section,
.official-grid,
.contact-panel,
.article-layout,
.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.68fr);
  gap: 44px;
  align-items: start;
}

.page-hero__visual {
  display: grid;
  gap: 18px;
}

.page-hero__grid--article {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-hero__stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: end;
  margin-top: 28px;
}

.hero {
  padding: 56px 0 72px;
}

.hero--home {
  min-height: 0;
  padding: clamp(48px, 6vw, 82px) 0;
  background: #11100d;
}

.hero--home::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 42%, rgba(0, 0, 0, 0.24) 76%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(135deg, rgba(255, 212, 59, 0.38), transparent 36%),
    linear-gradient(315deg, rgba(255, 212, 59, 0.24), transparent 34%);
  z-index: 1;
}

.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-background) center / cover no-repeat;
  opacity: 0.74;
  filter: saturate(1.12) contrast(1.08);
  pointer-events: none;
  z-index: 0;
}

.hero--home .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(360px, 48vh, 520px);
  align-items: center;
}

.hero--home .hero__content {
  width: 100%;
  padding: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: #fffdf6;
}

.hero--home .hero__title,
.hero--home .hero__text {
  color: #fffdf6;
}

.hero--home .hero__title {
  width: min(1120px, 100%);
  max-width: 1120px;
}

.hero--home .hero__text {
  max-width: 86ch;
  font-size: clamp(1.06rem, 1.3vw, 1.24rem);
  color: rgba(255, 253, 246, 0.86);
}

.hero--home .eyebrow {
  color: var(--highlight);
}

.hero--home .pill {
  background: rgba(255, 253, 246, 0.12);
  color: #fffdf6;
  border: 1px solid rgba(255, 253, 246, 0.28);
}

.hero--home .hero__visual {
  display: none;
}

.hero__content,
.page-hero__content {
  padding-top: 18px;
}

.hero__actions,
.hero-actions,
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-panel,
.media-card,
.stacked-card,
.trust-card,
.info-card,
.project-card,
.post-card,
.role-card,
.trust-tile,
.value-card,
.contact-panel__form,
.contact-panel__intro,
.official-grid__card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 199, 111, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-card {
  padding: 24px;
}

.media-card {
  overflow: hidden;
}

.media-card--portrait {
  aspect-ratio: 4 / 5;
}

.media-card--landscape {
  aspect-ratio: 16 / 11;
}

.hero-panel {
  overflow: hidden;
}

.hero-panel--location {
  position: relative;
  background:
    linear-gradient(135deg, rgba(244, 197, 66, 0.16), transparent 28%),
    linear-gradient(315deg, rgba(244, 196, 0, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 219, 0.94));
}

.hero-panel__media img,
.project-card__media img,
.post-card__media img,
.media-card img,
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(215, 199, 111, 0.42);
  background: linear-gradient(180deg, rgba(255, 251, 237, 0.92), rgba(255, 248, 226, 0.96));
}

.hero-panel__body {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.hero--home .hero-panel__body {
  display: none;
}

.hero-details {
  display: none;
  margin-top: 0;
  position: relative;
  z-index: 3;
}

.hero-details__grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hero-panel__card--location {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(215, 199, 111, 0.45);
}

.hero-location {
  display: grid;
  gap: 10px;
  padding: 10px 0 4px;
}

.hero-location__city {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
  color: var(--accent-strong);
}

.hero-location__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 196, 0, 0.52), transparent 88%);
}

.hero-location__text {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel__card strong,
.stacked-card strong,
.trust-card strong,
.info-card h3 {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-panel__stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.32rem;
}

.hero-panel__stats span,
.hero-panel__label,
.trust-card__label,
.contact-list__label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-grid,
.role-grid,
.value-grid,
.post-grid {
  display: grid;
  gap: 24px;
}

.trust-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-grid,
.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-carousel {
  position: relative;
  margin-top: 8px;
}

.project-carousel__controls {
  margin-bottom: 22px;
}

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

.project-grid--carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, calc((100% - 48px) / 3));
  grid-template-columns: none;
  gap: 24px;
  overflow-x: auto;
  padding: 0 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(244, 196, 0, 0.12);
}

.project-grid--carousel::-webkit-scrollbar {
  height: 9px;
}

.project-grid--carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.project-grid--carousel::-webkit-scrollbar-track {
  background: rgba(244, 196, 0, 0.12);
}

.project-card--slide {
  scroll-snap-align: start;
}

.project-card,
.post-card,
.role-card,
.trust-tile,
.value-card,
.info-card,
.stacked-card,
.team-card,
.link-list a {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.project-card:hover,
.post-card:hover,
.role-card:hover,
.trust-tile:hover,
.value-card:hover,
.info-card:hover,
.stacked-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 196, 0, 0.35);
}

.trust-tile,
.role-card,
.value-card {
  padding: 28px;
}

.trust-grid .trust-tile:nth-child(2),
.value-grid .value-card:nth-child(2n),
.role-grid .role-card:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 42%),
    linear-gradient(135deg, #17130c, #1f1b12);
  color: #fffdf6;
  border-color: rgba(244, 196, 0, 0.45);
}

.trust-grid .trust-tile:nth-child(2) .eyebrow,
.trust-grid .trust-tile:nth-child(2) h3,
.trust-grid .trust-tile:nth-child(2) p,
.value-grid .value-card:nth-child(2n) h3,
.value-grid .value-card:nth-child(2n) p,
.role-grid .role-card:nth-child(2n) h3,
.role-grid .role-card:nth-child(2n) p {
  color: #fffdf6;
}

.trust-tile h3,
.role-card h3,
.value-card h3,
.project-card h2,
.project-card h3,
.post-card h2,
.post-card h3,
.timeline__content h3,
.direction-item__content h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.3;
  font-weight: 600;
}

.split-section__panel,
.official-grid__card,
.contact-panel__form,
.contact-panel__intro {
  padding: 30px;
}

.numbered-list {
  display: grid;
  gap: 18px;
}

.numbered-list div,
.contact-list__item,
.timeline__item,
.direction-item {
  display: grid;
  gap: 8px;
}

.numbered-list strong,
.timeline__year,
.direction-item__number {
  font-size: 1.75rem;
  color: var(--accent-strong);
  line-height: 1;
}

.project-card {
  overflow: hidden;
  border-top: 5px solid var(--accent);
}

.post-card {
  overflow: hidden;
}

.project-card__media,
.post-card__media,
.article-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(244, 196, 0, 0.18), rgba(255, 212, 59, 0.18));
  overflow: hidden;
}

.project-card__media img,
.post-card__media img {
  transition: transform 500ms ease;
}

.project-card:hover img,
.post-card:hover img {
  transform: scale(1.035);
}

.project-card__body,
.post-card__body {
  padding: 26px;
}

.project-card,
.post-card {
  display: flex;
  flex-direction: column;
}

.project-card__body,
.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-card__meta,
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card h2 a,
.project-card h3 a,
.post-card h2 a,
.post-card h3 a,
.direction-item__content h3 a {
  transition: color var(--transition);
}

.project-card h2 a:hover,
.project-card h3 a:hover,
.post-card h2 a:hover,
.post-card h3 a:hover,
.direction-item__content h3 a:hover {
  color: var(--accent);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--accent-strong);
  font-weight: 800;
}

.project-card__link {
  margin-top: auto;
  padding-top: 14px;
}

.project-card__link::after {
  content: "→";
}

.split-section--team + .role-grid {
  margin-top: 28px;
}

.official-grid__card,
.official-grid__content {
  align-self: center;
}

.meta-list,
.meta-list div {
  display: grid;
  gap: 6px;
}

.meta-list {
  gap: 18px;
}

.meta-list dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-list dd {
  margin: 0;
  font-weight: 700;
}

.role-card,
.value-card,
.trust-tile {
  height: 100%;
}

.stacked-cards {
  display: grid;
  gap: 18px;
}

.stacked-cards--compact {
  max-width: 300px;
  margin-left: auto;
  gap: 12px;
}

.stacked-card,
.trust-card {
  padding: 24px;
}

.trust-card--compact {
  padding: 16px 18px;
}

.trust-card--compact strong {
  font-size: 0.96rem;
}

.trust-card--compact p {
  font-size: 0.88rem;
}

.stacked-card--compact,
.info-card--compact {
  padding: 15px 16px;
}

.info-card--micro {
  max-width: 260px;
  margin-left: auto;
  padding: 12px 14px;
}

.info-card--micro .eyebrow {
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.62rem;
}

.info-card--micro .eyebrow::before {
  width: 16px;
}

.info-card--micro h3 {
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.info-card--micro p {
  font-size: 0.83rem;
  line-height: 1.5;
}

.stacked-card--compact .eyebrow,
.info-card--compact .eyebrow {
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.64rem;
}

.stacked-card--compact .eyebrow::before,
.info-card--compact .eyebrow::before {
  width: 18px;
}

.stacked-card--compact strong,
.info-card--compact h3 {
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.stacked-card--compact p,
.info-card--compact p,
.project-sidebar .info-card--compact p,
.project-sidebar .info-card--compact li,
.project-sidebar .info-card--compact dd {
  font-size: 0.86rem;
  line-height: 1.58;
}

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

.team-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: stretch;
  height: 100%;
  overflow: hidden;
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid rgba(215, 199, 111, 0.58);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 196, 0, 0.32);
}

.team-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.06);
  background:
    linear-gradient(135deg, rgba(244, 196, 0, 0.92), rgba(255, 212, 59, 0.82)),
    #1f1b12;
}

.team-card__placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(244, 196, 0, 0.92), rgba(255, 212, 59, 0.82)),
    #1f1b12;
  color: #fffdf6;
}

.team-card__placeholder span {
  font-size: 2rem;
  font-weight: 900;
}

.team-card__body {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
}

.team-card__name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.08;
}

.team-card__role {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-card__body p:last-child {
  margin-bottom: 0;
}

.section--article {
  padding-top: 0;
}

.stacked-card--accent,
.info-card--accent {
  background:
    linear-gradient(135deg, rgba(244, 197, 66, 0.16), transparent 32%),
    linear-gradient(135deg, var(--bg-accent), var(--bg-accent-2));
  color: #fffdf6;
}

.stacked-card--accent p,
.info-card--accent p,
.section--accent .section-text,
.section--accent .section-text--light,
.clean-list--light li {
  color: rgba(255, 253, 246, 0.9);
}

.contact-panel {
  padding: 0;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  background: #fffdf6;
  border: 1px solid rgba(215, 199, 111, 0.6);
  box-shadow: var(--shadow-md);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-list__item strong {
  font-size: 1rem;
}

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

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-panel__intro,
.contact-panel__form {
  height: 100%;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.contact-panel__intro {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.16), transparent 42%),
    linear-gradient(135deg, #17130c, #1f1b12);
  color: #fffdf6;
}

.contact-panel__intro .section-title,
.contact-panel__intro .section-text,
.contact-panel__intro .contact-list__label,
.contact-panel__intro .contact-list__item,
.contact-panel__intro a,
.contact-panel__intro strong {
  color: #fffdf6;
}

.contact-panel__intro a {
  text-decoration-color: rgba(255, 253, 246, 0.72);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 0;
  border: 2px solid rgba(215, 199, 111, 0.65);
  background: #fffdf6;
  color: var(--ink);
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 208px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(244, 196, 0, 0.52);
  box-shadow: 0 0 0 4px rgba(244, 196, 0, 0.12);
}

.contact-form__note {
  margin: 0;
  font-size: 0.88rem;
}

.contact-form__note a,
.meta-list a,
.contact-list a,
.site-footer__contacts a,
.prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__error {
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-success {
  padding: 34px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 212, 59, 0.18), rgba(244, 196, 0, 0.08));
}

.contact-success__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline__item,
.direction-item {
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(215, 199, 111, 0.5);
}

.timeline__item:last-child,
.direction-item:last-child {
  border-bottom: 1px solid rgba(215, 199, 111, 0.5);
}

.direction-list {
  display: grid;
}

.direction-item {
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 24px;
}

.direction-item__link {
  align-self: center;
  color: var(--accent-strong);
  font-weight: 800;
}

.manifesto {
  padding: 34px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(215, 199, 111, 0.5);
}

.project-layout,
.article-layout {
  gap: 32px;
  align-items: start;
}

.project-article,
.article-content {
  min-width: 0;
}

.project-sidebar,
.article-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + var(--trust-h) + 24px);
}

.project-quote {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(244, 196, 0, 0.1);
  border-left: 4px solid var(--accent);
}

.project-quote p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--accent-strong);
}

.project-article__intro {
  font-size: 1.08rem;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 8px;
}

.metric-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 246, 215, 0.9), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(215, 199, 111, 0.5);
  box-shadow: var(--shadow-sm);
}

.metric-card__value {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--accent-strong);
}

.metric-card__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.content-block {
  margin-top: 34px;
}

.content-block h2,
.prose h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.18;
}

.project-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 0;
  background: rgba(244, 196, 0, 0.08);
}

.link-list a:hover {
  transform: translateY(-3px);
  background: rgba(244, 196, 0, 0.12);
}

.link-list strong {
  color: var(--accent-strong);
}

.link-list span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.section#contact {
  padding-top: 112px;
}

.section--blog-preview {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 196, 0, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 241, 176, 0.86), rgba(255, 253, 246, 0.96));
  border-top: 1px solid rgba(215, 199, 111, 0.42);
  border-bottom: 1px solid rgba(215, 199, 111, 0.42);
}

.carousel {
  position: relative;
  overflow: visible;
}

.carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.carousel__button {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(244, 196, 0, 0.36);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-strong);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 4px 4px 0 rgba(23, 19, 12, 0.12);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.carousel__button:hover {
  transform: translate(-1px, -1px);
  background: var(--accent);
  border-color: var(--accent);
  color: #fffdf6;
  box-shadow: 6px 6px 0 rgba(23, 19, 12, 0.18);
}

.carousel__button:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track {
  scroll-behavior: smooth;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.post-card--slide {
  scroll-snap-align: start;
  height: 100%;
}

.post-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 212, 59, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(244, 196, 0, 0.18), rgba(255, 200, 87, 0.24));
}

.post-card__body--plain {
  padding-top: 28px;
}

.article-cover {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.prose {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 2.6rem;
}

.prose h3 {
  margin: 1.6rem 0 0.8rem;
  font-size: 1.35rem;
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.pagination-wrap {
  margin-top: 36px;
}

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

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(215, 199, 111, 0.5);
}

.empty-state {
  padding: 46px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(215, 199, 111, 0.5);
}

.site-footer {
  padding: 72px 0 34px;
  background: #11100d;
  color: rgba(255, 253, 246, 0.78);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer__title {
  margin: 0 0 18px;
  color: #fffdf6;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer__text,
.site-footer__contacts p,
.site-footer__bottom p {
  margin: 0;
  color: rgba(255, 253, 246, 0.68);
}

.site-footer__links,
.site-footer__contacts {
  display: grid;
  gap: 10px;
}

.site-footer__links a {
  color: #fffdf6;
}

.site-footer__links a,
.site-footer__contacts a,
.site-footer__bottom a {
  color: #fffdf6;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

.site-footer__links a:hover,
.site-footer__contacts a:hover,
.site-footer__bottom a:hover {
  color: var(--highlight);
}

.brand--footer .brand__copy small {
  color: rgba(255, 253, 246, 0.58);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 246, 0.12);
  font-size: 0.9rem;
}

.reveal,
.reveal.visible,
.hero__content.reveal,
.hero__visual.reveal,
.page-hero__content.reveal,
.page-hero__visual.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 1080px) {
  .project-grid,
  .role-grid,
  .post-grid,
  .trust-grid,
  .value-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid,
  .page-hero__grid,
  .split-section,
  .official-grid,
  .contact-panel,
  .project-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar,
  .article-sidebar {
    position: static;
  }

  .project-metrics {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel__track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .hero--home::after {
    background-size: min(92vw, 760px);
    background-position: center bottom;
    opacity: 0.4;
  }

  .stacked-cards--compact {
    max-width: none;
    margin-left: 0;
  }

  .page-hero__stack {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  :root {
    --header-h: 74px;
    --trust-h: 38px;
  }

  body {
    background: var(--bg);
  }

  .site-header {
    backdrop-filter: none;
    background: rgba(255, 253, 246, 0.98);
  }

  .site-menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--trust-h));
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    background: rgba(255, 253, 246, 0.96);
    border: 1px solid rgba(215, 199, 111, 0.5);
    border-radius: 0;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__cta {
    margin-left: 0;
  }

  .hero-panel__stats,
  .hero-details__grid,
  .project-lists,
  .contact-form__grid,
  .trust-grid,
  .value-grid,
  .project-grid,
  .role-grid,
  .post-grid,
  .team-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .hero,
  .page-hero {
    padding: 28px 0 40px;
  }

  .hero--home {
    padding: 34px 0 48px;
  }

  .hero--home::after {
    background-size: 150% auto;
    background-position: center top;
    opacity: 0.24;
  }

  .hero__content,
  .page-hero__content {
    padding-top: 0;
  }

  .hero--home .hero__content {
    width: 100%;
    background: transparent;
    backdrop-filter: none;
  }

  .page-lead,
  .section-text,
  .hero__text {
    max-width: none;
  }

  .hero__actions,
  .hero-actions,
  .cta-panel__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__actions .btn,
  .hero-actions .btn,
  .cta-panel__actions .btn {
    width: 100%;
  }

  .hero__trust,
  .hero-badges,
  .chip-row {
    gap: 8px;
  }

  .hero-panel__body {
    padding: 18px;
  }

  .section--outline::before {
    display: none;
  }

  .site-header__trust-inner {
    gap: 12px;
    font-size: 0.7rem;
  }

}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand__logo {
    max-width: 136px;
  }

  .brand__copy strong {
    font-size: 0.88rem;
  }

  .brand__copy small,
  .site-header__trust {
    display: none;
  }

  main.page {
    padding-top: var(--header-h);
  }

  .site-nav {
    top: var(--header-h);
    left: 12px;
    right: 12px;
  }

  .page-title,
  .hero__title,
  .section-title {
    max-width: none;
  }

  .carousel__track {
    grid-auto-columns: 100%;
  }

  .timeline__item,
  .direction-item {
    grid-template-columns: 1fr;
  }

  .split-section__panel,
  .official-grid__card,
  .contact-panel__form,
  .contact-panel__intro,
  .manifesto,
  .trust-tile,
  .role-card,
  .value-card {
    padding: 22px;
  }

  .pill {
    min-height: 30px;
    padding: 7px 11px;
    font-size: 0.74rem;
  }

  .hero-location__city {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }
}

/* Organization visual reset: monochrome rounded style, graphic hero, project carousel. */
.site-header {
  background: rgba(255, 253, 246, 0.94);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.16), transparent 38%),
    #11100d;
}

.hero--home {
  min-height: 0;
}

.hero--home::after {
  display: none;
}

.hero--home::before {
  z-index: 1;
}

.hero--home .hero__content {
  max-width: none;
}

.hero--home .hero__title {
  font-size: clamp(2rem, 3.6vw, 3.9rem);
  max-width: 1120px;
  text-wrap: pretty;
}

.hero--home .hero__actions .btn--ghost {
  background: rgba(255, 253, 246, 0.14);
  color: #fffdf6;
  border-color: rgba(255, 253, 246, 0.4);
}

.hero-details .info-card {
  display: none;
  background: rgba(255, 253, 246, 0.94);
  border-top: 5px solid var(--highlight);
}

.page-hero--mission::before,
.page-hero--about::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.68)),
    linear-gradient(135deg, rgba(244, 196, 0, 0.34), transparent 42%);
}

.page-hero--mission::after,
.page-hero--about::after {
  background: var(--page-hero-background) center / cover no-repeat;
  opacity: 0.62;
}

.page-hero--mission .page-hero__grid,
.page-hero--about .page-hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero--mission .page-hero__content,
.page-hero--about .page-hero__content {
  max-width: 1060px;
}

.project-grid--carousel.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, calc((100% - 48px) / 3));
  grid-template-columns: none;
  gap: 24px;
  overflow-x: auto;
  padding: 0 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.project-grid--carousel.carousel__track::-webkit-scrollbar {
  display: block;
  height: 9px;
}

.project-card--slide {
  min-width: 0;
  scroll-snap-align: start;
}

.project-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.98), rgba(255, 247, 214, 0.92));
}

.project-card__media {
  aspect-ratio: 16 / 9;
}

.project-card__body {
  min-height: 260px;
}

.team-card {
  grid-template-columns: 170px minmax(0, 1fr);
  box-shadow: none;
}

.team-card__placeholder {
  min-height: 100%;
}

.section--accent .section-text,
.section--accent .section-text--light,
.section--accent .cta-panel p {
  color: rgba(255, 253, 246, 0.9);
}

.site-nav > a,
.site-nav > .site-nav__cta,
.pill,
.carousel__button,
.pagination-wrap a,
.pagination-wrap span,
.link-list a {
  border-radius: 0;
}

.contact-panel {
  overflow: hidden;
}

.contact-panel__intro .contact-list a,
.contact-panel__intro .contact-list strong,
.contact-panel__intro .contact-form__note a {
  color: #fffdf6;
}

.contact-panel__form .btn--primary {
  justify-self: start;
}

.article-sidebar .info-card,
.project-sidebar .info-card {
  border-left: 5px solid var(--accent);
}

@media (max-width: 1080px) {
  .project-grid--carousel.carousel__track {
    grid-auto-columns: minmax(320px, calc((100% - 24px) / 2));
  }

  .hero--home::after {
    background-size: cover;
    background-position: center;
    opacity: 0.6;
  }

  .hero--home::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.58)),
      linear-gradient(135deg, rgba(255, 212, 59, 0.32), transparent 38%);
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-nav {
    background: rgba(255, 253, 246, 0.98);
  }

  .site-nav {
    border-radius: 0;
    border-color: rgba(215, 199, 111, 0.72);
  }

  .hero--home {
    min-height: 0;
    padding: 58px 0 72px;
  }

  .hero--home::after {
    background-size: cover;
    background-position: center;
    opacity: 0.5;
  }

  .hero--home .hero__content {
    background: transparent;
  }

  .hero-details {
    display: none;
    margin-top: 0;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .page-hero--mission,
  .page-hero--about {
    min-height: 430px;
  }
}

@media (max-width: 560px) {
  .project-grid--carousel.carousel__track {
    grid-auto-columns: minmax(282px, 88vw);
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card__img,
  .team-card__placeholder {
    min-height: 260px;
  }

  .hero--home {
    min-height: 0;
  }

  .hero--home::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62)),
      linear-gradient(135deg, rgba(255, 212, 59, 0.24), transparent 42%);
  }
}

/* Final organization polish: dark overlays and harder-edged background graphics. */
.hero--home::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.28)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.28));
}

.page-hero--mission::before,
.page-hero--about::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.26));
}

.hero--home::after,
.page-hero--mission::after,
.page-hero--about::after {
  opacity: 1;
}

.section {
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section:not(.section--accent)::before {
  content: "";
  position: absolute;
  top: 34px;
  right: max(20px, calc((100vw - 1180px) / 2));
  width: 168px;
  height: 168px;
  background:
    linear-gradient(90deg, rgba(244, 196, 0, 0.34) 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(rgba(255, 212, 59, 0.3) 10px, transparent 10px) 0 0 / 28px 28px;
  opacity: 0.42;
  pointer-events: none;
}

.section:not(.section--accent):nth-of-type(2n)::before {
  left: max(20px, calc((100vw - 1180px) / 2));
  right: auto;
  transform: rotate(-8deg);
}

.section:not(.section--accent)::after {
  content: "";
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  width: 210px;
  height: 46px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 200, 87, 0.42) 0 8px,
      transparent 8px 16px
    );
  opacity: 0.46;
  pointer-events: none;
}

.section:not(.section--accent):nth-of-type(2n)::after {
  left: auto;
  right: max(20px, calc((100vw - 1180px) / 2));
}

.manifesto,
.trust-tile,
.value-card,
.info-card,
.project-card,
.post-card {
  position: relative;
}

.manifesto::before,
.trust-tile::before,
.value-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-top: 4px solid rgba(244, 196, 0, 0.28);
  border-right: 4px solid rgba(255, 212, 59, 0.32);
  pointer-events: none;
}

.project-card::before,
.post-card::before,
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 6px;
  background: linear-gradient(90deg, var(--highlight), var(--warm));
  pointer-events: none;
}

@media (max-width: 820px) {
  .section:not(.section--accent)::before {
    width: 112px;
    height: 112px;
    opacity: 0.28;
  }

  .section:not(.section--accent)::after {
    width: 150px;
    opacity: 0.32;
  }
}

.page::before {
  content: "";
  position: fixed;
  inset: auto 0 0 auto;
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  background:
    linear-gradient(90deg, rgba(244, 196, 0, 0.2) 8px, transparent 8px) 0 0 / 32px 32px,
    linear-gradient(rgba(255, 212, 59, 0.16) 8px, transparent 8px) 0 0 / 32px 32px;
  opacity: 0.22;
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%, 0 62%);
  pointer-events: none;
  z-index: 0;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(23, 19, 12, 0.18);
}

.btn--light:hover,
.btn--ghost-light:hover {
  box-shadow: 10px 10px 0 rgba(255, 200, 87, 0.22);
}

.site-nav > a:hover,
.site-nav > a.is-active {
  box-shadow: inset 0 -3px 0 var(--highlight);
}

.brand:hover .brand__mark {
  transform: rotate(-3deg) translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(255, 212, 59, 0.24);
}

.brand__mark {
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card,
.post-card,
.trust-tile,
.value-card,
.info-card,
.metric-card,
.direction-item,
.team-card {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.project-card:hover,
.post-card:hover,
.trust-tile:hover,
.value-card:hover,
.info-card:hover,
.metric-card:hover,
.direction-item:hover {
  transform: translate(-3px, -3px);
  border-color: rgba(244, 196, 0, 0.48);
  box-shadow: 8px 8px 0 rgba(23, 19, 12, 0.12);
}

.project-card:hover .project-card__media img,
.post-card:hover .post-card__media img {
  transform: scale(1.07) rotate(0.4deg);
}

.team-card:hover .team-card__img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08);
}

.team-card__img {
  transition: transform 520ms ease, filter 520ms ease;
}

.project-card__link,
.direction-item__link,
.link-list a strong {
  transition: color var(--transition), transform var(--transition);
}

.project-card__link:hover,
.direction-item__link:hover {
  color: var(--highlight);
  transform: translateX(4px);
}

.clean-list li {
  transition: transform var(--transition), color var(--transition);
}

.clean-list li:hover {
  transform: translateX(3px);
  color: var(--accent-strong);
}

@media (prefers-reduced-motion: reduce) {
  .page::before,
  .btn,
  .brand__mark,
  .project-card,
  .post-card,
  .trust-tile,
  .value-card,
  .info-card,
  .metric-card,
  .direction-item,
  .team-card,
  .team-card__img,
  .project-card__media img,
  .post-card__media img {
    transition: none;
  }
}

/* Monochrome polish: rounded black-white system with yellow accents. */
body {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 28%),
    linear-gradient(315deg, rgba(23, 19, 12, 0.04), transparent 34%),
    var(--bg);
}

.section--soft,
.section--warm,
.section--blog-preview {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 253, 246, 0.96), rgba(255, 248, 220, 0.72));
  border-color: rgba(215, 199, 111, 0.48);
}

.section--accent,
.site-footer,
.contact-panel__intro,
.stacked-card--accent,
.info-card--accent {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 34%),
    linear-gradient(135deg, #11100d, #252014 72%, #3a3120);
  color: #fffdf6;
}

.site-header {
  background: rgba(255, 253, 246, 0.9);
  border-bottom-color: rgba(23, 19, 12, 0.1);
}

.site-header__trust {
  background: #11100d;
  color: rgba(255, 253, 246, 0.82);
  border-top-color: rgba(255, 212, 59, 0.24);
}

.brand__mark {
  border-radius: 22px;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #ffd43b, #f4c400 54%, #11100d);
  box-shadow: 0 16px 36px rgba(23, 19, 12, 0.12);
}

.brand__mark-core {
  border-radius: 999px;
  background: #fffdf6;
}

.site-nav > a,
.site-nav > .site-nav__cta,
.btn,
.pill,
.carousel__button,
.pagination-wrap a,
.pagination-wrap span,
.site-menu-toggle,
.field input,
.field textarea,
.link-list a {
  border-radius: 999px;
}

.site-nav > a:hover,
.site-nav > a.is-active {
  background: rgba(255, 212, 59, 0.34);
  color: #17130c;
  box-shadow: inset 0 0 0 1px rgba(23, 19, 12, 0.08);
}

.site-nav > .site-nav__cta,
.btn--primary {
  background: linear-gradient(135deg, #ffe16a, #ffd43b);
  border-color: #ffd43b;
  color: #17130c;
  box-shadow: 0 14px 30px rgba(244, 196, 0, 0.24);
}

.site-nav > .site-nav__cta:hover,
.btn--primary:hover {
  background: #17130c;
  border-color: #17130c;
  color: #fffdf6;
}

.btn--secondary,
.btn--ghost:hover,
.carousel__button:hover {
  background: #17130c;
  border-color: #17130c;
  color: #fffdf6;
}

.btn--ghost,
.btn--ghost-light,
.btn--light {
  background: rgba(255, 253, 246, 0.88);
  border-color: rgba(23, 19, 12, 0.16);
  color: #17130c;
}

.hero--home::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.22)),
    linear-gradient(135deg, rgba(255, 212, 59, 0.22), transparent 42%);
}

.hero--editorial {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 59, 0.26), transparent 24%),
    radial-gradient(circle at 16% 86%, rgba(255, 255, 255, 0.08), transparent 28%),
    #11100d;
}

.hero--editorial::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 212, 59, 0.12) 0 2px,
      transparent 2px 18px
    );
}

.hero--editorial::after {
  display: none;
}

.hero--editorial .hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
}

.hero--editorial .hero__title {
  max-width: 940px;
}

.hero-orbit {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 212, 59, 0.22);
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(255, 253, 246, 0.1), rgba(255, 212, 59, 0.08)),
    rgba(255, 253, 246, 0.04);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 212, 59, 0.28);
  border-radius: 34px;
  pointer-events: none;
}

.hero-orbit__badge {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: -34px 0 2px auto;
  border-radius: 999px;
  background: #ffd43b;
  color: #17130c;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-orbit__card,
.hero-orbit__item,
.hero-orbit__footer {
  position: relative;
  z-index: 1;
  border-radius: 28px;
}

.hero-orbit__card {
  padding: 24px;
  background: #fffdf6;
  color: #17130c;
}

.hero-orbit__card span,
.hero-orbit__item span,
.hero-orbit__footer span {
  display: block;
  color: #c59a00;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-orbit__card strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

.hero-orbit__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.hero-orbit__item {
  padding: 16px 18px;
  background: rgba(255, 253, 246, 0.1);
  border: 1px solid rgba(255, 253, 246, 0.14);
  color: #fffdf6;
}

.hero-orbit__item strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-orbit__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 212, 59, 0.18);
}

.hero-orbit__footer span {
  color: rgba(255, 253, 246, 0.84);
}

.brand__copy {
  max-width: 360px;
}

.brand__copy strong {
  font-size: 0.92rem;
}

.support-path {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.support-path__intro {
  position: sticky;
  top: calc(var(--header-h) + var(--trust-h) + 28px);
}

.support-path__steps {
  display: grid;
  gap: 16px;
}

.path-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(215, 199, 111, 0.42);
  border-radius: var(--radius-lg);
  background: #fffdf6;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.path-step > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(255, 212, 59, 0.3);
  color: #17130c;
  font-weight: 900;
}

.path-step h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.path-step p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
}

.path-step--dark,
.path-step--accent {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 42%),
    #11100d;
  color: #fffdf6;
}

.path-step--dark p,
.path-step--accent p {
  color: rgba(255, 253, 246, 0.78);
}

.path-step--dark > span,
.path-step--accent > span {
  background: #ffd43b;
}

.path-step:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 196, 0, 0.44);
  box-shadow: 0 22px 56px rgba(23, 19, 12, 0.14);
}

.quick-actions {
  display: grid;
  gap: 28px;
}

.quick-actions__header {
  max-width: 880px;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

.quick-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(215, 199, 111, 0.42);
  border-radius: var(--radius-lg);
  background: #fffdf6;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.quick-card span {
  margin-bottom: 18px;
  color: #c59a00;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quick-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(1.22rem, 2.1vw, 1.72rem);
  line-height: 1.12;
}

.quick-card p {
  margin: 0;
  color: var(--ink-soft);
}

.quick-card--yellow {
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.72), transparent 18%),
    #ffd43b;
}

.quick-card--yellow span,
.quick-card--yellow p {
  color: #3a2d00;
}

.quick-card--dark {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 42%),
    #11100d;
  color: #fffdf6;
}

.quick-card--dark p {
  color: rgba(255, 253, 246, 0.78);
}

.quick-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 196, 0, 0.44);
  box-shadow: 0 22px 56px rgba(23, 19, 12, 0.14);
}

.page-hero--mission::before,
.page-hero--about::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.52)),
    linear-gradient(135deg, rgba(255, 212, 59, 0.18), transparent 44%);
}

.page-hero--solid {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 59, 0.24), transparent 24%),
    radial-gradient(circle at 18% 90%, rgba(255, 253, 246, 0.08), transparent 28%),
    #11100d;
}

.page-hero--solid::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 212, 59, 0.1) 0 2px,
      transparent 2px 18px
    );
}

.page-hero--solid::after {
  display: none;
}

.hero--home .eyebrow,
.page-hero--mission .eyebrow,
.page-hero--about .eyebrow,
.eyebrow,
.team-card__role,
.metric-card__label,
.project-card__link,
.direction-item__link {
  color: #c59a00;
}

.hero--home .pill {
  background: rgba(255, 253, 246, 0.14);
  border-color: rgba(255, 212, 59, 0.34);
  color: #fffdf6;
}

.hero-panel,
.media-card,
.stacked-card,
.trust-card,
.info-card,
.project-card,
.post-card,
.role-card,
.trust-tile,
.value-card,
.metric-card,
.team-card,
.contact-panel,
.contact-panel__form,
.contact-panel__intro,
.official-grid__card,
.manifesto,
.empty-state,
.article-cover,
.project-quote {
  border-radius: var(--radius-lg);
  border-color: rgba(215, 199, 111, 0.42);
  box-shadow: var(--shadow-sm);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.story-note {
  padding: 26px;
  border: 1px solid rgba(215, 199, 111, 0.42);
  border-radius: var(--radius-lg);
  background: #fffdf6;
  box-shadow: var(--shadow-sm);
}

.story-note--dark {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.16), transparent 42%),
    #11100d;
  color: #fffdf6;
}

.story-note h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.story-note p {
  margin: 0;
  color: var(--ink-soft);
}

.story-note--dark h3,
.story-note--dark p {
  color: #fffdf6;
}

.project-card,
.post-card,
.team-card,
.media-card,
.contact-panel {
  overflow: hidden;
}

.project-card {
  border-top: 0;
  background: linear-gradient(180deg, #fffdf6, #fff6d6);
}

.project-card::before,
.post-card::before,
.info-card::before {
  top: 18px;
  left: 20px;
  width: 68px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #17130c, #ffd43b);
}

.trust-tile::before,
.value-card::before {
  border-top-color: rgba(23, 19, 12, 0.18);
  border-right-color: rgba(255, 212, 59, 0.52);
  border-radius: 0 18px 0 0;
}

.trust-grid .trust-tile:nth-child(2),
.value-grid .value-card:nth-child(2n),
.role-grid .role-card:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.22), transparent 42%),
    linear-gradient(135deg, #11100d, #2c2416);
  color: #fffdf6;
  border-color: rgba(255, 212, 59, 0.24);
}

.pill,
.pill--soft {
  background: rgba(255, 212, 59, 0.24);
  color: #17130c;
}

.pill--outline {
  background: rgba(255, 253, 246, 0.58);
  border-color: rgba(23, 19, 12, 0.14);
}

.project-card__media,
.post-card__media,
.article-cover,
.team-card__placeholder {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.34), rgba(23, 19, 12, 0.08)),
    #fff4c2;
}

.team-card__img {
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.9), rgba(23, 19, 12, 0.72)),
    #17130c;
}

.contact-panel {
  background: #fffdf6;
}

.contact-panel__intro {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.contact-panel__form {
  background: #fffdf6;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.field input,
.field textarea {
  background: #fffdf6;
  border-color: rgba(23, 19, 12, 0.16);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(244, 196, 0, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 212, 59, 0.22);
}

.section:not(.section--accent)::before,
.page::before {
  background:
    linear-gradient(90deg, rgba(23, 19, 12, 0.16) 8px, transparent 8px) 0 0 / 32px 32px,
    linear-gradient(rgba(255, 212, 59, 0.34) 8px, transparent 8px) 0 0 / 32px 32px;
}

.section:not(.section--accent)::after {
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 212, 59, 0.48) 0 8px,
      transparent 8px 16px
    );
}

.btn:hover,
.project-card:hover,
.post-card:hover,
.trust-tile:hover,
.value-card:hover,
.info-card:hover,
.metric-card:hover,
.direction-item:hover,
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 196, 0, 0.44);
  box-shadow: 0 22px 56px rgba(23, 19, 12, 0.14);
}

.clean-list li:hover,
.project-card__link:hover,
.direction-item__link:hover,
.site-footer__links a:hover,
.site-footer__contacts a:hover,
.site-footer__bottom a:hover {
  color: #d1a000;
}

@media (max-width: 820px) {
  .site-header,
  .site-nav {
    background: rgba(255, 253, 246, 0.98);
  }

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

  .hero-orbit {
    border-radius: 34px;
  }

  .hero-orbit__badge {
    width: 84px;
    height: 84px;
    margin-top: -24px;
  }

  .support-path,
  .quick-actions__grid {
    grid-template-columns: 1fr;
  }

  .support-path__intro {
    position: static;
  }

  .path-step {
    grid-template-columns: 1fr;
  }

  .path-step p {
    grid-column: auto;
  }

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

  .site-nav {
    border-radius: 28px;
    border-color: rgba(23, 19, 12, 0.12);
  }

  .contact-panel__intro,
  .contact-panel__form {
    border-radius: 0;
  }

  .contact-panel__intro:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .contact-panel__form:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .project-card:hover,
  .post-card:hover,
  .trust-tile:hover,
  .value-card:hover,
  .info-card:hover,
  .metric-card:hover,
  .direction-item:hover,
  .team-card:hover {
    transform: none;
  }
}


