:root {
  --bg-base: #f5f6f8;
    --bg-black: #050505a6;

  --grid-color: #d1d5db;
  --text-main: #111111;
  --text-muted: #6b7280;
  --nav-active: #4f46e5;

  /* 3D Claymorphism Shadows */
  --clay-shadow-light: 15px 20px 35px rgba(0, 0, 0, 0.08),
    -10px -10px 20px rgba(255, 255, 255, 0.8),
    inset 2px 4px 8px rgba(255, 255, 255, 0.9),
    inset -2px -4px 8px rgba(0, 0, 0, 0.05);

  --clay-shadow-dark: 15px 20px 35px rgba(0, 0, 0, 0.2),
    inset 2px 4px 8px rgba(255, 255, 255, 0.2),
    inset -2px -4px 8px rgba(0, 0, 0, 0.6);

  --clay-shadow-color: 15px 20px 35px rgba(0, 0, 0, 0.15),
    inset 2px 4px 8px rgba(255, 255, 255, 0.4),
    inset -2px -4px 8px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--bg-base);
  /* Dotted Grid Background */
  background-image: radial-gradient(var(--grid-color) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 150vh; /* Allows for scroll-driven animations */
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* --- Header & Navigation --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  position: relative;
  z-index: 100;
}

.projects-site-header {
  justify-content: center;
}

.projects-site-header nav {
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 12px;
  box-shadow: var(--clay-shadow-dark);
  overflow: hidden;
}

.logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease;
}

nav a.active {
  color: var(--nav-active);
}

nav a:hover {
  color: var(--nav-active);
}

.btn-connect {
  background-color: #000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: var(--clay-shadow-dark);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-connect:hover {
  transform: scale(1.05);
}

.btn-connect:active {
  transform: scale(0.95);
}

/* --- Hero Section --- */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-project {
   height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  background-color: radial-gradient(rgb(62, 41, 136) 1.5px, transparent 1.5px);;
}
.hero-project p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-project h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 800px;
}
.btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background-color: #000;
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--clay-shadow-dark);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-follow:hover {
  transform: scale(1.05);
}

.btn-follow:active {
  transform: scale(0.95);
  box-shadow: inset 4px 8px 12px rgba(0, 0, 0, 0.8);
}

/* --- 3D Clay Floating Elements --- */
.scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.clay-block {
  position: absolute;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  transition: filter 0.3s ease;
  transform-style: preserve-3d;
  background-size: cover;
  background-position: center;
}

.clay-block:hover {
  filter: brightness(1.1);
}

/* Specific blocks matching the image */
.cb-1 {
  width: 80px;
  height: 80px;
  background-color: #111;
  top: 20%;
  left: 28%;
  box-shadow: var(--clay-shadow-dark);
  border-radius: 22px;
  padding: 15px;
}

.cb-2 {
  width: 130px;
  height: 130px;
  background-color: #111;
  top: 40%;
  left: 12%;
  box-shadow: var(--clay-shadow-dark);
  padding: 20px;
}

.cb-3 {
  width: 180px;
  height: 180px;
  background-color: #e5e5e5;
  bottom: 15%;
  left: 24%;
  box-shadow: var(--clay-shadow-light);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 36px;
}

.cb-4 {
  width: 138px;
  height: 138px;
  top: 28%;
  right: 15%;
  padding: 8px;
  overflow: hidden;
  background-color: #f7f7f7;
  box-shadow: var(--clay-shadow-color);
  border-radius: 26px;
}

.cb-5 {
  width: 230px;
  height: 180px;
  background-color: #d1ea40;
  bottom: 12%;
  right: 18%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--clay-shadow-color);
}

/* Placeholder Content for the Clay Blocks to match aesthetic */
.clay-block img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.cb-3 img,
.cb-4 img,
.cb-5 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  border-radius: inherit;
}

.cb-4 img {
  object-position: center 35%;
}

.cb-5 img {
  object-position: center center;
}

/* --- Numbers / Proof Section --- */
.proof-section {
  position: relative;
  z-index: 5;
  margin: 0 auto;
  padding: 120px 32px 140px;
  border-top: 1px solid rgba(255, 253, 253, 0.14);
  background-color: #000;
  background-image: radial-gradient(rgb(62, 41, 136) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.proof-heading {
  display: grid;
  gap: 32px;
  align-items: start;
  margin-bottom: 74px;
}

.proof-label {
  color: var(--nav-active);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.proof-heading h2 {
  max-width: 820px;
  font-size: clamp(30px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.5px;
  color: var(--grid-color);  
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.proof-stat {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  box-shadow: var(--clay-shadow-light);
}

.proof-stat strong {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -1.5px;
}

.proof-stat span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.proof-closing {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: 32px;
  align-items: end;
  padding-top: 72px;
}

.proof-number {
  color: #fff;
  background: #111;
  border-radius: 24px;
  box-shadow: var(--clay-shadow-dark);
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 800;
  line-height: 0.72;
  padding: 44px 30px 54px;
  text-align: center;
}

.proof-copy {
  max-width: 680px;
  padding-bottom: 8px;
}

.proof-copy p {
  color: var(--bg-base);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  margin-top: 18px;
}

.proof-copy .proof-lead {
  color: var(--bg-base);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.02;
  margin-top: 0;
}

/* --- Story Section --- */
.story-section {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: 820px;
  padding: 120px 8vw 140px;
  overflow: hidden;
  color: #fff;
  background-color: rgb(62, 41, 136);
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.story-copy {
  max-width: 760px;
}

.story-kicker {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.story-copy h2 {
  max-width: 720px;
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -1.5px;
}

.story-text {
  max-width: 620px;
  margin-top: 54px;
}

.story-text p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.story-text p:first-child {
  margin-top: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.story-photos {
  position: relative;
  min-height: 560px;
}

.story-photo {
  position: absolute;
  width: clamp(170px, 19vw, 260px);
  aspect-ratio: 0.78;
  margin: 0;
  overflow: hidden;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: 12px 18px 28px rgba(24, 12, 63, 0.3);
}

.story-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-photo-one {
  top: 4%;
  left: 8%;
  transform: rotate(-8deg);
}

.story-photo-two {
  top: 30%;
  right: 4%;
  transform: rotate(7deg);
}

.story-photo-three {
  bottom: 2%;
  left: 26%;
  transform: rotate(-3deg);
}

/* --- Reality Section --- */
.reality-section {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 8vw 300px;
  overflow: hidden;
  background: #fff;
  color: #111;
}

.reality-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
}

.reality-copy h2 {
  font-size: clamp(42px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -2px;
}

.reality-copy p {
  margin-top: 28px;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.2;
}

.reality-cards {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.reality-card {
  position: absolute;
  top: 68%;
  width: clamp(150px, 17vw, 240px);
  height: 190px;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 30px rgba(17, 17, 17, 0.08);
}

.reality-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #f7f7f7;
}

.reality-card-one {
  left: 12%;
  transform: translateY(-50%) rotate(-7deg);
}

.reality-card-two {
  left: 42%;
  height: 230px;
  transform: translateY(-50%) rotate(3deg);
}

.reality-card-three {
  right: 10%;
  height: 165px;
  transform: translateY(-50%) rotate(8deg);
}

/* --- Strategy Section --- */
.strategy-section {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: 780px;
  padding: 120px 8vw;
  overflow: hidden;
  background: #f5f6f8;
  color: #111;
}

.strategy-copy {
  max-width: 820px;
}

.strategy-kicker {
  margin-bottom: 28px;
  color: var(--nav-active);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.strategy-copy h2 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -1.5px;
}

.strategy-copy h2 em {
  color: rgb(62, 41, 136);
  font-style: normal;
}

.strategy-intro,
.strategy-body {
  max-width: 620px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.strategy-intro {
  margin-top: 48px;
  font-size: 20px;
  line-height: 1.15;
}

.strategy-body {
  margin-top: 20px;
  color: var(--text-muted);
}

.strategy-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  color: rgb(62, 41, 136);
}

.strategy-svg {
  width: min(100%, 520px);
  height: auto;
  overflow: visible;
}

.strategy-caption {
  position: absolute;
  right: 4%;
  bottom: 6%;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* --- Home Editorial Sections --- */
.home-panel {
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.formation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(180px, 0.55fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  min-height: 760px;
  padding: 120px 8vw;
  background: rgb(62, 41, 136);
  color: #fff;
}

.panel-copy {
  position: relative;
  z-index: 2;
}

.panel-kicker {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.panel-copy h2,
.projects-heading h2,
.final-section h2 {
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -1.5px;
}

.panel-copy h2 em,
.projects-heading h2 em,
.final-section h2 em {
  color: #d9f13f;
  font-style: normal;
}

.panel-lead {
  margin-top: 42px;
  max-width: 620px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.16;
}

.panel-copy > p:not(.panel-kicker):not(.panel-lead),
.projects-heading > p:not(.panel-kicker),
.final-section > p:not(.panel-kicker) {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.panel-link,
.final-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: 38px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.panel-link span,
.final-link span {
  font-size: 20px;
  line-height: 0;
  transition: transform 0.25s ease;
}

.panel-link:hover span,
.final-link:hover span {
  transform: translate(4px, -4px);
}

.formation-number {
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(90px, 15vw, 220px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -8px;
}

.formation-gallery {
  position: relative;
  min-height: 500px;
}

.formation-card,
.archive-image {
  margin: 0;
  overflow: hidden;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: 14px 18px 32px rgba(15, 7, 46, 0.28);
}

.formation-card img,
.archive-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.formation-card-main {
  position: absolute;
  top: 8%;
  right: 6%;
  width: min(100%, 300px);
  aspect-ratio: 0.78;
  transform: rotate(5deg);
}

.formation-card-small {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 180px;
  aspect-ratio: 1;
  transform: rotate(-8deg);
}

.formation-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px #000;
}

.decisions-section {
  display: grid;
  grid-template-columns: 0.4fr minmax(0, 1.4fr) 0.8fr;
  gap: clamp(28px, 6vw, 100px);
  align-items: center;
  min-height: 720px;
  padding: 120px 8vw;
  background: #fff;
  color: #111;
}

.decisions-section .panel-kicker,
.decisions-section .panel-copy > p:not(.panel-kicker):not(.panel-lead) {
  color: var(--text-muted);
}

.decisions-section .panel-copy h2 em {
  color: rgb(62, 41, 136);
}

.decisions-index {
  align-self: start;
  color: rgb(62, 41, 136);
  font-size: clamp(80px, 13vw, 190px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -8px;
}

.decisions-mark {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  border: 2px solid rgb(62, 41, 136);
  transform: rotate(8deg);
}

.decisions-mark span {
  position: absolute;
  display: block;
  width: 36%;
  height: 36%;
  border: 2px solid rgb(62, 41, 136);
}

.decisions-mark span:nth-child(1) {
  top: -12%;
  left: -12%;
}

.decisions-mark span:nth-child(2) {
  right: -12%;
  bottom: -12%;
}

.decisions-mark span:nth-child(3) {
  top: 32%;
  left: 32%;
  background: rgb(62, 41, 136);
}

/* Formation and decisions share one continuous home section. */
.formation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: start;
  min-height: auto;
  padding: 110px 8vw 120px;
}

.formation-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 0.35fr);
  gap: 28px;
  align-items: start;
  min-height: 0;
}

.formation-decisions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.45fr);
  gap: 28px;
  align-items: start;
  margin-top: 0;
  padding: 0 0 0 clamp(28px, 4vw, 64px);
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.formation-gallery {
  grid-column: 1 / -1;
  min-height: 330px;
}

.formation-number {
  margin-top: 10px;
}

.formation-decisions .panel-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.formation-decisions .panel-copy h2 {
  max-width: 850px;
}

.formation-decisions .decisions-mark {
  border-color: #d9f13f;
  color: #d9f13f;
  justify-self: end;
}

.formation-decisions .decisions-mark span {
  border-color: #d9f13f;
}

.formation-decisions .decisions-mark span:nth-child(3) {
  background: #d9f13f;
}

.projects-section {
  padding: 120px 8vw 150px;
  background: #111;
  color: #fff;
}

.projects-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 0.8fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 70px;
}

.projects-heading h2 {
  max-width: 720px;
}

.projects-heading > p:not(.panel-kicker) {
  color: rgba(255, 255, 255, 0.62);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 16px;
  align-items: end;
}

.project-card {
  position: relative;
  display: block;
  min-height: 360px;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #333;
  cursor: pointer;
  text-align: left;
}

.project-card-wide {
  min-height: 510px;
}

.project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.project-card span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 10px #000;
}

.project-card span b {
  margin-left: 8px;
  font-size: 16px;
  font-weight: 500;
}

.projects-empty {
  padding: 48px 0 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 600;
}

.projects-empty[hidden] {
  display: none;
}

.admin-trigger {
  justify-self: end;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: #d9f13f;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
}

.admin-trigger span {
  margin-left: 16px;
  font-size: 20px;
  font-weight: 400;
}

.project-modal,
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  visibility: hidden;
  opacity: 0;
  place-items: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.project-modal.is-open,
.admin-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.project-modal-backdrop,
.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(8px);
}

.project-modal-dialog,
.admin-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 940px);
  max-height: 90vh;
  overflow: auto;
  background: #f5f6f8;
  color: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.project-modal-dialog {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.project-modal-dialog > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.project-modal-copy {
  align-self: center;
  padding: 56px;
}

.project-modal-copy .panel-kicker,
.admin-panel .panel-kicker {
  color: #4f46e5;
}

.project-modal-copy h2,
.admin-panel h2 {
  font-size: clamp(32px, 4vw, 62px);
  line-height: 0.94;
}

.project-modal-copy > p:last-child {
  margin-top: 28px;
  color: #5f636b;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #111;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.admin-panel {
  width: min(92vw, 640px);
  padding: 52px;
}

.admin-login,
.project-form {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.admin-login label,
.project-form label {
  margin-top: 8px;
  color: #686b72;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.admin-login input,
.project-form input,
.project-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #bfc2c8;
  outline: 0;
  color: #111;
  background: transparent;
  font: inherit;
}

.project-form textarea {
  resize: vertical;
}

.admin-login input:focus,
.project-form input:focus,
.project-form textarea:focus {
  border-bottom-color: #4f46e5;
}

.admin-login button,
.project-form-actions button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid #bfc2c8;
  color: #4f46e5;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
}

.admin-login button span,
.project-form-actions button span {
  font-size: 20px;
}

.admin-message {
  min-height: 18px;
  margin-top: 8px;
  color: #c02626;
  font-size: 12px;
}

.image-note {
  color: #686b72;
  font-size: 11px;
}

.project-form-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.project-form-actions .admin-secondary {
  border-top: 0;
  color: #686b72;
}

.admin-project-list {
  margin-top: 42px;
  border-top: 1px solid #bfc2c8;
}

.admin-project-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #bfc2c8;
  font-size: 13px;
  font-weight: 700;
}

.admin-project-item div {
  display: flex;
  gap: 12px;
}

.admin-project-item button {
  padding: 0;
  border: 0;
  color: #4f46e5;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.admin-project-item button[data-delete] {
  color: #c02626;
}

body.modal-is-open {
  overflow: hidden;
}

.archive-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(50px, 10vw, 160px);
  align-items: center;
  min-height: 720px;
  padding: 120px 12vw;
  background: #d9f13f;
  color: #111;
}

.archive-image {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 0.72;
  transform: rotate(-5deg);
}

.archive-image span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px #000;
}

.archive-section .panel-kicker,
.archive-section .panel-copy > p:not(.panel-kicker):not(.panel-lead) {
  color: rgba(17, 17, 17, 0.62);
}

.archive-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.25);
}

.archive-stats strong {
  font-size: 64px;
  line-height: 0.8;
}

.archive-stats span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.final-section {
  min-height: 680px;
  padding: 140px 8vw 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgb(62, 41, 136);
  color: #fff;
}

.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: center;
}

.final-section h2 {
  max-width: 920px;
}

.final-copy > p:not(.panel-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.final-link {
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.12);
}

.contact-form-title {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 800;
}

.contact-form label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  outline: 0;
  padding: 10px 0;
  color: #fff;
  background: transparent;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #d9f13f;
}

.contact-form button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  color: #d9f13f;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
}

.contact-form button span {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.contact-form button:hover span {
  transform: translate(4px, -4px);
}

.final-section footer {
  margin-top: auto;
  padding-top: 80px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .cb-1 {
    left: 10%;
    top: 15%;
    width: 60px;
    height: 60px;
  }
  .cb-2 {
    left: 5%;
    top: 35%;
    width: 90px;
    height: 90px;
  }
  .cb-3 {
    left: 10%;
    bottom: 20%;
    width: 120px;
    height: 120px;
  }
  .cb-4 {
    right: 5%;
    top: 20%;
    width: 80px;
    height: 80px;
  }
  .cb-5 {
    right: 5%;
    bottom: 15%;
    width: 140px;
    height: 140px;
  }

  .proof-section {
    padding: 100px 20px 90px;
  }

  .proof-heading,
  .proof-closing {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .proof-heading {
    margin-bottom: 48px;
  }

  .proof-heading h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 52px;
  }

  .proof-stat {
    min-height: 130px;
    padding: 18px;
  }

  .proof-stat-wide {
    grid-column: span 2;
  }

  .proof-closing {
    padding-top: 52px;
  }

  .proof-number {
    max-width: 180px;
    font-size: 130px;
    padding: 32px 24px 42px;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: auto;
    padding: 90px 20px 110px;
  }

  .story-copy h2 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .story-text {
    margin-top: 40px;
  }

  .story-photos {
    min-height: 520px;
    width: 100%;
  }

  .story-photo {
    width: min(47vw, 220px);
  }

  .reality-section {
    min-height: 100vh;
    padding: 76px 20px 250px;
  }

  .reality-copy h2 {
    font-size: clamp(42px, 15vw, 72px);
    letter-spacing: -1px;
  }

  .reality-copy p {
    margin-top: 22px;
    font-size: 17px;
  }

  .reality-cards {
    height: 100%;
  }

  .reality-card {
    width: 34vw;
    height: 155px;
    top: 72%;
  }

  .reality-card-one {
    left: -4%;
  }

  .reality-card-two {
    left: 34%;
    height: 165px;
  }

  .reality-card-three {
    right: -5%;
    height: 125px;
  }

  .strategy-section {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
    padding: 90px 20px 100px;
  }

  .strategy-copy h2 {
    font-size: clamp(36px, 11vw, 58px);
    letter-spacing: -1px;
  }

  .strategy-intro {
    margin-top: 38px;
  }

  .strategy-visual {
    min-height: 360px;
  }

  .strategy-caption {
    right: 8%;
    bottom: 2%;
  }

  .formation-section,
  .decisions-section,
  .archive-section {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
    padding: 90px 20px 110px;
  }

  .formation-section {
    padding-bottom: 70px;
  }

  .formation-section {
    padding: 90px 20px 100px;
  }

  .formation-main {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
  }

  .panel-copy h2,
  .projects-heading h2,
  .final-section h2 {
    font-size: clamp(38px, 11vw, 60px);
    letter-spacing: -1px;
  }

  .panel-lead {
    margin-top: 32px;
    font-size: 18px;
  }

  .formation-number {
    position: absolute;
    top: 220px;
    right: 12px;
    font-size: 110px;
    letter-spacing: -5px;
  }

  .formation-gallery {
    min-height: 450px;
  }

  .formation-card-main {
    right: 5%;
    width: min(72vw, 280px);
  }

  .formation-card-small {
    width: 150px;
  }

  .decisions-section {
    position: relative;
    padding-top: 150px;
  }

  .decisions-index {
    position: absolute;
    top: 80px;
    left: 20px;
    font-size: 100px;
  }

  .decisions-mark {
    width: min(65vw, 240px);
    justify-self: end;
    margin-top: 10px;
  }

  .formation-decisions {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 70px;
    padding-top: 70px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .formation-decisions .decisions-mark {
    justify-self: end;
  }

  .projects-section {
    padding: 90px 20px 110px;
  }

  .projects-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }

  .admin-trigger {
    justify-self: start;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .project-card,
  .project-card-wide {
    min-height: 260px;
  }

  .project-card-wide {
    grid-column: span 2;
    min-height: 360px;
  }

  .project-modal-dialog {
    grid-template-columns: 1fr;
    width: min(92vw, 560px);
  }

  .project-modal-dialog > img {
    min-height: 270px;
    max-height: 42vh;
  }

  .project-modal-copy {
    padding: 34px 28px 40px;
  }

  .admin-panel {
    padding: 42px 26px 30px;
  }

  .admin-project-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .archive-section {
    padding-top: 100px;
  }

  .archive-image {
    width: min(74vw, 290px);
    justify-self: center;
  }

  .archive-stats {
    margin-top: 32px;
  }

  .final-section {
    min-height: 620px;
    padding: 100px 20px 28px;
  }

  .final-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-form {
    padding: 22px;
  }

  .final-section footer {
    padding-top: 60px;
    font-size: 9px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 68svh;
    height: auto;
    padding: 72px 20px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .proof-section,
  .story-section,
  .strategy-section,
  .formation-section,
  .archive-section,
  .projects-section,
  .final-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .proof-stat strong {
    font-size: clamp(34px, 12vw, 48px);
  }

  .story-photos {
    min-height: 430px;
  }

  .formation-gallery {
    min-height: 390px;
  }

  .formation-card-small {
    width: 120px;
  }

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

  .project-card-wide {
    grid-column: auto;
  }

  .project-card,
  .project-card-wide {
    min-height: 240px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}
