/*
Theme Name: Консорциум развития территорий
Theme URI: https://consorciumteam.ru/
Author: MADE IN
Description: Редактируемая WordPress-версия лендинга Консорциума развития территорий.
Version: 1.0.0
Text Domain: consorcium
*/

@font-face {
  font-family: "Circe";
  src: url("assets/fonts/Circe-Bold.otf") format("opentype");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "Constantia Local";
  src: url("assets/fonts/Constantia.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-Cyrillic.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/SourceSans3-Latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #29234f;
  --ink-deep: #18152f;
  --brand-violet: #291145;
  --brand-navy: #0d2a5a;
  --brand-blue: #00518b;
  --paper: #f7f7f3;
  --white: #fff;
  --acid: #6f97c7;
  --blue-deep: #1e568d;
  --blue: #3f87c1;
  --blue-light: #8cc4e9;
  --line: rgba(41, 35, 79, 0.18);
  --muted: #6c687d;
  --pad: clamp(20px, 3.5vw, 68px);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  color: var(--ink-deep);
  background: var(--acid);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
.join-card__title {
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brand-navy);
  animation: intro-out 0.9s cubic-bezier(0.77, 0, 0.18, 1) 2.35s forwards;
}

.intro__mark {
  width: clamp(90px, 10vw, 150px);
  color: var(--white);
  animation: intro-mark 1.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.brand-figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 7459 / 7070;
}

.brand-figure i {
  position: absolute;
  inset: 0;
  display: block;
  background: currentColor;
  -webkit-mask: url("assets/images/ring.svg") center / contain no-repeat;
  mask: url("assets/images/ring.svg") center / contain no-repeat;
  transform-origin: center;
}

.brand-figure i:nth-child(1) {
  transform: translate(-3.2%, 1.2%) rotate(-1.5deg);
}

.brand-figure i:nth-child(2) {
  transform: translate(3.2%, -1.2%) rotate(1.5deg);
}

.intro .brand-figure i:nth-child(1) {
  animation: ring-left-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s infinite alternate both;
}

.intro .brand-figure i:nth-child(2) {
  animation: ring-right-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s infinite alternate both;
}

.intro p {
  position: absolute;
  bottom: 8vh;
  margin: 0;
  font-family: "Circe", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: intro-copy 0.75s ease 1.25s both;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 112px;
  padding: 24px var(--pad);
  border-bottom: 1px solid transparent;
  transition: min-height 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  border-color: var(--line);
  background: rgba(247, 247, 243, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  width: clamp(153px, 15.3vw, 255px);
  clip-path: inset(0 0 0 0);
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 44px);
  font-family: "Circe", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.site-nav__contact)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__contact {
  padding: 13px 18px 11px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #087cc9 0%, #075aab 58%, #0d3f91 100%);
  box-shadow: 0 8px 24px rgba(0, 81, 139, 0.18);
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.site-nav__contact:hover {
  color: var(--white);
  background: linear-gradient(135deg, #1398e5 0%, #0874c6 54%, #07519f 100%);
  box-shadow: 0 12px 30px rgba(0, 81, 139, 0.3);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(174px, 21vh, 246px) var(--pad) 52px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/trefoil-pattern-spaced.png");
  background-repeat: repeat;
  background-position: center top;
  background-size: 52px auto;
  content: "";
  opacity: 0.042;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 94%);
  animation: hero-pattern-drift 18s ease-in-out infinite alternate;
}

.hero__eyebrow,
.section-label {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Circe", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 17%;
}

.hero__eyebrow::before {
  width: 42px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translateY(-2px);
}

.hero__eyebrow-copy > span + span::before {
  content: " ";
}

.hero__title {
  position: relative;
  z-index: 2;
  margin: 5vh 0 3vh;
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(68px, 9.7vw, 190px);
  font-weight: 700;
  color: #17123d;
  line-height: 0.92;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(1.1em);
  animation: title-rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__line--one {
  animation-delay: 1.65s;
}

.hero__line--two {
  margin-top: -0.12em;
  margin-left: 8.5%;
  padding-top: 0.18em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(105deg, var(--brand-violet) 0%, var(--brand-navy) 52%, var(--brand-blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  animation-delay: 1.75s;
}

.hero__yo {
  display: inline-block;
  padding-top: 0.18em;
  margin-top: -0.18em;
  overflow: visible;
  color: var(--brand-navy);
  background: none;
  -webkit-text-fill-color: var(--brand-navy);
}

.hero__line--three {
  margin-top: 0.045em;
  margin-left: 39%;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand-navy);
  animation-delay: 1.85s;
}

.hero__dot {
  color: var(--brand-blue);
  -webkit-text-stroke: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 48px;
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Circe", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  animation: arrow-bob 1.5s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 48%, var(--blue-light) 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 15px 0 12px;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  min-width: 100vw;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
}

.marquee span {
  padding: 0 26px;
  font-family: "Circe", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.marquee i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.manifesto {
  --manifesto-x: clamp(34px, 4.2vw, 68px);
  --manifesto-y: clamp(72px, 8.8vw, 144px);
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(450px, 1.15fr);
  gap: var(--manifesto-x);
  padding: var(--manifesto-y) var(--pad);
  background: var(--white);
}

.manifesto__portrait {
  display: flex;
  align-self: stretch;
}

.manifesto__portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
}

.manifesto__portrait-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  content: "";
}

.manifesto__portrait-frame img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 32%;
  transform: translateY(var(--parallax-y, -5%)) scale(1.02);
  filter: saturate(0.82) contrast(1.04);
  transition: filter 0.7s ease;
}

.manifesto__portrait-frame:hover img {
  filter: saturate(1) contrast(1);
}

.manifesto__portrait-index {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: "Circe", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.manifesto__text {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  padding-top: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.section-label::before {
  width: 8px;
  height: 8px;
  background: var(--acid);
  content: "";
}

.manifesto h2,
.people h2,
.about h2,
.contact h2 {
  font-family: "Circe", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.manifesto h2 {
  margin: 0 0 var(--manifesto-x);
  font-size: clamp(38px, 4.96vw, 83px);
  line-height: 0.94;
}

.manifesto__copy {
  max-width: 790px;
  margin-bottom: 52px;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(19px, 1.58vw, 27px);
  line-height: 1.48;
}

.manifesto__copy p {
  margin: 0;
}

.manifesto__copy p + p {
  margin-top: 1em;
}

.founder {
  display: flex;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 62px);
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.founder__signature-wrap {
  position: relative;
  display: block;
  width: 150px;
  aspect-ratio: 8 / 3;
  flex: 0 0 150px;
}

.founder__signature {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.founder p {
  display: grid;
  width: min(100%, 380px);
  gap: 8px;
  margin: 0;
}

.founder p > span {
  max-width: 330px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.founder__role-break {
  display: inline;
}

.founder a {
  position: relative;
  width: fit-content;
  padding-bottom: 4px;
  font-family: "Circe", Arial, sans-serif;
  font-size: 17px;
}

.founder a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: left center;
}

.founder a > span {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.external-link-icon {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  vertical-align: 0.02em;
}

.external-link-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.founder__name {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: none !important;
  gap: 8px;
  color: var(--ink-deep) !important;
  font-size: 17px;
}

.founder__shamrock {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  background: var(--blue-deep);
  -webkit-mask: url("assets/images/shamrock_ss.png") center / contain no-repeat;
  mask: url("assets/images/shamrock_ss.png") center / contain no-repeat;
  opacity: 0.78;
}

.people {
  --people-heading-space: clamp(90px, 11vw, 180px);
  padding: var(--people-heading-space) var(--pad);
  background: var(--paper);
}

.people h2.people__section-title {
  margin: 0 0 var(--people-heading-space);
}

.people__section-title::before {
  display: none;
}

.people__head {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(500px, 1.5fr) minmax(240px, 0.55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.people h2 {
  margin: 0;
  font-size: clamp(58px, 7.8vw, 132px);
  line-height: 0.9;
  text-transform: uppercase;
}

.people__quote {
  display: grid;
  gap: 18px;
  align-self: end;
}

.people__quote-mark {
  position: relative;
  display: block;
  width: clamp(154px, 13vw, 210px);
  height: clamp(128px, 11.5vw, 186px);
}

.people__quote-mark::before,
.people__quote-mark::after {
  position: absolute;
  top: 0;
  width: 47%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  -webkit-mask: url("assets/images/quote-mask-cdr.png") center / 100% 100% no-repeat;
  mask: url("assets/images/quote-mask-cdr.png") center / 100% 100% no-repeat;
}

.people__quote-mark::before {
  left: 0;
  background-image: url("assets/images/quote-photo-1.webp");
  background-position: center;
}

.people__quote-mark::after {
  right: 0;
  background-image: url("assets/images/quote-photo-2.webp");
  background-position: center;
}

.people__quote blockquote {
  margin: 0;
  color: var(--ink-deep);
  font-family: "Constantia Local", Georgia, serif;
  font-size: clamp(17px, 1.25vw, 22px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.38;
}

.people__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 86px) clamp(14px, 1.8vw, 30px);
}

.person {
  position: relative;
  min-width: 0;
}

.person:nth-child(7n + 2),
.person:nth-child(7n + 5) {
  transform: translateY(54px);
}

.person__image {
  position: relative;
  aspect-ratio: 0.79;
  overflow: hidden;
  background: #deddd6;
}

.person__image::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent 0, transparent 18%, rgba(41, 35, 79, 0.18) 100%);
  content: "";
  opacity: 0;
  transition: opacity 0.35s ease;
}

.person:hover .person__image::after {
  opacity: 1;
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1);
  transform: scale(1.015);
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.person:hover img {
  filter: grayscale(0%) contrast(1.02);
  transform: scale(1.07);
}

.person--image-fill img {
  transform: scale(1.12);
}

.person--image-fill:hover img {
  transform: scale(1.18);
}

.person__mark {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 34px;
  aspect-ratio: 175.371 / 167.274;
  filter: drop-shadow(0 2px 8px rgba(24, 21, 47, 0.3));
}

.person__mark::before,
.person__mark::after {
  position: absolute;
  inset: 0;
  display: block;
  background: center / contain no-repeat;
  content: "";
  transition: opacity 0.45s ease;
}

.person__mark::before {
  background-image: url("assets/images/style-mark-default.svg?v=20260926-23");
}

.person__mark::after {
  background-image: url("assets/images/style-mark-active.svg?v=20260926-28");
  opacity: 0;
}

.person:hover .person__mark::before {
  opacity: 0;
}

.person:hover .person__mark::after {
  opacity: 1;
}

.person__name {
  margin: 18px 0 8px;
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1;
}

.person__city {
  color: var(--muted);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 0.64em;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.person__city::before {
  margin: 0 6px;
  color: var(--acid);
  content: "●";
}

.person__role {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.person--join {
  position: relative;
  display: flex;
  min-height: 0;
  aspect-ratio: 0.79;
  overflow: hidden;
  container-type: inline-size;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(30, 86, 141, 0.5);
  color: var(--ink-deep);
  background: rgba(255, 255, 255, 0.38);
  transition:
    color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.people__grid > .person--join {
  transform: none;
}

.join-card__label {
  position: relative;
  z-index: 2;
  font-family: "Circe", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.join-card__title {
  position: relative;
  z-index: 2;
  margin: auto 0;
  font-family: "Circe", Arial, sans-serif;
  /* Size from the card itself: at the five-column breakpoint the viewport
     grows while each card becomes narrower. Viewport units clipped the word. */
  font-size: clamp(24px, 12.5cqi, 42px);
  line-height: 1;
  letter-spacing: -0.012em;
}

.join-card__mark {
  position: absolute;
  right: 0;
  bottom: -18%;
  width: 82%;
  aspect-ratio: 7459 / 7070;
  color: var(--blue-deep);
  opacity: 0.08;
  transition:
    color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.join-card__mark i {
  position: absolute;
  inset: 0;
  display: block;
  background: currentColor;
  -webkit-mask: url("assets/images/ring.svg") center / contain no-repeat;
  mask: url("assets/images/ring.svg") center / contain no-repeat;
}

.join-card__mark i:first-child {
  transform: translate(-3.2%, 1.2%) rotate(-1.5deg);
}

.join-card__mark i:last-child {
  transform: translate(3.2%, -1.2%) rotate(1.5deg);
}

.join-card__arrow {
  position: relative;
  z-index: 2;
  width: clamp(40px, 4vw, 64px);
  align-self: flex-end;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.person--join:hover {
  border-color: var(--blue-deep);
  color: var(--white);
  background: var(--blue-deep);
}

.person--join:hover .join-card__mark {
  color: var(--white);
  opacity: 0.16;
  transform: translate(-5%, -4%) rotate(-7deg) scale(1.08);
}

.person--join:hover .join-card__arrow {
  transform: translate(5px, -5px);
}

.projects {
  --projects-heading-space: clamp(92px, 8vw, 150px);
  position: relative;
  padding: var(--projects-heading-space) var(--pad) clamp(100px, 12vw, 190px);
  overflow: visible;
  color: var(--ink-deep);
  background: #e9eef4;
}

.projects__head {
  position: relative;
  margin-bottom: var(--projects-heading-space);
}

.projects__brand-mark {
  position: absolute;
  z-index: 1;
  top: clamp(-512px, -20vw, -154px);
  left: 0;
  width: calc((100% - 24px) / 3);
  aspect-ratio: 1.05;
  margin: 0;
  isolation: isolate;
}

@media (min-width: 1101px) {
  .projects__brand-mark {
    /* Lift the complete animated shape into the white field, while keeping
       a protected strip below the final expert caption. */
    top: calc(
      0px - var(--projects-heading-space) -
      clamp(24px, 2vw, 42px) -
      clamp(48px, 5vw, 96px) -
      clamp(15px, calc(40px - 1vw), 28px) -
      78px
    );
    width: min(calc((100% - 24px) / 3), 700px);
  }
}

.projects__brand-mark span {
  position: absolute;
  inset: 7%;
  display: block;
  -webkit-mask: url("assets/images/style-mark-default.svg") center / contain no-repeat;
  mask: url("assets/images/style-mark-default.svg") center / contain no-repeat;
  transform-origin: 50% 52%;
}

.projects__brand-photo {
  z-index: 1;
  background:
    linear-gradient(145deg, rgba(0, 81, 139, 0.06), rgba(41, 17, 69, 0.18)),
    url("assets/images/cape-nikolaya-final.jpg") center / cover no-repeat;
  transform: translate(-7%, 4%) rotate(-5deg);
  animation: projects-mark-photo 9s ease-in-out infinite alternate;
}

.projects__brand-tint {
  z-index: 2;
  background: linear-gradient(145deg, rgba(140, 196, 233, 0.52) 0%, rgba(63, 135, 193, 0.38) 46%, rgba(41, 17, 69, 0.3) 100%);
  mix-blend-mode: multiply;
  opacity: 0.72;
  transform: translate(8%, -5%) rotate(5deg) scale(1.02);
  animation: projects-mark-tint 8s ease-in-out infinite alternate;
}

.projects h2 {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 0 0 clamp(96px, 16vw, 340px);
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(58px, 7.8vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.projects h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-navy);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(13, 42, 90, 0.24);
  border-bottom: 1px solid rgba(13, 42, 90, 0.24);
}

.project-card {
  position: relative;
  min-height: 470px;
  padding: 30px clamp(22px, 2.3vw, 40px) 42px;
  overflow: hidden;
  border-right: 1px solid rgba(13, 42, 90, 0.24);
  transition: color 0.45s ease, background-color 0.45s ease;
}

.project-card:last-child {
  border-right: 0;
}

.project-card::after {
  position: absolute;
  right: -22%;
  bottom: -44%;
  width: 76%;
  aspect-ratio: 7459 / 7070;
  background: var(--brand-blue);
  content: "";
  opacity: 0.07;
  -webkit-mask: url("assets/images/ring.svg") center / contain no-repeat;
  mask: url("assets/images/ring.svg") center / contain no-repeat;
  transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  color: var(--white);
  background: var(--brand-navy);
}

.project-card:hover::after {
  opacity: 0.2;
  transform: translate(-8%, -8%) rotate(-8deg);
}

.project-card__index {
  display: block;
  margin-bottom: clamp(72px, 8vw, 126px);
  color: var(--brand-blue);
  font-family: "Circe", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.project-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(14px, 1.15vw, 18px);
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(27px, 2.35vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.012em;
}

.project-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
  transition: color 0.45s ease;
}

.project-card p + p {
  margin-top: 16px;
}

.project-card .project-card__subtitle {
  color: var(--brand-blue);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-card__description {
  margin-top: clamp(24px, 1.8vw, 30px);
}

.project-card:hover p,
.project-card:hover .project-card__subtitle,
.project-card:hover .project-card__index {
  color: rgba(255, 255, 255, 0.76);
}

/* Interactive project scenes */
.projects__grid {
  gap: 12px;
  border: 0;
}

.project-card {
  display: grid;
  min-height: 610px;
  grid-template-rows: auto 210px 1fr;
  padding: 28px clamp(24px, 2.2vw, 38px) 38px;
  border: 1px solid rgba(13, 42, 90, 0.2);
  background: rgba(255, 255, 255, 0.66);
  isolation: isolate;
  will-change: transform;
  transition: color 0.5s ease, background-color 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.project-card::after { display: none; }

.project-card--creation {
  color: var(--white);
  background: var(--brand-navy);
}

.project-card--merlons { background: #cbddec; }

.project-card:hover {
  color: inherit;
  background: inherit;
  box-shadow: 0 24px 70px rgba(13, 42, 90, 0.16);
  transform: translateY(-8px);
}

.project-card__index {
  margin: 0;
  color: var(--brand-blue);
}

.project-card--creation .project-card__index { color: var(--blue-light); }

.project-card__visual {
  position: relative;
  align-self: stretch;
  margin: 22px 0 28px;
  overflow: hidden;
}

.project-card__content {
  position: relative;
  z-index: 2;
  align-self: end;
}

.project-card h3 { font-size: clamp(27px, 2.1vw, 38px); }
.project-card--creation p { color: rgba(255, 255, 255, 0.65); }
.project-card--creation .project-card__subtitle { color: var(--blue-light); }
.project-card--merlons:hover .project-card__subtitle { color: var(--brand-blue); }
.project-card:hover p,
.project-card:hover .project-card__index { color: inherit; }

.project-route svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--brand-blue);
}

.project-route path {
  fill: none;
  stroke: var(--brand-navy);
  stroke-width: 2;
  stroke-dasharray: 8 8;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-route circle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-route span {
  position: absolute;
  color: var(--brand-navy);
  font-family: "Circe", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.project-route span:first-of-type { bottom: 10px; left: 8px; }
.project-route span:last-of-type { top: 12px; right: 4px; }
.project-card:hover .project-route path { stroke-dashoffset: -64; }
.project-card:hover .project-route circle { transform: scale(1.55); }

.project-construction { perspective: 600px; }

.project-construction i {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(140, 196, 233, 0.12);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.45s ease;
}

.project-construction i:nth-child(1) { inset: 16% 46% 12% 8%; }
.project-construction i:nth-child(2) { inset: 5% 8% 50% 48%; }
.project-construction i:nth-child(3) { inset: 54% 10% 8% 53%; }
.project-construction i:nth-child(4) { width: 22%; height: 34%; top: 24%; left: 39%; transform: rotate(18deg); }
.project-construction i:nth-child(5) { width: 16%; height: 27%; top: 7%; left: 25%; transform: rotate(-12deg); }
.project-card:hover .project-construction i:nth-child(1) { transform: translate(-8px, 8px) rotateY(12deg); }
.project-card:hover .project-construction i:nth-child(2) { transform: translate(9px, -8px) rotateX(12deg); }
.project-card:hover .project-construction i:nth-child(3) { transform: translate(10px, 7px) rotateY(-14deg); }
.project-card:hover .project-construction i:nth-child(4) { transform: translateY(-10px) rotate(27deg); background: rgba(140, 196, 233, 0.3); }
.project-card:hover .project-construction i:nth-child(5) { transform: translateY(9px) rotate(-20deg); background: rgba(140, 196, 233, 0.24); }

.project-pattern {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  padding: 20px 0 8px;
}

.project-pattern i {
  width: 14%;
  height: var(--h, 72%);
  background: var(--brand-navy);
  clip-path: polygon(0 0, 34% 0, 34% 22%, 66% 22%, 66% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: bottom center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.project-pattern i:nth-child(2) { --h: 48%; }
.project-pattern i:nth-child(3) { --h: 86%; }
.project-pattern i:nth-child(4) { --h: 62%; }
.project-pattern i:nth-child(5) { --h: 95%; }
.project-pattern i:nth-child(6) { --h: 54%; }
.project-pattern i:nth-child(7) { --h: 78%; }
.project-card:hover .project-pattern i { transform: scaleY(1.12); }
.project-card:hover .project-pattern i:nth-child(even) { transform: scaleY(0.84) translateY(-8px); background: var(--brand-blue); }

/* Project cards use large typographic numbering instead of decorative scenes. */
.project-card {
  grid-template-rows: 1fr auto;
  padding-bottom: 28px;
}

.project-card__content {
  align-self: start;
  padding-top: 52px;
}

.project-card__number {
  display: block;
  align-self: end;
  justify-self: end;
  color: transparent;
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(150px, 14vw, 245px);
  font-weight: 700;
  line-height: 0.68;
  letter-spacing: -0.09em;
  -webkit-text-stroke: 1.5px rgba(13, 42, 90, 0.38);
  transition: color 0.45s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), -webkit-text-stroke-color 0.45s ease;
}

.project-card--creation .project-card__number {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.42);
}

.project-card:hover .project-card__number {
  color: rgba(0, 81, 139, 0.08);
  -webkit-text-stroke-color: var(--brand-blue);
  transform: translateY(-6px);
}

.project-card--creation:hover .project-card__number {
  color: rgba(140, 196, 233, 0.08);
  -webkit-text-stroke-color: var(--blue-light);
}

.project-card--route:hover .project-card__subtitle,
.project-card--merlons:hover .project-card__subtitle {
  color: var(--brand-blue);
}

.project-card--creation:hover .project-card__subtitle {
  color: var(--blue-light);
}

.project-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.55s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card--route::before {
  background-image:
    linear-gradient(145deg, rgba(9, 17, 42, 0.86), rgba(13, 42, 90, 0.7)),
    url("assets/images/project-edu.jpg");
  background-position: 54% center;
}

.project-card--creation::before {
  background-image:
    linear-gradient(145deg, rgba(9, 17, 42, 0.82), rgba(0, 81, 139, 0.64)),
    url("assets/images/project-exp.jpg");
  background-position: 48% center;
}

.project-card--merlons::before {
  background-image:
    linear-gradient(145deg, rgba(9, 17, 42, 0.78), rgba(41, 17, 69, 0.62)),
    url("assets/images/project-merlon.jpg");
  background-position: center 46%;
}

.project-card.has-custom-image::before {
  background-image:
    linear-gradient(145deg, rgba(9, 17, 42, 0.82), rgba(13, 42, 90, 0.66)),
    var(--project-image);
}

.project-card:is(:hover, :focus-visible, :target)::before {
  opacity: 1;
  transform: scale(1);
}

.project-card:is(:hover, :focus-visible, :target) {
  color: var(--white);
  background: var(--brand-navy);
  box-shadow: 0 24px 70px rgba(13, 42, 90, 0.22);
  outline: none;
  transform: translateY(-8px);
}

.project-card:is(:hover, :focus-visible, :target) p,
.project-card:is(:hover, :focus-visible, :target) .project-card__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.project-card:is(:hover, :focus-visible, :target) .project-card__number {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.68);
  transform: translateY(-6px);
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(40px, 8vw, 150px);
  min-height: 800px;
  padding: clamp(100px, 13vw, 220px) var(--pad);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.about__number {
  align-self: start;
  color: transparent;
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(180px, 27vw, 480px);
  line-height: 0.72;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.about__content {
  position: relative;
  z-index: 2;
}

.about .section-label {
  color: rgba(255, 255, 255, 0.62);
}

.about h2 {
  max-width: 1050px;
  margin: 62px 0;
  font-size: clamp(54px, 6.4vw, 110px);
  line-height: 0.94;
}

.about__copy {
  max-width: 760px;
  margin: 0 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.55;
}

.about__copy strong {
  color: var(--white);
}

.about__symbol {
  position: absolute;
  bottom: -22vw;
  left: 3vw;
  width: min(44vw, 720px);
  color: var(--white);
  opacity: 0.08;
  transform: rotate(-12deg);
}

.contact {
  position: relative;
  padding: clamp(110px, 14vw, 240px) var(--pad) clamp(54px, 5vw, 82px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 17, 42, 0.94) 0%, rgba(9, 17, 42, 0.86) 52%, rgba(9, 17, 42, 0.72) 100%),
    url("assets/images/cape-nikolaya-final.jpg") center 48% / cover no-repeat;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.55);
}

.contact > * {
  margin-left: 0;
  text-align: left;
  text-indent: 0;
}

.contact__subtitle {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(20px, 2.3vw, 38px);
  line-height: 1.25;
}

.contact h2 {
  --contact-heading-space: clamp(36px, 3.5vw, 60px);
  --contact-heading-balance: clamp(1px, calc(0.7vw - 4.4px), 4px);
  position: relative;
  left: -0.09em;
  max-width: 1320px;
  margin: var(--contact-heading-space) 0 calc(var(--contact-heading-space) + var(--contact-heading-balance));
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(58px, 7.8vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.018em;
  /* Align the visible uppercase glyph with the section axis.
     `left` is intentional: the reveal animation owns `transform`. */
  text-transform: uppercase;
}

.contact__mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(25px, 4.2vw, 74px);
  letter-spacing: -0.04em;
  transition: color 0.35s ease;
}

.contact__mail:hover {
  color: var(--acid);
}

.contact__mail svg {
  width: clamp(48px, 6vw, 90px);
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact__mail:hover svg {
  transform: rotate(45deg);
}

.footer {
  padding: clamp(38px, 3.5vw, 56px) var(--pad) 24px;
  color: var(--white);
  background: var(--brand-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.footer__main {
  display: grid;
  width: min(100%, 1500px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0;
  row-gap: clamp(20px, 1.8vw, 28px);
  align-items: start;
  margin: 0 auto;
  padding-bottom: clamp(22px, 1.8vw, 28px);
}

.footer__about {
  display: contents;
}

.footer__logo {
  display: block;
  grid-column: 1 / -1;
  grid-row: 1;
  width: clamp(155px, 13vw, 190px);
}

.footer__logo img {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer__about p {
  grid-column: 1;
  grid-row: 2;
  max-width: 720px;
  margin: 0;
  padding-right: clamp(36px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.7);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  font-size: clamp(11px, 0.82vw, 12px);
  line-height: 1.55;
}

.footer__about strong {
  color: var(--white);
}

.footer__links {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  align-content: start;
  justify-items: start;
  gap: clamp(13px, 0.9vw, 16px);
  min-height: 100%;
  padding: 0 0 2px clamp(28px, 2.5vw, 40px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.25;
}

.footer__links a,
.footer__links button {
  width: fit-content;
  max-width: 100%;
}

.footer__links button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer a:hover,
.footer button:hover {
  color: var(--acid);
}

.footer__bottom {
  display: flex;
  width: min(100%, 1500px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.footer__copyright {
  width: min(100%, 1500px);
  margin: 0;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.48);
}

.footer__credit {
  display: inline-flex;
  width: fit-content;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer__credit img {
  width: 31px;
  height: 28px;
  object-fit: contain;
  opacity: 0.74;
}

.footer__credit-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.24);
}

.footer__credit:hover {
  color: var(--white);
}

.footer__credit:hover img {
  opacity: 1;
}

.cookie-notice {
  position: fixed;
  z-index: 850;
  right: clamp(16px, 3vw, 48px);
  bottom: clamp(16px, 3vw, 48px);
  width: min(430px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid rgba(13, 42, 90, 0.14);
  border-radius: 24px;
  color: var(--ink-deep);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(13, 42, 90, 0.24);
  backdrop-filter: blur(18px);
  animation: cookie-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice h2 {
  margin: 0 0 12px;
  font-family: "Circe", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.08;
}

.cookie-notice p {
  margin: 0;
  color: #514d60;
  font-size: 15px;
  line-height: 1.5;
}

.cookie-notice p [data-privacy-open] {
  display: inline;
  padding: 0;
  border: 0;
  color: var(--brand-navy);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  cursor: pointer;
}

.cookie-notice__accept {
  width: 100%;
  margin-top: 24px;
  padding: 14px 18px 12px;
  border: 1px solid rgba(24, 21, 47, 0.55);
  border-radius: 2px;
  color: var(--ink-deep);
  background: var(--white);
  font-family: "Circe", Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.cookie-notice__accept:hover {
  border-color: var(--brand-navy);
  color: var(--white);
  background: var(--brand-navy);
}

.privacy {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  color: var(--ink-deep);
  background: var(--paper);
}

.privacy::backdrop {
  background: rgba(24, 21, 47, 0.74);
  backdrop-filter: blur(10px);
}

.privacy[open] {
  animation: dialog-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.privacy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.privacy__head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 27px;
  cursor: pointer;
}

.privacy__body {
  padding: clamp(32px, 6vw, 72px);
}

.privacy h2 {
  margin: 0 0 30px;
  font-family: "Circe", Arial, sans-serif;
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.012em;
}

.privacy p {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

.privacy__source {
  display: inline-block;
  margin-top: 18px;
  padding: 16px 20px 13px;
  color: var(--white);
  background: var(--ink);
  font-family: "Circe", Arial, sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-image .manifesto__portrait-frame {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.25s cubic-bezier(0.77, 0, 0.18, 1);
}

.reveal-image.is-visible .manifesto__portrait-frame {
  clip-path: inset(0 0 0 0);
}

.person {
  opacity: 0;
  translate: 0 60px;
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.person.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* Keep the reveal transition without overriding the join card's hover motion. */
.person.person--join {
  transition:
    opacity 0.8s ease,
    translate 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes intro-mark {
  0% { opacity: 0; transform: scale(0.92); }
  16% { opacity: 1; }
  82% { transform: scale(1); }
  92% { transform: scale(1.045); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes ring-left-in {
  0% { opacity: 0; transform: translate(-125%, 16%) rotate(-28deg) scale(0.66); }
  18% { opacity: 1; }
  72% { opacity: 1; transform: translate(-3.2%, 1.2%) rotate(-1.5deg) scale(1); }
  87% { transform: translate(1%, -0.4%) rotate(0.5deg) scale(1.025); }
  100% { opacity: 1; transform: translate(-3.2%, 1.2%) rotate(-1.5deg) scale(1); }
}

@keyframes ring-right-in {
  0% { opacity: 0; transform: translate(125%, -16%) rotate(28deg) scale(0.66); }
  18% { opacity: 1; }
  72% { opacity: 1; transform: translate(3.2%, -1.2%) rotate(1.5deg) scale(1); }
  87% { transform: translate(-1%, 0.4%) rotate(-0.5deg) scale(1.025); }
  100% { opacity: 1; transform: translate(3.2%, -1.2%) rotate(1.5deg) scale(1); }
}

@keyframes intro-copy {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 0.72; transform: translateY(0); }
}

@keyframes intro-out {
  to { visibility: hidden; transform: translateY(-100%); }
}

@keyframes title-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-pattern-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(-0.8%, 0.7%, 0); }
}

@keyframes projects-mark-photo {
  from { transform: translate(-7%, 4%) rotate(-5deg); }
  to { transform: translate(-3%, 1%) rotate(-2deg) scale(1.025); }
}

@keyframes projects-mark-tint {
  from { transform: translate(8%, -5%) rotate(5deg) scale(1.02); }
  to { transform: translate(4%, -1%) rotate(2deg) scale(0.985); }
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(50px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(34px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 1720px) {
  .people__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .hero__title {
    font-size: clamp(60px, 9.2vw, 108px);
  }

  .hero__line--two {
    margin-left: 4%;
  }

  .hero__line--three {
    margin-left: 35%;
  }

  .manifesto {
    --manifesto-x: 44px;
  }

  .people__head {
    grid-template-columns: 1fr 2fr;
  }

  .people__quote {
    grid-column: 2;
    grid-template-columns: minmax(120px, 0.55fr) minmax(260px, 1.45fr);
    align-items: center;
    margin-top: 24px;
  }

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

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

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-card {
    min-height: 320px;
    grid-template-columns: 56px minmax(0, 1.15fr) minmax(250px, 0.85fr);
    grid-template-rows: 1fr;
    gap: 28px;
    align-items: center;
    border: 1px solid rgba(13, 42, 90, 0.2);
  }

  .project-card__index {
    align-self: start;
    margin: 4px 0 0;
  }

  .project-card__visual {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    height: 210px;
    margin: 0;
  }

  .project-card__content {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .project-card--creation .project-card__visual { grid-column: 2; }
  .project-card--creation .project-card__content { grid-column: 3; }

  .about {
    grid-template-columns: 0.35fr 1.65fr;
  }

  .footer { font-size: 11px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .manifesto {
    grid-template-columns: minmax(0, 1fr);
  }

  .manifesto__portrait {
    width: min(70vw, 560px);
  }

  .manifesto__portrait-frame {
    height: auto;
    aspect-ratio: 0.84;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .projects {
    --projects-heading-space: clamp(54px, 6vw, 68px);
    padding-top: clamp(78px, 8vw, 94px);
  }

  .projects__head {
    min-height: clamp(205px, 23vw, 255px);
  }

  .projects__brand-mark {
    top: clamp(-176px, -16vw, -122px);
    left: 68%;
    width: 32%;
  }

  .projects h2 {
    width: 62%;
    max-width: none;
    margin-left: 0;
    font-size: clamp(52px, 6vw, 66px);
  }

  .projects h2 span {
    margin-top: 8px;
    font-size: 0.88em;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }

  html {
    scroll-padding-top: 75px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 66px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    width: 145px;
  }

  .site-nav a:not(.site-nav__contact) {
    display: none;
  }

  .site-nav__contact {
    padding: 10px 13px 8px;
    font-size: 10px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 140px;
  }

  .hero__eyebrow {
    margin-left: 0;
    font-size: 9px;
  }

  .hero__eyebrow-copy > span:last-child {
    display: block;
  }

  .hero__eyebrow-copy > span + span::before {
    content: none;
  }

  .hero__title {
    position: absolute;
    top: 50%;
    right: auto;
    left: 50%;
    width: max-content;
    max-width: calc(100vw - (2 * var(--pad)));
    margin: 0;
    font-size: clamp(31px, 9.9vw, 50px);
    line-height: 0.92;
    letter-spacing: -0.014em;
    text-align: left;
    transform: translate(-50%, -50%);
  }

  .hero__line--two {
    margin-top: 0;
    margin-left: clamp(8px, 4vw, 18px);
    padding-top: 0;
    font-size: 1em;
  }

  .hero__line--three {
    margin-top: 0;
    margin-left: clamp(78px, 27vw, 128px);
    -webkit-text-stroke-width: 1px;
  }

  .hero__scroll {
    bottom: 30px;
  }

  .hero__symbol {
    right: -26vw;
    bottom: -2vw;
    width: 80vw;
  }

  .manifesto {
    --manifesto-x: 32px;
    --manifesto-y: 67px;
    grid-template-columns: 1fr;
  }

  .manifesto__portrait-frame {
    height: auto;
    aspect-ratio: 0.86;
  }

  .manifesto__text {
    padding-top: 0;
  }

  .manifesto h2 {
    font-size: 43px;
  }

  .manifesto__copy {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.5;
  }

  .founder {
    display: grid;
    margin-top: 52px;
  }

  .founder p > span:first-child {
    white-space: normal;
  }

  .founder__role-break {
    display: inline;
  }

  .people {
    --people-heading-space: 92px;
    padding-top: 92px;
    /* Keep the projects artwork clear of the final expert caption in the
       two-column mobile grid. The artwork intentionally rises 108px above
       its section, so it needs a protected strip here. */
    padding-bottom: 212px;
  }

  .people__head {
    display: block;
    margin-bottom: 62px;
  }

  .people h2 {
    margin: 35px 0;
    font-size: 48px;
    line-height: 0.94;
  }

  .people__quote {
    grid-template-columns: 92px 1fr;
    gap: 16px;
    margin-top: 42px;
  }

  .people__quote-mark {
    width: 92px;
    height: 76px;
  }

  .people__quote blockquote {
    font-size: 17px;
    line-height: 1.4;
  }

  .people__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 10px;
  }

  .person:nth-child(7n + 2),
  .person:nth-child(7n + 5) {
    transform: none;
  }

  .person:nth-child(even) {
    transform: translateY(30px);
  }

  .person__image {
    aspect-ratio: 0.78;
  }

  .person__mark {
    top: 8px;
    right: 8px;
    width: 28px;
  }

  .person__name {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.05;
  }

  .person__city {
    display: block;
    margin-top: 7px;
    font-size: 10px;
  }

  .person__city::before {
    margin-left: 0;
  }

  .person__role {
    font-size: 11px;
  }

  .person--join {
    padding: 16px;
  }

  .projects {
    --projects-heading-space: 64px;
    position: relative;
    display: flow-root;
    padding-top: 0;
    padding-bottom: 92px;
    overflow: visible;
  }

  .projects__head {
    display: block;
    z-index: 3;
    width: 100%;
    min-height: 210px;
    margin-top: 0;
    margin-bottom: 18px;
    margin-left: 0;
    padding: 48px 0 30px;
    background: transparent;
  }

  .projects__brand-mark {
    position: absolute;
    z-index: 1;
    top: -148px;
    left: -20px;
    width: 243px;
    margin: 0;
  }

  .projects h2 {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    font-size: clamp(43px, 12.3vw, 52px);
    line-height: 0.94;
  }

  .projects h2 span {
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    font-size: 0.82em;
    white-space: nowrap;
  }

  .project-card {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 180px auto;
    gap: 18px;
    padding: 24px 20px 30px;
  }

  .project-card__index {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .project-card__visual,
  .project-card--creation .project-card__visual {
    grid-column: 1;
    grid-row: 2;
    height: 180px;
  }

  .project-card__content,
  .project-card--creation .project-card__content {
    grid-column: 1;
    grid-row: 3;
  }

  .project-card h3 {
    font-size: 31px;
  }

  .join-card__title {
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.04;
  }

  .about {
    display: block;
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .about__number {
    position: absolute;
    top: 40px;
    right: 20px;
    font-size: 160px;
    opacity: 0.55;
  }

  .about h2 {
    margin: 48px 0 54px;
    font-size: 51px;
  }

  .about__copy {
    font-size: 18px;
  }

  .about__symbol {
    right: -20vw;
    bottom: -20vw;
    left: auto;
    width: 85vw;
  }

  .contact {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .contact > * {
    margin-left: 0;
    text-align: left;
  }

  .contact h2 {
    --contact-heading-space: 32px;
    --contact-heading-balance: 3px;
    font-size: 48px;
  }

  .contact__subtitle {
    margin-top: 0;
    font-size: 20px;
  }

  .contact__mail {
    padding: 22px 0 18px;
    font-size: 24px;
  }

  .contact__mail svg {
    width: 46px;
  }

  .footer {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
    padding-bottom: 34px;
  }

  .footer__about {
    display: block;
    padding-right: 0;
  }

  .footer__logo {
    width: 190px;
  }

  .footer__about p {
    margin-top: 24px;
    padding-right: 0;
    font-size: 13px;
  }

  .footer__links {
    display: grid;
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
    font-size: 13px;
  }

  .footer__copyright {
    padding-top: 22px;
  }

  .footer__bottom {
    align-items: flex-end;
    gap: 18px;
  }

  .footer__copyright {
    padding-top: 0;
  }

  .footer__credit {
    gap: 10px;
    font-size: 10px;
  }

  .footer__credit img {
    width: 27px;
    height: 25px;
  }

  .footer__credit-divider {
    height: 24px;
  }

  .cookie-notice {
    right: 16px;
    bottom: 16px;
    padding: 24px 20px 20px;
    border-radius: 20px;
  }

  .cookie-notice h2 {
    font-size: 21px;
  }

  .cookie-notice p {
    font-size: 14px;
  }
}

@media (max-width: 370px) {
  .brand {
    width: 145px;
  }

  .people__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .people {
    padding-bottom: 92px;
  }

  .person:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .project-card {
    min-height: 340px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    gap: 34px;
  }

  .project-card__content,
  .project-card--creation .project-card__content {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding-top: 0;
  }

  .project-card__number {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: clamp(150px, 22vw, 220px);
  }
}

@media (max-width: 760px) {
  .project-card {
    min-height: 440px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 30px;
  }

  .project-card__content,
  .project-card--creation .project-card__content {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 0;
  }

  .project-card__number {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    font-size: clamp(120px, 42vw, 170px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .intro {
    display: none;
  }

  .hero__line,
  .reveal,
  .person {
    opacity: 1;
    transform: none;
    translate: none;
  }

  .reveal-image .manifesto__portrait-frame {
    clip-path: none;
  }
}

